LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-28-2003, 03:34 PM   #1
thegreatgatsby
Member
 
Registered: Aug 2003
Location: England
Distribution: SuSE 9.3 pro
Posts: 332

Rep: Reputation: 30
Angry another thread about 3d Hardware acceleration wih NVIDIA


Trying to activate 3d hardware acceleration
NVIDIA GeForce2 GPU driver
I have downloaded & installed the nvidia drivers (through suse's update service)
3d graphic acceleration enabled, but when trying to play tux racer "3d hardware support not enabled"
have looked in suse database (which suggests the below actions) & have read the readme file.
However have not got it working!!
please could someone help

thanks



le@linux:~> /usr/bin/gears
1634 frames in 5.000 seconds = 326.800 FPS
1697 frames in 5.001 seconds = 339.332 FPS
le@linux:~> su
Password:
linux:/home/le # /usr/X11R6/bin/switch2nv_glx
bash: /usr/X11R6/bin/switch2nv_glx: No such file or directory
linux:/home/le # /usr/bin/gears
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

GLUT: Fatal Error in gears: could not open display: :0.0
linux:/home/le # /usr/bin/gears
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


 
Old 09-28-2003, 04:05 PM   #2
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
And in your XF86Config file you have the option

Load GLX

and not..

Load DRI
 
Old 09-28-2003, 04:22 PM   #3
thegreatgatsby
Member
 
Registered: Aug 2003
Location: England
Distribution: SuSE 9.3 pro
Posts: 332

Original Poster
Rep: Reputation: 30
sorry, please could you explain what i need to do?
are you saying I should I type something like:

linux:/home/le # /usr/X11R6/bin/load glx

???
 
Old 09-28-2003, 06:42 PM   #4
biggyfries
Member
 
Registered: Apr 2003
Distribution: RH 8/KDE3.1
Posts: 33

Rep: Reputation: 15
xf86config

To find more info regarding the XF86 config file, i went straight to the "horse's mouth", and got the insturctions form NVIDIA:

nvidia link

i went into /etc/X11/XF86Config (opened it up in a text editor), and followed nvidia's instructions on it (section 3).

Done it twice so far, and this worked for me. Only bad thing: you have to do it over with upgrading your kernel.

HTH,

dan
 
Old 09-29-2003, 02:43 PM   #5
thegreatgatsby
Member
 
Registered: Aug 2003
Location: England
Distribution: SuSE 9.3 pro
Posts: 332

Original Poster
Rep: Reputation: 30
thanks, have looked at the readme file & my xf86 config
it appears I don't have glx.
this is part of the output:

II) LoadModule: "glx"
(WW) Warning, couldn't open module glx
(II) UnloadModule: "glx"
(EE) Failed to load module "glx" (module does not exist, 0)
(II) LoadModule: "nvidia"
(II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.o
(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.4496
Module class: XFree86 Video Driver

and

EE) NVIDIA(0): Failed to load GLX
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture

what next?? should I try and re-install the nVIDIA drivers??



 
Old 09-29-2003, 05:10 PM   #6
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
I would get the latest drivers from the nVidia site and follow them to the 'T' - my installation went fine - the instructions were very informative and I was really pleased overall. worked like a charm IF you follow the instructions properly.

OR - just go over their instructions anyway and see if their instructions for the file editing can help you - they should be pretty similiar.
 
Old 09-30-2003, 05:15 AM   #7
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
When you try to run glxgears as root from a user account you'll need to do xhost + first as the user to allow root to use the x server.
 
Old 09-30-2003, 05:47 AM   #8
thegreatgatsby
Member
 
Registered: Aug 2003
Location: England
Distribution: SuSE 9.3 pro
Posts: 332

Original Poster
Rep: Reputation: 30
why does glx not load / exist?
 
Old 09-30-2003, 06:38 AM   #9
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
You'll probably better off to get the drivers from nvidia and install those instead of the Suse setup.Something seems to go wrong there.You can also try this to see what goes on there:

bash-2.05b# cat /proc/driver/nvidia/version
NVRM version: NVIDIA Linux x86 nvidia.o Kernel Module 1.0-4496 Wed Jul 16 19:03:09 PDT 2003
GCC version: gcc version 3.3.1 20030904 (Gentoo Linux 3.3.1-r1, propolice)
bash-2.05b# cat /proc/driver/nvidia/cards/0
Model: GeForce FX 5600
IRQ: 5
Video BIOS: 04.31.20.38.00
Card Type: AGP
bash-2.05b# cat /proc/driver/nvidia/agp/status
Status: Enabled
Driver: NVIDIA
AGP Rate: 8x
Fast Writes: Enabled
SBA: Disabled
bash-2.05b# cat /proc/driver/nvidia/agp/card
Fast Writes: Supported
SBA: Supported
AGP Rates: 8x 4x
Registers: 0x1f000e1b:0x1f004112
 
Old 09-30-2003, 07:27 AM   #10
thegreatgatsby
Member
 
Registered: Aug 2003
Location: England
Distribution: SuSE 9.3 pro
Posts: 332

Original Poster
Rep: Reputation: 30
thank you, I really appreciate your help
it appears that the newest drivers are installed
as you can probably tell I'm pretty new to this!!

le@linux:~> cat /proc/driver/nvidia/version
NVRM version: NVIDIA Linux x86 nvidia.o Kernel Module 1.0-4496 Wed Jul 16 19:03:09 PDT 2003
GCC version: gcc version 3.2
le@linux:~> cat /proc/driver/nvidia/cards/0
Model: GeForce2 Integrated GPU
IRQ: 11
Video BIOS: 03.1a.01.03.02
Card Type: AGP
le@linux:~> cat /proc/driver/nvidia/agp/status
Status: Enabled
Driver: NVIDIA
AGP Rate: 4x
Fast Writes: Disabled
SBA: Disabled
le@linux:~> cat /proc/driver/nvidia/agp/card
Fast Writes: Supported
SBA: Not Supported
AGP Rates: 4x 1x
Registers: 0x1f000015:0x1f000104
 
Old 09-30-2003, 07:45 AM   #11
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
Check with /usr/X11R6/lib/modules/extensions
There should be a link called libglx.so to /usr/lib/opengl/nvidia/extensions/libglx.so
At least thats what it loads for glx here.
 
Old 09-30-2003, 07:50 AM   #12
thegreatgatsby
Member
 
Registered: Aug 2003
Location: England
Distribution: SuSE 9.3 pro
Posts: 332

Original Poster
Rep: Reputation: 30
/usr/X11R6/lib/modules/extensions

is empty
 
Old 09-30-2003, 08:08 AM   #13
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
You could try to add this link if the lib exsists in /usr/lib/opengl/nvidia/extensions/libglx.so
As root do:
cd /usr/X11R6/lib/modules/extensions
ln -s /usr/lib/opengl/nvidia/extensions/libglx.so

If that doesn't work get rid of the link afterwards.
 
Old 09-30-2003, 08:41 AM   #14
thegreatgatsby
Member
 
Registered: Aug 2003
Location: England
Distribution: SuSE 9.3 pro
Posts: 332

Original Poster
Rep: Reputation: 30
thanks
have done above
lib glx.so is now there along with other stuff
I have rebooted
but still get following in my xf86 log & no 3d hardware acceleration.

should I get rid of the link, and if so how? (can I just delete them all in file manager)

II) LoadModule: "glx"
(WW) Warning, couldn't open module glx
(II) UnloadModule: "glx"
(EE) Failed to load module "glx" (module does not exist, 0)
 
Old 09-30-2003, 08:48 AM   #15
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
You can delete the link in a file manager - no problem.
I'd try to uninstall the Suse-nvidia stuff you got in there and install the drivers from nvidia's website.
 
  


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
NVIDIA Hardware Acceleration under Ubuntu kubrickfan799 Linux - Hardware 6 01-12-2006 10:51 AM
Nvidia Quadro: OK but no hardware acceleration orpolo Linux - Hardware 2 11-23-2005 10:39 AM
Hardware acceleration : NVIDIA / ATI on Intel 845 koodoo Linux - Newbie 4 06-14-2005 04:20 PM
Hardware acceleration RedNex Linux - Newbie 3 06-14-2004 08:34 AM
RH9 Nvidia Hardware Acceleration Problems distortedstar Linux - Hardware 3 02-03-2004 06:40 PM


All times are GMT -5. The time now is 01:01 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration