"Pageflip timed out!" on misconfigured `kwinoutputconfig.json`

For several months (i.e. spanning multiple KDE and NVIDIA driver versions), I had an issue where I couldn’t load a Wayland session with my external monitor plugged in (fyi over DP/Thunderbolt), whereby it would entirely freeze. Sometimes it would freeze on black immediately after logging in, sometimes it would be mostly black with some glitchy graphical artefacts, sometimes it would freeze on the splash screen, and if it got past that it froze on the actual Plasma desktop (though without any artefacts). Switching TTYs was impossible, so a hard restart was required.

This would happen if I plugged in the monitor during an active, working session, and if I logged in with the monitor already plugged in.

journalctl --user-unit plasma-kwin_wayland -b 1 would spam:

Pageflip timed out! This is a bug in the nvidia-drm kernel driver
Please report this at https://forums.developer.nvidia.com/c/gpu-graphics/linux
With the output of 'sudo dmesg' and 'journalctl --user-unit plasma-kwin_wayland --boot 0'

…over and over.

This issue never occurred in the X11 session, nor on GNOME or Hyprland. It also went away when I created a new user and started a Wayland session, or when KWin ran on its own with Plasma Login Manager.

It ultimately got fixed by simply deleting ~/.config/kwinoutputconfig.json, which seemed to have accumulated multiple stale entries.

The reason for this post here is that I’m not sure whether this is truly just an NVIDIA bug, considering the configuration of kwinoutputconfig.json is what caused (at least in part) the issue. But I’m not posting directly on the bugtracker, because I don’t know for certain that this is actually a KWin bug and not only NVIDIA. Could anyone advise me on whether this should be reported to KDE as well, even if the logs say otherwise?

For reference, this was the kwinoutputconfig.json which caused the bug before I removed it (I had manually changed at least vrrPolicy keys whilst trying to fix it, but those changes don’t seem to have had any effect anyway - besides that, I never touched this file myself):

