Public bug reported: Starting from package 495, I notice lots of messages like that in dmesg:
[89502.662730] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership [89502.662850] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership [89502.662899] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership [89502.662944] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership [92090.669597] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership [92090.669715] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership [92090.669766] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership [92090.669813] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownershi With 495 it was 1 message after boot, and one after each waking up of the monitor from sleep. With 510 there are numerous error messages per wake up. I have followed up with nvidia: https://forums.developer.nvidia.com/t/ubuntu-21-10-failed-to-grab-modeset-ownership-with-495-44/193867/35 but ultimately their employee tells that this is expected behavour, and something else triggers the message. [quote="amrits, post:37, topic:193867, full:true"] HI All, The warning message is expected. When a client (such as the modesetting driver) attempts to open our DRM device node while modesetting permission is already acquired by something else (like the NVIDIA X driver), it has to fail, but the kernel won’t let us return a failure after v5.9-rc1, so we print this message. It won’t impact functionality of the NVIDIA X driver that already has modesetting permission. Safe to ignore as long as long as you didn’t need the other client to actually get modesetting permission. If you want to suppress the error, you would need to find which client is attempting to open the NVIDIA DRM device node and prevent it from doing so. [/quote] I use Ubuntu 21.10 with all updates. Description: Ubuntu 21.10 Release: 21.10 nvidia-headless-510: Installed: (none) Candidate: 510.54-0ubuntu0.21.10.1 Version table: 510.54-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-proposed/restricted amd64 Packages 510.47.03-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-updates/restricted amd64 Packages 500 http://security.ubuntu.com/ubuntu impish-security/restricted amd64 Packages nvidia-compute-utils-510: Installed: 510.54-0ubuntu0.21.10.1 Candidate: 510.54-0ubuntu0.21.10.1 Version table: *** 510.54-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-proposed/restricted amd64 Packages 100 /var/lib/dpkg/status 510.47.03-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-updates/restricted amd64 Packages 500 http://security.ubuntu.com/ubuntu impish-security/restricted amd64 Packages nvidia-dkms-510: Installed: 510.54-0ubuntu0.21.10.1 Candidate: 510.54-0ubuntu0.21.10.1 Version table: *** 510.54-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-proposed/restricted amd64 Packages 100 /var/lib/dpkg/status 510.47.03-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-updates/restricted amd64 Packages 500 http://security.ubuntu.com/ubuntu impish-security/restricted amd64 Packages nvidia-driver-510: Installed: 510.54-0ubuntu0.21.10.1 Candidate: 510.54-0ubuntu0.21.10.1 Version table: *** 510.54-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-proposed/restricted amd64 Packages 100 /var/lib/dpkg/status 510.47.03-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-updates/restricted amd64 Packages 500 http://security.ubuntu.com/ubuntu impish-security/restricted amd64 Packages nvidia-utils-510: Installed: 510.54-0ubuntu0.21.10.1 Candidate: 510.54-0ubuntu0.21.10.1 Version table: *** 510.54-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-proposed/restricted amd64 Packages 100 /var/lib/dpkg/status 510.47.03-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-updates/restricted amd64 Packages 500 http://security.ubuntu.com/ubuntu impish-security/restricted amd64 Packages nvidia-kernel-common-510: Installed: 510.54-0ubuntu0.21.10.1 Candidate: 510.54-0ubuntu0.21.10.1 Version table: *** 510.54-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-proposed/restricted amd64 Packages 100 /var/lib/dpkg/status 510.47.03-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-updates/restricted amd64 Packages 500 http://security.ubuntu.com/ubuntu impish-security/restricted amd64 Packages nvidia-headless-no-dkms-510: Installed: (none) Candidate: 510.54-0ubuntu0.21.10.1 Version table: 510.54-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-proposed/restricted amd64 Packages 510.47.03-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-updates/restricted amd64 Packages 500 http://security.ubuntu.com/ubuntu impish-security/restricted amd64 Packages nvidia-fabricmanager-dev-510: Installed: (none) Candidate: 510.47.03-0ubuntu0.21.10.1 Version table: 510.47.03-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-proposed/multiverse amd64 Packages nvidia-fabricmanager-510: Installed: (none) Candidate: 510.47.03-0ubuntu0.21.10.1 Version table: 510.47.03-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-proposed/multiverse amd64 Packages nvidia-kernel-source-510: Installed: 510.54-0ubuntu0.21.10.1 Candidate: 510.54-0ubuntu0.21.10.1 Version table: *** 510.54-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-proposed/restricted amd64 Packages 100 /var/lib/dpkg/status 510.47.03-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-updates/restricted amd64 Packages 500 http://security.ubuntu.com/ubuntu impish-security/restricted amd64 Packages ** Affects: nvidia-graphics-drivers-510 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to nvidia-graphics-drivers-510 in Ubuntu. https://bugs.launchpad.net/bugs/1963805 Title: Failed to grab modeset ownership Status in nvidia-graphics-drivers-510 package in Ubuntu: New Bug description: Starting from package 495, I notice lots of messages like that in dmesg: [89502.662730] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership [89502.662850] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership [89502.662899] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership [89502.662944] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership [92090.669597] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership [92090.669715] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership [92090.669766] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership [92090.669813] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownershi With 495 it was 1 message after boot, and one after each waking up of the monitor from sleep. With 510 there are numerous error messages per wake up. I have followed up with nvidia: https://forums.developer.nvidia.com/t/ubuntu-21-10-failed-to-grab-modeset-ownership-with-495-44/193867/35 but ultimately their employee tells that this is expected behavour, and something else triggers the message. [quote="amrits, post:37, topic:193867, full:true"] HI All, The warning message is expected. When a client (such as the modesetting driver) attempts to open our DRM device node while modesetting permission is already acquired by something else (like the NVIDIA X driver), it has to fail, but the kernel won’t let us return a failure after v5.9-rc1, so we print this message. It won’t impact functionality of the NVIDIA X driver that already has modesetting permission. Safe to ignore as long as long as you didn’t need the other client to actually get modesetting permission. If you want to suppress the error, you would need to find which client is attempting to open the NVIDIA DRM device node and prevent it from doing so. [/quote] I use Ubuntu 21.10 with all updates. Description: Ubuntu 21.10 Release: 21.10 nvidia-headless-510: Installed: (none) Candidate: 510.54-0ubuntu0.21.10.1 Version table: 510.54-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-proposed/restricted amd64 Packages 510.47.03-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-updates/restricted amd64 Packages 500 http://security.ubuntu.com/ubuntu impish-security/restricted amd64 Packages nvidia-compute-utils-510: Installed: 510.54-0ubuntu0.21.10.1 Candidate: 510.54-0ubuntu0.21.10.1 Version table: *** 510.54-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-proposed/restricted amd64 Packages 100 /var/lib/dpkg/status 510.47.03-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-updates/restricted amd64 Packages 500 http://security.ubuntu.com/ubuntu impish-security/restricted amd64 Packages nvidia-dkms-510: Installed: 510.54-0ubuntu0.21.10.1 Candidate: 510.54-0ubuntu0.21.10.1 Version table: *** 510.54-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-proposed/restricted amd64 Packages 100 /var/lib/dpkg/status 510.47.03-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-updates/restricted amd64 Packages 500 http://security.ubuntu.com/ubuntu impish-security/restricted amd64 Packages nvidia-driver-510: Installed: 510.54-0ubuntu0.21.10.1 Candidate: 510.54-0ubuntu0.21.10.1 Version table: *** 510.54-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-proposed/restricted amd64 Packages 100 /var/lib/dpkg/status 510.47.03-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-updates/restricted amd64 Packages 500 http://security.ubuntu.com/ubuntu impish-security/restricted amd64 Packages nvidia-utils-510: Installed: 510.54-0ubuntu0.21.10.1 Candidate: 510.54-0ubuntu0.21.10.1 Version table: *** 510.54-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-proposed/restricted amd64 Packages 100 /var/lib/dpkg/status 510.47.03-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-updates/restricted amd64 Packages 500 http://security.ubuntu.com/ubuntu impish-security/restricted amd64 Packages nvidia-kernel-common-510: Installed: 510.54-0ubuntu0.21.10.1 Candidate: 510.54-0ubuntu0.21.10.1 Version table: *** 510.54-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-proposed/restricted amd64 Packages 100 /var/lib/dpkg/status 510.47.03-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-updates/restricted amd64 Packages 500 http://security.ubuntu.com/ubuntu impish-security/restricted amd64 Packages nvidia-headless-no-dkms-510: Installed: (none) Candidate: 510.54-0ubuntu0.21.10.1 Version table: 510.54-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-proposed/restricted amd64 Packages 510.47.03-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-updates/restricted amd64 Packages 500 http://security.ubuntu.com/ubuntu impish-security/restricted amd64 Packages nvidia-fabricmanager-dev-510: Installed: (none) Candidate: 510.47.03-0ubuntu0.21.10.1 Version table: 510.47.03-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-proposed/multiverse amd64 Packages nvidia-fabricmanager-510: Installed: (none) Candidate: 510.47.03-0ubuntu0.21.10.1 Version table: 510.47.03-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-proposed/multiverse amd64 Packages nvidia-kernel-source-510: Installed: 510.54-0ubuntu0.21.10.1 Candidate: 510.54-0ubuntu0.21.10.1 Version table: *** 510.54-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-proposed/restricted amd64 Packages 100 /var/lib/dpkg/status 510.47.03-0ubuntu0.21.10.1 500 500 http://pl.archive.ubuntu.com/ubuntu impish-updates/restricted amd64 Packages 500 http://security.ubuntu.com/ubuntu impish-security/restricted amd64 Packages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-510/+bug/1963805/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp