To check if it is working play a video which is using a codec supported by your VA-API driver ( vainfo tells you which codecs are supported, but Chromium will only support VP9 and h264): If VA-API still does not work on X11 and old GPUs, set the LIBVA_DRI3_DISABLE=1 environment variable.If VA-API still does not work, try the -enable-features=VaapiIgnoreDriverChecks or -disable-features=UseChromeOSDirectVideoDecoder flag.Setting this option might no longer be needed when using Chrome 112 and may break GPU acceleration when using AMD GPUs. To use the system GL renderer on Xorg or Wayland, use -use-gl=egl.As a workaround, configure VA-API manually. When using ANGLE, Chromium forces the older i965 driver and fails when intel-media-driver is used.This is enough when using ANGLE GL renderer and libva-intel-driver. Set the option -enable-features=VaapiVideoDecoder.For proprietary NVIDIA support, installing libva-vdpau-driver-chromium AUR or libva-vdpau-driver-vp9-git AUR is required. Install the correct VA-API driver for your video card and verify VA-API has been enabled and working correctly, see Hardware video acceleration.VA-API does not work with the chromium package when using the native Wayland backend, but it does work in chromium-wayland-vaapi AUR.However, chromium from official repositories is compiled with VA-API support and you may ask for help in the dedicated forum thread. There is no official support from Chromium or Arch Linux for this feature.~/.config/nf # This line will be ignored. (This is only supported by the Chromium launcher script and will not work when using Google Chrome.)īelow is an example nf file that defines the flags -start-maximized -incognito: Lines starting with a hash symbol (#) are skipped.Flags can be placed in separate lines for readability, but this is not required.In case of improper quoting anywhere in the file, a fatal error is raised.The arguments are split on whitespace and shell quoting rules apply, but no further parsing is performed.No special syntax is used flags are defined as if they were written in a terminal. You can put your flags in a nf file under $HOME/.config/ (or under $XDG_CONFIG_HOME if you have configured that environment variable) or /etc/ for global. For Google Chrome, use nf (or chrome- nf for the Dev and Beta channels) instead. This change adds retry logicĪnd was available with ChromeDriver v2.30 and with ChromeDriver v.51 this issue seems to be a regression.Note: The nf file and the accompanying custom launcher script are specific to the various Chromium packages. While exiting, causing wasted disk space. Occasionally ChromeDriver may fail to delete temporary directories This issue was addressed through this revision / commit: Adding some retries might be the easiest fix. Currently ChromeDriver doesn't retry the deletion. ChromeDriver waits for the main Chrome process to terminate before doing the deletion, but some Chrome child processes might still be running and holding on to those directories, causing the deletion to fail. ChromeDriver creates these temp directories for use by Chrome, and at the end ChromeDriver tries to delete those directories. This appears to be a race condition between ChromeDriver and Chrome. Hence shutil.rmtree() fails with WinError as the file is still accessed by some other process.Īlthough your program is at the end of the execution but as mentions: implies that some child still continues to access BrowserMetrics-62347334-8E820.pma.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |