Constant brief freezing on multimonitor on 26.04

Ubuntu Version:
26.04 LTS freshly installed

Desktop Environment (if applicable):
GNOME on wayland (stock ubuntu)

Problem Description:
When using multiple monitor, system experiences brief ~1s freezes constantly, disconnecting the 2nd monitor solves the issue, this happened before and it got fixed with one of the previous kernels(but i can’t remember which one, released in june)

Reproducing it is as simple as connecting 2nd monitor

Relevant System Information:

  • Hardware Model: ASUSTeK COMPUTER INC. PRIME B450M-A
  • Memory: 16.0 GiB
  • Processor: AMD Ryzen™ 7 3700X × 16
  • Graphics: Quadro P620
  • both monitor connected via HDMI, at 1080/60hz, using nvidia 580 driver
  • Firmware Version: 4645
  • OS Name: Ubuntu 26.04 LTS
  • OS Build: (null)
  • OS Type: 64-bit
  • GNOME Version: 50
  • Windowing System: Wayland
  • Kernel Version: Linux 7.0.0-27-generic

Connecting any of the monitors to any of the ports makes no difference

Screenshots or Error Messages:

There are no errors logged

DMESG:
sudo dmesg | tail -20
[ 589.391870] audit: type=1400 audit(1782735525.353:381): apparmor=“DENIED” operation=“symlink” class=“file” profile=“snap.firefox.firefox” name=“/dev/char/195:254” pid=9998 comm=“glxtest” requested_mask=“c” denied_mask=“c” fsuid=1000 ouid=1000
[ 589.392652] audit: type=1400 audit(1782735525.354:382): apparmor=“DENIED” operation=“unlink” class=“file” profile=“snap.firefox.firefox” name=“/dev/char/195:0” pid=9998 comm=“glxtest” requested_mask=“d” denied_mask=“d” fsuid=1000 ouid=0
[ 589.392967] audit: type=1400 audit(1782735525.354:383): apparmor=“DENIED” operation=“unlink” class=“file” profile=“snap.firefox.firefox” name=“/dev/char/195:0” pid=9998 comm=“glxtest” requested_mask=“d” denied_mask=“d” fsuid=1000 ouid=0
[ 699.031408] kauditd_printk_skb: 14 callbacks suppressed
[ 699.031412] audit: type=1400 audit(1782735634.993:398): apparmor=“DENIED” operation=“symlink” class=“file” profile=“snap.firefox.firefox” name=“/dev/char/195:254” pid=9889 comm=“CanvasRenderer” requested_mask=“c” denied_mask=“c” fsuid=1000 ouid=1000
[ 699.768328] audit: type=1400 audit(1782735635.730:399): apparmor=“DENIED” operation=“symlink” class=“file” profile=“snap.firefox.firefox” name=“/dev/char/195:254” pid=9889 comm=“CanvasRenderer” requested_mask=“c” denied_mask=“c” fsuid=1000 ouid=1000
[ 702.571336] audit: type=1326 audit(1782735638.533:400): auid=1000 uid=1000 gid=1000 ses=4 subj=snap.chromium.chromium pid=12060 comm=“chrome” exe=“/snap/chromium/3477/usr/lib/chromium-browser/chrome” sig=0 arch=c000003e syscall=330 compat=0 ip=0x70b02a23a32b code=0x50000
[ 702.571344] audit: type=1326 audit(1782735638.533:401): auid=1000 uid=1000 gid=1000 ses=4 subj=snap.chromium.chromium pid=12059 comm=“chrome” exe=“/snap/chromium/3477/usr/lib/chromium-browser/chrome” sig=0 arch=c000003e syscall=330 compat=0 ip=0x7571b7abd32b code=0x50000
[ 702.598695] audit: type=1400 audit(1782735638.560:402): apparmor=“DENIED” operation=“ptrace” class=“ptrace” profile=“snap.chromium.chromium” pid=11966 comm=“chrome” requested_mask=“read” denied_mask=“read” peer=“unconfined”
[ 702.878598] audit: type=1107 audit(1782735638.840:403): pid=1955 uid=995 auid=4294967295 ses=4294967295 subj=unconfined msg=‘apparmor=“DENIED” operation=“dbus_method_call” bus=“system” path=“/” interface=“org.freedesktop.DBus.ObjectManager” member=“GetManagedObjects” mask=“send” name=“org.bluez” pid=11966 label=“snap.chromium.chromium”
exe=“/usr/bin/dbus-daemon” sauid=995 hostname=? addr=? terminal=?’
[ 702.916144] audit: type=1400 audit(1782735638.877:404): apparmor=“DENIED” operation=“open” class=“file” profile=“snap.chromium.chromium” name=“/etc/vulkan/implicit_layer.d/” pid=12112 comm=“chrome” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 702.916576] audit: type=1400 audit(1782735638.878:405): apparmor=“DENIED” operation=“open” class=“file” profile=“snap.chromium.chromium” name=“/etc/vulkan/implicit_layer.d/” pid=12112 comm=“chrome” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 702.916666] audit: type=1400 audit(1782735638.878:406): apparmor=“DENIED” operation=“open” class=“file” profile=“snap.chromium.chromium” name=“/etc/vulkan/icd.d/” pid=12112 comm=“chrome” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 703.043637] audit: type=1400 audit(1782735639.005:407): apparmor=“DENIED” operation=“unlink” class=“file” profile=“snap.chromium.chromium” name=“/dev/char/195:255” pid=12112 comm=“chrome” requested_mask=“d” denied_mask=“d” fsuid=1000 ouid=0
[ 890.689269] kauditd_printk_skb: 45 callbacks suppressed
[ 890.689273] audit: type=1400 audit(1782735826.650:453): apparmor=“DENIED” operation=“symlink” class=“file” profile=“snap.firefox.firefox” name=“/dev/char/195:254” pid=9889 comm=“CanvasRenderer” requested_mask=“c” denied_mask=“c” fsuid=1000 ouid=1000
[ 890.794673] audit: type=1400 audit(1782735826.756:454): apparmor=“DENIED” operation=“symlink” class=“file” profile=“snap.firefox.firefox” name=“/dev/char/195:254” pid=9889 comm=“CanvasRenderer” requested_mask=“c” denied_mask=“c” fsuid=1000 ouid=1000
[ 893.477297] audit: type=1400 audit(1782735829.438:455): apparmor=“DENIED” operation=“symlink” class=“file” profile=“snap.firefox.firefox” name=“/dev/char/195:254” pid=9889 comm=“CanvasRenderer” requested_mask=“c” denied_mask=“c” fsuid=1000 ouid=1000
[ 910.729172] audit: type=1400 audit(1782735846.690:456): apparmor=“DENIED” operation=“symlink” class=“file” profile=“snap.firefox.firefox” name=“/dev/char/195:254” pid=9889 comm=“CanvasRenderer” requested_mask=“c” denied_mask=“c” fsuid=1000 ouid=1000

