Bug 1224317

Summary: Av1 decode glitches running firefox in youtube on LCD Steam deck
Product: [openSUSE] openSUSE Tumbleweed Reporter: ted chang <monkeyboyted>
Component: Kernel:DriversAssignee: Kernel Bugs <kernel-bugs>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: firefox support information

Description ted chang 2024-05-15 14:39:57 UTC
Created attachment 874908 [details]
firefox support information

Every once in awhile, the Steam Deck av1 decoder produces glitches in youtube. This system should not have the packman packages installed.

1, Install Opensuse on the LCD steam deck
2. Install av1 decode libraries from the default repos
3. Enable av1 decode in firefox
4. Run a long video on youtube

1. Observations
Sometimes a few iframes become distorted. The issue resolve itself on a keyframe

2. Expectation
Video works without graphical issues.



Getting SMBIOS data from sysfs.
SMBIOS 3.3.0 present.

Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
        Vendor: Valve
        Version: F7A0131
        Release Date: 01/30/

Trying display: wayland
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.21 (libva 2.20.1)
vainfo: Driver version: Mesa Gallium driver 24.0.5 for AMD Custom GPU 0405 (radeonsi, vangogh, LLVM 18.1.4, DRM 3.57, 6.8.8-1-default)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD
      VAProfileAV1Profile0            : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc


Operating System: openSUSE Tumbleweed 20240512
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0
Kernel Version: 6.8.8-1-default (64-bit)
Graphics Platform: Wayland
Processors: 8 × AMD Custom APU 0405
Memory: 13.5 GiB of RAM
Graphics Processor: AMD Custom GPU 0405
Manufacturer: Valve
Product Name: Jupiter
System Version: 1


Information for package ffmpeg-5:
---------------------------------
Repository     : openSUSE-Tumbleweed-Oss
Name           : ffmpeg-5
Version        : 5.1.4-7.1
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 2.5 MiB
Installed      : Yes
Status         : up-to-date
Source package : ffmpeg-5-5.1.4-7.1.src
Upstream URL   : https://ffmpeg.org/
Summary        : Set of libraries for working with various multimedia formats
Description    : 
    FFmpeg is a multimedia framework, able to decode, encode,
    transcode, mux, demux, stream, filter and play several formats
    that humans and machines have created.


    This build of ffmpeg is limited in the number of codecs supported.



Information for package gstreamer-plugins-vaapi:
------------------------------------------------
Repository     : openSUSE-Tumbleweed-Oss
Name           : gstreamer-plugins-vaapi
Version        : 1.24.0-1.2
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 927.4 KiB
Installed      : Yes
Status         : up-to-date
Source package : gstreamer-plugins-vaapi-1.24.0-1.2.src
Upstream URL   : https://gstreamer.freedesktop.org
Summary        : Gstreamer VA-API plugins
Description    : 
    gstreamer-vaapi is a collection of GStreamer plugins and helper
    libraries that allow hardware accelerated video decoding through
    VA-API.
Comment 1 ted chang 2024-05-15 14:42:43 UTC
I am going to see whether install ffmpeg 7 helps I guess.
Comment 2 ted chang 2024-05-15 14:49:35 UTC
 /usr/lib64/firefox/vaapitest  -d /dev/dri/renderD128 
VAAPI_SUPPORTED
TRUE
VAAPI_HWCODECS
192