LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-23-2003, 03:48 AM   #1
Soltis
LQ Newbie
 
Registered: Dec 2003
Posts: 22

Rep: Reputation: 15
Question nVidia & 2.6.0


Alright, I have several problems, but I will address only the most pressing one in this thread:

I untarred the 2.6 kernel to /usr/src, made a symbolic link to it at /usr/src/linux, and compiled everything as I'm pretty sure was correct. I can boot up okay, the system appears to work nominally speaking.

However, when I reinstalled (sh ./NVIDIA... --uninstall, sh ./NVIDIA... --opengl-headers) the nVidia graphics driver, after applying the 2.6 compatibility patch available online, I wasn't able to start up X. I get the error: no screens found.

I am pretty sure it mentions not finding the module either, but I can't confirm as I reverted back to 2.4 and don't want to reinstall 2.6 until I can confirm I can make it work, or at least have a viable set of things to try that might fix the issue.

Doing an lsmod shows that I have the nvidia module loaded, but it's not being used by anything. It's where I'd expect it, in the /lib/modules/2.6.0/kernel/drivers/video, as nvidia.ko, but X still doesn't recognize i.

Any idea at all what is going on here?
 
Old 12-23-2003, 03:54 AM   #2
karthikrr
Member
 
Registered: Nov 2003
Location: India
Distribution: Slackware 13.0 32-bit
Posts: 129

Rep: Reputation: 16
is that no screens found or no USABLE screens found??? Im pretty sure its to do with ur XF86Config file... check the whole graphics and screens section in xf86config... I cant think of anything apart from that...
 
Old 12-23-2003, 06:37 AM   #3
Soltis
LQ Newbie
 
Registered: Dec 2003
Posts: 22

Original Poster
Rep: Reputation: 15
No screens found, period. It's not locating either the graphics card, or not recognizing the module. I tried rebuilding the XF86Config file using xfree86config, (Or whatever the text based setup program is called), then went into the config file and edited the "nv" driver line to read "nvidia" and it still fails.
 
Old 12-23-2003, 07:35 AM   #4
Pisces107
Member
 
Registered: Dec 2003
Distribution: Slackware Current, Gentoo , Debian SID
Posts: 90

Rep: Reputation: 15
youmight want to try changing the "nv" to "vesa" ,. i had the same problem in 2.4.22 but when i changed to "vesa" it worked for me.

may be you get lucky
 
Old 12-23-2003, 08:01 AM   #5
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Rep: Reputation: 31
If you change to 'vesa'; you are not using the nvidia driver! If you want to use 3D under 2.6.0 and you are using a 'virgin' kernel you need to follow the steps in the READ ME (why do they call it a 'read me'? ) You need more then just the patch!!!. On minion.de you could have found out:

'If you wish to install the NVIDIA 1.0-4496 driver on a virgin Linux 2.6
system that doesn't have the user space driver components installed, you
can use a Linux 2.6 compatible version of the official installer:

FAQ: The 1.0-4496 driver release introduces the -pkg# suffix to the .run
file to distinguish between packages with the same driver version, but
with different sets of precompiled kernel interfaces. The -pkg0 file has
no precompiled kernel interface files and was thus chosen here.

You can use other revisions, but need to adapt the package number below.

1) download:

NVIDIA-Linux-x86-1.0-4496-pkg0.run (nvidia)
NVIDIA-Linux-x86-1.0-4496-pkg#.tar.bz2 (minion.de)
NVIDIA_kernel-1.0-4496-2.6.diff.bz2 (minion.de)

2) install with a modified installer:

*) # sh NVIDIA-Linux-x86-1.0-4496-pkg0.run --extract-only
# cd NVIDIA-Linux-x86-1.0-4496-pkg0
# tar jxf ../NVIDIA-Linux-x86-1.0-4496-pkg#.tar.bz2
# cd usr/src/nv
# rm -f precompiled/*
# bzcat ../../../../NVIDIA_kernel-1.0-4496-2.6.diff.bz2 | patch -p1
# ln -s Makefile.kbuild Makefile
# cd ../../../..
# NVIDIA-Linux-x86-1.0-4496-pkg0/nvidia-installer'

You be best of using this way since you'll be sure that all components are installed. The current nvidia driver is not pkg0.run but pkg2.run so change that in the manual! After (or before) pico XF86Config and change 'vesa' or 'nv' to nvidia. If install goes well you'll have 3D and can finally play Enemy Territory on Linux

Last edited by powadha; 12-23-2003 at 08:03 AM.
 
Old 12-23-2003, 09:48 AM   #6
RRunner3
LQ Newbie
 
Registered: Dec 2003
Distribution: Slackware 9.1, SuSE 9, Mandrake 9.2
Posts: 1

Rep: Reputation: 0
You can use this package, made only for 2.6 kernel:
http://www.sh.nu/download.nvidia/NVI...-5328-pkg0.run

Then run it as in 2.4.x version:
sh NVIDIA-Linux-x86-1.0-5328-pkg0.run

No problem for me, it works very well!
 
Old 12-23-2003, 02:10 PM   #7
Soltis
LQ Newbie
 
Registered: Dec 2003
Posts: 22

Original Poster
Rep: Reputation: 15
I did apply the patches, as mentioned above; I simply couldn't remember the site I got them from.

I'll try this .run in the last post, though I had to fix the URL before using it (you have a period instead of a forward slash in the URL)
 
  


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
Phục hồi dữ liệu bị mất???, cứ pollsite General 1 06-27-2005 12:39 PM
MD 10 & NVidia ram007 Mandriva 9 09-25-2004 02:26 PM
ATI && NVIDIA Tweaking, whats going on? Yerp Linux - Hardware 0 08-30-2004 03:04 PM
nvidia drivers / nv vs nvidia & TNT2 trekk Fedora 0 01-26-2004 01:11 PM
No display with Nvidia & X raid517 Linux - Hardware 4 09-27-2003 05:52 PM

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

All times are GMT -5. The time now is 09:49 PM.

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