NVIDIA X server settings is displaying empty window
I found a solution for this issue. The driver isn't initializing, but the secure boot (SB) doesn't need to be disabled. If you correctly configure the SB on your computer, after installing the driver, a window opens asking for a password. Set your password. After finishing the setup, reboot your PC.
After a few seconds, a blue screen appears, press enter and select the first option (I don't remember what says, but is a thing with MOK, KOM, whatever). It asks for a password, write the password that was set up before, and reboot.
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.
Running this command made the trick for me:
sudo prime-select nvidia