Skip to content

[BUG] KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied #3

@Joly0

Description

@Joly0

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

  1. Install the cotnainer with nvidia gpu on unraid
  2. 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 denied

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions