[Xorg] Re: [Linux-fbdev-devel] [PATCH] radeonfb: mode switch work around

Jon Smirl jonsmirl at yahoo.com
Sat Jul 3 19:59:23 PDT 2004


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 at havoc.gtf.org> wrote:
> On Sun, Jul 04, 2004 at 09:00:41AM +0800, Antonino A. Daplas wrote:
> > On Sunday 04 July 2004 08:46, David Eger wrote:
> > > 
> > > > 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 at yahoo.com


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




More information about the xorg mailing list