You are not logged in.

#1 2020-12-22 11:13:38

icar
Member
Registered: 2020-07-31
Posts: 560

WebKit video playback wrong colors

https://streamable.com/j2nayp

When I try to play any video through any WebKit frame I see what you can see in the video above. It happens on Gnome Web (Epiphany) and any program that uses WebKit.

I don't know what logs would be useful. My thoughts are that it is related to GStreamer. I have the following:

 #~ % pacman -Qs gst      
local/clutter-gst 3.0.27-3
    GStreamer bindings for clutter
local/gnome-video-effects 0.5.0+4+g9554041-2 (gnome)
    Collection of GStreamer effects for GNOME
local/gst-editing-services 1.18.1-3
    GStreamer library for creating audio/video editors
local/gst-libav 1.18.2-1
    Multimedia graph framework - libav plugin
local/gst-plugin-gtk 1.18.2-1
    Multimedia graph framework - gtk plugin
local/gst-plugin-pipewire 0.3.18-1
    Multimedia graph framework - pipewire plugin
local/gst-plugins-bad 1.18.2-1
    Multimedia graph framework - bad plugins
local/gst-plugins-bad-libs 1.18.2-1
    Multimedia graph framework - bad
local/gst-plugins-base 1.18.2-1
    Multimedia graph framework - base plugins
local/gst-plugins-base-libs 1.18.2-1
    Multimedia graph framework - base
local/gst-plugins-good 1.18.2-1
    Multimedia graph framework - good plugins
local/gst-plugins-ugly 1.18.2-1
    Multimedia graph framework - ugly plugins
local/gst-python 1.18.2-1
    Multimedia graph framework - python bindings
local/gst-rtsp-server 1.18.2-1
    RTSP server library based on GStreamer
local/gstreamer 1.18.2-1
    Multimedia graph framework - core
local/gstreamer-vaapi 1.18.2-1
    Multimedia graph framework - vaapi plugin
local/lib32-gst-plugins-base-libs 1.18.2-1
    GStreamer Multimedia Framework Base Plugin libraries (32-bit)
local/lib32-gstreamer 1.18.2-1
    GStreamer open-source multimedia framework core library (32-bit)
local/lib32-libcanberra-gstreamer 0.30+2+gc0620e4-3
    GStreamer plugin for libcanberra (32-bit)
local/pitivi 2020.09.2-2
    Editor for audio/video projects using the GStreamer framework
local/pkgstats 3.0.0-1
    Submit a list of installed packages to the Arch Linux project
local/qt-gstreamer 1.2.0-4
    Qt bindings for GStreamer
local/tungsten 2.0-1
    A WolframAlpha CLI
 # ~ % gst-inspect-1.0 vaapi                                       
Plugin Details:
  Name                     vaapi
  Description              VA-API based elements
  Filename                 /usr/lib/gstreamer-1.0/libgstvaapi.so
  Version                  1.18.2
  License                  LGPL
  Source module            gstreamer-vaapi
  Source release date      2020-12-06
  Binary package           gstreamer-vaapi
  Origin URL               https://www.archlinux.org/

  vaapijpegdec: VA-API JPEG decoder
  vaapimpeg2dec: VA-API MPEG2 decoder
  vaapih264dec: VA-API H264 decoder
  vaapivc1dec: VA-API VC1 decoder
  vaapivp9dec: VA-API VP9 decoder
  vaapih265dec: VA-API H265 decoder
  vaapipostproc: VA-API video postprocessing
  vaapidecodebin: VA-API Decode Bin
  vaapisink: VA-API sink
  vaapih264enc: VA-API H264 encoder
  vaapih265enc: VA-API H265 encoder

  11 features:
  +-- 11 elements
# ~ % LC_ALL=C gst-inspect-1.0 vdpau
No such element or plugin 'vdpau'
~ % vdpauinfo            
display: :0   screen: 0
API version: 1
Information string: G3DVL VDPAU Driver Shared Library version 1.0

Video surface:

name   width height types
-------------------------------------------
420    16384 16384  NV12 YV12 
422    16384 16384  UYVY YUYV 
444    16384 16384  Y8U8V8A8 V8U8Y8A8 
420_16 16384 16384  
422_16 16384 16384  
444_16 16384 16384  

