Bug#1050677: chromium: VAAPI acceleration not working on Chromium 116

2023-09-26 Thread Leandro Cunha
Hi,

It's a problem that persists in 117 on unstable, although on the
Chrome unstable channel (version 118.x) it seems to be resolved.

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
*   Raw Draw: Disabled
*   Skia Graphite: Disabled
*   Video Decode: Software only. Hardware acceleration disabled
*   Video Encode: Software only. Hardware acceleration disabled
*   Vulkan: Enabled
*   WebGL: Hardware accelerated
*   WebGL2: Hardware accelerated
*   WebGPU: Disabled

Driver Bug Workarounds
==
*   adjust_src_dst_region_for_blitframebuffer
*   clear_uniforms_before_first_program_use
*   count_all_in_varyings_packing
*   disable_post_sub_buffers_for_onscreen_surfaces
*   enable_webgl_timer_query_extensions
*   exit_on_context_lost
*   msaa_is_slow
*   rely_on_implicit_sync_for_swap_buffers
*   disabled_extension_GL_KHR_blend_equation_advanced
*   disabled_extension_GL_KHR_blend_equation_advanced_coherent
*   disabled_extension_GL_MESA_framebuffer_flip_y

Problems Detected
=
*   WebGPU has been disabled via blocklist or the command line.
Disabled Features: webgpu

*   Accelerated video encode has been disabled, either via blocklist,
about:flags or the command line.
Disabled Features: video_encode

*   Accelerated video decode has been disabled, either via blocklist,
about:flags or the command line.
Disabled Features: video_decode

