Re: [PATCH][FBCON]: Mode Switch in fbcon_blank()
From: Javier Marcet <hidden>
Date: 2004-07-03 00:43:28
* Antonino A. Daplas [off-list ref] [040702 17:36]:
quoted
quoted
Well... I don't know. It seem to work, so it's probably an acceptable workaround, but I'd like to find out what's wrong with doing it in blank precisely (that is what is the bug in XFree or in the kernel VT), since it's shared by many X drivers, I don't suppose it's a bug in them.
quoted
This was included in 2.6.7-mm5 -that's how I noticed it- and I had to revert it.
quoted
I use radeonfb and when switching from X to console my two monitors will go out of sync. The VT is actually there since I can type on it, but I can't see anything on neither of my two monitors :(
Grr, I was a little tentative about this patch, hoping against hope that it will work for all drivers, but you've proven me wrong. Anyway, we now have at least 2 drivers that requires reinitialization at different stages, radeonfb requires it at fbcon_blank() and rivafb at fbcon_switch(). And I really don't know how to fix it except to look closely at X (and I dread looking at X's code...) and the VT code (ditto).
Can you try the patch below? It works for the rivafb, hopefully it works for yours.
Hi Antonio, sorry for not answering sooner, I thought I had done before leaving to work. Well, with this patch in addition to your original one, it works right again with my radeon frame buffer & X :) For me it's fine. Thanks for your help ;-) If I can be of any help, trying further patches or whatever, please ask. -- If A equals success, then the formula is _A = _X + _Y + _Z. _X is work. _Y is play. _Z is keep your mouth shut. s -- Albert Einstein Javier Marcet [off-list ref]
Attachments
- (unnamed) [application/pgp-signature] 197 bytes