xorg configuration for the non-free nvidia driver

Andreas Beckmann debian at abeckmann.de
Fri Jul 8 08:47:50 UTC 2011


[resending to debian-x@ instead of just kibi@]

Dear X Team,

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
same.

Do you have any objections regarding this approach?
Should I use some ordering prefix for the link installed in
/etc/X11/xorg.conf.d, e.g. 42_nvidia.conf or z42_nvidia.conf?
Should I use a different filename?

Why is /etc/X11/xorg.conf.d/ not shipped by e.g. x11-common?

Thanks.

Andreas




More information about the pkg-nvidia-devel mailing list