Installing ‘NVIDIA Accelerated Graphics Driver for Linux-x86_64’ (418.43):
nvidia-bug-report.log.gz (391 KB)
nvidia-installer.log (4.82 KB)
Installing ‘NVIDIA Accelerated Graphics Driver for Linux-x86_64’ (418.43):
nvidia-bug-report.log.gz (391 KB)
nvidia-installer.log (4.82 KB)
There’s the nouveau module already loaded and not blacklisted. Furthermore, since this is an Optimus notebook, you shouldn’t use the .run installer. Please uninstall it using the --uninstall option. Then just add the Ubuntu graphics ppa ([url]https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa[/url]) and install the driver from there (sudo apt install nvidia-driver-415)
You now have the vfio-pci driver loaded which is for pci-passthrough. Looking at your kernel parameters, at some time you tried using this. Please revert the config for that.
Please post the output of
grep vfio /etc/modprobe.d/* /lib/modprobe.d/*
/etc/modprobe.d/vfio.conf:options vfio-pci ids=10de:139a disable_vga=1
Yes, I tried to set up GPU passthrough for kvm
Please remove that file and maybe also the kernel parameters regarding passthrough. Then reboot and see if it works.
removed this file and kernel params related.
but nvidia module still not loaded automatically , and nvidia-detector says none
nvidia-bug-report.log.gz (8.94 MB)
The nvidia driver is loaded now but is not picked up. Please reinstall the packages nvidia-prime and ubuntu-drivers-common and run
sudo prime-select nvidia
Yes! Finally it seems working.
Thank you.
Dear Generix
(base) bukhari@ideapad-Y700-17ISK:~$ lspci -k | grep -EA2 'VGA|3D'
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
Subsystem: Lenovo HD Graphics 530
Kernel driver in use: i915
--
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev a2)
Subsystem: Lenovo GM107M [GeForce GTX 960M]
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
I am using ubuntu 18.04.2 upgraded from ubuntu 16.04lts.
I followed this thread and purged my installation that i had done using .run and have done nvidia 418 using the ppa but i have problems
bukhari@ideapad-Y700-17ISK:~$ sudo prime-select nvidia
Info: the nvidia profile is already set
running nvidia-settings gives
bukhari@ideapad-Y700-17ISK:~$ nvidia-settings
ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system
(nvidia-settings:3446): GLib-GObject-CRITICAL **: 18:39:38.070: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** Message: 18:39:38.078: PRIME: Requires offloading
** Message: 18:39:38.078: PRIME: is it supported? yes
running
bukhari@ideapad-Y700-17ISK:~$ dpkg -l | grep nvidia
ii libnvidia-cfg1-418:amd64 418.56-0ubuntu0~gpu18.04.1 amd64 NVIDIA binary OpenGL/GLX configuration library
ii libnvidia-common-418 418.56-0ubuntu0~gpu18.04.1 all Shared files used by the NVIDIA libraries
rc libnvidia-compute-390:amd64 390.116-0ubuntu0.18.04.1 amd64 NVIDIA libcompute package
rc libnvidia-compute-390:i386 390.116-0ubuntu0.18.04.1 i386 NVIDIA libcompute package
rc libnvidia-compute-396:amd64 396.54-0ubuntu0~gpu18.04.1 amd64 NVIDIA libcompute package
rc libnvidia-compute-396:i386 396.54-0ubuntu0~gpu18.04.1 i386 NVIDIA libcompute package
ii libnvidia-compute-418:amd64 418.56-0ubuntu0~gpu18.04.1 amd64 NVIDIA libcompute package
ii libnvidia-compute-418:i386 418.56-0ubuntu0~gpu18.04.1 i386 NVIDIA libcompute package
ii libnvidia-decode-418:amd64 418.56-0ubuntu0~gpu18.04.1 amd64 NVIDIA Video Decoding runtime libraries
ii libnvidia-decode-418:i386 418.56-0ubuntu0~gpu18.04.1 i386 NVIDIA Video Decoding runtime libraries
ii libnvidia-encode-418:amd64 418.56-0ubuntu0~gpu18.04.1 amd64 NVENC Video Encoding runtime library
ii libnvidia-encode-418:i386 418.56-0ubuntu0~gpu18.04.1 i386 NVENC Video Encoding runtime library
ii libnvidia-fbc1-418:amd64 418.56-0ubuntu0~gpu18.04.1 amd64 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-fbc1-418:i386 418.56-0ubuntu0~gpu18.04.1 i386 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-gl-418:amd64 418.56-0ubuntu0~gpu18.04.1 amd64 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii libnvidia-gl-418:i386 418.56-0ubuntu0~gpu18.04.1 i386 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii libnvidia-ifr1-418:amd64 418.56-0ubuntu0~gpu18.04.1 amd64 NVIDIA OpenGL-based Inband Frame Readback runtime library
ii libnvidia-ifr1-418:i386 418.56-0ubuntu0~gpu18.04.1 i386 NVIDIA OpenGL-based Inband Frame Readback runtime library
ii nvidia-compute-utils-418 418.56-0ubuntu0~gpu18.04.1 amd64 NVIDIA compute utilities
ii nvidia-dkms-418 418.56-0ubuntu0~gpu18.04.1 amd64 NVIDIA DKMS package
ii nvidia-driver-418 418.56-0ubuntu0~gpu18.04.1 amd64 NVIDIA driver metapackage
ii nvidia-kernel-common-418 418.56-0ubuntu0~gpu18.04.1 amd64 Shared files used with the kernel module
ii nvidia-kernel-source-418 418.56-0ubuntu0~gpu18.04.1 amd64 NVIDIA kernel source package
ii nvidia-prime 0.8.8.2 all Tools to enable NVIDIA's Prime
ii nvidia-settings 418.56-0ubuntu0~gpu18.04.1 amd64 Tool for configuring the NVIDIA graphics driver
ii nvidia-utils-418 418.56-0ubuntu0~gpu18.04.1 amd64 NVIDIA driver support binaries
ii xserver-xorg-video-nvidia-418 418.56-0ubuntu0~gpu18.04.1 amd64 NVIDIA binary Xorg driver
nvidia-bug-report.log.gz (96.2 KB)
Please run
grep nvidia /etc/modprobe.d/* /lib/modprobe.d/*
to find the file that contains
blacklist nvidia
and remove it. Then run
sudo update-initramfs -u
and reboot.
After doing that the current state is as follows:
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev a2)
Subsystem: Lenovo GM107M [GeForce GTX 960M]
Kernel driver in use: nvidiafb
nvidia-smi still has it
(base) bukhari@ideapad-Y700-17ISK:nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
still not loaded unfortunately
(base) bukhari@ideapad-Y700-17ISK:nvidia-settings
ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system
(nvidia-settings:17006): GLib-GObject-CRITICAL **: 01:34:24.564: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** Message: 01:34:24.579: PRIME: Requires offloading
** Message: 01:34:24.579: PRIME: is it supported? yes
my uefi has secure boot enabled and i am not really sure how to sign the kernel if this is what is causing problems can you please refer me to the relevant thread? or is it that installations through ppa don’t require signing
nvidia-bug-report.log.gz (169 KB)
Ah, ok, didn’t catch that. If you can’t/don’t want to disable secure boot, it’s easier to do a reinstall. On installing Ubuntu you’re given the option to ‘install third party software’, choose that and the nvidia driver, then you’re guided through the signing setup. Doing this afterwards is a bit fiddly.
I have tried lots of methods,finally,I solved this problem by dong this:
delete the blacklist stuff of nvidia in /lib and /etc,and then reboot and doing the formal install.