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 05-18-2011, 06:28 AM   #1
0zMe
Member
 
Registered: Jun 2009
Posts: 85

Rep: Reputation: 15
Question problems with xorg.conf and nvidia drivers


hi everybody,

i'm using slackware 13.37.

my graphic card is nvidia geforce go 6400. I downloaded nvidia-kernel and nvidia-driver (260.19.29) from slackbuilds.org.

after the installation I used the command nvidia-switch --nvidia to switch to the nvidia xorg files.

after a restart, I couldn't open my desktop, so the only chance was to delete xorg.conf file on /etc/X11. So I could see my desktop.

Now, I don't have any xorg.conf file, I'm not using any graphic drivers and my fans are very loud, videos are laggy.

What do I do know? First of all, how do I create a xorg.conf file and use the nvidia drivers?

Thanks for your help
 
Old 05-18-2011, 06:38 AM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,607
Blog Entries: 1

Rep: Reputation: 1047Reputation: 1047Reputation: 1047Reputation: 1047Reputation: 1047Reputation: 1047Reputation: 1047Reputation: 1047
It's so much easier to grab the binary drivers from Nvidia website. The installation process is very straightforward and it creates xorg.conf for you.

http://www.nvidia.com/object/unix.html
1. Choose your architecture
2. Download the file
3. chmod +x nvidia_driver_file_which_you downloaded
4. exit X
5. su
6. ./nvidia_driver_file_which_you_downloaded

HTH
 
1 members found this post helpful.
Old 05-18-2011, 07:05 AM   #3
0zMe
Member
 
Registered: Jun 2009
Posts: 85

Original Poster
Rep: Reputation: 15
thanks, it worked great.

During the installation I had to modprobe the nouveau driver. Should I enable it again?
 
Old 05-18-2011, 07:17 AM   #4
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 223Reputation: 223Reputation: 223
The nouveau driver conflicts with the binary Nvidia driver. It needs to be black listed. Have no fear though, if the Nvidia installer detected nouveau, the installer will offer to black list it, and prompt you to reboot. Unless nouveau is blacklisted it (nouveau) will auto probe and load -- even in console mode without an X session running.

You can check if this is the case on your system by taking a look in /etc/modprobe.d

The Nvidia binary installer also has a built in update feature.
Quote:
--update
Connect to the NVIDIA FTP server '
ftp://download.nvidia.com ' and determine the latest
available driver version. If there is a more recent driver
available, automatically download and install it. Any
other options given on the commandline will be passed on to
the downloaded driver package when installing it.
 
Old 05-19-2011, 08:11 PM   #5
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 526

Rep: Reputation: 140Reputation: 140
The Nvidia blob is fine, but it its a pain to revert to a pristine F/OSS system. Yes it is.

The SBo files allow switching back and forth much more easily, and follow the standard slackware package installation philosophy. To use the SBo style, you will need to manually blacklist nouveau driver.

The new X.org prefers to autodetect everything. You need to be careful with the xorg.conf entries. Better to use the nvidia-settings utility or put your override/tweaks into /etc/X11/xorg.conf.d as "xxxx.conf" named files.
 
Old 05-19-2011, 08:30 PM   #6
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.0
Posts: 389

Rep: Reputation: 23
Quote:
Originally Posted by beowulf999 View Post
The Nvidia blob is fine, but it its a pain to revert to a pristine F/OSS system. Yes it is.

The SBo files allow switching back and forth much more easily, and follow the standard slackware package installation philosophy.
Oh man, I wish I had known there was an SBo way to install the nVidia blob... is it documented somewhere how to clean a system of it so one may go the SBo route?
 
Old 05-19-2011, 08:43 PM   #7
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 223Reputation: 223Reputation: 223
Quote:
Originally Posted by beowulf999 View Post
The Nvidia blob is fine, but it its a pain to revert to a pristine F/OSS system. Yes it is.
That's not true. Nvidia's uninstaller takes care of this without issue. The installer keeps a list of files it replaces, then upon uninstallation reverts your system back to the previous state.
Quote:
To later uninstall the NVIDIA Linux graphics driver, you can run nvidia-installer --uninstall. In the 'uninstall' mode of operation, all
driver files that were installed on the system are deleted, and all files that were backed up during installation are restored to their origi-
nal locations. The uninstall process should restore your filesystem to its state prior to installation. If you install one NVIDIA Linux
graphics driver while another is already installed, this uninstall step is automatically performed on the old driver at the beginning of
installation of the new driver.
The SBo package is nice if you want to effortlessly switch between the upstream Nvidia driver, and one of the other 3 FOSS drivers.
 
Old 08-28-2011, 02:12 PM   #8
firekage
Member
 
Registered: May 2011
Location: Poland
Distribution: Slackware, Ubuntu, Arch
Posts: 272

Rep: Reputation: 7
Quote:
Originally Posted by sycamorex View Post
It's so much easier to grab the binary drivers from Nvidia website. The installation process is very straightforward and it creates xorg.conf for you.

http://www.nvidia.com/object/unix.html
1. Choose your architecture
2. Download the file
3. chmod +x nvidia_driver_file_which_you downloaded
4. exit X
5. su
6. ./nvidia_driver_file_which_you_downloaded

HTH
I'm wondering - how to completly uninstall it? In PKGTOOL when i had an Ati card i had fglrx package, and i could remove it, and than reinstall MESA package but with nvidia driver (from their web site - i don't use slackbuilds) i dont have something similar in PKGTOOL, and i don't know how to revert back (in case something went wrong - i'm just curious).

Can You tell me?
 
Old 08-28-2011, 03:07 PM   #9
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,607
Blog Entries: 1

Rep: Reputation: 1047Reputation: 1047Reputation: 1047Reputation: 1047Reputation: 1047Reputation: 1047Reputation: 1047Reputation: 1047
Quote:
Originally Posted by firekage View Post
I'm wondering - how to completly uninstall it? In PKGTOOL when i had an Ati card i had fglrx package, and i could remove it, and than reinstall MESA package but with nvidia driver (from their web site - i don't use slackbuilds) i dont have something similar in PKGTOOL, and i don't know how to revert back (in case something went wrong - i'm just curious).

Can You tell me?
To uninstall the binary driver, you can pass the --unistall flag to the installer file:
Code:
# ./NVIDIA-Linux-x86_64-280.13.run --uninstall
 
1 members found this post helpful.
Old 08-28-2011, 03:22 PM   #10
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Or you can run the new version installer and it will automatically uninstall the old version.
 
Old 01-30-2013, 01:20 PM   #11
indogo
LQ Newbie
 
Registered: May 2006
Posts: 10

Rep: Reputation: 0
Relevant and possibly timely...
Quote:
The new X.org prefers to autodetect everything. You need to be careful with the xorg.conf entries. Better to use the nvidia-settings utility or put your override/tweaks into /etc/X11/xorg.conf.d as "xxxx.conf" named files.
No kidding ...for anyone attempting to use the Nvidia driver on similar era systems apart from other obstacles I find Xorg either rewrites or simply deletes a WORKING /etc/X11/xorg.conf each reboot so if a command prompt appears check for that .

mike
 
  


Reply

Tags
nvidia, xorg.conf


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
xorg.conf and nvidia johnh10000 Linux - Software 38 06-16-2010 11:55 AM
nv Vs. nvidia in xorg.conf -- Resolution Problems treth Linux - Laptop and Netbook 2 03-30-2010 03:42 AM
nvidia xorg.conf OR X windows xorg.conf? machines Slackware 3 04-06-2008 03:10 PM
Xorg.conf Problems with Nvidia video card Ubuntu kickerkeeper Linux - General 3 03-16-2007 10:59 AM
NVidia TV out thru xorg.conf jobless_joe Linux - Software 7 02-23-2005 12:59 AM


All times are GMT -5. The time now is 03:21 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration