LinuxQuestions.org
Help answer threads with 0 replies.
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 05-19-2010, 07:26 AM   #1
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-14.1 on a Lenovo T61 6457-4XG
Posts: 3,955

Rep: Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936
Install Nouveau on Slackware-13.1 for nVidia GPU owners


As Pat stated in the Changelog, Slackware-13.1 don't ship the nouveau X driver (yet).

But it's not hard to get it either.

1. Upgrade your kernel to 2.6.34
2. Get and install the driver:
Code:
git clone git://anongit.freedesktop.org/git/nouveau/xf86-video-nouveau/
cd xf86-video-nouveau
./autogen.sh
make
su
cp src/.libs/nouveau_drv.so /usr/lib/xorg/modules/drivers # for Slackware-13.1 or...
cp src/.libs/nouveau_drv.so /usr/lib64/xorg/modules/drivers # for Slackware64-13.1
3. set up a minimum xorg.conf (adapt if you already have one):
Code:
echo -e 'Section "Device"\nIdentifier "n"\nDriver "nouveau"\nEndSection' > /etc/X11/xorg.conf
4. (re) startx

Have fun

PS. There is no source tarball yet for this driver.

If you want to upgrade:
Code:
cd xf86-video-nouveau
git fetch
git rebase origin
./autogen.sh
make
su
cp src/.libs/nouveau_drv.so /usr/lib/xorg/modules/drivers # or
cp src/.libs/nouveau_drv.so /usr/lib64/xorg/modules/drivers # for Slackware64-13.1
But first backup the old one just in case

Last edited by Didier Spaier; 07-28-2010 at 05:05 AM.
 
Old 05-19-2010, 08:55 AM   #2
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
AFAIK, and its also mentioned on the nouveau website, the nouveau current git tree is compatible only with 2.6.34 (and higher)
 
Old 05-19-2010, 09:05 AM   #3
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 65
And, if you need 3d acceleration, you HAVE TO USE THE NVIDIA PROPRIETARY DRIVERS. nouveau, while a good OSS choice, and a great replacement for the standard 'nv' drivers for X11, does not do 3d
 
Old 05-19-2010, 09:16 AM   #4
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 396Reputation: 396Reputation: 396Reputation: 396
Quote:
Originally Posted by cwwilson721 View Post
And, if you need 3d acceleration, you HAVE TO USE THE NVIDIA PROPRIETARY DRIVERS. nouveau, while a good OSS choice, and a great replacement for the standard 'nv' drivers for X11, does not do 3d
It does if you compile it from source and enable gallium. But, of course, it's not going to be nearly as fast as the nvidia driver.

Adam
 
Old 05-19-2010, 09:18 AM   #5
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-14.1 on a Lenovo T61 6457-4XG
Posts: 3,955

Original Poster
Rep: Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936
Quote:
Originally Posted by sahko View Post
AFAIK, and its also mentioned on the nouveau website, the nouveau current git tree is compatible only with 2.6.34 (and higher)
Yes, this is why upgrading the kernel is stated at step 1.

Last edited by Didier Spaier; 05-20-2010 at 08:38 AM. Reason: missing verb
 
Old 05-19-2010, 09:40 AM   #6
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-14.1 on a Lenovo T61 6457-4XG
Posts: 3,955

Original Poster
Rep: Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936
Quote:
Originally Posted by cwwilson721 View Post
And, if you need 3d acceleration, you HAVE TO USE THE NVIDIA PROPRIETARY DRIVERS. nouveau, while a good OSS choice, and a great replacement for the standard 'nv' drivers for X11, does not do 3d
That's right, indeed, unless you use Gallium as already noticed by Adamk75 (I would not recommend that for general usage though as it's unsupported by nouveau developers). But I am not a gamer at all and do appreciate KMS and xranrd's usage.
 
Old 10-29-2010, 10:01 PM   #7
meetscott
Samhain Slackbuild Maintainer
 
Registered: Sep 2004
Location: Phoenix, AZ, USA
Distribution: Slackware
Posts: 407

Rep: Reputation: 42
Man, I just did what Didier was suggesting and nouveau requires a later version of Xorg than Slackware Current has. It requires 1.8 and current has 1.7.7. Too bad. I was hoping to get suspend working and I was wondering whether this driver would work with my graphics card which is a Nvidia GeForce GTX 460M.

I am working on a recently purchased Serval Professional, in case anyone was curious. I guess I'm stuck on the Nvidia proprietary driver for now. I'll wait until current is updated.
 
Old 10-29-2010, 10:06 PM   #8
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 65
The Nvidia driver is the only way to go if you want 3d accel, or even good compiz effects
 
Old 10-30-2010, 02:18 AM   #9
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-14.1 on a Lenovo T61 6457-4XG
Posts: 3,955

Original Poster
Rep: Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936
@meetscot: if you want to use Nouveau and save you the hassle of recompiling X packages, just grab Robby's ones, see http://www.linuxquestions.org/questi...0830-a-829336/
 
Old 10-30-2010, 02:40 PM   #10
meetscott
Samhain Slackbuild Maintainer
 
Registered: Sep 2004
Location: Phoenix, AZ, USA
Distribution: Slackware
Posts: 407

Rep: Reputation: 42
Didier,
Thanks, I'll give those a shot. My main objective is getting suspend to work. I don't mind the Nvidia drivers but the display doesn't come back after invoking it. It's really glitchy on this system. But I'm willing to give this a shot to try make it go and this represents a possible solution.
 
Old 10-31-2010, 11:40 AM   #11
meetscott
Samhain Slackbuild Maintainer
 
Registered: Sep 2004
Location: Phoenix, AZ, USA
Distribution: Slackware
Posts: 407

Rep: Reputation: 42
nouveau and slackware current

I think I'm going to have to live with booting and shutting down for now. It's bad enough that I'm running Slackware current on a system that's critically important to my work. Installing all these extra packages doesn't seem like a wise move. I'm sure I can do it. I'm sure I can figure it out. I'm sure I could roll it back out if I needed to. But I really can't afford to experiment with a system that I use every day to earn a living.

I think I'm going to wait until these things make their way into current. I simply lack the time to trouble shoot a broken system should something unexpected happen. I see too many posts with people having black screens and issues. That's not an acceptable outcome for me on this machine for any length of time :-(

I appreciate everyone working on this though. I'd normally be right there with you, but at this point I can't afford the down time.
 
Old 10-31-2010, 11:43 AM   #12
Squall90
Member
 
Registered: Oct 2009
Distribution: Currently several distros :S
Posts: 148

Rep: Reputation: 29
What about HD vids (as file as well as flash vids on YouTube)? And if I'm going to try nouveau, what about vdpau? Since my new graphics card I use it as default with MPlayer and I'm very satisfied.
 
Old 10-31-2010, 11:49 AM   #13
meetscott
Samhain Slackbuild Maintainer
 
Registered: Sep 2004
Location: Phoenix, AZ, USA
Distribution: Slackware
Posts: 407

Rep: Reputation: 42
Good point. I'm in that boat too. I sometimes need to use these to watch webinars to learn about certain technologies. I hate flash and I can't wait for it to go away completely. It always has poor behavior when you least expect it.
 
  


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
Fedora 12 - Nouveau + Nvidia Driver Solution JoshGriffin Fedora 19 05-21-2010 08:29 AM
Using "nouveau" driver for a nVidia GPU. Didier Spaier Slackware 2 01-26-2010 12:56 PM
Getting a new GPU: NVidia or ATI. Viper_Scull Linux - Hardware 10 01-26-2010 01:41 AM
LXer: Nouveau project hacks away at free Nvidia drivers LXer Syndicated Linux News 0 09-04-2007 06:40 AM
slackware owners and groups BiThian Slackware 2 08-29-2006 12:34 PM


All times are GMT -5. The time now is 10:34 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