LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-21-2003, 01:28 PM   #1
kingka
Member
 
Registered: Aug 2003
Location: mechelen (belgium)
Distribution: debian gnu/linux (sid)
Posts: 99

Rep: Reputation: 15
Question NVIDIA OpenGL problem


hello,

I have installed the NVIDIA modules succesfully before in Suse 8.0 (abt a year ago, that were still two rpm's at that time --> I think it was one for OpenGL and one for the kernel module?)

now I want to do the same in Debian Sid (2.4.23 kernel), the driver is now unified in one file

In fact I think I have succesfully installed the kernel-module now, so when I startx I get the nice NVIDIA screen. No problems with fluxbox and so on...

But after installing the nvidia drivers I can no longer play frozen-bubble or start Licq (al other programs still work fine). Also ut (the first one) still does not work

< start UT error>
Opening SDL viewport.
Bound to SDLGLDrv.so
Loaded render device class.
Initializing SDLGLDrv...
binding libGL.so.1
appError called:
Could not load OpenGL library
Executing UObject::StaticShutdownAfterError
Executing USDLClient::ShutdownAfterError
Executing USDLViewport::ShutdownAfterError
USDLGLRenderDevice::ShutdownAfterError
Signal: SIGIOT [iot trap]
Aborting.
Exiting.
< end UT error>

< start frozen-bubble error>
Can't load '/usr/lib/perl5/auto/SDL_perl/SDL_perl.so' for module SDL_perl: libGL.so.1: cannot handle TLS data at /usr/lib/perl/5.8.2/DynaLoader.pm line 225.
at /usr/lib/perl5/SDL.pm line 9
Compilation failed in require at /usr/lib/perl5/SDL.pm line 9.
BEGIN failed--compilation aborted at /usr/lib/perl5/SDL.pm line 9.
Compilation failed in require at /usr/games/frozen-bubble line 52.
BEGIN failed--compilation aborted at /usr/games/frozen-bubble line 52.
< end frozen-bubble error>

I have also changed XF86Config-4 (glx is loaded, dri and glcore are commented out, nv changed to nvidia as explained in nvidia README). Because my nvidia card didn't work I also tried if it would help to turn glcore and dri back on but nothing changed. I have just reinstalled ut (I thought maybe OpenGL programs had to reinstall after Nvidia installation) but that didn't work.

I have googled, searched this forum and the nvidia linux forum... lot of problems with NVIDIA-OpenGL but not an answer to my problem.


thanks for reading this terribly long post
and if you have a clue, that would be great

thanks!

ps: <lspci output> 01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2)

EDIT: forgot to say, I CAN play tuxracer now (I couldn't do this before I installed the nvidia drivers)

Last edited by kingka; 12-21-2003 at 01:35 PM.
 
Old 12-21-2003, 02:06 PM   #2
jcookeman
Member
 
Registered: Jul 2003
Location: London, UK
Distribution: FreeBSD, OpenSuse, Ubuntu, RHEL
Posts: 417

Rep: Reputation: 33
What about your XFree86.0.log?
 
Old 12-21-2003, 02:28 PM   #3
kingka
Member
 
Registered: Aug 2003
Location: mechelen (belgium)
Distribution: debian gnu/linux (sid)
Posts: 99

Original Poster
Rep: Reputation: 15
should I look in it for something specific?
I've browsed through it but didn't find anything suspicious-error like

seems like the nvidia glx is ok?
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.4496
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension GLX
(II) LoadModule: "int10"
(II) Loading /usr/X11R6/lib/modules/linux/libint10.a
(II) Module int10: vendor="The XFree86 Project"
compiled for 4.2.1.1, module version = 1.0.0
ABI class: XFree86 Video Driver, version 0<
and so on ...

forgot to say in previous post:
I've also tried out the nvidia-test script (from http://www.linuxquestions.org/questi...threadid=48902)
and it found the XF86config4 ok, no conflicting (old) openGL libraries, kernel module ok
 
Old 12-21-2003, 03:04 PM   #4
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Could be a stupid permission problem with pam or something else getting in the way. If you log out and log back in, does it work by doing that. Nvidia is working on it. Look through their documentation and do what Nvidia thinks it is.
 
Old 12-21-2003, 03:19 PM   #5
kingka
Member
 
Registered: Aug 2003
Location: mechelen (belgium)
Distribution: debian gnu/linux (sid)
Posts: 99

Original Poster
Rep: Reputation: 15
electro, can you explain what could be the problem with pam (I don't know this)?

>> If you log out and log back in, does it work by doing that.
I've rebooted many times and tested thing over and over again


both of you, thanks for the help

I've checked all opengl files and symbolic links in /usr/lib with my neighbour who has his nvidia properly working on Gentoo and it looks all ok
so I checked and double checked...
 
Old 12-21-2003, 03:31 PM   #6
kingka
Member
 
Registered: Aug 2003
Location: mechelen (belgium)
Distribution: debian gnu/linux (sid)
Posts: 99

Original Poster
Rep: Reputation: 15
IT WORKS !!!!

I found this on the nvidia linux forum
LD_PRELOAD=/usr/lib/tls/libGL.so.1
if i type this at the shell before ut is started, it works fine
so obviously, for some weird reason, ut can't locate the libGL.so.1
(check the error in my first post)
this is strange as all the symbolic link are identical to those at my neighbours computer

sorry for wasting your guys time
and thanks a lot

I'm going for Godlike (ut), at least ;-)
 
Old 12-21-2003, 04:46 PM   #7
jcookeman
Member
 
Registered: Jul 2003
Location: London, UK
Distribution: FreeBSD, OpenSuse, Ubuntu, RHEL
Posts: 417

Rep: Reputation: 33
You didn't waste our time. That's whare we're here for.
 
Old 01-27-2004, 02:29 AM   #8
class_struggle
Member
 
Registered: Nov 2003
Location: where rock meets hard place
Distribution: 1- Knoppix 2-Gentoo
Posts: 121

Rep: Reputation: 15
I'm having related problems and I'm trying to learn from this post ... ut ... I don't know what UT is. Can you explain? And LD_PRELOAD /usr/lib/tls/libGL.so.1? Where does that go?
Before the shell is started you say? Don't know how to enter command without a console or shell myself. Anyhow, the caps means it's not a shell command.
Could you be talking about the source? and not mentioning the compiling that would (naturally) have to be done?
I guess I'd better go to the nvidia linux forum to find out ....
 
Old 01-27-2004, 08:50 AM   #9
levenger
LQ Newbie
 
Registered: Jan 2004
Location: 'zona
Distribution: SuSe 9.0 Professional
Posts: 23

Rep: Reputation: 15
WOOOOHOOOO! Finally after working on this for 3 weeks, IT WORKS. I used the LD_PRELOAD at boot, ran SaX to configure things, saved and launched. Ran glxgears with 3000+ FPS.

class_struggle,

The option is a linker symbol for the kernel. When you get the the screen (first one where you choose between windows and linux if you're dual booting, or it just has a prompt that says boot : ) type in the LD_PRELOAD /usr/lib/tls/libGL.so.1, hit enter, and you're off.

You rock kingka!
 
Old 01-30-2004, 12:18 PM   #10
kingka
Member
 
Registered: Aug 2003
Location: mechelen (belgium)
Distribution: debian gnu/linux (sid)
Posts: 99

Original Poster
Rep: Reputation: 15
>> You rock kingka!

I know...
ehm, what did I do exactly? rofl

glad you find a solution to your problem
linux rocks!
 
Old 01-30-2004, 02:33 PM   #11
levenger
LQ Newbie
 
Registered: Jan 2004
Location: 'zona
Distribution: SuSe 9.0 Professional
Posts: 23

Rep: Reputation: 15
I reinstalled SuSE, then updated all the packages from YOU, except the NVIDIA driver. I rebooted, then downloaded the NVIDIA driver through YaST (it's a script that fetches the file from the NVIDIA website, makes the module, and puts it on your computer). I changed my config file to read nvidia instead of nv then rebooted. The screen came up black so I checked the log file. GLX wasn't being loaded. I used your post to load GLX at the boot prompt. typed startx, black screen. Decided to let it sit for awhile with the black screen on just to see what happens. After about 5 minutes, I received the white NVIDIA splash screen and it booted into X. Went looking on the Nvidia Linux forum for information about why it was taking so long to load. From the posts there added the Option "IgnoreDisplayDevices "DFP, TV" (I have a TV out card) and it loaded X immediately. Finally, looked and found that the AGPGART module was being loaded. My chip set is supported by Nvidia (SiS 645), added Option "NvAGP" "1" to the config file AND removed the links to the TLS version of the shared object library in /usr/X11R6/tls. It's now running with the NVIDIA AGP driver, using their libraries and it starts immediately on startup.
 
Old 02-28-2004, 07:37 AM   #12
lordphantom82
LQ Newbie
 
Registered: Feb 2004
Posts: 2

Rep: Reputation: 0
Well, I did on the shell:
LD_PRELOAD=/usr/lib/tls/libGL.so.1,
and then:
export LD_PRELOAD
Hmmm, the FB works, I start a single player game and give some shots... Then when some bubbles are falling, my Linux Box hangs...
I'm using the latest nVidia drivers.... Anyone has some clue about how to coreect that?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenGL problem with NVIDIA Geforce 2 on slackware 10.0 Ac1db0rN Linux - Hardware 2 01-15-2007 06:59 AM
nVidia/XLib/OpenGl problem eQualizer Linux - General 1 08-09-2004 11:31 AM
nvidia openGL issue gtanghookup Linux - Software 7 04-24-2004 02:23 AM
dualhead, using nvidia and xinerama, problem with opengl afrodocter Linux - Software 0 02-26-2004 07:50 PM
nvidia opengl sodamnmad Programming 1 09-30-2003 03:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration