<div dir="ltr"><div>> > It appears that adding a snippet of Xorg.conf in /usr/share/X11/xorg.conf.d/<br>> > (e.g. 99-nvidia-glx.conf) makes X aware of this other driver.<br>><br>> Unfortunately this breaks the X configuration if nvidia-glx is installed<br>

> but no hardware/kernel module is available.<br><br>I'm sure you will consider this idea out of whack, but what if there was a simple init.d script that checked if nvidia driver as well as the hardware are all present, and if so, created the appropriate, namespaced xorg.conf file. Alternatively, it would remove it.<br>

<br>Something roughly like:<br><br>xorgconf="/etc/X11/xorg.conf.d/10-nvidia-glx-nvidia-driver.conf"<br>if ! nvidia_conditions_met; then rm $xorgconf; exit 0; fi 2>/dev/null<br>mkdir -p /etc/X11/xorg.conf.d<br>

echo -e "# This file is deleted if CONDITIONS.<br># Don't rely on it, don't modify. Create new one, warning, yadda yadda.<br>Section \"Device\"<br>    Identifier \"My GPU\"<br>    Driver \"nvidia\"<br>

EndSection<br><br># Other convenient, gracefully-fallbacking config (like TwinView etc.)!<br>" > $xorgconf<br><br></div>And this init.d script conveniently provided by this (or a more appropriate) package, with debconf option to disable it.<br>

<br>?<br></div>