LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-21-2002, 03:15 PM   #1
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
AHHH! nvidia drivers!


Ugh.. im getting so pissed trying to setup Nvidia drivers for my GeForce2 MX, things that are happening are making no sense!

I downloaded tarballs of both kernel and GLX packages, and following the README installed them with "make install" and this inserted a NVdriver into my running kernel. I modified XF86Config and changed to nvidia drivers and added glx to load. I did startx, and after 5 seconds of wild flickering the nvidia logo was displayed and hanged my system - had to reboot. Then i remembered i have rivafb running so i recompiled my kernel (2.4.17) excluding rivafb. i tried startx then and after another couple of seconds of wild flickering i got a couple of interesting dark blue lines, going vertically i beleive that hanged my system. After another reboot i took a look at XFree log and all that was in it was a bunch of meaningless symbols (like when you open a binary file with less) and at the end about 50 names of different libraries, gnome, KDE and the like, nothing that can help me or that makes any sense. Then i tried another make install for nvidia kernel and GLX since i recompiled the kernel, and GLX went smoothly while kernel refused to install with:

os-interface.d:1: warning: NUL character seen; rest of line ignored

os-interface.d:131: warning: NUL character seen; rest of line ignored

os-interface.d:132: warning: NUL character seen; rest of line ignored

os-interface.d:133: warning: NUL character seen; rest of line ignored

os-interface.d:134: warning: NUL character seen; rest of line ignored

os-interface.d:135: warning: NUL character seen; rest of line ignored

os-interface.d:136: warning: NUL character seen; rest of line ignored

os-interface.d:137: warning: NUL character seen; rest of line ignored

os-interface.d:137: *** missing separator. Stop.

which again makes no sense to me...

Then i restored my old XF86Config and came here for help, cuz i have no idea whats wrong now...



Please if you have any suggestion tell me, im running a 2.4.17 kernel..

Ahhh!

Thank you in advance!

-NsKl
 
Old 04-22-2002, 04:48 AM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
OK, first, if you have an athlon and you compiled in K7 support you'll have to add "mem=nopentium" to the append line in your lilo.conf, second, you could have some mesaGL libs left from the slack install that maybe conflicting with the nvidia GLX libs, download and run nv_check.sh to check the install.
 
Old 04-22-2002, 03:11 PM   #3
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Original Poster
Rep: Reputation: 46
Ok, thanks Aussie, i do have a Athlon, and i didnt find that piece of information in the readme...
I'll try those things as soon as i get home, thanks for help.

-Nskl
 
Old 04-22-2002, 04:36 PM   #4
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Original Poster
Rep: Reputation: 46
got a step further

I added append="nopentium" to the end of lilo.conf and that got me a step further.


Now when i startx i get the nvidia logo, and then i get a checker X screen (real eyesore) and it hangs just before it should load my WM.


I couldnt get nv_check.sh to work. When i click on your link it loads a page with a what looks like a bash script. I saved it as such and made it executable but it doesnt work (./nvchooser.sh: line 35: syntax error near unexpected token `echo'


./nvchooser.sh: line 35: `fi echo "checking /usr/X11R6/etc/X11/XF86Config..."')


How am i supposed to get that script to work? (i have a feeling its something really lame i should know after a year of Linux... )

What do you think is causing X to hang? I disabled rivafb so it looks like conflicting libraries, although i dont know of any GL libraries Slack installs by default...



Thanks for all your support



-Nskl
 
Old 04-22-2002, 05:16 PM   #5
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Download it with a shift click and run it with "sh nv_check.sh"
 
Old 04-23-2002, 01:06 PM   #6
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Original Poster
Rep: Reputation: 46
i added the append="mem=nopentium" line after my kernel entry in lilo.conf, ran the nv checker succesfully and i still get lockups when i startx (the nVIDIA logo appears and hangs the machine). The NVdriver is modprobed and shows up in lsmod. nv checker reports everything is how it should be.
What else could be possibly causing these hangs? Is there anything special i might need in the kernel? I'm stuck again, have no idea what might be wrong...
Any help greatly appreciated!
Thanks to everyone in advance

-NsKl
 
Old 04-23-2002, 04:56 PM   #7
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Ok, next thing that could be doing this is agpgart, if its compiled into the kernel it can cause problems it should be a module. Have a look at the agp section of the nvidia readme for agp options.
 
Old 04-24-2002, 11:17 AM   #8
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Original Poster
Rep: Reputation: 46
Ok, i recompiled the kernel making agpgart a module. I tried starting X without agpgart loaded, and i got the black screen with vertical blue lines like before, and of course the whole system hanged. In the how-to i looked through the AGP section and it said that agp will initialize with NVidia agp module, then search for agpgart and iif not present it will use no agp. So i guess this is not a AGP problem, I'll play a little bit with AGP options, but i dont think it will solve anything, and rebboting the system every 5 minutes is a big pain in the @$$, god bless ReiserFS! at least i dont need to wait for ext2 check at every boot....

Is there anything else that comes to your mind and could cause this kind of hangs? Maybe some BIOS settings? Im using a A7V266-e main board (athlon processor) and i already included append="mem=nopentium" to lilo.cong at the end of the last Kernel entry. Any other things to check?
Thanks for all the help again.

-NSKL
 
Old 04-24-2002, 03:32 PM   #9
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
The only other thing I can think of is perhaps a problem with the video card, do you have another one you can use to check?
 
Old 04-24-2002, 04:20 PM   #10
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Original Poster
Rep: Reputation: 46
Ahh, finally got it to work! I was playing with AGP options and added Option "NVagp" "0" to disable AGP and not it works like a charm, 3 hours of soldier of fortune without any instability problems. Just one more question tho. Setting AGP to 0 (disabling it) did i slow down any rendering / am i loosing any performance this way?
Thanks for all the help again Aussie!

-NSKL
 
Old 04-24-2002, 04:38 PM   #11
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
You'll be loosing a small amount of performance, but you won't notice it while playing, only with a benchmark. Glad you got things going :-)
 
  


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
Installing nvidia drivers from nvidia website on mepis 3.3 xbennyboy Linux - Hardware 4 04-23-2005 09:19 AM
Proprietary nvidia drivers vs. generic intel sound and ethernet drivers vharishankar Linux - Hardware 2 02-22-2005 05:32 AM
Nvidia Drivers Graphics and motherboard drivers help sithyoda Linux - Newbie 4 10-01-2004 06:32 PM
mandrake 10 nvidia drivers and winmodem drivers mikeymouse Mandriva 6 08-28-2004 07:57 AM
nvidia drivers / nv vs nvidia & TNT2 trekk Fedora 0 01-26-2004 01:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration