Green screen with hardware acceleration
Describe your issue
When playing certain videos with hardware acceleration it shows only green screen. Disabling hardware acceleration fixes issue. Originally reported on Totem issue tracker https://gitlab.gnome.org/GNOME/totem/-/issues/552. Maintainer suggested it's gstreamer issue.
Expected Behavior
Video plays normally.
Observed Behavior
Green screen.
Setup
- Operating System: Debian Testing
- Device: Computer
- GStreamer Version: 1.20.4
- Command line:
- VAinfo:
flatpak run org.freedesktop.Platform.VaInfo
Trying display: wayland
libva info: VA-API version 1.15.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/intel-vaapi-driver/radeonsi_drv_video.so
libva info: Trying to open /usr/lib/x86_64-linux-gnu/GL/lib/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_15
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.15 (libva 2.16.0)
vainfo: Driver version: Mesa Gallium driver 22.1.7 for AMD RENOIR (LLVM 14.0.6, DRM 3.48, 6.0.0-4-amd64)
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
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointEncSlice
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
Steps to reproduce the bug
- Install Totem devel with flatpak install https://flathub.org/beta-repo/appstream/org.gnome.Totem.Devel.flatpakref
- play sample video Sample_1
- observe green screen
- go to Preferences -> Display -> Disable hardware acceleration
- video plays normal
How reproducible is the bug?
Always
Screenshots if relevant
Solutions you have tried
Disabling hardware acceleration