Gamescope mit Proxmox

DocMAX

Member
Jan 30, 2023
199
14
18
Bremen
Ich versuche aus einem LXC Container heraus gamescope zu starten.
Habe dafür meine AMD GPU durchgeschleift:

Code:
lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.mount.entry: /dev/dri/card0 dev/dri/card0 none bind,optional,create=file,mode=0666
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file

Vulkaninfo funktioniert schonmal, aber wenn ich gamescope starte kommt:

Code:
[root@desktop ~]# gamescope -- vkcube
wlserver: [backend/headless/backend.c:68] Creating headless backend
wlserver: [libseat] [libseat/libseat.c:73] Seat opened with backend 'seatd'
wlserver: [backend/session/session.c:109] Successfully loaded libseat session
vulkan: selecting physical device 'AMD Radeon Graphics (RADV RENOIR)': queue family 1
vulkan: physical device supports DRM format modifiers
drm: opening DRM node '/dev/dri/card0'
wlserver: [backend/session/session.c:321] Failed to open device: '/dev/dri/card0': Operation not permitted
drm: Could not open KMS device
Failed to initialize output

Jemand ne Idee oder hat es hinbekommen?

EDIT:
Wenn ich von Hand die video und render Gruppen ändere, funktioniert schonmal ein X11 Server. :-)
Können die UID/GIDs nicht von LXC Seiten aus gemapped werden?
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!