Open fishxz opened 1 year ago
By the way, every time I suspend my Ubuntu 22.04.3 driver fails, after wakeup vainfo
says:
libva info: VA-API version 1.14.0
libva info: User environment variable requested driver 'nvidia'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_0
libva error: /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so init failed
libva info: va_openDriver() returns 1
vaInitialize failed with error code 1 (operation failed),exit
Reboot helps.
I notice this line: Aug 23 12:46:39 fish kernel: NVRM: GPU 0000:01:00.0: PreserveVideoMemoryAllocations module parameter is set. System Power Management attempted without driver procfs suspend interface. Please refer to the 'Configuring Power Management Sup Maybe that's biting you?
Sorry, I completely missed this issue.
I'm not entirely sure how this driver would cause a hibernate error, unless maybe your playing a video while attempting to hibernate. Video decoding on NVIDIA doesn't like surviving a sleep/hibernate cycle as it loses all the video memory allocations and has no way to recover them.
You could try the PreserveVideoMemoryAllocations
option as rkoot suggested.
This the same of #253
hey, as soon i enable this driver my fedora fails to hibernate.
settings i used: env: MOZ_DISABLE_RDD_SANDBOX=1 LIBVA_DRIVERS_PATH=/var/home/fish/.var/app/org.mozilla.firefox/dri/
firefox: media.ffmpeg.vaapi.enabled=true widget.dmabuf.force-enabled=true
os: fedora 38 silverblue driver version 535.98 gpu: gtx 970