You are not logged in.
Hello, i'm linux newbie, don't know where to ask.
Problem: when i play video with vlc which uses the libva, it works, but when i then suspend pc and after waking try again, pc crashes.
When i suspend without firstly using libva it all works as in "bootup session", so basically the condition is to use libva and suspend to trigger crash.
Actually i'm not sure if its caused by libva, just suspect it is, cant locate any related log info, journal and xorg seems to not register this event.
Can someone please hint where to find this kind of log ? Driver debug log or something like that ?
Is there anything i can do ?
As far as i know everything is up to date.
Running on Arch + plasma + xorg.
My GPU: Radeon HD 7850
Drivers used from package: libva-mesa-driver
Here is vainfo:
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_13
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.14 (libva 2.13.0)
vainfo: Driver version: Mesa Gallium driver 21.3.3 for AMD PITCAIRN (DRM 2.50.0, 5.15.13-arch1-1, LLVM 13.0.0)
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileNone : VAEntrypointVideoProcWhen i run vlc with verbose flag and play video i see this:
[00007f6c14006440] gl gl: Initialized libplacebo v4.157.0 (API v157)
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_13
libva info: va_openDriver() returns 0
[00007f6c28c34570] avcodec decoder: Using Mesa Gallium driver 21.3.3 for AMD PITCAIRN (DRM 2.50.0, 5.15.13-arch1-1, LLVM 13.0.0) for hardware decodingBut after the suspend and trying again last line showed is: "libva info: va_openDriver() returns 0" so "avcodec decoder" or something in between must somehow trigger the crash.
Also ffplay is not affected by this issue, guess thats because it doesn't use libva.
Edit:
I tryed to uninstall libva-mesa-driver, which means its not actually issue with the specific driver itself, because problem persist.
This time vlc -v shows this:
[00007fe2d4006440] gl gl: Initialized libplacebo v4.157.0 (API v157)
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/dri/radeonsi_drv_video.so
libva info: va_openDriver() returns -1
[00007fe2d4006440] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/dri/r600_drv_video.so
libva info: va_openDriver() returns -1
[00007fe2d4006440] glconv_vaapi_drm gl error: vaInitialize: unknown libva error
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/dri/r600_drv_video.so
libva info: va_openDriver() returns -1
[00007fe2d4006440] glconv_vaapi_drm gl error: vaInitialize: unknown libva error
[00007fe2d47112e0] vaapi_filters filter warning: Using SW chroma filter for 1920x1088 VAOP -> I420
[00007fe2d4006440] gl gl: Initialized libplacebo v4.157.0 (API v157)
[00007fe2ecc343c0] avcodec decoder: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decodingAfter suspending and trying again last line showed is: "vaapi_filters filter warning: Using SW chroma filter for 1920x1088 VAOP -> I420"
Last edited by kazz (2022-01-10 12:59:16)
Offline
Figure it out !
VGA kernel driver in use was wrong, was using radeon drivers instead amdgpu once whole time, that caused this issue.
Just following the Arch Wiki page solved it ![]()
Offline