On Mon, 2010-04-05 at 11:54 +0300, Axel Thimm wrote:
> On Mon, Apr 05, 2010 at 01:19:41PM +1000, auric wrote:
> > If you have two or more versions of the Nvidia drivers installed then under
> > /usr/lib/xorg/modules/drivers/
> > there will be directories for each version and a sym link pointing to the 
> > the one setup to use.
> > lrwxrwxrwx 1 root root      39 2010-04-01 19:10 nvidia-190.53_drv.so -> 
> > nvidia-graphics-190.53/nvidia_drv.so
> > lrwxrwxrwx 1 root root      39 2010-04-01 19:10 nvidia-195.36.15_drv.so -> 
> > nvidia-graphics-195.36.15/nvidia_drv.so
> > lrwxrwxrwx 1 root root      69 2010-04-01 19:10 nvidia_drv.so -> 
> > /usr/lib/xorg/modules/drivers/nvidia-graphics-195.36.15/nvidia_drv.so
> > drwxr-xr-x 2 root root    4096 2010-04-01 19:10 nvidia-graphics-195.36.15
> > drwxr-xr-x 2 root root    4096 2010-04-01 19:10 nvidia-graphics-190.53
> 
> nvidia-graphics-switch contains a line like
> 
> rm -f /usr/lib/xorg/modules/drivers/nvidia_drv.*o 2>&1 || :
> 
> which removes all symlinks of this kind before adding the proper
> one.
> 
> > Does anyone know how xorg searches for it's drivers?
> 
> Maybe it started descending into subdirectories, that would explain how
> it finds it even w/o symlinks.
Yep, was think the same thing also. There have been multiple xorg
updates in the last few months so this might be a change done.

Did a quick search and the xorg man page has for modules (could not find
anything for the drivers)
"Modules are searched for in each directory specified in the ModulePath
search path, and in the drivers, input, extensions, fonts, and internal
subdirectories of each of those directories."
The interesting part being "and internal subdirectories of each of those
directories"

Means the current method of having multiple nvidia drivers installed and
selecting between then via sym link won't work any longer.

Auric


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

Reply via email to