SCIENTIFIC-LINUX-USERS Archives

February 2013

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Phil Perry <[log in to unmask]>
Reply To:
Phil Perry <[log in to unmask]>
Date:
Fri, 22 Feb 2013 23:22:44 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (71 lines)
On 22/02/13 22:57, Graham Allan wrote:
> On Fri, Feb 22, 2013 at 10:30:50PM +0000, Phil Perry wrote:
>
>> I had X crash yesterday when using the new 17.0.3 Firefox too on EL5
>> (32-bit FF on 64-bit OS).
>>
>> I'm an NVIDIA user - I mention it as I really can't remember the
>> last time X crashed for me, and I've been running this box since
>> 5.0. X has crashed maybe 5 times at most in 5 years and the box runs
>> permanently only rebooting for new kernels. The reason I mention
>> this is I'm more inclined to point the finger at the new FF that the
>> graphics driver, at least in my case, as that's the component that
>> changed right before the crash. I have not been able to reproduce it
>> so have no evidence, just a gut feeling. For what it's worth.
>
> We also had someone experience this on an SL5 machine in the last few
> days - also using nvidia video, using the nvidia driver from ELrepo.
>
> Someone fixed it but the only comment I saw was "Getting GLX working
> correctly seems to have solved the problem". I remember hearing
> something about the nvidia libglx.so failing to load in the xorg logs,
> but I'll ask what the fix really was. It may simply have been
> reinstalling the elrepo nvidia driver.
>
> G.
>

That sounds like a totally separate issue.

On el5 you should have:

/usr/lib64/xorg/modules/extensions/libglx.so

that is provided by xorg-x11-server-Xorg

IF you are using the elrepo NVIDIA driver then you will also have:

/usr/lib64/xorg/modules/extensions/nvidia/libglx.so
/usr/lib64/xorg/modules/extensions/nvidia/libglx.so.{%version}

which is provided by the elrepo nvidia-x11-drv package.

In order for Xorg to pick up the correct NVIDIA libglx.so library, you 
must have the following in your xorg.conf file:


Section "Files"
         ModulePath   "/usr/lib64/xorg/modules/extensions/nvidia"
         ModulePath   "/usr/lib64/xorg/modules"
EndSection


The top ModulePath line points Xorg to the correct location for the 
NVIDIA libglx.so lib.

IF you are using the NVIDIA binary installer then it will simply 
overwrite the distro lib in /usr/lib64/xorg/modules/extensions/libglx.so 
and then when and update to xorg-x11-server-Xorg subsequently comes 
along it will in turn overwrite the NVIDIA lib. As a result Xorg will 
fail to start and you will have to reinstall the driver (MESSY!)

The only reason I can think that would cause the NVIDIA libglx.so to 
fail to load on a previously working system is either the NVIDIA binary 
installer has been near the system and messed it up (as described 
above), or when using the elrepo driver something (or someone) has 
messed with the above lines in xorg.conf.

Hope that helps.

Phil

ATOM RSS1 RSS2