LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-27-2006, 03:02 PM   #1
dmery
LQ Newbie
 
Registered: Apr 2006
Location: Tampa - Florida - USA
Posts: 8

Rep: Reputation: 0
Thumbs up [nvidia driver] to install in Slackware 10.2 SOLVED


Hi everybody

I am new in this forum and a new Slackware user. I have some experience as Gentoo user since 2003.
I installed Salckware 10.2 in my desktop -not problems, all is going ok-, then I installed the new kernel 2.6.16.11 -not problems- my system is working fine.
But I had installed the nvidia driver 1-0-8756 and the system never reported to me some problem but I think the driver is not working, because I had not direct rendering
(# glxinfo | grep direct) and # glxgears did not open the window with the three gears working.
My graphic card is nVidia GeForce FX 5200 (128 Mb ram) and is working fine with my Gentoo partition.
Someone knows if there is a problem with this nVidia-driver 8076 and the kernel 2.6.11 or Slackware 10.2.
Ok thanks in advance for your help
Regards,
dmery

Last edited by dmery; 04-28-2006 at 09:33 PM.
 
Old 04-27-2006, 03:50 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
did you change the driver setting in your xorg.conf file?
after you install the driver the instructions tell you to update the xorg.conf file.
 
Old 04-27-2006, 10:22 PM   #3
dmery
LQ Newbie
 
Registered: Apr 2006
Location: Tampa - Florida - USA
Posts: 8

Original Poster
Rep: Reputation: 0
yes I updated xorg

Quote:
Originally Posted by Finlay
did you change the driver setting in your xorg.conf file?
after you install the driver the instructions tell you to update the xorg.conf file.
Thank for answering.
Yes, Nvidia installer updated xorg.conf file and now:
driver "nvidia"
#dri is commented
glx is activated

I read in other post, that some users are using nVidia 1-0-5336. Do you think that the newest driver (1-0-8756) is the problem ?
Regards,
dmery
 
Old 04-27-2006, 10:29 PM   #4
187807
Member
 
Registered: Oct 2003
Location: North Carolina, USA
Distribution: Slackware 11
Posts: 174

Rep: Reputation: 30
did you reboot after the install? if not, you don't need to, just be sure to:

Code:
# modprobe -r nvidia
# modprobe nvidia
if you ever have to reboot it should work fine from the start without having to run that again. just have to remove/reload the module after installation if you do it realtime.

I know with an older version of nvidia drivers (at least on 32-bit slackware) that the driver had to have a patch to work but that was an installation failure issue so sounds like that's not an issue with 32-bit 8756.
 
Old 04-27-2006, 10:33 PM   #5
187807
Member
 
Registered: Oct 2003
Location: North Carolina, USA
Distribution: Slackware 11
Posts: 174

Rep: Reputation: 30
One more thing...you say you "installed" the kernel 2.6.16.11....be sure you installed the kernel-headers, too. NVIDIA needs them to properly install with your config.

If nothing works for you with installed kernel, just grab a kernel source from kernel.org and compile your own. It's fun and you'll learn a lot, I think. Hope you get it worked out.
 
Old 04-28-2006, 12:08 AM   #6
dmery
LQ Newbie
 
Registered: Apr 2006
Location: Tampa - Florida - USA
Posts: 8

Original Poster
Rep: Reputation: 0
Another question

Quote:
Originally Posted by 187807
One more thing...you say you "installed" the kernel 2.6.16.11....be sure you installed the kernel-headers, too. NVIDIA needs them to properly install with your config.

If nothing works for you with installed kernel, just grab a kernel source from kernel.org and compile your own. It's fun and you'll learn a lot, I think. Hope you get it worked out.
I checked in my sistem and I have installed kernel-headers-2.4.31-i386-1. I downloaded from internet the kernel-headers-2.6.11-i386-1.tgz.
Where can I get kernel-headers-2.6.16.11 ?
Could works fine if I install kernel-headers-2.6.11 instead 2.6.16.11 ?
Where can I get information or one "howto" install kernel-headers ?

Sorry for the question, but my experience is with Gentoo, and I compile the kernel with Genkernel gentoo program and I get the kernel from Portage system.
Thanks a lot for your help, you are very kind
Regards,
 
Old 04-28-2006, 12:44 AM   #7
187807
Member
 
Registered: Oct 2003
Location: North Carolina, USA
Distribution: Slackware 11
Posts: 174

Rep: Reputation: 30
Quote:
Originally Posted by dmery
I checked in my sistem and I have installed kernel-headers-2.4.31-i386-1. I downloaded from internet the kernel-headers-2.6.11-i386-1.tgz.
Where can I get kernel-headers-2.6.16.11 ?
Could works fine if I install kernel-headers-2.6.11 instead 2.6.16.11 ?
Where can I get information or one "howto" install kernel-headers ?

Sorry for the question, but my experience is with Gentoo, and I compile the kernel with Genkernel gentoo program and I get the kernel from Portage system.
Thanks a lot for your help, you are very kind
Regards,
You're welcome for the replies. Glad to try and help.

As for the package installations, I've never installed a kernel from package before (or headers either). Yes, the header package you have may work fine for you IF the filename is a typo and they MEANT 2.6.16.11. Try it. If it doesn't work then you can always uninstall it. Sorry I don't have more info about kernel and kernel-header packages...I've never done that way.

There is, at least for me, an easier option. Might be easier and more powerful for you, too, if you try it and get used to it:

I think you might enjoy downloading kernel source from kernel.org. Just click the "F" next to 2.6.16.11.

This will download a tar.bz2 file. merely execute:
Code:
tar -xjvf /path_to_tar.bz2_file_directory/linux-2.6.16.11.tar.bz2
Then you'll have this nifty directory called linux-2.6.16.11 (by the way, that's all the kernel, headers and everything)

Just enter that linux-2.6.16.11 directory and, if running X, just issue make xconfig. (if running CLI you may issue make menuconfig).

Go through the options and configure your own kernel! It's fun and you'll learn a lot.


When done, save it and issue:

Code:
$ make
should build modules in stage 2

Then, change to root and issue:

Code:
#make modules_install
then in "arch/{x86 or x86_64, whatever}/boot/" you will find "bzImage"

Just copy it to /boot and name it whatever you want. If you use lilo edit /etc/lilo.conf and add the new kernel. Issue "lilo" as root to install the new config and reboot. see how you did. if it doesn't work, use your older kernel (always leave older kernel in /etc/lilo.conf, just in case).

If none of this makes sense, sorry. Just search for compiling kernel or look at the stickies about compiling kernel. Some may be a bit dated (haven't looked lately) but most information will generally apply.

Hope you get it worked out and thank you for appreciating my replies. Glad to try and help. Hope you enjoy Slackware. I certainly do, even if I don't understand enough to help you in an exact fashion.
 
Old 04-28-2006, 10:34 AM   #8
dmery
LQ Newbie
 
Registered: Apr 2006
Location: Tampa - Florida - USA
Posts: 8

Original Poster
Rep: Reputation: 0
I compiled the kernel in this way....

Hi 187807,
Thanks again for your support I appreciate it.

Yes, I have compiled the kernel 2.6.16.11 (that I have downloaded from kernel.org) in this way and the system is working fine.

When I checked:
# uname -a
it is okay.. (kernel-2.6.16.11).....
But I had the kernel-headers for 2.4.31 installed in my system (is the original kernel for Slackware v10.2.) I got this information using the package management (slackpkg) trying to get kernel headers-2.6.16.11 and:
#slapkg install kernel-headers
[installed] kernel-headers-2.4.31-i386-1

# slapkg search kernel-headers-2.6.16.11
no match for your search......

From internet I got a kernel-headers-2.6.11 but I do not know if this kernel-headers works whit kernel-2.6.16.11.

I need to read more about slackware-kernel.
If you have any idea, please let me know.
Regards,
dmery
 
Old 04-28-2006, 11:16 AM   #9
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Try putting the kernel source somewhere in your path - usually /usr/src/linux-2.16... and then make a symbolic link from /usr/src/linux

I have mine in $HOME but I believe /usr/src is the way to go

Slackpkg won't find 2.6 kernel because it is in testing or extra.
 
Old 04-28-2006, 03:08 PM   #10
dmery
LQ Newbie
 
Registered: Apr 2006
Location: Tampa - Florida - USA
Posts: 8

Original Poster
Rep: Reputation: 0
Unhappy actual situation

Hi folks,

1st. I have uninstalled all kernel 2.4.31 and my system with kernel 2.6.16.11 continuos working fine.

2nd. In /lib/modules I have deleted the directory 2.4.31, my system continuos working fine

3rd. with: #lsmod I get the following:

root@slackware:~# lsmod
Module Size Used by
apm 16436 -
snd_pcm_oss 41088 -
snd_mixer_oss 13832 -
8250 15892 -
serial_core 14472 -
lp 8228 -
parport 28424 -
ipv6 189376 -
via_agp 7400 -
shpchp 36104 -
pci_hotplug 8332 -
snd_emu10k1 95940 -
snd_rawmidi 17088 -
snd_ac97_codec 80008 -
snd_ac97_bus 1736 -
snd_pcm 67152 -
snd_timer 17612 -
snd_page_alloc 7824 -
snd_util_mem 3144 -
snd_hwdep 6476 -
snd 39908 -
soundcore 6432 -
usblp 10440 -
ehci_hcd 23568 -
usbcore 101732 -
xfs 467828 -
exportfs 3944 -
ide_scsi 12140 -
sk98lin 139008 -
nvidia 4536660 -
i2c_core 15192 -
agpgart 26136 -

As you can see I have module nvidia.
I run the following command:

root@slackware:~# glxinfo | grep direct
Error: unable to open display (null)

root@slackware:~# glxgears
glxgears: Error: couldn't open display '(null)'


4th In /etc/rc.d/rc.modules I have added the following:

/sbin/modprobe nvidia

In order to load an external modules, is it right ???

If someone has any idea about this two error, please let me know.
Welcome any help.
Regards,
dmery

Last edited by dmery; 04-28-2006 at 03:13 PM. Reason: I need to add some important question
 
Old 04-28-2006, 03:17 PM   #11
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by dmery
I run the following command:

root@slackware:~# glxinfo | grep direct
Error: unable to open display (null)

root@slackware:~# glxgears
glxgears: Error: couldn't open display '(null)'
If you would exit the root shell you started with "su" and ran these commands as the normal user, they would work... The user "root" that you became by running "su" does not own the display, and is therefore not allowed to run a X program on it.

Eric
 
Old 04-28-2006, 09:32 PM   #12
dmery
LQ Newbie
 
Registered: Apr 2006
Location: Tampa - Florida - USA
Posts: 8

Original Poster
Rep: Reputation: 0
Problem solved

Ok, I have solved the problem thanks to the Slackware user forum. Thanks everybody for for the support.
Alien Bob you are right I need to run the commands like a simple user and it is working
I was a little confused because I expected -at system start sequence- the Nvidia logo like Gentoo system start sequence. But for any reason is different but it works.

Thanks again everybody for the help
Regards,
dmery
 
  


Reply



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 driver on slackware 10.1, nvidia.o not found azazel11998 Linux - General 3 09-02-2005 11:19 AM
Nvidia Driver Install - rivafb driver conflicts rjcmi Debian 5 10-10-2004 11:58 PM
Have Slackware - need help to install nvidia 5200 driver ignorant Linux - Newbie 6 05-06-2004 03:59 PM
Slackware and NVIDIA -- Driver Install Guide Astro Slackware 25 09-16-2003 09:01 PM
nvidia driver in slackware 8.1 bynaar Slackware 2 07-16-2002 05:55 AM

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

All times are GMT -5. The time now is 01:19 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
Open Source Consulting | Domain Registration