LinuxQuestions.org
Review your favorite Linux distribution.
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 01-03-2009, 01:48 PM   #1
JosephS
Member
 
Registered: Jun 2007
Distribution: Debian Squeeze, CrunchBang Waldorf
Posts: 516

Rep: Reputation: 38
downloaded slackbuilds for nvidia. Need help with xorg.conf


Using Slackware 12.2
graphics card:
Quote:
lspci -v
01:00.0 VGA compatible controller: nVidia Corporation NV6 [Vanta/Vanta LT] (rev 15) (prog-if 00 [VGA controller])
Subsystem: nVidia Corporation Unknown device 0072
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
Memory at f6000000 (32-bit, prefetchable) [size=32M]
[virtual] Expansion ROM at f5e00000 [disabled] [size=64K]
Capabilities: [60] Power Management version 1
Capabilities: [44] AGP version 2.0
Kernel modules: nvidiafb, rivafb

I installed the slackbuilds form http://www.slackbuilds.org/repository/12.2/system/
I installed:
nvidia-driver 177.82 2008-12-09
nvidia-kernel 177.82 2008-12-09

The README file from slackbuilds.org says to use
nvidia-switch --nvidia
and then to edit xorg.conf

I opened a terminal as root.

I used nvidia-switch

I also edited /etc/X11/xorg.conf > Section "Device"
changed Driver "nv" to "nvidia"

I couldn't get a screen when I used startx

I then tried:
nvidia-settings
I got this message:
Quote:
ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.
I looked at man nvidia-settings. I didn't know which settings to choose.

I then tried nvidia-xconfig. I still couldn't get a screen with startx.

I could use some help.

Thanks.
 
Old 01-03-2009, 02:31 PM   #2
ppr:kut
Member
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 363

Rep: Reputation: 94
You are using the wrong driver. According to the README of the nvidia .run fie (/usr/doc/nvidia-driver-*/doc/README.txt if you have the package installed) you need the nvidia-legacy71-* scripts.
Please be careful: I've never tested downgrading from a newer driver back to an older one. I recommend removepkg/installpkg instead of upgradepkg and do "nvidia-switch --cleanup" before you remove the nvidia-driver package.

After you have the legacy driver installed be sure to also disable the composite extension in xorg.conf or GLX will not work.
 
Old 01-03-2009, 02:36 PM   #3
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Perhaps the following will help:

Switching X Video Drivers
 
Old 01-03-2009, 02:47 PM   #4
ppr:kut
Member
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 363

Rep: Reputation: 94
My concern lies in nvidia-legacy71-driver having not all libraries nvidia-driver has. I'm currently not sure how nvidia-switch would handle such a case on an upgrade. I *think* it would still work, but nonetheless recommend not trying it. I'll have a look at this for the next update.
 
Old 01-03-2009, 03:15 PM   #5
JosephS
Member
 
Registered: Jun 2007
Distribution: Debian Squeeze, CrunchBang Waldorf
Posts: 516

Original Poster
Rep: Reputation: 38
I was told not to use the legacy drivers.

How do I know which driver to use from http://slackbuilds.org/repository/12.2/system/?
There are 3 legacy drivers.

I looked at the article 'Switching X Video Drivers'
It doesn't say how to edit xorg.conf or will that be taken care of when
I install the slackbuilds?

Thanks.

Last edited by JosephS; 01-03-2009 at 03:16 PM.
 
Old 01-03-2009, 03:29 PM   #6
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,475

Rep: Reputation: Disabled
You should find http://www.nvidia.com/object/IO_32667.html useful to understand legacy drivers and which you need.

Brian
 
Old 01-03-2009, 03:43 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,938

Rep: Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601
# 4
Quote:
nvidia-legacy71-driver
No problems, used it some time ago for Slamd64-12.1 .
....
 
Old 01-04-2009, 05:36 AM   #8
ppr:kut
Member
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 363

Rep: Reputation: 94
Quote:
No problems, used it some time ago for Slamd64-12.1 .
I know it will work fine if you install it on a clean system ("clean" meaning no other nvidia-driver is installed). I also know it will work fine if you update from an older legacy71 driver to a newer or even legacy96, legacy173, etc... What I do *NOT* know however is, how it behaves the other way around. Meaning, if you DOWNGRADE from legacy173 or legacy96 (or the standard nvidia-driver in this case) to legacy71.
nvidia-switch does handle libraries that did not exist before just fine, but I'm not sure if it does too for libraries that do no longer exists. This is ONLY a concern if you UPGRADE/DOWNGRADE. If you remove and reinstall everything will work as expected.

I hope I made it clearer this time.
 
Old 01-04-2009, 09:21 AM   #9
JosephS
Member
 
Registered: Jun 2007
Distribution: Debian Squeeze, CrunchBang Waldorf
Posts: 516

Original Poster
Rep: Reputation: 38
I installed the nvidia-legacy71-driver and kernel.
I used
Code:
nvidia-switch --nvidia
I edited etc/X11/xorg.conf
Section "Device" -> Driver "nvidia"
I can get into X.

I tried running
Code:
nvidia-settings
to generate an xorg.conf file,
but got this error:
Quote:
NV - Control extension not found on this display
Can someone tell me what to do with this?
or how to edit the /etc/X11/xorg.conf file for the nvidia driver?

Thanks.
 
Old 01-04-2009, 02:44 PM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,938

Rep: Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601
1) 'cd /etc/X11' , 'su' , # 'mkdir backup_nv' ,
.. # 'cp xorg.conf backup_nv'
Then you can use the file, if things go wrong.

2) # 'mousepad /etc/X11/xorg.conf' ( or any editor
by your choice.)

Change the word "nv" to "nvidia" and save. Then
logout ... and login to X again.
....
 
  


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
nvidia xorg.conf OR X windows xorg.conf? machines Slackware 3 04-06-2008 02:10 PM
Gentoo / Nvidia / Xorg.conf GaMeS Linux - Newbie 8 10-29-2005 05:38 AM
xorg.conf and nvidia problem scarryharry Slackware 8 05-20-2005 04:00 PM
NVidia TV out thru xorg.conf jobless_joe Linux - Software 7 02-22-2005 11:59 PM
HELP nvidia + xorg.conf = BIG PIXELS fatblueduck Linux - Software 3 11-05-2004 06:48 AM


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