PDA

View Full Version : GL Error


lod
11-24-02, 04:47 AM
I am having issues getting the GLX module to work.

I am running a butchered sourcemage distribution
Linux version 2.4.19 (gcc version 3.2.1)
gcc version 3.2.1
nforce motherboard

I have no issues with the sound or network drivers
I am compiling the modules from source, the kernel portion appears to compile and load correctly (using the 3123 version)
size NVdriver
text data bss dec hex filename
891930 55380 52396 999706 f411a NVdriver

The GLX component installs without issue

The error (following) occurs: (EE) NVIDIA(0): Failed to obtain a shared memory identifier.
A short time later (II) [GLX]: Calling GlxExtensionInit, the splash screen turns into a garbled mess of horizontal lines and hangs... I cannot switch terminal or break out of x, I can still ctrl-alt-del.

Removing the load "glx" line causes X to load fine. I did have it working in the past (quite some time ago), I believe I was running gcc2 & the 2960 drivers.

Any assistance would be appreciated, I can provide further detail including log files if that may help.

zen-foo
11-25-02, 11:20 AM
I have the same prob...

I have an Acer Travelmate 632XVi LAPTOP (P4 1,6GHz, 256megs DDR) with a Geforce 2 Go 100.

I'm running Debian w/ Xfree 4.2.1, 2.4.19, latest nvidia driver

Loading the NVdriver goes fine etc, but i get the exact same behaviour when i start X.

Nvidia logo shows for a sec, then mixes up and machine freezes. Ctrl+alt+del to the rescue.

Here's a shortened version of the xfree86 log:

---

...
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA (II) Loading extension GLX
...
(II) NVIDIA(0): AGP 4X successfully initialized
(II) NVIDIA(0): Setting mode "1024x768"
(II) NVIDIA(0): Using XFree86 Acceleration Architecture (XAA)
...
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(EE) NVIDIA(0): Failed to obtain a shared memory identifier.
(II) Loading extension NV-GLX
(II) Loading extension NV-CONTROL
...(II) Initializing built-in extension RENDER
(II) [GLX]: Calling GlxExtensionInit

Fatal server error:
Caught signal 11. Server aborting
...

---

I'm frustrated.

X loads ok if i comment the line 'Load "glx"' out... The Synaptics touchpad works quite nicely :)

Log and config files attached.

zen-foo

zen-foo
11-25-02, 11:21 AM
Originally posted by zen-foo

Log and config files attached.

Or would have been if the preview -function hadn't lost the file ;)

Second try..

Chalnoth
11-25-02, 11:35 AM
This is a simple little thing, but I might as well get it out of the way.

Did you also install the GLX from source?

zen-foo
11-25-02, 01:10 PM
Originally posted by Chalnoth
Did you also install the GLX from source?

Yes.

Chalnoth
11-25-02, 06:43 PM
Well, I guess that's all the input I have to offer then, sorry. Anybody else?

mtrr
11-25-02, 08:08 PM
zen-foo:

just a thought: default debian kernel, or compiled on your own?

cheers

lod
11-25-02, 11:56 PM
I managed to fix it. I found an old post on these boards which said that they recompiled their kernel and it works and that they think that was it.

So I went through the kernel adding lots of stuff that may be related... and it works.

Now I'm going to start taking bits of it out so that I can figure out exactly which parameter it needs... and I'll e-mail nvidia about it too to try and get it in the official FAQ

I'll post again when I know which parameter needs to be enabled (day or two)

zen-foo
11-26-02, 08:42 AM
Originally posted by mtrr

just a thought: default debian kernel, or compiled on your own?


Compiled my own from the sources.

Tried all sorts of switches suggested on this board etc, but no success so far.

mtrr
11-27-02, 09:15 AM
zen-foo:

pm me and I'll mail you my .config, maybe you
can find some useful information


cheers