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. :)
sudo nvidia-xconfig
to create a/etc/X11/xorg.conf
file if that will help it so that thenvidia-settings
work then? – Terrance Dec 23 '18 at 22:30sudo nvidia-xconfig
createsxorg.conf
andxorg.conf.nvidia-xconfig-orginal
file, but I still have the same problem when runningnvidia-settings
. It results in(nvidia-settings:5247): GLib-GObject-CRITICAL **: 08:50:44.395: g_object_unref: assertion 'G_IS_OBJECT (object)' failed ** Message: 08:50:44.397: PRIME: No offloading required. Abort ** Message: 08:50:44.397: PRIME: is it supported? no
– Ólafur Víðir Guðbjargarson Dec 24 '18 at 08:52libnvidia-ifr1-410
package is broken and therefore I can't installlibnvidia-gl-410
properly. – Ólafur Víðir Guðbjargarson Dec 24 '18 at 08:57ubuntu-bug nvidia-settings
– Terrance Dec 24 '18 at 14:10Problem in nvidia-settings, It is not possible to reprort the bug. This is not an official Linux package. Please remove any third party package and try again
. It is roughly what it says, have to translate from my native language. – Ólafur Víðir Guðbjargarson Dec 24 '18 at 14:19/etc/X11/xorg.conf
file. There is a lot of documentation out there on settings that you can configure. In all honesty, I hardly ever use thenvidia-settings
and do all my configurations just in thexorg.conf
file. – Terrance Dec 24 '18 at 14:45