[spinymouse@archlinux ~]$ cat
/etc/rc.d/69switch_xorg.conf
#! /bin/sh
# /etc/rcS.d/Switch_xorg_conf
rm /etc/X11/xorg.conf
case $(uname -r) in
*rt*)
cp /etc/X11/xorg.conf.nv /etc/X11/xorg.conf
;;
*)
cp /etc/X11/xorg.conf.nvidia /etc/X11/xorg.conf
;;
esac
Will this run BEFORE nvidia is expected (well before any attempt to start
xorg!) ?
May need more here: Nouveau, in any event, is blacklisted in the modules.d
because of the above requirement--the driver or some pre-load of it gets
modprobed early in the bootup sequence. I have not seen or heard from nv in
ages--maybe it does not have this blacklisting idea.
So in toggling Nouveau, I need to copy or remove the blacklist file as well--a
one-liner in each ). It would be nice to be able to have one xorg.conf take
care of this but the above script is not at all bad. Thanks for the idea.
BTW. I like Nouveau, had no problems with it. Inserts a small but readable
console font (instead of nvidia's awful messup) and the desktop looks nice
(allbeit maybe everything a bit smaller than using nvidia). What I miss with
Nouveau is hw acceleration. For many lau apps, this could be a showstopper.
For other retro-fans, one other 3.2-rt problem I encountered was the failure
of snd-mpu401 to modprobe with "no such device." I use it to drive an old
Yamaha sw60xg sound generator ISA card. Oldie but goodie---don't ask how I
manage to still have ISA!