SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207
Rep:
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..
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.
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207
Original Poster
Rep:
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.
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207
Original Poster
Rep:
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...
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207
Original Poster
Rep:
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
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.
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207
Original Poster
Rep:
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.
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207
Original Poster
Rep:
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.