LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   problems with xorg.conf and nvidia drivers (http://www.linuxquestions.org/questions/slackware-14/problems-with-xorg-conf-and-nvidia-drivers-881373/)

0zMe 05-18-2011 05:28 AM

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

sycamorex 05-18-2011 05:38 AM

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

0zMe 05-18-2011 06:05 AM

thanks, it worked great.

During the installation I had to modprobe the nouveau driver. Should I enable it again?

disturbed1 05-18-2011 06:17 AM

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.

kingbeowulf 05-19-2011 07:11 PM

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.

dimm0k 05-19-2011 07:30 PM

Quote:

Originally Posted by beowulf999 (Post 4361352)
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?

disturbed1 05-19-2011 07:43 PM

Quote:

Originally Posted by beowulf999 (Post 4361352)
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.

firekage 08-28-2011 01:12 PM

Quote:

Originally Posted by sycamorex (Post 4359739)
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?

sycamorex 08-28-2011 02:07 PM

Quote:

Originally Posted by firekage (Post 4455522)
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

H_TeXMeX_H 08-28-2011 02:22 PM

Or you can run the new version installer and it will automatically uninstall the old version.

indogo 01-30-2013 12:20 PM

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


All times are GMT -5. The time now is 06:59 AM.