[
    {
        "data": [
            {
                "allowDdcCi": true,
                "allowSdrSoftwareBrightness": true,
                "autoRotation": "InTabletMode",
                "brightness": 1,
                "colorPowerTradeoff": "PreferEfficiency",
                "colorProfileSource": "sRGB",
                "connectorName": "HDMI-A-1",
                "detectedDdcCi": false,
                "edidHash": "3055f5c22bf4371aee94710d0af3a9f5",
                "edidIdentifier": "SAM 3637 2048 8 2017 0",
                "edrPolicy": "always",
                "highDynamicRange": false,
                "iccProfilePath": "",
                "mode": {
                    "flags": 0,
                    "height": 1080,
                    "refreshRate": 60000,
                    "width": 1920
                },
                "overscan": 0,
                "rgbRange": "Automatic",
                "scale": 1,
                "sdrBrightness": 200,
                "sdrGamutWideness": 0,
                "transform": "Normal",
                "uuid": "7c0850c5-8dd8-4e02-a0e8-3bbe751417e7",
                "vrrPolicy": "Never",
                "wideColorGamut": false
            },
            {
                "abmLevel": 0,
                "allowDdcCi": true,
                "allowSdrSoftwareBrightness": false,
                "autoBrightnessCurve": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0
                ],
                "autoRotation": "InTabletMode",
                "automaticBrightness": false,
                "brightness": 0.3,
                "colorPowerTradeoff": "PreferEfficiency",
                "colorProfileSource": "sRGB",
                "connectorName": "eDP-1",
                "customModes": [
                ],
                "detectedDdcCi": false,
                "edidHash": "4faa3359b93fab9886fc1d32abd512c4",
                "edidIdentifier": "AUO 43400 0 0 2019 0",
                "edrPolicy": "always",
                "hdrColorProfileSource": "EDID",
                "hdrIccProfilePath": "",
                "highDynamicRange": false,
                "iccProfilePath": "",
                "mode": {
                    "flags": 0,
                    "height": 2160,
                    "refreshRate": 120013,
                    "width": 3840
                },
                "overscan": 0,
                "rgbRange": "Automatic",
                "scale": 2,
                "sdrBrightness": 200,
                "sdrGamutWideness": 0,
                "sharpness": 0,
                "transform": "Normal",
                "uuid": "ce8c200e-e8a0-4782-a06c-5a2b5e34badf",
                "vrrPolicy": "Never",
                "wideColorGamut": false
            },
            {
                "allowDdcCi": true,
                "allowSdrSoftwareBrightness": false,
                "autoRotation": "InTabletMode",
                "brightness": 1,
                "colorPowerTradeoff": "PreferEfficiency",
                "colorProfileSource": "sRGB",
                "connectorName": "HDMI-A-1",
                "detectedDdcCi": true,
                "edidHash": "c101db24293aad7ad9284aa65e7c91e0",
                "edidIdentifier": "AUS 10019 16843009 40 2020 0",
                "edrPolicy": "always",
                "highDynamicRange": true,
                "iccProfilePath": "",
                "maxPeakBrightnessOverride": 590,
                "mode": {
                    "flags": 0,
                    "height": 1440,
                    "refreshRate": 144006,
                    "width": 2560
                },
                "overscan": 0,
                "rgbRange": "Automatic",
                "scale": 1,
                "sdrBrightness": 180,
                "sdrGamutWideness": 1,
                "transform": "Normal",
                "uuid": "203e6088-3e38-4347-b43c-4f03437229d1",
                "vrrPolicy": "Never",
                "wideColorGamut": true
            },
            {
                "abmLevel": 0,
                "allowDdcCi": true,
                "allowSdrSoftwareBrightness": false,
                "autoBrightnessCurve": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0
                ],
                "autoRotation": "InTabletMode",
                "automaticBrightness": false,
                "brightness": 1,
                "colorPowerTradeoff": "PreferAccuracy",
                "colorProfileSource": "sRGB",
                "connectorName": "DP-3",
                "customModes": [
                ],
                "detectedDdcCi": true,
                "edidHash": "5d11e986ac8923f38d211c92adc2d6eb",
                "edidIdentifier": "AUS 10018 16843009 40 2020 0",
                "edrPolicy": "always",
                "hdrColorProfileSource": "EDID",
                "hdrIccProfilePath": "",
                "highDynamicRange": true,
                "iccProfilePath": "",
                "maxPeakBrightnessOverride": 430,
                "mode": {
                    "flags": 0,
                    "height": 1440,
                    "refreshRate": 143972,
                    "width": 2560
                },
                "overscan": 0,
                "rgbRange": "Automatic",
                "scale": 1,
                "sdrBrightness": 430,
                "sdrGamutWideness": 1,
                "sharpness": 0,
                "transform": "Normal",
                "uuid": "31837e11-efbe-4d95-86fb-be4e143c814b",
                "vrrPolicy": "Always",
                "wideColorGamut": true
            },
            {
                "allowDdcCi": true,
                "allowSdrSoftwareBrightness": true,
                "autoRotation": "InTabletMode",
                "brightness": 1,
                "colorPowerTradeoff": "PreferEfficiency",
                "colorProfileSource": "sRGB",
                "connectorName": "DP-3",
                "detectedDdcCi": false,
                "edidHash": "47a2ff926b20a50fa955d4e855878f11",
                "edidIdentifier": "NVD 0 0 0 0 0",
                "edrPolicy": "always",
                "highDynamicRange": false,
                "iccProfilePath": "",
                "mode": {
                    "flags": 0,
                    "height": 480,
                    "refreshRate": 59940,
                    "width": 640
                },
                "overscan": 0,
                "rgbRange": "Automatic",
                "scale": 1,
                "sdrBrightness": 200,
                "sdrGamutWideness": 0,
                "transform": "Normal",
                "uuid": "da0d36a5-0233-40e7-bca7-c73a949c377d",
                "vrrPolicy": "Never",
                "wideColorGamut": false
            },
            {
                "allowDdcCi": true,
                "allowSdrSoftwareBrightness": true,
                "autoRotation": "InTabletMode",
                "brightness": 1,
                "colorPowerTradeoff": "PreferEfficiency",
                "colorProfileSource": "sRGB",
                "connectorName": "HDMI-A-1",
                "detectedDdcCi": false,
                "edidHash": "f3aa0781726c54dae92a09d9b3c2759f",
                "edidIdentifier": "SEC 42513 16843009 15 2020 0",
                "edrPolicy": "always",
                "highDynamicRange": false,
                "iccProfilePath": "",
                "mode": {
                    "flags": 0,
                    "height": 800,
                    "refreshRate": 59810,
                    "width": 1280
                },
                "overscan": 0,
                "rgbRange": "Automatic",
                "scale": 2,
                "sdrBrightness": 200,
                "sdrGamutWideness": 0,
                "transform": "Normal",
                "uuid": "af8df06e-537a-41f7-b409-03c66dac4609",
                "vrrPolicy": "Never",
                "wideColorGamut": false
            },
            {
                "abmLevel": 0,
                "allowDdcCi": true,
                "allowSdrSoftwareBrightness": true,
                "autoBrightnessCurve": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0
                ],
                "autoRotation": "InTabletMode",
                "automaticBrightness": false,
                "brightness": 1,
                "colorPowerTradeoff": "PreferEfficiency",
                "colorProfileSource": "sRGB",
                "connectorName": "WL-0",
                "customModes": [
                ],
                "detectedDdcCi": false,
                "edrPolicy": "always",
                "hdrColorProfileSource": "EDID",
                "hdrIccProfilePath": "",
                "highDynamicRange": false,
                "iccProfilePath": "",
                "maxBitsPerColor": 0,
                "mode": {
                    "flags": 0,
                    "height": 768,
                    "refreshRate": 60000,
                    "width": 1024
                },
                "overscan": 0,
                "rgbRange": "Automatic",
                "scale": 1,
                "sdrBrightness": 200,
                "sdrGamutWideness": 0,
                "sharpness": 0,
                "transform": "Normal",
                "uuid": "a304f248-c0b8-4c08-a317-2a54f43326d5",
                "vrrPolicy": "Automatic",
                "wideColorGamut": false
            }
        ],
        "name": "outputs"
    },
    {
        "data": [
            {
                "lidClosed": false,
                "outputs": [
                    {
                        "enabled": true,
                        "outputIndex": 0,
                        "position": {
                            "x": 0,
                            "y": 0
                        },
                        "priority": 0,
                        "replicationSource": ""
                    },
                    {
                        "enabled": true,
                        "outputIndex": 1,
                        "position": {
                            "x": 1920,
                            "y": 0
                        },
                        "priority": 1,
                        "replicationSource": ""
                    }
                ]
            },
            {
                "lidClosed": false,
                "outputs": [
                    {
                        "enabled": true,
                        "outputIndex": 1,
                        "position": {
                            "x": 0,
                            "y": 0
                        },
                        "priority": 1,
                        "replicationSource": ""
                    }
                ]
            },
            {
                "lidClosed": false,
                "outputs": [
                    {
                        "enabled": true,
                        "outputIndex": 1,
                        "position": {
                            "x": 2560,
                            "y": 205
                        },
                        "priority": 0,
                        "replicationSource": ""
                    },
                    {
                        "enabled": true,
                        "outputIndex": 2,
                        "position": {
                            "x": 0,
                            "y": 0
                        },
                        "priority": 1,
                        "replicationSource": ""
                    }
                ]
            },
            {
                "lidClosed": false,
                "outputs": [
                    {
                        "enabled": true,
                        "outputIndex": 1,
                        "position": {
                            "x": 2560,
                            "y": 72
                        },
                        "priority": 2,
                        "replicationSource": ""
                    },
                    {
                        "enabled": true,
                        "outputIndex": 3,
                        "position": {
                            "x": 0,
                            "y": 0
                        },
                        "priority": 1,
                        "replicationSource": ""
                    }
                ]
            },
            {
                "lidClosed": false,
                "outputs": [
                    {
                        "enabled": true,
                        "outputIndex": 1,
                        "position": {
                            "x": 640,
                            "y": 0
                        },
                        "priority": 0,
                        "replicationSource": ""
                    },
                    {
                        "enabled": true,
                        "outputIndex": 4,
                        "position": {
                            "x": 0,
                            "y": 0
                        },
                        "priority": 1,
                        "replicationSource": ""
                    }
                ]
            },
            {
                "lidClosed": true,
                "outputs": [
                    {
                        "enabled": true,
                        "outputIndex": 1,
                        "position": {
                            "x": 0,
                            "y": 0
                        },
                        "priority": 1,
                        "replicationSource": ""
                    }
                ]
            },
            {
                "lidClosed": false,
                "outputs": [
                    {
                        "enabled": true,
                        "outputIndex": 1,
                        "position": {
                            "x": 0,
                            "y": 0
                        },
                        "priority": 0,
                        "replicationSource": ""
                    },
                    {
                        "enabled": true,
                        "outputIndex": 5,
                        "position": {
                            "x": 0,
                            "y": 0
                        },
                        "priority": 1,
                        "replicationSource": "ce8c200e-e8a0-4782-a06c-5a2b5e34badf"
                    }
                ]
            },
            {
                "lidClosed": false,
                "outputs": [
                    {
                        "enabled": true,
                        "outputIndex": 6,
                        "position": {
                            "x": 0,
                            "y": 0
                        },
                        "priority": 0,
                        "replicationSource": ""
                    }
                ]
            }
        ],
        "name": "setups"
    }
]

