I’m running Fedora Silverblue 41. Here are my packages:
rpm-ostree status
State: idle
Deployments:
● fedora:fedora/41/x86_64/silverblue
Version: 41.20241203.0 (2024-12-03T02:08:54Z)
BaseCommit: 041c69aa9a95a4590dc5c9a72da480dc92f45a8639604e2ba389368a58c4b9fe
GPGSignature: Valid signature by 466CF2D8B60BC3057AA9453ED0622462E99D6AD1
LayeredPackages: akmod-nvidia libva-nvidia-driver steam xorg-x11-drv-nvidia-cuda-libs
LocalPackages: rpmfusion-free-release-41-1.noarch rpmfusion-nonfree-release-41-1.noarch
I have a NVIDIA RTX card along with an Intel CPU/iGPU on my laptop. I would like to use the NVIDIA card for hardware decoding.
I am using Resources to watch GPU usage, and no matter what settings I set in Celluloid’s mpv.conf
, I never see any usage on the NVIDIA card.
I have tried:
hwdec=auto
hwdec=nvdec
hwdec=cuda
In combination with:
vo=gpu
Desperate, I also tried:
flatpak run --command=sh io.github.celluloid_player.Celluloid
mpv --no-config --hwdec=nvdec video.webm
Which gave me this error:
[vo/gpu/cuda] cu->cuGLGetDevices(&device_count, &display_dev, 1, CU_GL_DEVICE_LIST_ALL) failed -> CUDA_ERROR_INVALID_GRAPHICS_CONTEXT: invalid OpenGL or DirectX context
[vo/gpu/cuda] CUDA hwdec only works with OpenGL or Vulkan backends
Which makes it seem like CUDA is failing to probe devices or something?
I’m on the verge of giving up and going back to NVK. Am I missing a package?
Wayland, by the way.