Operating System: Kubuntu 25.04
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.3
Kernel Version: 6.14.0-22-generic (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-7300U CPU @ 2.60GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Intel® HD Graphics 620
Manufacturer: LENOVO
System Version: ThinkPad T470s
Have setup the dual monitors in System Settings/Display config. The second monitor is a replica of the built-in screen. When I reboot, the secondary monitor seems to work okay. However, when I login it fails to display.
When I boot or reboot, the secondary monitor works okay. Can see everything very clearly, entering the password, etc. However, when it completes the login it fails to display. Just an “Out of Range” message.
Where do I look in the system logs to see what is happening. I’m running Xorg, not Wayland, as I found Wayland too unstable.
Have been doing more searching, and it seems where this problem has been solved, it is usually NVIDIA driver issues. As I don’t have them installed, and after reading the post at Kde neon 6.3 nvidia driver - #2 by BulletDust , have now installed the nvidia drivers from the PPA.
Now by default, I can at least see the secondary monitor. It’s NQR, and when ever I change the settings, it is lost, no display on the secondary monitor. A reboot fixes that. I have tried to change resolution and refresh rate. This is what it looks like now ..
What happens if you change resolution under nvidia-settings, paying attention to ensure your refresh rate is set to the correct refresh rate as opposed to ‘Auto’?
I must have a cutdown version of the nvidia-settings ? No where to change resolution.
I read a post where people used “Xrandr” and so tried this, it zooms out:
xrandr --output HDMI-2 --scale 2x2
no change, so tried different scaling values. Unfotunately what I did resulted in loosing the primary display and as the secondary one is truncated here and there, couldn’t view tasks, etc. Rebooted and all back again. However, that 'scaling’has changed the position of the secondary screen. beforehand, apart from being too large, it was centred. Now it is aligned left.
Will do some more reading up tomorrow on “xrandr”. Here are the current values:
xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
1920x1080 60.02*+ 48.00
1680x1050 60.02
1400x1050 60.02
1600x900 60.02
1280x1024 60.02
1400x900 60.02
1280x960 60.02
1440x810 60.02
1368x768 60.02
1280x800 60.02
1280x720 60.02
1024x768 60.02
960x720 60.02
928x696 60.02
896x672 60.02
1024x576 60.02
960x600 60.02
960x540 60.02
800x600 60.02
840x525 60.02
864x486 60.02
700x525 60.02
800x450 60.02
640x512 60.02
700x450 60.02
640x480 60.02
720x405 60.02
684x384 60.02
640x360 60.02
512x384 60.02
512x288 60.02
480x270 60.02
400x300 60.02
432x243 60.02
320x240 60.02
360x202 60.02
320x180 60.02
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
HDMI-2 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 376mm x 301mm
1280x1024 60.02*+ 75.02
1920x1080 60.00 59.94
1280x960 60.00
1152x864 75.00
1280x720 60.00 59.94
1024x768 75.03 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
720x480 60.00 59.94
640x480 75.00 72.81 66.67 60.00 59.94
720x400 70.08
Hold up, that’s not right. Is this a desktop or a laptop?
More importantly, you state you used my guide to install the drivers in their current state - I assume via the Launchpad PPA? What method were you using to install drivers prior to using the Launchpad PPA?
If you were downloading binaries direct from Nvidia and installing using the supplied .run script, that’s most likely the cause of your problem - As there’s every chance you’ve overwritten important packages by installing the driver outside of your distro’s package manager.
None, as it is a fresh install of Kubuntu 25.04 on the 12th May, so in terms of attempting to get the dual monitor going, have only been using “System settings | Display”.
Definitely not. This morning , as xrandr appears to be able to adjust settings more comprehensively than system settings, I have installed
arandr
it’s just a gui for xrandr. The first thing I noticed it it recognised the two monitors and I was able to move each one seperately, whilst in system settings/display there was only one (primary) monitor being displayed.
Are you certain that the external monitor connection uses the same GPU? It’s not uncommon for laptops to run the external monitor hardwired off the iGPU, with the internal screen able to switch between the iGPU and the dGPU - Which results in problems similar to the ones you’re experiencing. Can you disable the iGPU in UEFI/BIOS?
nvidia-settings should still be able to see both monitors. I have a feeling your external monitor connection isn’t connected to the dGPU.
How would I tell if the external monitor uses the same GPU ? Certainly at boot time, the external monitor initially is blank but then before the login stage it starts to display. Displays a mirror of the internal display. In regards to disabling the iGPU in UEFI/BIOs, I had a good look in the BIOS, no option there.
This is what happens when I try to run nvidia-settings from the terminal
I have seen a few posts where the latest nvidia driver was not suitable for older computers, therefore all that was required was to install an earlier release.
Can you disable the iGPU in BIOS/UEFI and see if the problem persists? In the screenshots above Prime offloading is disabled, meaning your rendering on the iGPU - It appears your external display is hardwired to the dGPU, so when Prime is disabled your second monitor doesn’t work.
If the problem persists, you really need to post your problem on the official Kubuntu support forums.
The connection to the external display is via a HDMI port, so I would assume if there is any hardwiring, it is via that connection. That said, the secondary monitor works fine at present, apart from the screen display is too large, see below:
The nvidia drivers are installed, however are they active ??
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.
dpkg -l | grep nvidia- | grep ii
ii libnvidia-cfg1-570:amd64 570.169-0ubuntu0~gpu25.04.1 amd64 NVIDIA binary OpenGL/GLX configuration library
ii libnvidia-common-570 570.169-0ubuntu0~gpu25.04.1 all Shared files used by the NVIDIA libraries
ii libnvidia-compute-570:amd64 570.169-0ubuntu0~gpu25.04.1 amd64 NVIDIA libcompute package
ii libnvidia-compute-570:i386 570.169-0ubuntu0~gpu25.04.1 i386 NVIDIA libcompute package
ii libnvidia-decode-570:amd64 570.169-0ubuntu0~gpu25.04.1 amd64 NVIDIA Video Decoding runtime libraries
ii libnvidia-decode-570:i386 570.169-0ubuntu0~gpu25.04.1 i386 NVIDIA Video Decoding runtime libraries
ii libnvidia-egl-wayland1:amd64 1:1.1.17-1 amd64 Wayland EGL External Platform library -- shared library
ii libnvidia-egl-wayland1:i386 1:1.1.17-1 i386 Wayland EGL External Platform library -- shared library
ii libnvidia-encode-570:amd64 570.169-0ubuntu0~gpu25.04.1 amd64 NVENC Video Encoding runtime library
ii libnvidia-encode-570:i386 570.169-0ubuntu0~gpu25.04.1 i386 NVENC Video Encoding runtime library
ii libnvidia-extra-570:amd64 570.169-0ubuntu0~gpu25.04.1 amd64 Extra libraries for the NVIDIA driver
ii libnvidia-fbc1-570:amd64 570.169-0ubuntu0~gpu25.04.1 amd64 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-fbc1-570:i386 570.169-0ubuntu0~gpu25.04.1 i386 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-gl-570:amd64 570.169-0ubuntu0~gpu25.04.1 amd64 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii libnvidia-gl-570:i386 570.169-0ubuntu0~gpu25.04.1 i386 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii nvidia-compute-utils-570 570.169-0ubuntu0~gpu25.04.1 amd64 NVIDIA compute utilities
ii nvidia-dkms-570 570.169-0ubuntu0~gpu25.04.1 amd64 NVIDIA DKMS package
ii nvidia-driver-570 570.169-0ubuntu0~gpu25.04.1 amd64 NVIDIA driver metapackage
ii nvidia-firmware-570-570.153.02 570.153.02-0ubuntu0~gpu25.04.1 amd64 Firmware files used by the kernel module
ii nvidia-firmware-570-570.169 570.169-0ubuntu0~gpu25.04.1 amd64 Firmware files used by the kernel module
ii nvidia-kernel-common-570 570.169-0ubuntu0~gpu25.04.1 amd64 Shared files used with the kernel module
ii nvidia-kernel-source-570 570.169-0ubuntu0~gpu25.04.1 amd64 NVIDIA kernel source package
ii nvidia-prime 0.8.17.2 all Tools to enable NVIDIA's Prime
ii nvidia-settings 510.47.03-0ubuntu4 amd64 Tool for configuring the NVIDIA graphics driver
ii nvidia-utils-570 570.169-0ubuntu0~gpu25.04.1 amd64 NVIDIA driver support binaries
ii screen-resolution-extra 0.18.3build1 all Extension for the nvidia-settings control panel
ii xserver-xorg-video-nvidia-570 570.169-0ubuntu0~gpu25.04.1 amd64 NVIDIA binary Xorg driver
The ubuntu drivers is quenstionable also:
ubuntu-drivers devices
results in no output.
ubuntu-drivers debug
=== log messages from detection ===
DEBUG:root:Skipping check for rtl8812au-dkms since it does not depend on video abi
DEBUG:root:Skipping check for open-vm-tools-desktop since it does not depend on video abi
DEBUG:root:Cannot find xserver-xorg-video-nvidia-570-server-open package in the cache. Cannot check ABI
DEBUG:root:Cannot find xserver-xorg-video-nvidia-570-open package in the cache. Cannot check ABI
DEBUG:root:Cannot find xserver-xorg-video-nvidia-550-server-open package in the cache. Cannot check ABI
DEBUG:root:Skipping check for intel-usbio-dkms since it does not depend on video abi
DEBUG:root:Cannot find xserver-xorg-video-nvidia-575-open package in the cache. Cannot check ABI
DEBUG:root:Skipping check for lenovo-cfgservice since it does not depend on video abi
DEBUG:root:Skipping check for oem-qemu-meta since it does not depend on video abi
DEBUG:root:Skipping check for lenovo-fccunlock since it does not depend on video abi
DEBUG:root:Cannot find xserver-xorg-video-nvidia-535-server-open package in the cache. Cannot check ABI
DEBUG:root:Cannot find xserver-xorg-video-nvidia-550-open package in the cache. Cannot check ABI
DEBUG:root:Cannot find xserver-xorg-video-nvidia-565-open package in the cache. Cannot check ABI
DEBUG:root:Skipping check for intel-ipu6-dkms since it does not depend on video abi
DEBUG:root:Skipping check for intel-ipu7-dkms since it does not depend on video abi
DEBUG:root:Skipping check for intel-vision-dkms since it does not depend on video abi
DEBUG:root:Loading custom detection plugin /usr/share/ubuntu-drivers-common/detect/sl-modem.py
DEBUG:root:plugin /usr/share/ubuntu-drivers-common/detect/sl-modem.py return value: None
DEBUG:root:Loading custom detection plugin /usr/share/ubuntu-drivers-common/detect/arm-gles.py
DEBUG:root:plugin /usr/share/ubuntu-drivers-common/detect/arm-gles.py return value: None
Should I uninstall nvidia completely and re-install ? Is the latest/570 not suitable for this GPU , and I need an earlier version ? How does one match the nvidia driver version to the GPU type/version ?
It details how to disable the iGPU. Now if I can get the “nvidia-settings” working fully, it may give me the required option.
nvidia-settings
ERROR: NVIDIA driver is not loaded
(nvidia-settings:22236): GLib-GObject-CRITICAL **: 18:18:51.124: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** (nvidia-settings:22236): CRITICAL **: 18:18:51.126: 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: 18:18:51.177: PRIME: No offloading required. Abort
** Message: 18:18:51.177: PRIME: is it supported? no
@BulletDust ?? Are there two nvidia drivers installed ? See below …
uname -r
6.14.0-23-generic
dkms status
nvidia/570.169, 6.14.0-22-generic, x86_64: installed
nvidia/570.169, 6.14.0-23-generic, x86_64: installed
Yes, but you’re only running one kernel. Ubuntu keeps older kernels in the instance you have to rollback via grub. If I was to do a sudo apt autoremove the second instance would likely be removed.