Click to See Complete Forum and Search --> : Nvidia GLX problems...


Jinx
12-05-2001, 11:10 PM
Greetings,

Well I have been having troubles getting GLX to work with my Debian distro for a while now. It was working before, but I have since relocated my HDD into a new system.

Stats:

Athlon 1.2 gig
256 meg DDR
Asus A7A board
Leadtek GF2 MX400

What happens is I can get X to operate no worries without the GLX module, but as soon as I uncomment it and give it a go, it stalls on the Nvidia screen just before XDM comes up. :(

I have updated my kernel module and GLX module from source to the latest Nvidia drives hoping this would fix it. No go. :(

I have had a look at /var/log/XFree86.4.log.0 (something like that)... it appears to get through loading everything ok, says the AGP 4X is loaded ok, but as soon as it wants to initialize the GLX module is crashes with an error 11?

Anyone else had any problems like this?

Cya round
Jinx

Frith
12-05-2001, 11:16 PM
ok, this was swiped from another thread (http://www.linuxnewbie.org/cgi-bin/ubbcgi/ultimatebb.cgi?ubb=get_topic&f=12&t=000634), but I think that it might be applicable to your problem.

9. Almost done. Again, we want to log into Linux without starting XWindows.
So, once again, type in linux 3 to start without XWindows loading. Again, you
will need to log in as root.

10. Now, time to do some editing. Start up your favorite text editing tool such as Vi and go to /etc/X11 and look for XF86Config-4.

11. Open up this file and look for the "Graphics Device Section". Then look for
the section where it says Driver. It should say "nv". Replace this with "nvidia".

12. Now, move up and look for Module Section and put in this line: Load "glx"

13. Save, close and reboot. If there is another way to get it all working with out rebooting, please let me know.

14. Boot into Linux normally with XWindows started. After this, you can test
out to see if OpenGL works in a variety of ways: Mandrake 8.1 ships with some
OpenGl based screen savers such as pipes, so this could be a fine test. Also,
you could try out TuxRacer if you installed that. And, of course, installing a
game such as Loki Games Quake 3 Arena port would be an excellent test. If you would prefer, just skip down to the next steps as they will provide a great way to test if OpenGL is working or otherwise. Anyhow, if any of the above work, good job! You have just passed the toughest hurdle.

the other numbered items relate to installing the drivers and compiling the kernel; you can check it out if you feel like it.

also, if this doesn't work, try not to bite my head off...I don't have an nvidia card myself and I'm just trying to help...

[ 05 December 2001: Message edited by: frithiof ]

Psycho
12-06-2001, 12:07 AM
You also need to comment out the lines
load "GLcore" and load "dri" in XF86Config-4.

Worked fine on RH7.2 your mileage may vary ;)

--glenn

<edit> Code tags looked stupid </edit>

[ 05 December 2001: Message edited by: Psycho ]

PimpHolic
12-06-2001, 12:32 AM
all the steps said so far worked for me in red hat 7.2
have u followed all these steps and are still having problems?

Jinx
12-06-2001, 01:05 AM
Have completed all these steps on a number of occasions, still not working.

Gonna double check on the GLcore and DRI deal though.

Thanks for your help. :)

Cya round
Jinx

Jinx
12-06-2001, 07:15 PM
Well I have tried to reload the mesa libs, not sure if that would do anything, but they seem to have something to do with GLX. Checked my XFConfig-4, seems consistent with what is written above.

Basically what happens is X will load the Nvidia White screen and then it will breakdown into horizontal segments, kind of like loosing TV recieption.

Not too sure what else to attack. Read a couple of the Howtos and everything appears to be setup correctly. This has been a long standing problem ever since I swapped my hdd into the new system. Might need to go through and manually remove all Nvidia components and reinstall?

Cya round
Jinx

nuisance
12-06-2001, 07:22 PM
Have you visited the website (http://www.nvidia.com/view.asp?IO=linux_readme_install)? It seems pretty thorough.

Jinx
12-07-2001, 12:03 AM
Thanks for the link... will try out:

'startx -- -verbose 5 -logverbose 5'

That will generate a more thorough message output to XFree86.0.log. Hopefully be able to pluck something out of there. ;)

Cya round
Jinx

Jinx
12-07-2001, 12:18 AM
Have had a look through that documentation and now printing it out... gonna back track and see if it is trying to use an older GLX library. Hopefully find the answer there. Will let ya know. ;)

Cya round
Jinx

Taizong
12-07-2001, 04:44 PM
This card is AGP right? Try editing the X conf file and adding the option to use Nvidia AGP dealy.

Option "NvAGP" "3"

if that doesn't work, try changing the integer to "1"