I am currently having a "small" problem getting my Nvidia drivers to work. It is identical to this post: NVidia X Server Settings GUI doesn't start on ubuntu 18.04
I however have not installed CuDNN and TensorFlow-GPU.
$ uname -a
Linux OVG-HP 4.19.9-041909-generic #201812130432 SMP Thu Dec 13
09:34:53 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
The error/bug:
$ nvidia-settings
ERROR: Unable to load info from any available system
(nvidia-settings:9737): GLib-GObject-CRITICAL **: 21:50:05.392:
g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** (nvidia-settings:9737): WARNING **: 21:50:05.394: PRIME: Failed to
execute child process “/usr/bin/prime-supported” (No such file or
directory)
** Message: 21:50:05.394: PRIME: is it supported? no
I also tried to do nvidia-xconfig:
$ nvidia-xconfig
WARNING: Unable to locate/open X configuration file.
WARNING: Unable to parse X.Org version string.
Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-server' found
ERROR: Unable to write to directory '/etc/X11'.
Seems to me that I am missing "bunch" of files to run Nvidia driver, even if this is a fresh install of it (was just reinstalling). I have tried searching around for this behaviour but haven't really found much that helps.
Could this be caused of nomodeset in my grub? I noticed that I am also missing some folders from Intel, basically to control the screen brightness. I saw that happen from when I restarted after adding nomodeset to grub. The computer however won't run unless it has nomodeset.
If this is a bug, I will do my best to report it to developers. If not, all help is welcome. :)