Paulo Cavalcanti wrote at about 14:19:03 -0300 on Wednesday, July 28, 2010:
 > On Wed, Jul 28, 2010 at 1:53 PM, Jeffrey J. Kosowsky 
 > <[email protected]>wrote:
 > 
 > > I like to set some other nvidia options in the nvidia.con modprobe
 > > file. Specifically,
 > >          options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1
 > >
 > > However, nvidia-graphics-switch seems to clobber the options (though
 > > it preserves my comment).
 > >
 > > Shouldn't nvidia-graphics-switch *only* rewrite the relevant nvidia
 > > options for switching the kmdls and not all nvidia options?
 > >
 > > Thanks
 > >
 > > _______________________________________________
 > > atrpms-users mailing list
 > > [email protected]
 > > http://lists.atrpms.net/mailman/listinfo/atrpms-users
 > >
 > 
 > 
 > In fact, nvidia-graphics-switch calls
 > 
 > /usr/bin/nvidia-xconfig
 > 
 > which actually rewites xorg.conf.
 > 
 > However, it should not erase any option you have added.
 > 
 > Nonetheless, you can comment the last two lines from nvidia-graphics-switch
 > 
 > #/usr/bin/nvidia-xconfig > /dev/null 2>&1 < /dev/null
 > #/usr/lib64/nvidia-graphics-helpers/nvidia-config-x.py
 > 
 > so nothing is rewriten anymore in xorg.conf. The changes to xorg.conf for
 > the ATrpms driver work need to be writen just once. After that, there is no
 > need to rewrite xorg.conf every time the modules are switched.
 > 

Perhaps I wasn't clear. I am talking about clobbering *modprobe* options in:
/etc/modprobe.d/nvidia.conf
(not in /etc/X11/xorg.conf).

Sorry for the confusion.


_______________________________________________
atrpms-users mailing list
[email protected]
http://lists.atrpms.net/mailman/listinfo/atrpms-users

Reply via email to