ubuntu drivers:
sudo ubuntu-drivers list
nvidia-driver-580, (kernel modules provided by linux-modules-nvidia-580-generic)
nvidia-driver-580-server, (kernel modules provided by linux-modules-nvidia-580-server-generic)

— NVIDIA Module Status —
✓ NVIDIA module is currently loaded
Module path for current kernel: /lib/modules/7.0.0-27-generic/updates/dkms/nvidia.ko.zst
✓ Next boot module path: /lib/modules/7.0.0-27-generic/updates/dkms/nvidia.ko.zst
✓ Current and next boot kernel versions match

journalctl:

journalctl -b -k | grep -iE “amdgpu|drm|gpu reset|fence|page fault|timeout”
Jun 29 09:08:56 sistemas-1 kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-7.0.0-27-generic root=UUID=d796f3b0-0b45-46c7-a0f1-a10428d2bf7a ro quiet splash mitigations=auto,no_cross_thread,no_guest_guest,no_guest_host retbleed=off init_on_alloc=0 init_on_free=0 nvidia_drm.modeset=1 crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M
Jun 29 09:08:56 sistemas-1 kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-7.0.0-27-generic root=UUID=d796f3b0-0b45-46c7-a0f1-a10428d2bf7a ro quiet splash mitigations=auto,no_cross_thread,no_guest_guest,no_guest_host retbleed=off init_on_alloc=0 init_on_free=0 nvidia_drm.modeset=1 crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M
Jun 29 09:08:57 sistemas-1 kernel: ACPI: bus type drm_connector registered
Jun 29 09:08:57 sistemas-1 kernel: simple-framebuffer simple-framebuffer.0: [drm] Registered 1 planes with drm panic
Jun 29 09:08:57 sistemas-1 kernel: [drm] Initialized simpledrm 1.0.0 for simple-framebuffer.0 on minor 0
Jun 29 09:08:57 sistemas-1 kernel: simple-framebuffer simple-framebuffer.0: [drm] fb0: simpledrmdrmfb frame buffer device
Jun 29 09:08:58 sistemas-1 kernel: Modules linked in: nvidia(POE+) ahci drm_ttm_helper hid_plantronics libahci nvme hid_generic ttm ghash_clmulni_intel nvme_core video nvme_keyring nvme_auth hkdf wmi serio_raw usbhid hid lp ppdev parport msr dmi_sysfs autofs4 aesni_intel
Jun 29 09:08:58 sistemas-1 kernel: [drm] [nvidia-drm] [GPU ID 0x00000900] Loading driver
Jun 29 09:08:59 sistemas-1 kernel: [drm] Initialized nvidia-drm 0.0.0 for 0000:09:00.0 on minor 1
Jun 29 09:09:00 sistemas-1 kernel: fbcon: nvidia-drmdrmfb (fb0) is primary device
Jun 29 09:09:00 sistemas-1 kernel: nvidia 0000:09:00.0: [drm] fb0: nvidia-drmdrmfb frame buffer device
Jun 29 09:09:01 sistemas-1 systemd[1]: modprobe@drm.service - Load Kernel Module drm skipped, unmet condition check ConditionKernelModuleLoaded=!drm