Decoder capabilities:

name                        level macbs width height
----------------------------------------------------
MPEG1                          --- not supported ---
MPEG2_SIMPLE                    3 65536  4096  4096
MPEG2_MAIN                      3 65536  4096  4096
H264_BASELINE                  52 65536  4096  4096
H264_MAIN                      52 65536  4096  4096
H264_HIGH                      52 65536  4096  4096
VC1_SIMPLE                      1 65536  4096  4096
VC1_MAIN                        2 65536  4096  4096
VC1_ADVANCED                    4 65536  4096  4096
MPEG4_PART2_SP                  3 65536  4096  4096
MPEG4_PART2_ASP                 5 65536  4096  4096
DIVX4_QMOBILE                  --- not supported ---
DIVX4_MOBILE                   --- not supported ---
DIVX4_HOME_THEATER             --- not supported ---
DIVX4_HD_1080P                 --- not supported ---
DIVX5_QMOBILE                  --- not supported ---
DIVX5_MOBILE                   --- not supported ---
DIVX5_HOME_THEATER             --- not supported ---
DIVX5_HD_1080P                 --- not supported ---
H264_CONSTRAINED_BASELINE       0 65536  4096  4096
H264_EXTENDED                  --- not supported ---
H264_PROGRESSIVE_HIGH          --- not supported ---
H264_CONSTRAINED_HIGH          --- not supported ---
H264_HIGH_444_PREDICTIVE       --- not supported ---
VP9_PROFILE_0                  --- not supported ---
VP9_PROFILE_1                  --- not supported ---
VP9_PROFILE_2                  --- not supported ---
VP9_PROFILE_3                  --- not supported ---
HEVC_MAIN                      186 65536  4096  4096
HEVC_MAIN_10                   186 65536  4096  4096
HEVC_MAIN_STILL                --- not supported ---
HEVC_MAIN_12                   --- not supported ---
HEVC_MAIN_444                  --- not supported ---
HEVC_MAIN_444_10               --- not supported ---
HEVC_MAIN_444_12               --- not supported ---

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8         16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 P010 P016 A8I8 I8A8 
R8G8B8A8         16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 P010 P016 A8I8 I8A8 
R10G10B10A2      16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 P010 P016 A8I8 I8A8 
B10G10R10A2      16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 P010 P016 A8I8 I8A8 

Bitmap surface:

name              width height
------------------------------
B8G8R8A8         16384 16384
R8G8B8A8         16384 16384
R10G10B10A2      16384 16384
B10G10R10A2      16384 16384
A8               16384 16384

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             y
DEINTERLACE_TEMPORAL_SPATIAL     -
INVERSE_TELECINE                 -
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         y
HIGH QUALITY SCALING - L1        y
HIGH QUALITY SCALING - L2        -
HIGH QUALITY SCALING - L3        -
HIGH QUALITY SCALING - L4        -
HIGH QUALITY SCALING - L5        -
HIGH QUALITY SCALING - L6        -
HIGH QUALITY SCALING - L7        -
HIGH QUALITY SCALING - L8        -
HIGH QUALITY SCALING - L9        -

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              y        48     4096
VIDEO_SURFACE_HEIGHT             y        48     4096
CHROMA_TYPE                      y  
LAYERS                           y         0        4

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 y  
CSC_MATRIX                       y  
NOISE_REDUCTION_LEVEL            y      0.00     1.00
SHARPNESS_LEVEL                  y     -1.00     1.00
LUMA_KEY_MIN_LUMA                y  
LUMA_KEY_MAX_LUMA                y  
# ~ % vainfo   
vainfo: VA-API version: 1.10 (libva 2.10.0)
vainfo: Driver version: Mesa Gallium driver 20.3.1 for AMD Radeon(TM) Vega 10 Graphics (RAVEN, DRM 3.39.0, 5.9.14-arch1-1, LLVM 11.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
      VAProfileHEVCMain               :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointEncSlice
      VAProfileHEVCMain10             :	VAEntrypointVLD
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileVP9Profile0            :	VAEntrypointVLD
      VAProfileVP9Profile2            :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc

Last edited by icar (2020-12-22 11:16:56)

Offline

Board footer

Powered by FluxBB