Difference between revisions of "NVidia Linux Compatibility"

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search
m (NVidia Geforce 6150 Linux)
m
Line 34: Line 34:
 
#clean up broken symlinks
 
#clean up broken symlinks
 
#reboot and keep fingers crossed
 
#reboot and keep fingers crossed
 +
 +
== Recovery: Something Went Wrong ==
 +
If something went wrong after installation of NVIDIA drivers, then follow these steps to recover.
 +
 +
1 Boot into '''recovery mode'''
 +
 +
If you don't see Grub (recovery option) just hold "Shift" before boot and choose recovery option
 +
 +
2 Now in the menu choose "root"
 +
 +
3 '''Uninstall Nvidia drivers''' using commands:
 +
sudo apt-get remove nvidia*
 +
sudo add-apt-repository -r ppa:xorg-edgers/ppa
 +
 +
4 Remove xorg configuration:
 +
sudo rm /etc/X11/xorg.conf
 +
 +
5 Reinstall the Mesa package for GL: ''(You can probably skip this step and the system will auto detect the working open source driver)''
 +
sudo apt-get --reinstall install libgl1-mesa-glx
 +
 +
6 Reboot the system
  
 
== related ==
 
== related ==
 
* [[Ubuntu Troubleshooting]]
 
* [[Ubuntu Troubleshooting]]
 
* [[NVidia Geforce 6150 Linux Compatibility]]
 
* [[NVidia Geforce 6150 Linux Compatibility]]

Revision as of 13:54, 13 January 2024

First Advice - Avoid NVidia, the company are not Linux Friendly.

Nvidia control panel

/usr/bin/nvidia-settings

Remove Nvidia driver that fails and start over

sudo apt remove --purge *nvidia*

nouveau - complete rubbish if you have any intention of gaming

You can try drivers from this PPA, but it didn't help me

sudo apt-add-repository ppa:graphics-drivers/ppa
sudo apt update

You can remove it

sudo apt-add-repository --remove ppa:graphics-drivers/ppa
sudo apt update

If it is still there

ls -l /etc/apt/sources.list.d

NVidia Geforce 6150

To find out what model of Nvidia card that you have:

lshw -numeric -C display

or

lspci -vnn | grep VGA


Linux x64 (AMD64/EM64T) Display Driver

Version: 	304.137
Release Date: 	2017.9.19
Operating System: 	Linux 64-bit
Language: 	English (US)
File Size: 	66.84 MB 

ref: http://www.nvidia.com/download/driverResults.aspx/123709/en-us

You can stop the X server with this command:

service lightdm stop

seen: NVIDIA-Linux-x86_64-304.137.run

VERSION: 304

sudo apt-get install nvidia-304

ref: https://linuxconfig.org/how-to-install-the-latest-nvidia-drivers-on-ubuntu-16-04-xenial-xerus


Fix Suggestion 1

I found that the correct driver (working well now for two days) is the nvidia-304 which can be installed from repositories. This might be problematic if you are making a clean install because the Geforce 6150SE will not work well when installing from the Ubuntu DVD: the Ubuntu live session will freeze, so follow this sequence:

   Boot from the DVD and press Space to choose different methods of installation.
   Choose Experienced Install.
   Install Ubuntu.
   After install is done, press CTRL+ALT+F1 and login.
   Update your system:
   sudo apt-get update
   sudo apt-get upgrade
   Install the driver:
   sudo apt-get install nvidia-304
   DO NOT run nvidia-xconfig (THIS IS IMPORTANT).
   Reboot the system (just press CTRL+ALT+DEL)
   Login normally.
   Open Nvidia X server settings from the dash.
   Backup your configuration (you can copy and paste it to a txt file)

ref: https://askubuntu.com/questions/588538/whats-the-correct-driver-to-use-with-a-geforce-6150se-nforce-430-on-ubuntu-and


Fix Suggestion 2

1) Download Newest Nvidia drivers from here

2) Open module blacklist as admin

   gksudo gedit /etc/modprobe.d/blacklist.conf

Add these lines and save:

   blacklist vga16fb
   blacklist nouveau
   blacklist rivafb
   blacklist nvidiafb
   blacklist rivatv

3) Uninstall any previously installed Nvidia drivers:

   sudo apt-get --purge remove nvidia-*

4) Reboot your computer

5) When an error message pops up saying that Ubuntu cannot load Nvidia drivers, choose Exit to terminal (Exit to console)

6) Login and cd to the directory where you saved your file

7)Install drivers

   sudo sh NVIDIA-Linux-x86_64-195.36.24-pkg2.run

8)Start GDM

   sudo service gdm start

ref: https://ubuntuforums.org/showthread.php?t=1467074

Fix Suggestion 3

There is a problem with the driver in software center.The bug is fixed in latest NVIDIA drivers. Run these commands in a terminal.

sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install nvidia-current

ref: https://askubuntu.com/questions/117230/unity-3d-wont-load-choosing-ubuntu-during-login-still-loads-unity-2d/121128#121128

login screen displays, goes black after logging in

System boots to the graphical login screen, then after you enter password the screen goes black where the desktop should be.

NVIDIA GeForce GT 440

On linux Mint this card has no working driver in the PPAs. as of 19.2 Tina - and since it is an older card it is doubtful there ever will be. Again, the problem is the jerks and NVIDIA not helping out.

It can be made to work by downloading directly from the NVIDIA web site.

  1. download NVIDIA-Linux-x86_64-340.108.run from NVIDIA web site
  2. blacklist nouveau and reboot
  3. kill your current X server session by typing sudo service lightdm stop or sudo lightdm stop
  4. chmod +x and run NVIDIA-Linux-x86_64-340.108.run - it will be ugly and lots of errors
  5. clean up broken symlinks
  6. reboot and keep fingers crossed

Recovery: Something Went Wrong

If something went wrong after installation of NVIDIA drivers, then follow these steps to recover.

1 Boot into recovery mode

If you don't see Grub (recovery option) just hold "Shift" before boot and choose recovery option

2 Now in the menu choose "root"

3 Uninstall Nvidia drivers using commands:

sudo apt-get remove nvidia*
sudo add-apt-repository -r ppa:xorg-edgers/ppa

4 Remove xorg configuration:

sudo rm /etc/X11/xorg.conf

5 Reinstall the Mesa package for GL: (You can probably skip this step and the system will auto detect the working open source driver)

sudo apt-get --reinstall install libgl1-mesa-glx

6 Reboot the system

related