Closed burglarhobbit closed 8 months ago
Setting nvidia-drm.modeset=1
is required by this driver (it's the only way DMA-BUF works). It should not break nvidia-smi
, it doesn't on my machine.
What error does nvidia-smi
produce with it set?
I got this error last time I set nvidia-drm.modeset=1
:
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
I didn't try turning the setting on/off again.
That error indicates that the NVIDIA driver isn't even loaded. Is the nouveau properly blacklisted? Could you paste your dmesg
output from boot with modeset enabled?
Configuration and results:
nvidia-vaapi-driver
from the latest master branch (as of Sep 12, 2023)nvidia-smi
output. My VLC still hangs on a 4K 60fps HEVC video shot on an iPhone, it's probably my ancient hardware haha.libnvidia*
libraries.Initial problems:
vainfo
andvdpauinfo
gave me errors. Tried searching but without any avail. Here were the errors I was getting:I went into the rabbithole of gpus support by driver version. I came across some vdpau links which helped me realized I needed newer NVIDIA drivers (535.xx) rather than my old one (470.xx). It's definitely the NVDEC support in newer drivers for my GPU that made it work.
Setting
nvidia-drm.modeset=1
actually made mynvidia-smi
stop working and gave an error message. Removing drm modeset setting and a reboot after works. Thank god for me not effing up any screen rendering programs.Successful
vainfo
output:Unfortunately
vdpauinfo
still gives me an error but it's a non-issue.Hope this helps!