[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xfree-newbie
Subject:    Re: [Newbie]XFree86-4.1.0 NVidia
From:       Mark Hounschell <dmarkh () cfl ! rr ! com>
Date:       2001-06-26 8:49:05
[Download RAW message or body]

Tim Ince wrote:
> 
> > > Tim Ince wrote:
> > > >
> > > > Hi
> > > >
> > > > I have a problem when running gears in that i get an error message
> about
> > > > missing program headers.
> > > > I have a modified RH6.0 with 2.4.5 kernel and xfree86 .4.1.0 The
> problem
> > > > seems to have occurred when upgrading xfree86 from 4.0.3
> > > >
> > > > Hopefully someone can tell me what i have screwed up.
> > > >
> > > > Also is xfree86.4.1.0 upto the latest dri spec (more or less) or is it
> > > still
> > > > worth using the latest dri version?
> > > >
> > > > Thanks in advance
> > > > Extract from XFree86.log
> > > >
> > > > (II) LoadModule: "glx"
> > > >
> > > > (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
> > > >
> > > > dlopen: /usr/X11R6/lib/modules/extensions/libglx.so: program headers
> not
> > > > contained in any loaded segment
> > > >
> > > > (EE) Failed to load /usr/X11R6/lib/modules/extensions/libglx.so
> > > >
> > > > (II) UnloadModule: "glx"
> > > >
> > > > (EE) Failed to load module "glx" (loader failed, 256)
> > > >
> > > > output from ldd gears
> > > >
> > > > libglut.so.3 => /usr/local/lib/libglut.so.3 (0x40019000)
> > > > libGLU.so.1 => /usr/local/lib/libGLU.so.1 (0x40050000)
> > > > libGL.so.1 => /usr/lib/libGL.so.1 (0x40071000)
> > > > libc.so.6 => /lib/libc.so.6 (0x400d4000)
> > > > libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x401c3000)
> > > > libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40299000)
> > > > libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x402ad000)
> > > > libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x402f5000)
> > > > libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x402fd000)
> > > > libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40306000)
> > > > libm.so.6 => /lib/libm.so.6 (0x4031d000)
> > > > libpthread.so.0 => /lib/libpthread.so.0 (0x40339000)
> > > > libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4034a000)
> > > > libdl.so.2 => /lib/libdl.so.2 (0x40357000)
> > > > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> > > >
> > >
> > > It look like you need to reinstall the Nvidia-GLX stuff.
> > >
> > > I have tried that but to no avail. I was running XFree86-4.03 with
> NVIDIA
> > > 0.9-769 drivers successfully. The problem came when trying to upgrade to
> > > NVidia drivers 1.0-1251. The checking program from NVidia also suggests
> > the
> > > GLX stuff is not installed but i have done make and then make install. I
> > > then upgraded to XFree86-4.1.0 and am using the XFree NV driver NOT the
> > > NVIDIA driver but the problem still persists. Maybe the symlinks are
> > messed
> > > up but i don't know what to check for. Any help would be appreciated
> > >
> > >
> > After upgrading to 4.1.0 I had to reinstall the NV GLX. You say above
> > you did
> > the GLX then X4.1.0. Also are you sure the NVdriver(kernel mod) is
> > loaded?
> >
> > I believe so. In usr/X11R6/lib/modules/drivers i have the following
> > nv_drv.o and nvidia_drv.o
> > In usr/lib i have the following symlinks for libGL
> > libGL.so -> /usr/X11R6/lib/libGL.so.1
> > libGL.so.1 -> /usr/X11R6/lib/libGL.so.1
> > In /usr/X11R6/lib i have the following symlinks
> > libGL.so -> libGL.so.1.2
> > libGL.so.1 -> libGL.so.1.2
> > HOWEVER in /usr/X11R6/lib i have the following symlinks for libGLcore.so
> > libGLcore.so -> libGLcore.so.1.0.1251
> > i believe the last are for the NVIDIA drivers and NOT for the NV driver.
> > Is the problem that i have libGL from XFree86-4.1.0 and libGLcore from
> > NVIDIA? If so doesn't XFree86 come with its own libGLcore?
> >
> I beleive it does but you can't use it with the NVIDIA libGL.so. Did you
> try to reinstall the NVidia GLX stuff after installing X4.1.0?
> 
> This is what my /usr/lib looks like:
> markh@harley:> ls -al /usr/lib/*GL*
> lrwxrwxrwx    1 root     root           17 Jun  9 11:35
> /usr/lib/libGL.so -> libGL.so.1.0.1251
> lrwxrwxrwx    1 root     root           17 Jun  9 11:35
> /usr/lib/libGL.so.1 -> libGL.so.1.0.1251
> -rwxr-xr-x    1 root     root       248932 Jun  9 11:35
> /usr/lib/libGL.so.1.0.1251
> -rw-r--r--    1 root     root       617936 Jan 18 18:38
> /usr/lib/libGLU.a
> -rwxr-xr-x    1 root     root          685 Jan 18 18:38
> /usr/lib/libGLU.la
> lrwxrwxrwx    1 root     root           20 May 23 02:08
> /usr/lib/libGLU.so -> libGLU.so.1.1.030400
> lrwxrwxrwx    1 root     root           20 May 23 02:07
> /usr/lib/libGLU.so.1 -> libGLU.so.1.1.030400
> -rwxr-xr-x    1 root     root       255736 Jan 19 03:45
> /usr/lib/libGLU.so.1.1.030400
> lrwxrwxrwx    1 root     root           21 Jun  9 11:35
> /usr/lib/libGLcore.so.1 -> libGLcore.so.1.0.1251
> -rwxr-xr-x    1 root     root      3457056 Jun  9 11:35
> /usr/lib/libGLcore.so.1.0.1251
> 
> All the links will(should) get set right when you reinstall the NV GLX
> stuff. "make install"
> I don't have any of that in /usr/X11R6/lib. It's all in /usr/lib
> ---
> 
> I have redone make and then make install on both the kernel and glx
> packages. The symlinks for libGL and libGLcore are now identical to the ones
> above. i have changed the XF86config back to using the NVIDIA driver. The
> results are the same as before. nv_check.sh informs that the libGL.so in
> /usr/lib is not the right one but it matches as above. I'm really stumped as
> to how to proceed from here. Any further thoughts?
> 

Maybe nv_check is mistaken. Have you tried to startx? What happens? I
don't have
a nv_check.sh on my box. Doesn't that come with the rpm from suse? You
are using
the tarballs from nvidia right?

-- 
Mark Hounschell
dmarkh@cfl.rr.com
_______________________________________________
Newbie mailing list
Newbie@XFree86.Org
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic