Video tearing still there even though I already made ~/.config/chromium-flags.conf

CPU : i5 3320m
GPU : Intel HD 4000
Chromium Version 100.0.4896.127

Graphics Feature Status

  • Canvas: Hardware accelerated
  • Canvas out-of-process rasterization: Disabled
  • Direct Rendering Display Compositor: Disabled
  • Compositing: Hardware accelerated
  • Multiple Raster Threads: Enabled
  • OpenGL: Enabled
  • Rasterization: Hardware accelerated on all pages
  • Raw Draw: Disabled
  • Skia Renderer: Enabled
  • Video Decode: Hardware accelerated
  • Video Encode: Hardware accelerated
  • Vulkan: Disabled
  • WebGL: Hardware accelerated
  • WebGL2: Hardware accelerated

I also already create ~/.config/chromium-flags.conf with the contents being :

–disable-gpu-driver-bug-workarounds
–disable-gpu-driver-workaround
–disable-gpu-vsync
–enable-accelerated-video-decode
–enable-features=VaapiVideoDecoder,VaapiVideoEncoder
–enable-gpu-rasterization
–enable-zero-copy
–ignore-gpu-blocklist
–use-gl=desktop
–disable-features=UseChromeOSDirectVideoDecoder

Yet when I play a video and check Inspect element and check media it shows this :

Decoder name : FFmpegVideoDecoder
Hardware decoder : false
Encoder name : No encoder
Decrypting demuxer : false

Note :

  • I already have h264ify
  • I pretty much follow the guide made by the Manjaro team member, Yochanan

Please guide me if there’s a mistake on my par.

How do you know if hardware acceleration is working on your system or not? Is there any output on running vainfo? Have you seen Hardware video acceleration - ArchWiki? Also see similar post:

Aah why so many! These work for me (taken from arch bbs):

--force-dark-mode
--enable-features=WebUIDarkMode
--incognito
--use-gl=desktop
--enable-zero-copy
--enable-accelerated-video-decode
--enable-features=VaapiVideoDecoder
--disable-features=UseChromeOSDirectVideoDecoder

oh yeah I forgot vainfo. Here

vainfo: VA-API version: 1.13 (libva 2.14.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Ivybridge Mobile - 2.4.1
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264StereoHigh : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
VAProfileJPEGBaseline : VAEntrypointVLD

also I trim ~/.config/chromium-flags.conf a bit

–disable-gpu-driver-bug-workarounds
–enable-accelerated-video-decode
–enable-features=VaapiVideoDecoder
–enable-gpu-rasterization
–enable-zero-copy
–ignore-gpu-blocklist
–use-gl=desktop
–disable-features=UseChromeOSDirectVideoDe

I pretty much give up on this issue. I just downgrade Chromium to 97 enable Hardware Accelerated Video Decoding through chrome://flags and remove ~/.config/chromium-flags.conf as it conflicts with the flags. And funny enough, that solves the issue pretty much, no more horizontal screen tearing on my test video.

Screw you Google for removing that flag in the newest version.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.