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 :newbie: |
And in your XF86Config file you have the option
Load GLX and not.. Load DRI |
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 ??? |
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 |
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?? :newbie: |
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. |
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.
|
why does glx not load / exist?
|
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 |
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 |
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. |
/usr/X11R6/lib/modules/extensions
is empty |
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. |
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) |
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. |
All times are GMT -5. The time now is 10:53 AM. |