LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 03-12-2013, 12:14 PM   #1
Lenard Spencer
Member
 
Registered: Sep 2004
Location: Florida
Distribution: Slackware, Linux from Scratch
Posts: 176

Rep: Reputation: 20
New -current kernel and Nvidia 304.xx driver issue


I just installed the new slackware-current (3.7.10 kernel) on one of my older computers (Athlon64-X2 4600 with GeForce 7300 video card) and have discovered a possible problem with the Nvidia 304.84 driver. When I exit X back to the console, I just get a black screen. The previous driver (304.64) won't build with the new kernel. The problem was duplicated on an older machine running 64-13.1 with a Geforce 6200 card. Is there a parameter I can add to fix this, or is this another Nvidia oops?
 
Old 03-12-2013, 12:43 PM   #2
m23
LQ Newbie
 
Registered: Jan 2013
Posts: 9

Rep: Reputation: Disabled
Hi, I had the same problem. 304.84 driver seems to be buggy. If you want to use older driver (304.64) with current kernel (I use it with recent 3.9-rc2), you need to patch it. Patches are available here: http://www.lwfinger.com/nvidia_patches/. The one you need is http://www.lwfinger.com/nvidia_patch...60.run_for_3.7. You also have to make symlink using command:
ln -s /usr/src/linux-3.7.10/include/generated/uapi/linux/version.h /usr/src/linux-3.7.10/include/linux/version.h

HTH

m23
 
Old 03-12-2013, 12:59 PM   #3
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,447

Rep: Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875
here, I used conftest_new.diff

http://pastebin.com/raw.php?i=vXddJgCq

and 3.8_kernel.patch

http://pastebin.com/raw.php?i=x1vNFBax

modifying nvidia-kernel.SlackBuild from SBo to apply them just before the “cd kernel || exit 1″ line adding

patch -p1 < $CWD/3.8_kernel.patch
patch -p2 < $CWD/conftest_new.diff

(then you can build it with current's kernel and also with kernel >=3.8.x)
 
Old 03-12-2013, 02:17 PM   #4
Lenard Spencer
Member
 
Registered: Sep 2004
Location: Florida
Distribution: Slackware, Linux from Scratch
Posts: 176

Original Poster
Rep: Reputation: 20
Unhappy

Tried the patch, and failed with a different error: the 3.7.10 kernel is now a "Xen" kernel. Apparently the 304.84 driver added Xen support, which I suspect is where some of its problems lie.
I guess for now on this machine I can either stick to the nouveau driver or go with the new prop driver knowing I will have to reboot when I exit X.
 
Old 03-12-2013, 03:18 PM   #5
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,447

Rep: Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875
FYI, just tried with 304.84 and -current's 3.7.10 using SBo scripts (just cutted the two libnvidia-encode lines from nvidia-driver.Slackbuild because they are for the 310.xx series) and everything went fine without any patch.

Last edited by ponce; 03-12-2013 at 03:21 PM.
 
Old 03-12-2013, 04:42 PM   #6
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,555

Rep: Reputation: 424Reputation: 424Reputation: 424Reputation: 424Reputation: 424
Yes, i agree with m23's answer. Stay away from 304.84 for now and use 304.64 instead + patches
it worked and i think it's more stable than 304.84
 
Old 03-12-2013, 05:12 PM   #7
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,438

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Just to confirm that the patched 304.64 driver is working fine with my GeForce 7300 LE with the 3.7.1 kernel in -current.
My thanks to willysr for originally pointing out the patch referred to by m23.
 
Old 03-12-2013, 11:10 PM   #8
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,236

Rep: Reputation: 176Reputation: 176
The NVidia 310.32 driver will not build with the "new" 3.7.10 kernel in -current.
 
Old 03-13-2013, 12:11 AM   #9
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,447

Rep: Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875
can confirm the absence of output in console when exiting from the X session with 304.84 (here, blindly issuing a new startx made me return to a working X session).

no such issue with 310.40 and 313.26 (both seem to work fine).
 
Old 03-13-2013, 03:01 AM   #10
andrew.46
Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 646

Rep: Reputation: 90
Indeed after many trials with the NVidia drivers including the back screen on logout I seem to be having some success with kernel 3.8.1, NVidia 313.26 and -current. So far.....
 
Old 03-15-2013, 04:22 PM   #11
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 755

Rep: Reputation: 226Reputation: 226Reputation: 226
Quote:
Originally Posted by cwizardone View Post
The NVidia 310.32 driver will not build with the "new" 3.7.10 kernel in -current.
I can confirm this is an issue with it's detection code, you can build the module manually by going into the /usr/src/nvidia-310.32 directory and running "make -f Makefile.kbuild"

However 310.32 complains about the X server ABI been unsupported but X will start

Version 310.40 builds ok and seems to run ok but gives a X input ABI compatibility warning.
 
1 members found this post helpful.
Old 03-15-2013, 11:10 PM   #12
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,438

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Just to confirm that I see the same problem of a blank screen on exit from X with nVidia 304.84 driver, X Server 1.14.0 and 3.7.10 kernel with my GeForce 7300 LE.
The patched nVidia 304.64 driver did build with the addition of the symlink posted by m23 in post #2 but fails to load when starting X due to the ABI in X Server 1.14.0 being too new. Using the option "IgnoreABI" "true" in the ServerFlags section of xorg.conf bypassed the ABI check, but X failed to start with segfault errors in /var/log/Xorg.0.log

It appears that a newer driver is not available for this nVidia GPU.
 
1 members found this post helpful.
Old 03-16-2013, 05:21 AM   #13
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 755

Rep: Reputation: 226Reputation: 226Reputation: 226
Quote:
Originally Posted by allend View Post
It appears that a newer driver is not available for this nVidia GPU.
Just went and checked Nvidia's forums and it has been noticed and they have filed a bug report in their system to get this fixed, hopefully you wont have to wait too long.
 
1 members found this post helpful.
Old 03-16-2013, 03:58 PM   #14
plisken
Member
 
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1/13.37/14 RedHat 6.2/7/EL6.5 SuSE 8.2/11.1
Posts: 458

Rep: Reputation: 30
Excuse my stupidity but there seems to be
310.40 and 313.26

what's wrong with these?
 
Old 03-16-2013, 04:29 PM   #15
andrew.46
Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 646

Rep: Reputation: 90
313.26 has finally brought stability to my own system. I guess those following the 304.xx series have so-called 'legacy' cards with no support in the other driver series...
 
  


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
LXer: NVIDIA 304.64 Driver Fixes Performance, New GPUs LXer Syndicated Linux News 0 11-07-2012 12:01 AM
LXer: NVIDIA 304.51 Linux Graphics Driver Released LXer Syndicated Linux News 0 09-25-2012 03:11 PM
LXer: Download Nvidia GeForce 304.43 Driver for Linux LXer Syndicated Linux News 0 08-28-2012 06:00 PM
LXer: NVIDIA 304.37 Linux Driver Brings 41 Official Changes LXer Syndicated Linux News 0 08-13-2012 04:20 PM
kernel 2.6.24 in -current requires NVIDIA driver update TNWestTex Slackware 4 03-12-2008 02:04 PM


All times are GMT -5. The time now is 01:36 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration