xorg configuration for the non-free nvidia driver
Julien Cristau
jcristau at debian.org
Mon Jul 11 17:33:18 UTC 2011
On Mon, Jul 11, 2011 at 17:14:13 +0200, Andreas Beckmann wrote:
> On 2011-07-08 20:19, Julien Cristau wrote:
> > On Fri, Jul 8, 2011 at 10:47:50 +0200, Andreas Beckmann wrote:
> >> since the proprietary nvidia driver does not work with Xorg
> >> autoconfiguration, an xorg.conf is needed to enable it.
> >> I'm planning to use debconf for creating a xorg.conf.d snippet on the
> >> first installation of xserver-xorg-video-nvidia* (recently split from
> >> nvidia-glx*), unless something is already configured manually.
> >> I would place this file as /etc/X11/nvidia.conf and use the glx
> >> alternatives system to install a slave alternative
> >> /etc/X11/xorg.conf.d/nvidia.conf pointing to this file. That way
> >> switching to/from nvidia's libGL.so.* and libglx.so would also
> >> enable/disable the config file.
> >> If this approach works out well for nvidia, I'll propose fglrx to do the
>
> >> Do you have any objections regarding this approach?
>
> > Yes. I don't think xorg.conf.d should be used for non-InputClass
> > configuration sections at this point. See also
> > https://bugs.freedesktop.org/show_bug.cgi?id=32430
>
> In that case, would it be OK to just install a slave alternative
> directly as /etc/X11/xorg.conf?
> The /etc/X11/nvidia.conf would be created only if there was no xorg.conf
> previously (and no xorg.conf.d/*.conf with a 'Driver ".*"' line) and the
> slave link will be created only if nvidia.conf exists.
> So this should not interfere with systems where an xorg.conf already exists.
>
I very much dislike the idea of using alternatives for configuration
files.
Cheers,
Julien
More information about the pkg-nvidia-devel
mailing list