Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Strange nvidia driver problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
milothurston
Apprentice
Apprentice


Joined: 01 May 2002
Posts: 231
Location: Oxford, England.

PostPosted: Wed Aug 20, 2003 12:43 pm    Post subject: Strange nvidia driver problem Reply with quote

I've posted this on the nvidia forum as well, but with no luck yet.

I've noticed a strange problem today: After a reboot, or a re-start of X, there are no problems with any OpenGL applications. However, after the first time I run one, all further attempts to do so fail with the following message:

Code:
Error: glXCreateContext failed


X appears to start correctly, and I can find no errors in the log, or anything else in /var/log/messages or dmesg.
Can anyone suggest a cause, or where to investigate further?

The system details are:

Card: GeForce2 MX/MX 400
Video BIOS: 03.11.01.24.00
Card Type: AGP
NVRM version: NVIDIA Linux x86 nvidia.o Kernel Module 1.0-4496
GCC version: gcc version 3.3.1 (Gentoo Linux 3.3.1, propolice)
Kernel: 2.6.0-test3-mm2
This is on an Athlon MP SMP system.
Thanks,
Milo.

:?:
Back to top
View user's profile Send private message
masseya
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 2602
Location: Baltimore, MD

PostPosted: Wed Aug 20, 2003 8:56 pm    Post subject: Reply with quote

This is a little strange, but you are using a lot of cutting edge stuff. Have you tried reproducing this error on other versions of the Linux Kernel and/or other versions of the nvidia drivers?

Moving from Other Things Gentoo.
_________________
if i never try anything, i never learn anything..
if i never take a risk, i stay where i am..
Back to top
View user's profile Send private message
milothurston
Apprentice
Apprentice


Joined: 01 May 2002
Posts: 231
Location: Oxford, England.

PostPosted: Thu Aug 21, 2003 9:11 am    Post subject: Reply with quote

masseya wrote:
This is a little strange, but you are using a lot of cutting edge stuff. Have you tried reproducing this error on other versions of the Linux Kernel and/or other versions of the nvidia drivers?


I have not yet tried. However, it seems to be an intermittent problem and does not affect work. It looks like the nvidia libraries are somehow responsible, as I have found on some occasions that the GLX extensions are "not found" on display 0.0, and tuxracer recently refused to compile, claiming that the libraries could not be found. (Re-) running opengl-update before restarting X seems to fix these problems temporarily.
I will do more extensive testing as soon as time permits. What's holding me up is that this machine is my work machine and is heavily used. Strangely, though, these packages haven't given me any trouble since kernel 2.5.74, and everything appears very stable.
Thanks,
Milo.
Back to top
View user's profile Send private message
masseya
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 2602
Location: Baltimore, MD

PostPosted: Thu Aug 21, 2003 5:22 pm    Post subject: Reply with quote

milothurston wrote:
It looks like the nvidia libraries are somehow responsible, as I have found on some occasions that the GLX extensions are "not found" on display 0.0, and tuxracer recently refused to compile, claiming that the libraries could not be found.
Might be worth trying an older version of the nvidia drivers. I've solved very similar problems with this method before.

Quote:
What's holding me up is that this machine is my work machine and is heavily used.
...to play tuxracer. ;-) j/k..
_________________
if i never try anything, i never learn anything..
if i never take a risk, i stay where i am..
Back to top
View user's profile Send private message
milothurston
Apprentice
Apprentice


Joined: 01 May 2002
Posts: 231
Location: Oxford, England.

PostPosted: Thu Aug 21, 2003 5:31 pm    Post subject: Reply with quote

masseya wrote:
milothurston wrote:
It looks like the nvidia libraries are somehow responsible, as I have found on some occasions that the GLX extensions are "not found" on display 0.0, and tuxracer recently refused to compile, claiming that the libraries could not be found.
Might be worth trying an older version of the nvidia drivers. I've solved very similar problems with this method before.

Quote:
What's holding me up is that this machine is my work machine and is heavily used.
...to play tuxracer. ;-) j/k..


Well, scorched3d, actually... :wink:
Seriously, though, it's mostly for Perl hacking, so this problem doesn't really affect anything. If I could use older drivers with
this machine, I'd do it. Is it possible to use an older GLX with the newer kernel drivers, or must the versions match as I had supposed?

I now know that:

1. The GLX failure whilst logged in appears to be random.
2. If I start X without first re-emerging nvidia-glx, then I get
this:

Code:

(EE) Failed to load /usr/X11R6/lib/modules/extensions/libglx.so
(EE) Failed to load module "glx" (loader failed, 7)
(EE) NVIDIA(0): Failed to load GLX


The file mentioned there is present and correct, and using ldd to trace the dependencies back leads eventually to a statically linked file...
Google is timing out, but hopefully that loader message may give some clues.

Very odd indeed.
Milo.[/code]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum