LXC config problem after core reboot

beispiel123

New Member
Jan 7, 2026
1
0
1
Hi everyone,


I have an LXC with the following configuration:



arch: amd64
cores: 8
features: nesting=1
hostname: Jellyfin
memory: 8000
mp0: Movies:114/vm-114-disk-0.raw,mp=/mnt/movies,backup=1,size=1000G
net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=BC:24:11:7A:D2:B9,ip=dhcp,ip6=auto,type=veth
onboot: 1
ostype: debian
rootfs: Container:114/vm-114-disk-0.raw,size=128G
swap: 8000
unprivileged: 0
lxc.cgroup2.devices.allow: c 195:0 rwm
lxc.cgroup2.devices.allow: c 195:255 rwm
lxc.cgroup2.devices.allow: c 195:254 rwm
lxc.cgroup2.devices.allow: c 509:0 rwm
lxc.cgroup2.devices.allow: c 509:1 rwm
lxc.cgroup2.devices.allow: c 234:1 rwm
lxc.cgroup2.devices.allow: c 234:2 rwm
lxc.cgroup2.devices.allow: c 509:* rwm
lxc.mount.entry: /dev/nvidia0 dev/nvidia0 none bind,optional,create=file
lxc.mount.entry: /dev/nvidiactl dev/nvidiactl none bind,optional,create=file
lxc.mount.entry: /usr/bin/nvidia-smi usr/bin/nvidia-smi none bind,optional,create=file
lxc.mount.entry: /dev/nvidia-uvm dev/nvidia-uvm none bind,optional,create=file
lxc.mount.entry: /dev/nvidia-uvm-tools dev/nvidia-uvm-tools none bind,optional,create=file
lxc.mount.entry: /usr/lib/x86_64-linux-gnu usr/lib/x86_64-linux-gnu none bind,rw,create=dir
lxc.mount.entry: /dev/nvidia-modeset dev/nvidia-modeset none bind,optional,create=file

On wednesday the core does an automatic reboot. Afterwards my lxc 114 is supposed to be using jellyfin-ffmpeg. But ffmpeg then always gives out an error:

[AVHWDeviceContext @ 0x7d0598089fc0] cu->cuInit(0) failed -> CUDA_ERROR_UNKNOWN: unknown error
Device creation failed: -542398533.
Failed to set value 'cuda=cu:0' for option 'init_hw_device': Generic error in an external library
Error parsing global options: Generic error in an external library

I can very easyly solve this error by changing a random character in my lxc-config. I can even change that character back and ffmpeg still works fine with exactly the same configuration that gave out the error.

Can anybody explain this behaviour to me and give me a solution other than changing my config and changing it back every time?

Thank you very much in advance.