*   Clear uniforms before first program use on all platforms:
(http://crbug.com/124764), (http://crbug.com/349137)
Applied Workarounds: clear_uniforms_before_first_program_use

*   Mesa drivers in Linux handle varyings without static use incorrectly:
(http://crbug.com/333885)
Applied Workarounds: count_all_in_varyings_packing

*   On Intel GPUs MSAA performance is not acceptable for GPU rasterization:
(http://crbug.com/527565), (http://crbug.com/1298585)
Applied Workarounds: msaa_is_slow

*   Disable partial swaps on Mesa drivers (detected with GL_VERSION):
(http://crbug.com/339493)
Applied Workarounds: disable_post_sub_buffers_for_onscreen_surfaces

*   adjust src/dst region if blitting pixels outside framebuffer on Linux Intel:
(http://crbug.com/664740)
Applied Workarounds: adjust_src_dst_region_for_blitframebuffer

*   Disable KHR_blend_equation_advanced until cc shaders are updated:
(http://crbug.com/661715)
Applied Workarounds: disable(GL_KHR_blend_equation_advanced),
disable(GL_KHR_blend_equation_advanced_coherent)

*   Expose WebGL's disjoint_timer_query extensions on platforms with
site isolation:
(http://crbug.com/808744), (http://crbug.com/870491)
Applied Workarounds: enable_webgl_timer_query_extensions

*   Some drivers can't recover after OUT_OF_MEM and context lost:
(http://crbug.com/893177)
Applied Workarounds: exit_on_context_lost

*   Avoid waiting on a egl fence before swapping buffers and rely on
implicit sync on Intel GPUs:
(http://crbug.com/938286)
Applied Workarounds: rely_on_implicit_sync_for_swap_buffers

*   Disable GL_MESA_framebuffer_flip_y for desktop GL:
(http://crbug.com/964010)
Applied Workarounds: disable(GL_MESA_framebuffer_flip_y)

ANGLE Features
==
*   allowCompressedFormats (Frontend workarounds): Enabled
condition: true
Allow compressed formats

*   cacheCompiledShader (Frontend features) (http://anglebug.com/7036): Enabled
condition: true
Enable to cache compiled shaders

*   disableAnisotropicFiltering (Frontend workarounds): Disabled
Disable support for anisotropic filtering

*   disableDrawBuffersIndexed (Frontend features)
(http://anglebug.com/7724): Disabled
Disable support for OES_draw_buffers_indexed and EXT_draw_buffers_indexed

*   disableProgramBinary (Frontend features)
(http://anglebug.com/5007): Disabled
Disable support for GL_OES_get_program_binary

*   disableProgramCaching (Frontend features)
(http://anglebug.com/1423136): Disabled
Disables saving programs to the cache

*   disableProgramCachingForTransformFeedback (Frontend workarounds): Disabled
On some GPUs, program binaries don't contain transform feedback varyings

*   dumpShaderSource (Frontend features) (http://anglebug.com/7760): Disabled
Write shader source to temp directory

*   dumpTranslatedShaders (Frontend features)
(http://anglebug.com/8280): Disabled
Write translated shaders to temp directory

*   emulatePixelLocalStorage (Frontend features)
(http://anglebug.com/7279): Enabled
condition: true
Emulate ANGLE_shader_pixel_local_storage using shader images

*   enableCaptureLimits (Frontend features) (http://anglebug.com/5750): Disabled
Set the context limits like frame capturing was enabled

*   

Bug#1050677: chromium: VAAPI acceleration not working on Chromium 116

2023-08-27 Thread adnane
Package: chromium
Version: 116.0.5845.110-1~deb11u1
Severity: normal
X-Debbugs-Cc: adnane.tidghi...@gmail.com

Dear Maintainer,


   * What led up to the situation?
-Upgrading Chromium 115 to Chromium 116.

   * What exactly did you do (or not do) that was effective (or
 ineffective)?
-Tested that video acceleration is working with VLC (it works).
-The output of vainfo returns all functions supported by the driver (i915).
-Installed suggested packages chromium-driver and chromium-shell.
 
  * What was the outcome of this action?
-Concluding that video acceleration still working and proposing that the issue 
might be with Chromium.

   * What outcome did you expect instead?
-Working video acceleration in Chromium as it does in VLC and ffmpeg.


I wrote this bug report in the hope that it will be helpful to fix this minor 
bug (if it exists).


Best regards,



-- System Information:
Debian Release: 11.7
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 
'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-25-amd64 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_FR:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages chromium depends on:
ii  chromium-common116.0.5845.110-1~deb11u1
ii  libasound2 1.2.4-1.1
ii  libatk-bridge2.0-0 2.38.0-1
ii  libatk1.0-02.36.0-2
ii  libatomic1 10.2.1-6
ii  libatspi2.0-0  2.38.0-4+deb11u1
ii  libbrotli1 1.0.9-2+b2
ii  libc6  2.31-13+deb11u6
ii  libcairo2  1.16.0-5
ii  libcups2   2.3.3op2-3+deb11u2
ii  libdbus-1-31.12.24-0+deb11u1
ii  libdouble-conversion3  3.1.5-6.1
ii  libdrm22.4.104-1
ii  libevent-2.1-7 2.1.12-stable-1
ii  libexpat1  2.2.10-2+deb11u5
ii  libflac8   1.3.3-2+deb11u1
ii  libfontconfig1 2.13.1-4.2
ii  libfreetype6   2.10.4+dfsg-1+deb11u1
ii  libgbm120.3.5-1
ii  libgcc-s1  10.2.1-6
ii  libglib2.0-0   2.66.8-1
ii  libgtk-3-0 3.24.24-4+deb11u3
ii  libjpeg62-turbo1:2.0.6-4
ii  libjsoncpp24   1.9.4-4
ii  liblcms2-2 2.12~rc1-2
ii  libminizip11.1-8+b1
ii  libnspr4   2:4.29-1
ii  libnss32:3.61-1+deb11u3
ii  libopenjp2-7   2.4.0-3
ii  libopus0   1.3.1-0.1
ii  libpango-1.0-0 1.46.2-3
ii  libpng16-161.6.37-3
ii  libpulse0  14.2-2
ii  libsnappy1v5   1.1.8-1
ii  libstdc++6 10.2.1-6
ii  libwebp6   0.6.1-2.1+deb11u1
ii  libwebpdemux2  0.6.1-2.1+deb11u1
ii  libwebpmux30.6.1-2.1+deb11u1
ii  libwoff1   1.0.2-1+b1
ii  libx11-6   2:1.7.2-1+deb11u1
ii  libxcb11.14-3
ii  libxcomposite1 1:0.4.5-1
ii  libxdamage11:1.1.5-2
ii  libxext6   2:1.3.3-1.1
ii  libxfixes3 1:5.0.3-2
ii  libxkbcommon0  1.0.3-2
ii  libxml22.9.10+dfsg-6.7+deb11u4
ii  libxnvctrl0470.141.03-1~deb11u1
ii  libxrandr2 2:1.5.1-1
ii  libxslt1.1 1.1.34-4+deb11u1
ii  xdg-desktop-portal-gtk [xdg-desktop-portal-backen  1.8.0-1
ii  zlib1g 1:1.2.11.dfsg-2+deb11u2

Versions of packages chromium