Hello,
I’m running Kubuntu 26..04 on a laptop that has a GP107M [GeForce GTX 1050 Mobile] . This machine is not recognizing an external monitor I’m connecting through HDMI (I know the cable is good as booting into Windows allows me to use the monitor just fine).
I tried executing nvidia-settings and I got this error:
dwilches@DWHost:~$ nvidia-settings
ERROR: NVIDIA driver is not loaded
(nvidia-settings:6266): GLib-GObject-CRITICAL **: 20:27:37.147: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** (nvidia-settings:6266): CRITICAL **: 20:27:37.149: ctk_powermode_new: assertion '(ctrl_target != NULL) && (ctrl_target->h != NULL)' failed
ERROR: nvidia-settings could not find the registry key file or the X server is not accessible. This file should have been installed along with this driver at /usr/share/nvidia/nvidia-application-profiles-key-documentation. The
application profiles will continue to work, but values cannot be prepopulated or validated, and will not be listed in the help text. Please see the README for possible values and descriptions.
** Message: 20:27:37.220: PRIME: Requires offloading
** Message: 20:27:37.220: PRIME: is it supported? yes
** Message: 20:27:37.356: PRIME: Usage: /usr/bin/prime-select nvidia|intel|on-demand|query
** Message: 20:27:37.356: PRIME: on-demand mode: "1"
** Message: 20:27:37.357: PRIME: is "on-demand" mode supported? yes
I tried using xrandr to see if my monitor was found, and no, only the internal laptop monitor is found:
$ xrandr --listmonitors
Monitors: 1
0: +*eDP-1 1920/344x1080/194+0+0 eDP-1
And I looked at journalctl to look for errors and I saw some:
$ journalctl -b | grep -i nvid
May 24 20:21:46 DWHost kernel: input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input18
May 24 20:21:46 DWHost kernel: input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input19
May 24 20:21:46 DWHost kernel: input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input20
May 24 20:21:46 DWHost kernel: input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input21
May 24 20:21:47 DWHost systemd[1]: Started nvidia-powerd.service - nvidia-powerd service.
May 24 20:21:47 DWHost nvidia-powerd[922]: nvidia-powerd version:2.0 (build 1)
May 24 20:21:48 DWHost nvidia-powerd[922]: ERROR! Allocate Root client failed 0x26
May 24 20:21:48 DWHost systemd[1]: nvidia-powerd.service: Deactivated successfully.
May 24 20:22:14 DWHost systemd[1509]: Starting app-nvidia\x2dsettings\x2dautostart@autostart.service - NVIDIA X Server Settings...
May 24 20:22:14 DWHost systemd[1509]: Started app-nvidia\x2dsettings\x2dautostart@autostart.service - NVIDIA X Server Settings.
May 24 20:22:15 DWHost sh[2044]: ERROR: NVIDIA driver is not loaded
I’m not sure what else I can look at. Looking around I saw another topic ( ERROR: NVIDIA driver is not loaded ) but the troubleshooting there didn’t work for me. That author has a different chip.
Could you help me troubleshooting this?
Output of some extra commands:
$ uname -r
7.0.0-15-generic
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 26.04 LTS
Release: 26.04
Codename: resolute
$ 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.
$ lspci -v | grep VGA
00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630] (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1) (prog-if 00 [VGA controller])
$ ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001C8Dsv000017AAsd000039FEbc03sc00i00
vendor : NVIDIA Corporation
model : GP107M [GeForce GTX 1050 Mobile]
driver : nvidia-driver-580-server - distro non-free
driver : nvidia-driver-580 - distro non-free recommended
driver : xserver-xorg-video-nouveau - distro free builtin
$ dkms status
nvidia/580.159.03, 7.0.0-15-generic, x86_64: installed
I have tried both with SecureBoot enabled and disabled. I also tried with the latest driver, 595, but the output in journalctl said:
May 24 19:44:37 DWHost kernel: NVRM: The NVIDIA NVIDIA GeForce GTX 1050 GPU installed in this system is
NVRM: supported through the NVIDIA 580.xx Legacy drivers. Please
NVRM: visit http://www.nvidia.com/object/unix.html for more
NVRM: information. The 595.71.05 NVIDIA driver will ignore
NVRM: this GPU. Continuing probe...
I have also tried selecting the 2 options here:
And I’ve also tried these command to install the drivers (with no luck):
- sudo ubuntu-drivers install nvidia:580
- sudo dpkg-reconfigure nvidia-dkms-580