kinfo:

Operating System: CachyOS Linux 
KDE Plasma Version: 6.7.3
KDE Frameworks Version: 6.28.0
Qt Version: 6.11.1
Kernel Version: 7.2.0-rc4-1-cachyos-rc (64-bit)
Graphics Platform: Wayland
Processors: 16 × Intel® Core™ i7-10875H CPU @ 2.30GHz
Memory: 32 GiB of RAM (31.2 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 2080 Super with Max-Q Design

Driver is nvidia-open 610.43.03

The end of journalctl -k -b 1 after one of the freezes:


Jul 17 00:27:56 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244476.865:2354): apparmor="ALLOWED" operation="open" class="file" profile="systemd-generator-user-environment//null-/usr/bin/lspci" name="/etc/ld.so.cache" pid=4428 comm="lspci" requested_mask="r" denied_mask="r" fsuid=949 ouid=0
Jul 17 00:27:56 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244476.865:2355): apparmor="ALLOWED" operation="getattr" class="file" profile="systemd-generator-user-environment//null-/usr/bin/lspci" name="/etc/ld.so.cache" pid=4428 comm="lspci" requested_mask="r" denied_mask="r" fsuid=949 ouid=0
Jul 17 00:27:56 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244476.865:2356): apparmor="ALLOWED" operation="open" class="file" profile="systemd-generator-user-environment//null-/usr/bin/lspci" name="/usr/lib/libpci.so.3.15.0" pid=4428 comm="lspci" requested_mask="r" denied_mask="r" fsuid=949 ouid=0
Jul 17 00:27:56 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244476.865:2357): apparmor="ALLOWED" operation="getattr" class="file" profile="systemd-generator-user-environment//null-/usr/bin/lspci" name="/usr/lib/libpci.so.3.15.0" pid=4428 comm="lspci" requested_mask="r" denied_mask="r" fsuid=949 ouid=0
Jul 17 00:27:56 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244476.865:2358): apparmor="ALLOWED" operation="file_mmap" class="file" profile="systemd-generator-user-environment//null-/usr/bin/lspci" name="/usr/lib/libpci.so.3.15.0" pid=4428 comm="lspci" requested_mask="rm" denied_mask="rm" fsuid=949 ouid=0
Jul 17 00:27:56 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244476.865:2359): apparmor="ALLOWED" operation="open" class="file" profile="systemd-generator-user-environment//null-/usr/bin/lspci" name="/usr/lib/libkmod.so.2.5.1" pid=4428 comm="lspci" requested_mask="r" denied_mask="r" fsuid=949 ouid=0
Jul 17 00:27:56 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244476.865:2360): apparmor="ALLOWED" operation="getattr" class="file" profile="systemd-generator-user-environment//null-/usr/bin/lspci" name="/usr/lib/libkmod.so.2.5.1" pid=4428 comm="lspci" requested_mask="r" denied_mask="r" fsuid=949 ouid=0
Jul 17 00:27:59 Blade-Pro-17-Early-2020-RZ09-0329 kernel: Bluetooth: RFCOMM TTY layer initialized
Jul 17 00:27:59 Blade-Pro-17-Early-2020-RZ09-0329 kernel: Bluetooth: RFCOMM socket layer initialized
Jul 17 00:27:59 Blade-Pro-17-Early-2020-RZ09-0329 kernel: Bluetooth: RFCOMM ver 1.11
Jul 17 00:28:03 Blade-Pro-17-Early-2020-RZ09-0329 kernel: [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:01:80:72:15:59:b0:39:08:00 SRC=192.168.0.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=38273 DF PROTO=2 
Jul 17 00:28:04 Blade-Pro-17-Early-2020-RZ09-0329 kernel: kauditd_printk_skb: 1700 callbacks suppressed
Jul 17 00:28:04 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244484.656:4061): apparmor="ALLOWED" operation="capable" class="cap" profile="plasmalogin-helper" pid=4593 comm="plasmalogin-hel" capability=24  capname="sys_resource"
Jul 17 00:28:04 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244484.747:4062): apparmor="ALLOWED" operation="open" class="file" profile="plasmalogin-shell" name="/etc/nsswitch.conf" pid=4607 comm="zsh" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Jul 17 00:28:04 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244484.747:4063): apparmor="ALLOWED" operation="open" class="file" profile="plasmalogin-shell" name="/etc/passwd" pid=4607 comm="zsh" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Jul 17 00:28:04 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244484.747:4064): apparmor="ALLOWED" operation="open" class="file" profile="plasmalogin-shell" name="/etc/passwd" pid=4607 comm="zsh" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Jul 17 00:28:04 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244484.751:4065): apparmor="ALLOWED" operation="file_inherit" class="file" profile="plasmalogin-shell//flatpak" name="/home/fohqul/.local/share/plasmalogin/wayland-session.log" pid=4644 comm="flatpak" requested_mask="w" denied_mask="w" fsuid=1000 ouid=1000
Jul 17 00:28:04 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244484.771:4066): apparmor="ALLOWED" operation="file_inherit" class="file" profile="pidof" name="/home/fohqul/.local/share/plasmalogin/wayland-session.log" pid=4685 comm="pidof" requested_mask="w" denied_mask="w" fsuid=1000 ouid=1000
Jul 17 00:28:04 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244484.777:4067): apparmor="ALLOWED" operation="exec" class="file" profile="plasmalogin-shell" name="/usr/bin/lspci" pid=4686 comm="zsh" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0 target="plasmalogin-shell//null-/usr/bin/lspci"
Jul 17 00:28:04 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244484.777:4068): apparmor="ALLOWED" operation="file_inherit" class="file" profile="plasmalogin-shell//null-/usr/bin/lspci" name="/dev/tty2" pid=4686 comm="lspci" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=0
Jul 17 00:28:04 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244484.777:4069): apparmor="ALLOWED" operation="file_inherit" class="file" profile="plasmalogin-shell//null-/usr/bin/lspci" name="/home/fohqul/.local/share/plasmalogin/wayland-session.log" pid=4686 comm="lspci" requested_mask="w" denied_mask="w" fsuid=1000 ouid=1000
Jul 17 00:28:04 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244484.777:4070): apparmor="ALLOWED" operation="file_mmap" class="file" profile="plasmalogin-shell//null-/usr/bin/lspci" name="/usr/bin/lspci" pid=4686 comm="lspci" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Jul 17 00:28:06 Blade-Pro-17-Early-2020-RZ09-0329 kernel: NVRM: GPU at PCI:0000:01:00: GPU-d9dd6936-3997-57a7-51bb-8cf3ee8b2e25
Jul 17 00:28:06 Blade-Pro-17-Early-2020-RZ09-0329 kernel: NVRM: Xid (PCI:0000:01:00): 56, CMDre 00000000 00000200 00000001 00000005 00220031
Jul 17 00:28:09 Blade-Pro-17-Early-2020-RZ09-0329 kernel: nvidia-modeset: WARNING: GPU:0: Lost display notification (0:0x00000000); continuing.
Jul 17 00:28:09 Blade-Pro-17-Early-2020-RZ09-0329 kernel: kauditd_printk_skb: 7493 callbacks suppressed
Jul 17 00:28:09 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244489.745:11564): apparmor="ALLOWED" operation="mknod" class="file" profile="kwin_wayland" name="/home/fohqul/.local/state/kglobalshortcutsstaterc.lock" pid=4723 comm="kwin_wayland" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000
Jul 17 00:28:09 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244489.745:11565): apparmor="ALLOWED" operation="open" class="file" profile="kwin_wayland" name="/home/fohqul/.local/state/kglobalshortcutsstaterc.lock" pid=4723 comm="kwin_wayland" requested_mask="wrc" denied_mask="wrc" fsuid=1000 ouid=1000
Jul 17 00:28:09 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244489.745:11566): apparmor="ALLOWED" operation="file_lock" class="file" profile="kwin_wayland" name="/home/fohqul/.local/state/kglobalshortcutsstaterc.lock" pid=4723 comm="kwin_wayland" requested_mask="wk" denied_mask="wk" fsuid=1000 ouid=1000
Jul 17 00:28:09 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244489.751:11567): apparmor="ALLOWED" operation="open" class="file" profile="kwin_wayland" name="/home/fohqul/.local/state/kglobalshortcutsstaterc" pid=4723 comm="kwin_wayland" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Jul 17 00:28:09 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244489.757:11568): apparmor="ALLOWED" operation="link" class="file" profile="kwin_wayland" name="/home/fohqul/.local/state/kglobalshortcutsstaterc.kxempk" pid=4723 comm="kwin_wayland" requested_mask="l" denied_mask="l" fsuid=1000 ouid=1000 target="/home/fohqul/.local/state/#518850047"
Jul 17 00:28:09 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244489.757:11569): apparmor="ALLOWED" operation="rename_src" class="file" profile="kwin_wayland" name="/home/fohqul/.local/state/kglobalshortcutsstaterc.kxempk" pid=4723 comm="kwin_wayland" requested_mask="wrd" denied_mask="wrd" fsuid=1000 ouid=1000
Jul 17 00:28:09 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244489.757:11570): apparmor="ALLOWED" operation="rename_dest" class="file" profile="kwin_wayland" name="/home/fohqul/.local/state/kglobalshortcutsstaterc" pid=4723 comm="kwin_wayland" requested_mask="wc" denied_mask="wc" fsuid=1000 ouid=1000
Jul 17 00:28:09 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244489.757:11571): apparmor="ALLOWED" operation="chmod" class="file" profile="kwin_wayland" name="/home/fohqul/.local/state/kglobalshortcutsstaterc" pid=4723 comm="kwin_wayland" requested_mask="w" denied_mask="w" fsuid=1000 ouid=1000
Jul 17 00:28:09 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244489.759:11572): apparmor="ALLOWED" operation="unlink" class="file" profile="kwin_wayland" name="/home/fohqul/.local/state/kglobalshortcutsstaterc.lock" pid=4723 comm="kwin_wayland" requested_mask="d" denied_mask="d" fsuid=1000 ouid=1000
Jul 17 00:28:09 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244489.834:11573): apparmor="ALLOWED" operation="open" class="file" profile="ksplashqml" name="/home/fohqul/Documents/Development/Firere/dotfiles/icons/index.theme" pid=4727 comm="ksplashqml" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Jul 17 00:28:13 Blade-Pro-17-Early-2020-RZ09-0329 kernel: nvidia-modeset: WARNING: GPU:0: Lost display notification (0:0x00000000); continuing.
Jul 17 00:28:16 Blade-Pro-17-Early-2020-RZ09-0329 kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 1
Jul 17 00:28:20 Blade-Pro-17-Early-2020-RZ09-0329 kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to apply atomic modeset.  Error code: -22
Jul 17 00:28:21 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244501.011:11574): apparmor="ALLOWED" operation="open" class="file" profile="kded" name="/home/fohqul/Documents/Development/Firere/dotfiles/icons/index.theme" pid=4858 comm="kded6" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Jul 17 00:28:21 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244501.011:11575): apparmor="ALLOWED" operation="open" class="file" profile="ksecretd" name="/home/fohqul/Documents/Development/Firere/dotfiles/icons/index.theme" pid=4606 comm="ksecretd" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Jul 17 00:28:21 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244501.022:11576): apparmor="ALLOWED" operation="open" class="file" profile="ksecretd" name="/home/fohqul/.config/oxygenrc" pid=4606 comm="ksecretd" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Jul 17 00:28:21 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244501.028:11577): apparmor="ALLOWED" operation="exec" class="file" profile="ksecretd" name="/usr/bin/kstart" pid=4869 comm="ksecretd" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0 target="ksecretd//null-/usr/bin/kstart"
Jul 17 00:28:21 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244501.028:11578): apparmor="ALLOWED" operation="file_mmap" class="file" profile="ksecretd//null-/usr/bin/kstart" name="/usr/bin/kstart" pid=4869 comm="kstart" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Jul 17 00:28:21 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244501.028:11579): apparmor="ALLOWED" operation="file_mmap" class="file" profile="ksecretd//null-/usr/bin/kstart" name="/usr/lib/ld-linux-x86-64.so.2" pid=4869 comm="kstart" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Jul 17 00:28:21 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244501.028:11580): apparmor="ALLOWED" operation="open" class="file" profile="ksecretd//null-/usr/bin/kstart" name="/etc/ld.so.cache" pid=4869 comm="kstart" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Jul 17 00:28:21 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244501.028:11581): apparmor="ALLOWED" operation="getattr" class="file" profile="ksecretd//null-/usr/bin/kstart" name="/etc/ld.so.cache" pid=4869 comm="kstart" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Jul 17 00:28:21 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244501.028:11582): apparmor="ALLOWED" operation="open" class="file" profile="ksecretd//null-/usr/bin/kstart" name="/usr/lib/libKF6KIOGui.so.6.28.0" pid=4869 comm="kstart" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Jul 17 00:28:21 Blade-Pro-17-Early-2020-RZ09-0329 kernel: audit: type=1400 audit(1784244501.028:11583): apparmor="ALLOWED" operation="getattr" class="file" profile="ksecretd//null-/usr/bin/kstart" name="/usr/lib/libKF6KIOGui.so.6.28.0" pid=4869 comm="kstart" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Jul 17 00:28:23 Blade-Pro-17-Early-2020-RZ09-0329 kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
Jul 17 00:28:26 Blade-Pro-17-Early-2020-RZ09-0329 kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 1
Jul 17 00:28:29 Blade-Pro-17-Early-2020-RZ09-0329 kernel: [drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0

Did you report this as the message requests to nvidia?

Have you tried the older 595 driver to see if it a bug in 610?

Yes.

I have just finished testing the 595 driver with this old config file, and the same thing occurs on both the standard linux-lts 6.18.33-1 and linux-cachyos-lts 6.18.38-2 with nvidia-open-dkms 595.71.05-2.

I confirmed that the NVIDIA driver was indeed running with lsmod | grep nvidia and the same issue of a frozen black screen until hard restart happens. It also does not happen with a newer kwinoutputconfig.json.

Helpfully this also rules out a bug on Cachy’s and its kernel’s end.