Comment 18 for bug 315889

Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 315889] Re: [R580] EXA has severe performance impact on ATI R580 (X1900)

On Sun, Feb 15, 2009 at 06:10:48PM -0000, Tormod Volden (~offline till March) wrote:
> There used to be a hook in modprobe that would only load the fglrx
> module if "fglrx" was specified as the driver in xorg.conf. Now that
> xorg.conf is not used any longer (for ati at least, and I suppose for
> fglrx neither?), this is no solution. I guess our X has been patched to
> prefer the fglrx driver if it is installed. One ugly way would then be
> to only load the fglrx module if fglrx is installed.
>

in my case i only had the fglrx "kernel" part installed and not the
xorg part. So this seems to be no solution.

> Adding a "fglrx breaks ati" would most precisely describe the truth, but
> it we don't really want people to uninstall ati because they want to try
> out fglrx.

Well, i am not really for promoting fglrx ... if there is the choice
of a) either breaking your free ati driver or b) making it painful to
test fglrx lets chooose b).

>
> At least there should be some dependency between linux-source-fglrx and
> the fglrx package so that uninstalling fglrx will uninstall linux-
> source-fglrx as well. asac, did you keep the fglrx package and switched
> to ati in xorg.conf? This scenario should ideally be handled by the
> above mentioned module hook.

i didnt keep the xorg fglrx package ... i removed it and forgot about
the linux-source package. AFAIK, there is no mechanism to make
linux-source-fglrx go away if you uninstlal the xorg package; a bit
hacky, but we could put the content of linux-source-fglrx into the
xorg package.

IMO, we should add a hook that doesnt load the fglrx module unless

 a) fglrx is in xorg.conf
 b) not -ati xorg driver is installed

 - Alexander