Nvidia driver install failed

Hey everyone,

So I installed the nvidia driver for my GT 9600m for my laptop, and when I restarted it, it was all wonky, such as the resolution was all weird and the screen was mostly just black as well as my mouse cursor was a big fat x.
I tried this one https://en.opensuse.org/SDB:Configuring_graphics_cards to no avail. Any ideas/recommendations? Also forgot to mention, I’m a complete newb to linux, first distro here so I’m currently learning. :stuck_out_tongue:

Please post in Code-Tags:

zypper se -si nvidia
uname -a

I’m a bit new so I will try my best.

I used this to add the repo

 [zypper ar -f ftp://download.nvidia.com/opensuse/13.2/ nvidia ]

Afterwards, I used

zypper install x11-video-nvidiaG03

to install the driver for the 9600m i had.
I followed it accordingly, accepted it and all. Not sure where I went wrong.

Provided you are using openSUSE 13.2, this wasn’t really wrong.

But it can happen that the wrong packages are selected automatically.

So please do as Sauerland wrote, and post the output of:

zypper se -si nvidia
uname -a

And/or:

rpm -qa | egrep "kernel|nvidia"

As this is a laptop, does it have an intel chip as well?
The official nvidia driver does not work on hybrid (so-called “Optimus”) systems.

If this is an Optimus based computer (Intel+NVIDIA GPU) you need to follow special procedures.

First remove the NVIDIA driver you installed you may need to boot to rescue mode (in advanced menu at boot)

Then follow exactly the instructions here

https://en.opensuse.org/SDB:NVIDIA_Bumblebee

If it is not Optimus then don’t do the above the problem is else were

I just ran this code

rpm -ga | egrep "kernel|nvidia"

I got this in return,


kernel-desktop-devel-3.19.1-2.1.x86_64
kernel-firmware-20141122git-5.1.noarch
kernel-macros-3.19.1-2.1.noarch
nvidia-glG03-340.76-36.1.x86_64
x11-video-nvidiaG03-340.76-36.1.x86-64
kernel-desktop-3.16.7-7.1.x85_64
kernel-devel-3.19.1-2.1.noarch
nvidia-uvm-gfxG03-kmp-desktop-340.76_k3.16.6_2-36.1.x86_64
nvidia-gfxG03-kmp-desktop-340.76_k3.16.6_2-36.1.x85_64
nvidia-compteG03-340.76-36.1.x86_64

I think I have an optimus laptop then, because I’ve got a intel centrino and a nvidia gt9600m. It’s an old hp hdx 16t-1200 laptop. Do I continue?

You have the wrong version of the kernel development packages installed (3.19.1 instead of 3.16.7 as your kernel is).

You probably added some Kernel repo?
Remove this, the nvidia driver packages only work with the kernel included in the distribution.

If you need help with that, please post your repo list:

zypper lr -d

Then reinstall the devel packages:

sudo zypper in -f kernel-macros-3.16.7 kernel-devel-3.16.7 kernel-desktop-devel-3.16.7

(the version numbers shouldn’t be necessary, but that makes sure you really get the correct versions…)

Afterwards, install the nvidia kmp packages again:

sudo zypper in -f nvidia-gfxG03-kmp-desktop nvidia-uvm-gfxG03-kmp-desktop

After a reboot it would hopefully work.

I doubt that this is an Optimus system, in particular as you say it’s old. On second thought, I don’t actually think a GT9600m supports Optimus at all. I think Optimus has been introduced way after the Geforce 9 series, with the 200M.

Hello, thank you for your help!

I used

sudo zypper rm nvidia-gfxG03-kmp-desktop

to remove the driver and the resolution and black screen seemed to stop after that and it looks fairly normal.

My repo list is

#  | Alias                              | Name                               | Enabled | Refresh | Priority | Type   | URI                                                                                      | Service
---+------------------------------------+------------------------------------+---------+---------+----------+--------+------------------------------------------------------------------------------------------+--------
 1 | Bumblebee                          | Bumblebee                          | Yes     | Yes     |   99     | NONE   | http://download.opensuse.org/repositories/X11:/bumblebee/opensuse_13.2/                  |        
 2 | download.opensuse.org-13.2-non-oss | Update Repository (Non-Oss)        | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.2-non-oss/                                        |        
 3 | download.opensuse.org-non-oss      | Main Repository (NON-OSS)          | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.2/repo/non-oss/                             |        
 4 | download.opensuse.org-oss          | Main Repository (DEBUG)            | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/debug/distribution/13.2/repo/oss/                           |        
 5 | download.opensuse.org-oss_1        | Main Repository (OSS)              | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.2/repo/oss/                                 |        
 6 | download.opensuse.org-oss_2        | Main Repository (Sources)          | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/source/distribution/13.2/repo/oss/                          |        
 7 | download.opensuse.org-update       | Update Repository (DEBUG)          | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/debug/update/13.2/                                          |        
 8 | download.opensuse.org-update_1     | Main Update Repository             | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.2/                                                |        
 9 | games:tools                        | games:tools                        | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/games:/tools/openSUSE_13.2/                    |        
10 | nvidia                             | nvidia                             | Yes     | Yes     |   99     | rpm-md | ftp://download.nvidia.com/opensuse/13.2/                                                 |        
11 | openSUSE-13.2-0                    | openSUSE-13.2-0                    | Yes     | Yes     |   99     | yast2  | hd:///?device=/dev/disk/by-id/scsi-SGeneric_Flash_Disk_....Generic_Flash_Disk_8.07-part2 |        
12 | openSUSE:Factory                   | openSUSE:Factory                   | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/factory/repo/oss/                                           |        
13 | repo-debug-update-non-oss          | openSUSE-13.2-Update-Debug-Non-Oss | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/13.2-non-oss/                                  |        
14 | system:packagemanager              | system:packagemanager              | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/system:/packagemanager/openSUSE_Factory/  

I’ll give this a try now.

I just tried what it but it went back to what I had before which was a messed up resolution and a black screen. Could it be because of the driver? I’m also getting something about a bumblebee repo in red text but it flows by too fast for me to read it.

If the machine is not Optimus then you do NOT want bumbelbee. Bumblebee is only for optimus machines remove anything you have installed from bumblebee and remove that repo you will get things jumbled up. Bumblebee is ONLY for Optimus machines

lspci will list among other things all video chips.

I’m not sure how to remove the whole bumblebee repo so I think I’ll just reinstall the whole machine. It’s a mess now :frowning:

One thing I forgot to ask about is why is it that I have to keep my USB that I installed openSUSE with connected to the laptop? I cant install anything without it plugged in, it’ll usually say something along the lines of missing media.

Just remove the entry from the repos list.

Yast - Software Repositories.

What install are you using a Live DVD (image) or the full DVD (Image)

In some install methods the install media is not removed from the list and for some it is.

BTW removing bumblebee is the same. Learn Yast all things system related are in Yast (well most anyway)

If KDE Desktop all personal setting are found in Configure Desktop

I’m using the full DVD image, I would’ve removed it from Yast but I couldn’t move around on the desktop so that wasn’t possible. Does this mean I would have to go into Yast to remove my USB from the list? I’m using Gnome so I have Yast. I managed to install the driver successfully, as in when the new repo and command is put in and I restarted the computer, everything looks fine. But when I use

sudolspci -nnk | grep VGA -A2

, the kernel shows up as nouveau instead of the nvidia kernel. I tried blacklisting the nouveau kernel but that didnt work either.

If you installed it properly there is no need to blacklist anything. Those are old instruction from years ago.

You can also use zypper.

as root

zypper lr -d

this lists the repos note the number of the repo you want to remove say #

zypper rr #

You can get a short list of the zypper commands with zypper --help

run
rpm -ga | egrep “kernel|nvidia”

again to be sure you have the right stuff installed

Note you can also run yast in a terminal as root just type yast.it is a text version navigate via tab and arrows

I ran that and got this

rpm: one type of query/verify may be performed at a time

.

Then do

zypper se -si nvidia

I just copied the one from Wolfi he usally does them right LOL

I ran that and I got


Loading repository data...
Reading installed packages...
No packages found.

So you did not install the NVIDIA drivers they ain’t there :’(

Try again. I find it easiest to use Yast but you may want to use the one click

https://en.opensuse.org/SDB:NVIDIA_drivers