Thread (19 messages) 19 messages, 7 authors, 2004-07-04

Re: [PATCH] radeonfb: mode switch work around

flat view

From: Jon Smirl <hidden>
Date: 2004-07-04 02:59:23

I have noticed this too. I don't think it is specific to x.org. My best
guess is that the X server is mucking with the VGA registers on the
radeon card.

Try this experiment...
modprobe radeonfb from a VT, then switch to an xterm and rmmod it.
Try it the other way to, modprobe from xterm and rmmod from VT.
Both of those result in a reboot on my machine.

The problem seems to be with radeonfb snap shotting the register state
when it loads, and then restoring it when it unloads. But the VT/xterm
pair causes the retored registers to be set to the wrong values.

This saved register state is also used in other places. These other
uses may be the source of the problem you see. If I remember right, X
is also saving a snap shot of the initial register values.
--- David Eger <eger@havoc.gtf.org> wrote:
On Sun, Jul 04, 2004 at 09:00:41AM +0800, Antonino A. Daplas wrote:
quoted
On Sunday 04 July 2004 08:46, David Eger wrote:
quoted
quoted
Here's the fix for radeonfb for use with your patch.
On second look, strike that.  I have general badness trying to
switch out of X in recent kernels to radeonfb.  Grr..  I'm not
having luck pinpointing what went wrong just yet.

=====
Jon Smirl
jonsmirl@yahoo.com


		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help