On Sat, Jan 9, 2021 at 10:15 AM Jan Luca Naumann <j.naum...@fu-berlin.de> wrote: > > The reason I prefer at the moment the way to change the order in the > code is that there it is checked if the desktop implementation is an > allowed choice. I do not know what the behavior would be if this is not > a valid choice for some case but we use the command line flag. > > The patch still allows to use "--use-gl=" in > /etc/chromium.d/default-flags if people want to use something else for > their installation. >
Yesterday - with the help of karthek - I was able to play a bit with ANGLE libs VS. --use-gl=desktop and GPU hardware-acceleration. I was able to wath YouTube videos with GPU hardware-acceleration enabled - also for video-decoding. Here on my Intel SandyBridge GPU. Fór the fruits see post-scriptum. The strace log when running chromium showed me I can use /etc/chromium.d/default-flags for custom settings. I tried to put and activate my custom chromium settings in the user's ~/.config/chromium-flags.conf. That did not work. Did I miss something? - Sedat - [1] https://wiki.archlinux.org/index.php/chromium#Force_GPU_acceleration P.S.: My custom default-flags for chromium (as an example, adapt with attention) [ /etc/chromium.d/default-flags ] # A set of command line flags that we want to set by default. # Do not hide any extensions in the about:extensions dialog export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --show-component-extension-options" # Enable GPU rasterization. export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --enable-gpu-rasterization" # Don't display any warnings about not being the default browser export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --no-default-browser-check" # Disable pinging export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --disable-pings" # Disable the builtin media router (bug #833477) export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --media-router=0" # XXX: Do NOT use ANGLE libs when GPU hardware-acceleration is enabled # XXX: Comment below line to restore default usage of ANGLE libs export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --use-gl=desktop" # XXX: Enable GPU hardware-accelerated video decoding # Install: enhanced-h264ify chromium extension # enhanced-h264ify: # Advanced settings: Block all codecs except h264 # NOTE: Intel SandyBridge GPU does NOT support VP9 hw-accel but h264 # Link: https://chrome.google.com/webstore/detail/enhanced-h264ify/omkfmpieigblcllmkgbflkikinpkodlk # YouTube: # Open chrome://media-internals/ > Players > Copy all to clipboard # Check clipboard for: # info: Selected for video decoding: "MojoVideoDecoder" # config: codec: "h264" # NOTE: VpxVideoDecoder uses software-accelerated video decoding # XXX: Comment below line when you see issues with video decoding export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --enable-accelerated-video-decode" - EOT -