Nvidia control panel won't launch

Hi,

I recently installed Leap 42.1 as my first Linux install (dual boot with Win10) and really like it so far.

I had the Nvidia driver installed and the only issue is it would not save my settings.
(using this method https://en.opensuse.org/SDB:NVIDIA_the_hard_way)

NVIDIA-Linux-x86_64-367.44

I had also wanted to be able to adjust fan settings (it seems to be stuck on zero RPMs) so I tried adding this
sudo nvidia-xconfig
sudo nvidia-xconfig --cool-bits=4

But now the control panel won’t launch.
I see the icon spinning on the task bar for a few seconds and then it disappears.
Launching from the command line simply sits there.

So I uninstalled and installed the latest driver (NVIDIA-Linux-x86_64-367.57) but it’s made no difference.
Reverting to the older driver didn’t help either.

Side question, when I go to add the Nvidia repository, it says the info below.
How can I confirm that key and fingerprint are correct?

Import untrusted GnuPG key
Name: NVIDIA Corporation
Fingerprint: 9B76 3D49 D8A5 C892 FC17 8BAC F511 3243 C66B 6EAE
Created: 06/15/2006
Expires: Never
Thanks,
Dave

System
EVGA X99 FTW K
EVGA GeForce GTX 1070 SC GAMING
EVGA SuperNOVA 850 P2, 80+ PLATINUM 850W
5820K Haswell-E 6-Core 3.3GHz
G.SKILL Ripjaws 4 Series 32GB
Samsung 850 EVO - 500GB (2)
openSUSE Leap 42.1
Windows 10 Home 64 Bit

On Mon 17 Oct 2016 06:06:01 PM CDT, New OpenSuse User wrote:

Hi,

I recently installed Leap 42.1 as my first Linux install (dual boot with
Win10) and really like it so far.

I had the Nvidia driver installed and the only issue is it would not
save my settings.
(using this method https://en.opensuse.org/SDB:NVIDIA_the_hard_way)

NVIDIA-Linux-x86_64-367.44

I had also wanted to be able to adjust fan settings (it seems to be
stuck on zero RPMs) so I tried adding this
sudo nvidia-xconfig
sudo nvidia-xconfig --cool-bits=4

But now the control panel won’t launch.
I see the icon spinning on the task bar for a few seconds and then it
disappears.
Launching from the command line simply sits there.

So I uninstalled and installed the latest driver
(NVIDIA-Linux-x86_64-367.57) but it’s made no difference.
Reverting to the older driver didn’t help either.

Side question, when I go to add the Nvidia repository, it says the info
below.
How can I confirm that key and fingerprint are correct?

Import untrusted GnuPG key
Name: NVIDIA Corporation
Fingerprint: 9B76 3D49 D8A5 C892 FC17 8BAC F511 3243 C66B 6EAE
Created: 06/15/2006
Expires: Never
Thanks,
Dave

System
EVGA X99 FTW K
EVGA GeForce GTX 1070 SC GAMING
EVGA SuperNOVA 850 P2, 80+ PLATINUM 850W
5820K Haswell-E 6-Core 3.3GHz
G.SKILL Ripjaws 4 Series 32GB
Samsung 850 EVO - 500GB (2)
openSUSE Leap 42.1
Windows 10 Home 64 Bit

Hi
Just configure the /etc/X11/xorg.conf.d/50-device.conf file and remove
the /etc/X11/xorg.conf file created by nvidia-xconfig.

For my card I use;


Section "Device"
Identifier "Default Device"

Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8800 GT"
Option "Coolbits" "4"

The screen configuration is taken care of by the desktop.


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.1|GNOME 3.16.2|4.1.31-30-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Hi Malcolm,

Thanks for the reply.
Would I edit that file in the console or can I open in something like Kwrite as Root?
(I’m just learning Linux, so I’m new to things like using the console for things) :slight_smile:

With those changes, would I then use the KDE panel to adjust things or will that fix the Nvidia panel not launching issue?

I particularly want to be able to adjust brightness/contrast and fan speed.

Do you know what it means when a program just shows the spinning icon then disappears?
Is something preventing the program from launching?
I had the same issue with Steam but it will at least launch from the console, so it works at least.

Thanks,
Dave

Hi
If comfortable with the command line vi can edit, else try;


kdesu kwrite /etc/X11/xorg.conf.d/50-device.conf

I’m a GNOME user, the only thing I had to do was that, the desktop took care of the rest.

For fan control I use a script as my user…


cat ~/bin/nvidia_fan_control

#!/bin/bash

# read the current fan speed from nvidia-settings
current_speed=`nvidia-settings -t -q [fan:0]/GPUCurrentFanSpeed`
new_speed=0

#read arguments from command line
case "$1" in
#if argument is "up", increase fan speed by 5%, unless already at 100%
"up")    let "new_speed = $current_speed + 5"
    if  $new_speed -gt 100 ]
    then
        new_speed=100
    fi
    eval "nvidia-settings -a [gpu:0]/GPUFanControlState=1 -a [fan:0]/GPUCurrentFanSpeed=$new_speed"
    ;;
#if argument is "down", decrease fan speed by 5%, unless already at 30
"down")    let "new_speed = $current_speed - 10"
    if  $new_speed -lt 30 ]
    then
        new_speed=30
    fi
    eval "nvidia-settings -a [gpu:0]/GPUFanControlState=1 -a [fan:0]/GPUCurrentFanSpeed=$new_speed"
    ;;
#if "min", set fan speed to 30%
"min")    nvidia-settings -a [gpu:0]/GPUFanControlState=1 -a [fan:0]/GPUCurrentFanSpeed=30
    ;;
#if "maX2, set fan speed to 100%
"max")    nvidia-settings -a [gpu:0]/GPUFanControlState=1 -a [fan:0]/GPUCurrentFanSpeed=100
    ;;
#if "mid", set fan speed to 60%
"mid")    nvidia-settings -a [gpu:0]/GPUFanControlState=1 -a [fan:0]/GPUCurrentFanSpeed=60
    ;;
esac

exit 0

Just remember to delete any /etc/X11/xorg.conf file.

If you open a terminal and run the command nvidia-settings it should provide some details as to what is happening.

Hi Malcom,

I’ll try that.

Installing the Nvidia drivers was my first console experience since some simple DOS stuff right before Windows 95 was launched :slight_smile:

When I type NVidia-settings in the command line, it sits there as if it was doing something but nothing happens.

I’m using KDE. Is Gnome better/more stable?

Thanks,
Dave

Hi
It should be nvidia-settings no capitals…

I don’t believe it’s a desktop issue, maybe someone else can comment on that.

So you mentioned Steam issues, have you changed anything in that respect to some configuration files?

The other option is to use YaST and create a test user, logout and login as the test user and see if nvidia-settings works. Note you need to fix the device conf file first.

Thanks Malcolm, I’ll try some of those suggestions.

I did type nvidia-settings as lower case in the console but the forum auto-corrected it when I typed it here :slight_smile:

I didn’t modify anything for Steam, just run it at the command line now and it works.

Thanks,
Dave