You are not logged in.

#1 2023-12-22 16:52:37

baal
Member
Registered: 2023-11-02
Posts: 6

Black screen with vaapi hw accelerated video

Hi All,

I have black screens when playing VAAPI hardware accelerated h264 videos. I tried vlc and firefox; both indicate hw acceleration. Sound is ok. Vainfo output looks fine. The hardware is an amd hd6450, with the open source (radeon) driver. Same experience either x11 or wayland.

Any suggestions to sort this would be appreciated.

vainfo
Trying display: wayland
Trying display: x11
vainfo: VA-API version: 1.20 (libva 2.20.1)
vainfo: Driver version: Mesa Gallium driver 23.3.1-arch1.1 for AMD CAICOS (DRM 2.50.0 / 6.6.7-arch1-1, LLVM 16.0.6)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High10             :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc

Offline

#2 2023-12-23 01:11:51

The Garage
Member
Registered: 2023-12-22
Posts: 1

Re: Black screen with vaapi hw accelerated video

Same exact problem on Debian Sid with HD 6530D AMD gpu. Showed up last week. I'm thinking bug came from upstream and no settings will fix it. Same mesa driver version 23.3.1 by the way.  I've been searching for a week with no luck so far.

Offline

#3 2023-12-31 16:15:05

coolbooks2
Member
Registered: 2009-02-12
Posts: 19

Re: Black screen with vaapi hw accelerated video

I have this issue as well with my laptop with a AMD 6250 GPU.  Downgrading to mesa 1:23.2.1-2 and libva-mesa-driver 1:23.2.1-2 fixes the problem so the bug seems to be with version 1:23.3.  Mesa-git version 24 devel from AUR also fixes the issue.  So the problem is isolated to mesa 23.3.  The latest package 1:23.3.2-1 still has the problem.

Last edited by coolbooks2 (2023-12-31 16:56:23)

Offline

#4 2024-01-09 18:05:58

baal
Member
Registered: 2023-11-02
Posts: 6

Re: Black screen with vaapi hw accelerated video

Coolbooks2's suggestion is correct. Downgrading 'mesa' and 'libva-mesa-driver' does fix the black screen issue. Also, the downgrade did not brake anything (at least I did not notice anything broken). I guess the easiest way is to stick to the downgraded packages until the 24 version makes it's way through. (I found building 'Mesa-git' more complicated than usual, and eventually did not proceed.)

Offline

Board footer

Powered by FluxBB