NVIDIA X server settings is displaying empty window
I have problems with running NVIDIA X server settings to adjust GPU fan speeds. When launching the utility it only opens an empty window like this:
Below is additional info from nvidia-smi
utility and lsb_release -a
:
Ubuntu version:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
I will be happy to hear any tips about what could be the reason for this kind of behaviour.
Solution 1:
I had the same problem. The reason was in the version of the nvidia-settings utility. I used https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers to install drivers. Run the command to list installed packages:
dpkg -l | grep nvidia-
she brought out:
ii nvidia-compute-utils-430 430.26-0ubuntu0 ~ gpu19.04.1 amd64 NVIDIA compute utilities
ii nvidia-dkms-430 430.26-0ubuntu0 ~ gpu19.04.1 amd64 NVIDIA DKMS package
ii nvidia-driver-430 430.26-0ubuntu0 ~ gpu19.04.1 amd64 NVIDIA driver metapackage
ii nvidia-kernel-common-430 430.26-0ubuntu0 ~ gpu19.04.1 amd64 Shared files used with the kernel module
ii nvidia-kernel-source-430 430.26-0ubuntu0 ~ gpu19.04.1 amd64 NVIDIA kernel source package
ii nvidia-prime 0.8.10 NVIDIA's Prime all Tools to enable
ii nvidia-settings 418.56-0ubuntu1 amd64 Tool for configuring the NVIDIA graphics driver
ii nvidia-utils-430 430.26-0ubuntu0 ~ gpu19.04.1 amd64 NVIDIA driver support binaries
ii xserver-xorg-video-nvidia-430 430.26-0ubuntu0 ~ gpu19.04.1 amd64 NVIDIA binary Xorg driver
The apt search nvidia-settings command confirmed that there is only a version of nvidia-settings / disco, now 418.56-0ubuntu1 amd64.
Solution, deleted all nvidia by using:
apt purge *nvidia*
Download the latest driver from: https://www.nvidia.com/object/unix.html After installing the driver from the .run file, the settings are opened normally.
Solution 2:
Running this command made the trick for me:
sudo prime-select nvidia
Source: https://forums.linuxmint.com/viewtopic.php?t=294384