Any news for a fix for? [drm:nv_drm_master_set [nvidia_drm]] *error* [nvidia-drm] [gpu id 0x00000100] failed to grab modeset ownership

I’m asking since there hasn’t been any info on this being fixed or looked at officially.

1 Like

Hi , i have a probleme with Nvidia Gforce rtx 3060 and ubuntu V 22.04 TLS, when i process video at high speed , the server crush with blocked screen and i have to restart the server to solve the problem.
the error in the kernel is
[drm:nv_drm_master_set [nvidia_drm]] ERROR [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership
need help
thanks

2 Likes

Same issue here.
GForce RTX 3060 and ubuntu kinetic (22.10)
Linux etm 5.19.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Tue Aug 2 07:35:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

$ lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1)
NVIDIA GeForce RTX™ 3060 Laptop GPU / Mesa Intel® Graphics (ADL GT2)
nvidia-driver-515 metapackage

1 Like

Chiming in I’m also seeing this in dmesg, usually in chunks of anywhere from 1-15 lines consecutively. I have two RTX 3090 cards from ASUS, using nvidia-driver-525 on Ubuntu 21.10.

Here’s one chunk as an example:

[271334.458669] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002d00] Failed to grab modeset ownership
[271334.458714] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002300] Failed to grab modeset ownership
[271334.458735] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002d00] Failed to grab modeset ownership
[271334.458749] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002300] Failed to grab modeset ownership
[271334.458765] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002d00] Failed to grab modeset ownership
[271334.458779] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002300] Failed to grab modeset ownership
[271334.458794] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002d00] Failed to grab modeset ownership
[271334.458806] [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002300] Failed to grab modeset ownership

If it helps, I tested the in 22.10 with the 525.78 Driver, where this issue was showing for me, and at the moment of updating to the 525.85 the problem went away.

I’m seeing this on Ubuntu 23.04 with 530.41.03 driver. Running Xorg because Wayland got completely unusable after distribution upgrade and driver update.

Amrit described this in the other thread you posted in: Ubuntu 21.10 - "Failed to grab modeset ownership" with 495.44 - #37 by amrits

The issue here is that any application opening one of the /dev/dri/card* device files automatically attempts to get DRI “master” permission. In the NVIDIA driver model, that tries to get “modeset ownership” on the corresponding GPU. If another driver component already has modeset ownership, then getting “master” fails and prints this message.

This happens even if the application doesn’t want or need DRI master.

Is there a fix for this? I looked at the (very long) linked threads, didn’t find anything conclusive. I’m running into the same issue after installing latest updates to Ubuntu 22.04 - my system is completely unusable (black screen), works when I boot to safe/recovery mode. Using nvidia-driver-535, 535.146.02-0ubuntu0.22.04.1.

Thanks!

My graphic card is an old GP108 [GeForce GT 1030] and I see also the message in the system log.

I tried with the NVIDIA x86_64 Kernel Module 545.29.06 and the message is still here.