Repository navigation
[BUG] KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied #3
Copy link
Copy link
Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Hey, i just read that nvidia support should be included. I had this container previously running without nvidia support (or any GPU passed at all) and the container run without issues (if you call 0.5-1 fps "running").
Now after running the command nvidia-modprobe --modeset on my unraid host and then running the container with the nvidia gpu passed through like shown in my docker run, the container is not starting correctly anymore.
Expected Behavior
Should run with nvidia support
Steps To Reproduce
- Install the cotnainer with nvidia gpu on unraid
- See error
Environment
- OS: Unraid
- How docker service was installed:CPU architecture
x86-64
Docker creation
docker run
-d
--name='steam'
--net='bridge'
--pids-limit 2048
-e TZ="Europe/Berlin"
-e HOST_OS="Unraid"
-e HOST_HOSTNAME="Tower"
-e HOST_CONTAINERNAME="steam"
-e 'PUID'='99'
-e 'PGID'='100'
-e 'UMASK'='022'
-l net.unraid.docker.managed=dockerman
-l net.unraid.docker.webui='https://[IP]:[PORT:3001]'
-l net.unraid.docker.icon='https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/steam-logo.png'
-p '30001:3000/tcp'
-p '30011:3001/tcp'
-v '/mnt/cache/appdata/steam':'/config':'rw'
--shm-size=1gb
--security-opt seccomp=unconfined
--gpus all
--runtime nvidia 'lscr.io/linuxserver/steam'Container logs
thread '<unnamed>' panicked at src/lib.rs:354:14:
Failed to allocate GBM buffer: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[svc-de] Wayland mode: Waiting for socket at /config/.XDG/wayland-1...
[svc-de] /config/.XDG/wayland-1 found launching de
No desktop processes found to terminate.
INFO:selkies.__main__:Starting mode 'websockets'...
INFO:selkies.__main__:Starting Selkies in 'websockets' mode.
INFO:data_websocket:pcmflux library found. Audio capture is available.
INFO:data_websocket:pixelflux library found. Striped encoding modes available.
[Wayland] Initializing GL Renderer using device: /dev/dri/renderD128
[svc-de] Wayland mode: Waiting for socket at /config/.XDG/wayland-1...
[svc-de] /config/.XDG/wayland-1 found launching de
INFO:root:Expected C js_config_t size (from ctypes): 1354 bytes
No desktop processes found to terminate.
[Wayland] Warning: Failed to bind EGL to Wayland Display (Optional): EglExtensionNotSupported(["EGL_WL_bind_wayland_display"])
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
thread '<unnamed>' panicked at src/lib.rs:354:14:
Failed to allocate GBM buffer: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[svc-de] Wayland mode: Waiting for socket at /config/.XDG/wayland-1...
[svc-de] /config/.XDG/wayland-1 found launching de
No desktop processes found to terminate.
INFO:selkies.__main__:Starting mode 'websockets'...
INFO:selkies.__main__:Starting Selkies in 'websockets' mode.
INFO:data_websocket:pcmflux library found. Audio capture is available.
INFO:data_websocket:pixelflux library found. Striped encoding modes available.
[Wayland] Initializing GL Renderer using device: /dev/dri/renderD128
INFO:root:Expected C js_config_t size (from ctypes): 1354 bytes
[Wayland] Warning: Failed to bind EGL to Wayland Display (Optional): EglExtensionNotSupported(["EGL_WL_bind_wayland_display"])
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission deniedReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
- StatusShow more project fieldsDone
Activity
github-actions commentedon Jan 19, 2026
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
thelamer commentedon Jan 25, 2026
I test on Trixie and Arch with a 3060 and 580.126.09 proprietary drivers.
Make sure your nvidia card is /dev/dri/renderD128 and make sure you are running the latest proprietary driver for your card.
Also I do not know unraid but you might need apparmor unconfined.
LinuxServer-CI commentedon Feb 25, 2026
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.
Joly0 commentedon Feb 26, 2026
Hey, i am sorry for letting this stale.

So yes, i made sure my nvidia gpu is renderD128:
Should also be latest available driver:

and as far as i know, unraid doesnt contain anything like apparmor
thelamer commentedon Mar 19, 2026
Updated docs from an unraid user that got it working
Driver: Proprietary drivers 580 or higher are required. Crucially, you should install the driver using the
.runfile downloaded directly from the Nvidia website.Kernel Parameter: You must set
nvidia-drm.modeset=1in your host bootloader./etc/default/gruband add the parameter to your existingGRUB_CMDLINE_LINUX_DEFAULTline:/boot/syslinux/syslinux.cfgand addnvidia-drm.modeset=1to the end of theappendline for the Unraid OS boot entry.Hardware Initialization: On headless systems, the Nvidia video card requires a physical dummy plug inserted into the GPU so that DRM initializes properly.
Docker Runtime: Configure the host docker daemon to use the Nvidia runtime:
Compose Configuration:
Joly0 commentedon Mar 21, 2026
Hey @thelamer thanks for letting me know, but everythign was already configured for me exactly as you described.
I have the hdmi dummy in the nvidia gpu, the driver is correct, the
nvidia-drm.modeset=1boot option is set and even rebooted, all the env variables are set properly and yet i am still getting the same error as initially posted.thelamer commentedon Mar 21, 2026
check dmesg you are looking for
Just in general post the output of
sudo dmesg |grep -i nvidia |grep -i drmAlso use a bare run command from cli to test.
my card is 129 on my system, you open a terminal and run
vkcubeas a smoke test (that is if you do not get permission denied. )2026-03-18.19-06-52.mp4
It can work and the user that confirmed it was on 580.142 and running a 4070 so it is not your card series or anything.
Joly0 commentedon Mar 21, 2026
your example docker run command has the same problem.
thelamer commentedon Mar 21, 2026
bump from 126 to 142 (is the production driver in unraid)
Confirm you ran the command with render node 128 and double check that is your nvidia card.
This is not in dmesg I do not know if that matters or not.
If you have discord review this back and forth see if anything is missing they do have a primary device message in their logs, this is the user that confirmed functionality:
https://discord.com/channels/354974912613449730/1433842457048514684/1484231076418424854
I am just diffing out from the user that got it working vs your setup.
thelamer commentedon Mar 21, 2026
Another thing make sure kernel is above 6.6 (it should be). The working user was on
6.12.54-UnraidJoly0 commentedon Mar 21, 2026
Yes, i am also on
6.12.54-UnraidI have now added a comment referencing the original reporter on github, maybe he can bring light into this
thelamer commentedon Apr 14, 2026
Just FYI I have discovered that unraid nvidia runtime is not compatible with wayland based solutions:
linuxserver/docker-jenkins-builder#393
Readme will be updated soon.