elFarto / nvidia-vaapi-driver

A VA-API implemention using NVIDIA's NVDEC
Other
1.17k stars 53 forks source link

32-bit NVD Causes GST Segment fault in wine while using wayland #254

Closed CosmicFusion closed 10 months ago

CosmicFusion commented 10 months ago

when having nvidia-vaapi-driver:i386 installed wine hardware accelerates video content of 32 bit games on the nvidia gpu beautifully, such as the GTA SA intro video but that's only when on X11

doing the same on wayland results in


/lib/i386-linux-gnu/gstreamer-1.0/libgstva.so

Please either:
- remove it and restart.
- run with --gst-disable-segtrap --gst-disable-registry-fork and debug.
Monitored process exited.
Initial process has exited (return code: 0)
Exit with return code 0```
elFarto commented 10 months ago

Could you get a log with NVD_LOG=1 set?

CosmicFusion commented 10 months ago

gta_sa_3.log

elFarto commented 10 months ago

Can you try with NVD_BACKEND=direct, the EGL backend doesn't work at the moment due to an NVIDIA issue.?

CosmicFusion commented 10 months ago

Can you try with NVD_BACKEND=direct, the EGL backend doesn't work at the moment due to an NVIDIA issue.?

It's direct

CosmicFusion commented 10 months ago

Never mind actually

The problem is clear now

Despite NVD_GPU and NVD_BACKEND being set system wide

Lutris isn't forwarding them to wine

Add these vars to lutris manually

Makes the game launch, and it's intro plays and is hardware accelerated by nvidia and on wayland

So lutris issue not NVD