What I’ve Tried:

I haven’t found any solution to this, this thread talks about installing -26 but i already have -27, i’ve tried it anyway and the freezes continue.

On windows 10 system works perfectly, even with 3 monitors connected of different resolution

Also tried different 2nd monitor, no change

2 Likes

I would first separate the two variables: try the same two-monitor setup once in an Xorg session, and once with the 570/server driver instead of 580. Nvidia + Wayland + multi-monitor is still where these 1 second stalls often show up, especially after kernel/driver changes. The AppArmor lines from Firefox/Chromium are probably noise here. More useful would be `journalctl -b --user -u org.gnome.Shell@wayland.service` around the freeze, plus `journalctl -b -k | grep -i nvidia` after it happens. If Xorg is smooth, I would keep using that as a workaround and file it as a Mutter/Nvidia/Wayland regression with those logs.

2 Likes

I agree with this approach. Testing Xorg and different Nvidia driver versions is a good way to isolate the cause. The AppArmor messages are likely unrelated, while Mutter/Nvidia/Wayland logs around the freeze should reveal if it’s a compositor or driver issue.

2 Likes

1st: there are no entries in journalctl before or after a freeze

journalctl -b --user -u org.gnome.Shell@wayland.service
– No entries –

The 2nd journalctl also logs nothing, not even when plugging the 2nd monitor(booted with only one monitor connected), 8:09 is the boot time now it’s 8:43:

journalctl -b -k | grep -i nvidia

