Weird behaviour on hyprid laptop
- Dominant language
- C
- Stars
- 784
- Forks
- 314
- PR merge metrics
- No merged PRs in 30d
Description
Been fighting an unrelated issue for weeks with brave & hwdec not working but as a side effect of trying to get to the bottom of that one I noticed a 'bug'? maybe? Honestly I'm not even sure it is but its worth reporting as others have had the same behaviour too.
My laptop has an Intel/NVIDIA hybrid GPU setup and with `intel-media-driver` installed `vainfo` works as expected. with `intel-media-driver` & `libva-nvidia-driver` installed `vainfo` uses `iHD` which I would expect since the intel is the primary card. The issue arises when you try to force `vainfo` to use the `NVIDIA`, in that case `vainfo` throws a hard crash. To use `NVDEC` at all on my GPU I have to swap over to dedicated GPU mode.
> libva info: VA-API version 1.19.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
[https://github.com/brave/brave-browser/issues/35953](url)
^ Bug on brave, unrelated but this user has the exact same behaviour
Contributor guide
Assessment
This issue has not been assessed yet.