Jun 30 12:29:07 sistemas-1 kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-7.0.0-27-generic root=UUID=d796f3b0-0b45-46c7-a0f1-a10428d2bf7a ro quiet splash mitigations=auto,no_cross_thread,no_guest_guest,no_guest_host retbleed=off init_on_alloc=0 init_on_free=0 nvidia_drm.modeset=1 crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M
Jun 30 12:29:07 sistemas-1 kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-7.0.0-27-generic root=UUID=d796f3b0-0b45-46c7-a0f1-a10428d2bf7a ro quiet splash mitigations=auto,no_cross_thread,no_guest_guest,no_guest_host retbleed=off init_on_alloc=0 init_on_free=0 nvidia_drm.modeset=1 crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M
Jun 30 12:29:07 sistemas-1 kernel: nvidia: loading out-of-tree module taints kernel.
Jun 30 12:29:07 sistemas-1 kernel: nvidia: module license 'NVIDIA' taints kernel.
Jun 30 12:29:07 sistemas-1 kernel: nvidia: module verification failed: signature and/or required key missing - tainting kernel
Jun 30 12:29:07 sistemas-1 kernel: nvidia: module license taints kernel.
Jun 30 12:29:08 sistemas-1 kernel: Modules linked in: nvidia(POE+) nvme_core ahci nvme_keyring libahci drm_ttm_helper ghash_clmulni_intel ttm nvme_auth video hkdf hid_plantronics hid_generic wmi serio_raw usbhid hid lp ppdev parport msr dmi_sysfs autofs4 aesni_intel
Jun 30 12:29:08 sistemas-1 kernel:  nvidia_init_module+0x29/0x6a0 [nvidia]
Jun 30 12:29:08 sistemas-1 kernel:  ? ____versions+0x3090ed170928/0x3090ed170928 [nvidia]
Jun 30 12:29:08 sistemas-1 kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 235
Jun 30 12:29:08 sistemas-1 kernel: nvidia 0000:09:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=io+mem
Jun 30 12:29:08 sistemas-1 kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  580.159.03  Fri Apr 24 06:16:47 UTC 2026
Jun 30 12:29:08 sistemas-1 kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  580.159.03  Fri Apr 24 05:49:32 UTC 2026
Jun 30 12:29:08 sistemas-1 kernel: [drm] [nvidia-drm] [GPU ID 0x00000900] Loading driver
Jun 30 12:29:09 sistemas-1 kernel: [drm] Initialized nvidia-drm 0.0.0 for 0000:09:00.0 on minor 1
Jun 30 12:29:09 sistemas-1 kernel: nvidia 0000:09:00.0: vgaarb: deactivate vga console
Jun 30 12:29:09 sistemas-1 kernel: fbcon: nvidia-drmdrmfb (fb0) is primary device
Jun 30 12:29:09 sistemas-1 kernel: nvidia 0000:09:00.0: [drm] fb0: nvidia-drmdrmfb frame buffer device
Jun 30 12:29:11 sistemas-1 kernel: nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
Jun 30 12:29:11 sistemas-1 kernel: input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.1/0000:09:00.1/sound/card0/input9
Jun 30 12:29:11 sistemas-1 kernel: input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.1/0000:09:00.1/sound/card0/input10
Jun 30 12:29:11 sistemas-1 kernel: input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.1/0000:09:00.1/sound/card0/input11
Jun 30 12:29:11 sistemas-1 kernel: input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.1/0000:09:00.1/sound/card0/input12

¿how do i change to xorg and previous nvidia drivers?, i’m not that well versed in linux.

For the drivers i’ve tried:

sudo ubuntu-drivers install --gpgpu nvidia:570-server
No drivers found for installation.

Same with :570 , from my 1st post there’s only 580 available

That’s supposed to be just one line.

Please put all log and other console/terminal output in pre-formatted code blocks (open a new line and click the </> icon in the editor first, then paste into the new element), ideally wrapped in a “Hide Details” element, if it’s more than just a few lines. See items 4 and 5 in the Posting Guide.

Optional helper script

If you are so inclined, I took it upon myself to provide a little helper script for that. :sweat_droplets:


This is how it’s supposed to look like:

Jun 30 08:09:44 sistemas-1 kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-7.0.0-27-generic root=UUID=d796f3b0-0b45-46c7-a0f1-a10428d2bf7a ro quiet splash mitigations=auto,no_cross_thread,no_guest_guest,no_guest_host retbleed=off init_on_alloc=0 init_on_free=0 nvidia_drm.modeset=1 crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M

If you want people to help you, you best make the information you provide as easily palatable as possible. :wink:

1 Like

did some editing to the post to account for the formatting

1 Like

how do i test with xorg?

And AFAIK i can’t go back to another driver as it’s not even listed in ubuntu-drivers

and where do i even file the bug and how long i’d have to wait for it to be fixed?, i need multimonitor to work and so far it’s unusable it’s really costing me work efficiency to use ubuntu with single monitor

update, reading some guides i’ve managed to install X11 and plasma -i think- and it fails even worse:

sudo apt install xorg x11-apps x11-utils plasma-session-x11

rebooted, and selected “x11 on plasma” on login, black screen and monitor goes into power saving, switching consoles with alt+fx i could reboot but x11 on plasma is no-go

So i selected “ubuntu” again, and it broke the ubuntu theme completely, in fact it give a popup asking if i wanted to install missing themes?

now i’m sitting on a very different theme in gnome, plasma-like and i have no idea how to fix it/change it

EDIT2:

Well after a reboot i selected plasma again and now it worked and i have no stutter, even the super key does nothing and shortcut setting gives “Failed to communicate with global shortcuts daemon”.

so what do i do next?