intel / media-driver

Intel Graphics Media Driver to support hardware decode, encode and video processing.
https://github.com/intel/media-driver/wiki
Other
1.01k stars 346 forks source link

libva error: vaGetDriverNameByIndex() failed with unknown libva error,driver_name=(null) #1349

Closed WARUKUCHI closed 2 years ago

WARUKUCHI commented 2 years ago

Hi,

I'm getting this error on my Ubuntu20.04 (it's a KVM):

libva error: vaGetDriverNameByIndex() failed with unknown libva error,driver_name=(null)

Here is my configuration :

root@test-ssh:~# cat /proc/cpuinfo | grep "model name" | uniq
model name      : Intel Core Processor (Skylake, IBRS)

But media-driver can run successfully on the physical machine on which this KVM is built. Here is the physical machine configuration :

root@ubuntu-1:~# cat /proc/cpuinfo | grep "model name" | uniq
model name      : Intel(R) Core(TM) i7-8705G CPU @ 3.10GHz
root@ubuntu-1:~# lspci -nn|grep VGA
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Polaris 22 XL [Radeon RX Vega M GL] [1002:694e] (rev c0)

What can be done?

XinfengZhang commented 2 years ago

not intel card? it is AMD card , right? could you help to check the nodes under /dev/dri/ to find renderDxx then call vainfo --display=drm --device=/dev/dri/renderDxxx to check whether it work

WARUKUCHI commented 2 years ago

Yes, but I can successfully deploy Media-Driver on this physical machine of AMD card. This is the output information:

root@ubuntu-1:~# cat /proc/cpuinfo | grep "model name" | uniq
model name      : Intel(R) Core(TM) i7-8705G CPU @ 3.10GHz
root@ubuntu-1:~# lspci -nn|grep VGA
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Polaris 22 XL [Radeon RX Vega M GL] [1002:694e] (rev c0)
root@ubuntu-1:~# vainfo --display drm --device /dev/dri/renderD128
libva info: VA-API version 1.12.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_7
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.12 (libva 2.12.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 20.1.1 ()
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSliceLP
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSliceLP
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD

However, when I run Media-Driver in the KVM deployed on this physical machine, even if I achieved CPU pass-through, it still fails.This is the KVM output information:

root@test-ssh:~# export LIBVA_DRIVERS_PATH=/usr/lib/x86_64-linux-gnu/dri
root@test-ssh:~# export LIBVA_DRIVER_NAME=iHD
root@test-ssh:~# vainfo
libva info: VA-API version 1.12.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_12
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 2
vaInitialize failed with error code 2 (resource allocation failed),exit
root@test-ssh:~# cat /proc/cpuinfo | grep "model name" | uniq
model name        : Intel(R) Core(TM) i7-8705G CPU @ 3.10GHz
root@test-ssh:~# vainfo --display drm --device /dev/dri/renderD128
Failed to open the given device!
WARUKUCHI commented 2 years ago

I built a KVM and did pass-through to make it fit the requirements. Here is the configuration :

root@test-ssh:~# cat /proc/cpuinfo | grep "model name" | uniq
model name      : 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
root@test-ssh:~# lspci -nn|grep VGA
00:01.0 VGA compatible controller [0300]: Red Hat, Inc. QXL paravirtual graphic card [1b36:0100] (rev 04)
08:00.0 VGA compatible controller [0300]: Intel Corporation Device [8086:9a49] (rev 01)

But it still not work.

root@test-ssh:~# export LIBVA_DRIVERS_PATH=/usr/lib/x86_64-linux-gnu/dri
root@test-ssh:~# export LIBVA_DRIVER_NAME=iHD
root@test-ssh:~# vainfo
libva info: VA-API version 1.12.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_12
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 2
vaInitialize failed with error code 2 (resource allocation failed),exit
root@test-ssh:~# vainfo --display drm --device /dev/dri/renderD128
Failed to open the given device!

I suspect the /dev/dri has an impact

root@test-ssh:~# ls /dev/dri
ls: cannot access '/dev/dri': No such file or directory

Now, what can I do?

Xiaogangli-intel commented 2 years ago

Hi @WARUKUCHI, seems i915 was not loaded successfully in your environment. Could you try to load it manually, and get dmesg then?

XinfengZhang commented 2 years ago

just like Xiaogang said, we should check why there are no any device node under /dev/dri. if a gpu is installed correctly, it should have a node under /dev/dri. if the configuration is dual card (intel I-graphics and AMD D-graphics) there should be 2 device nodes (or 4, because there are also /dev/dri/devicexxx). so, I suppose the GPU is not enabled on your KVM.

zhenyw commented 2 years ago

Make sure to check VM kernel version. For TGL, kernel 5.4 needs to apply i915.force_probe=*. And recommend to use newer stable kernel like 5.10 in guest.

WARUKUCHI commented 2 years ago

Thanks for advice, now I build a new KVM. Here is the configuration :

(venv) root@admin:/opt# uname -a
Linux admin 5.14.0-1045-oem #51-Ubuntu SMP Mon Jul 4 06:41:22 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
(venv) root@admin:/opt# cat /proc/cpuinfo | grep "model name" | uniq
model name    : Intel Xeon Processor (Skylake, IBRS)
(venv) root@admin:/opt# lspci -nn|grep VGA
00:02.0 VGA compatible controller [0300]: Cirrus Logic GD 5446 [1013:00b8]
00:08.0 VGA compatible controller [0300]: Intel Corporation Device [8086:9a49] (rev 01)
(venv) root@admin:/opt# free -m
              total        used        free      shared  buff/cache   available
Mem:          12021         783       10179          10        1058       10973
Swap:          2047           0        2047

Also get the device:

(venv) root@admin:/opt# ls /dev/dri
by-path  card0  card1  renderD128

Also fail again:

(venv) root@admin:/opt# vainfo --display drm --device /dev/dri/renderD128 
libva info: VA-API version 1.12.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_12
Segmentation fault (core dumped)
(venv) root@admin:/opt/Intel-MSDK-Ubuntu20-04-Installer/MediaSDK-intel-mediasdk-21.2.3/build/__bin/release# export LIBVA_DRIVERS_PATH=/usr/lib/x86_64-linux-gnu/dri
(venv) root@admin:/opt/Intel-MSDK-Ubuntu20-04-Installer/MediaSDK-intel-mediasdk-21.2.3/build/__bin/release# export LIBVA_DRIVER_NAME=iHD
(venv) root@admin:/opt/Intel-MSDK-Ubuntu20-04-Installer/MediaSDK-intel-mediasdk-21.2.3/build/__bin/release# ./sample_decode h264 -i /root/1.264 -o /root/2.yuv
libva info: VA-API version 1.12.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_12
Segmentation fault (core dumped)

This error points to RAM, but it is still the case after I expend the memory. I also found several possible reasons for “Segmentation fault ”: Such as dereferencing null pointers; Access inaccessible memory space (such as kernel space); Access non-existent memory address. In reference .so file, these kinds of practices are easy to lead to segment errors, which are basically caused by the introduction of wrong parameters to the C program. But it can run successfully on the physical machine.

XinfengZhang commented 2 years ago

dumb question, why not use gdb to check the backtrace of the segmentation failed?

WARUKUCHI commented 2 years ago

Thank you for your help. The problem has been solved.

andresantacruz commented 2 years ago

Thank you for your help. The problem has been solved.

What did you do to solve the problem? I'm facing the same problem when launching an app.

XinfengZhang commented 2 years ago

Thank you for your help. The problem has been solved.

What did you do to solve the problem? I'm facing the same problem when launching an app.

what kind of problem, also has multiple display card?

impietrito commented 2 years ago

Hi, I'm running on Ubuntu 22.04 and I have this same issue when I try to run any applications that is not on Ubuntu at the installation. So, for example, I have this issue if I try to run Google Chrome that I've downloaded from the official website, but I don't have if I try to run Firefox, which is on Ubuntu by default, even if I delete and the install Firefox again. I'm not an expert on the field but I'll try to explain myself as best as I can. Let's take Google Chrome as an example: if I try to open Google Chrome by clicking on the icon in the Applications Menu, the application opens but the window does not. If I hoover on the application's icon with the mouse, it tells me that there's a window opened, but the window does not show up.

If I try to run Google Chrome from command line, I get the same result and this output:

libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) [7349:7349:1027/143428.736865:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!

If I try to open the window again:

[7349:7349:1027/143452.480636:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!

If I try to run it as a root user, I get this error:

[7644:7644:1027/143959.715598:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.

I hope I've been clear enough and thanks for your help.

sydneyshaw300 commented 2 years ago

Hi, I'm running on Ubuntu 22.04 and I have this same issue when I try to run any applications that is not on Ubuntu at the installation. So, for example, I have this issue if I try to run Google Chrome that I've downloaded from the official website, but I don't have if I try to run Firefox, which is on Ubuntu by default, even if I delete and the install Firefox again. I'm not an expert on the field but I'll try to explain myself as best as I can. Let's take Google Chrome as an example: if I try to open Google Chrome by clicking on the icon in the Applications Menu, the application opens but the window does not. If I hoover on the application's icon with the mouse, it tells me that there's a window opened, but the window does not show up.

If I try to run Google Chrome from command line, I get the same result and this output:

libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) [7349:7349:1027/143428.736865:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!

If I try to open the window again:

[7349:7349:1027/143452.480636:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!

If I try to run it as a root user, I get this error:

[7644:7644:1027/143959.715598:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.

I hope I've been clear enough and thanks for your help.

I'm having the same issue, well kinda of. I get the same message when I try to play a movie in starplus, but if play HBOmax, youtube or whatever it's evertyhing ok. I don't know what it is.

XinfengZhang commented 2 years ago

@sydneyshaw300 @impietrito , please provide more information, such as platform, graphics card, nodes under /dev/dri etc.

freakynl commented 2 years ago

Trying to get HEVC support working under Chrome. Last attempt was on 109.0.5384.0 (similar issues on earlier versions)

chrome://gpu shows video decoding is hardware accelerated, however the list with codecs further down is empty. Screen remains black. Works on 107 version on Windows now.

Running gentoo linux. Kernel 6.0.5-gentoo + x11-drivers/nvidia-drivers-520.56.06

ls /dev/dri/

by-path card0 card1 renderD128 renderD129

google-chrome-unstable --user-data-dir=/tmp/mehh --enable-features=PlatformHEVCDecoderSupport

libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) [448921:448921:1101/140349.874266:ERROR:gl_angle_util_vulkan.cc(189)] Failed to retrieve vkGetInstanceProcAddr [448921:448921:1101/140349.874323:ERROR:vulkan_instance.cc(91)] Failed to get vkGetInstanceProcAddr pointer from ANGLE. Warning: loader_scanned_icd_add: Could not get 'vkCreateInstance' via 'vk_icdGetInstanceProcAddr' for ICD libGLX_nvidia.so.0 Error: eglChooseConfig returned zero configs at Create (../../third_party/dawn/src/dawn/native/opengl/ContextEGL.cpp:53)

[448921:448921:1101/140354.360236:ERROR:gl_display.cc(508)] EGL Driver message (Error) eglCreateContext: Unknown attribute: 0x31b2X Error: eglCreateContext failed with EGL_BAD_ATTRIBUTE at CheckEGL (../../third_party/dawn/src/dawn/native/opengl/UtilsEGL.cpp:71) at Create (../../third_party/dawn/src/dawn/native/opengl/ContextEGL.cpp:81)

[448921:448921:1101/140358.285083:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times! [448921:448921:1101/140403.957416:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times! [448921:448921:1101/140405.709120:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!

vainfo

Trying display: wayland libva info: VA-API version 1.16.0 libva info: Trying to open /usr/lib64/va/drivers/iHD_drv_video.so libva info: Found init function __vaDriverInit_1_16 libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.16 (libva 2.16.0) vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 22.5.4 () vainfo: Supported profile and entrypoints VAProfileNone : VAEntrypointVideoProc VAProfileNone : VAEntrypointStats VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Simple : VAEntrypointEncSlice VAProfileMPEG2Main : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointEncSlice VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSlice VAProfileH264Main : VAEntrypointFEI VAProfileH264Main : VAEntrypointEncSliceLP VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSlice VAProfileH264High : VAEntrypointFEI VAProfileH264High : VAEntrypointEncSliceLP VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD VAProfileJPEGBaseline : VAEntrypointVLD VAProfileJPEGBaseline : VAEntrypointEncPicture VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice VAProfileH264ConstrainedBaseline: VAEntrypointFEI VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP VAProfileVP8Version0_3 : VAEntrypointVLD VAProfileHEVCMain : VAEntrypointVLD VAProfileHEVCMain : VAEntrypointEncSlice VAProfileHEVCMain : VAEntrypointFEI VAProfileHEVCMain : VAEntrypointEncSliceLP VAProfileHEVCMain10 : VAEntrypointVLD VAProfileHEVCMain10 : VAEntrypointEncSlice VAProfileHEVCMain10 : VAEntrypointEncSliceLP VAProfileVP9Profile0 : VAEntrypointVLD VAProfileVP9Profile1 : VAEntrypointVLD VAProfileVP9Profile2 : VAEntrypointVLD VAProfileVP9Profile3 : VAEntrypointVLD VAProfileHEVCMain12 : VAEntrypointVLD VAProfileHEVCMain12 : VAEntrypointEncSlice VAProfileHEVCMain422_10 : VAEntrypointVLD VAProfileHEVCMain422_10 : VAEntrypointEncSlice VAProfileHEVCMain422_12 : VAEntrypointVLD VAProfileHEVCMain422_12 : VAEntrypointEncSlice VAProfileHEVCMain444 : VAEntrypointVLD VAProfileHEVCMain444 : VAEntrypointEncSliceLP VAProfileHEVCMain444_10 : VAEntrypointVLD VAProfileHEVCMain444_10 : VAEntrypointEncSliceLP VAProfileHEVCMain444_12 : VAEntrypointVLD VAProfileHEVCSccMain : VAEntrypointVLD VAProfileHEVCSccMain : VAEntrypointEncSliceLP VAProfileHEVCSccMain10 : VAEntrypointVLD VAProfileHEVCSccMain10 : VAEntrypointEncSliceLP VAProfileHEVCSccMain444 : VAEntrypointVLD VAProfileHEVCSccMain444 : VAEntrypointEncSliceLP VAProfileAV1Profile0 : VAEntrypointVLD VAProfileHEVCSccMain444_10 : VAEntrypointVLD VAProfileHEVCSccMain444_10 : VAEntrypointEncSliceLP

qlist -Iv intel xorg wayland kde

dev-libs/plasma-wayland-protocols-1.9.0 dev-libs/wayland-1.21.0 dev-libs/wayland-protocols-1.27 dev-qt/qtwayland-5.15.5-r1 dev-qt/qtwaylandscanner-5.15.5 dev-util/wayland-scanner-1.21.0 gui-libs/egl-wayland-1.1.11-r1 kde-apps/ark-22.08.2 kde-apps/audiocd-kio-22.08.2 kde-apps/baloo-widgets-22.08.2 kde-apps/bomber-22.08.2 kde-apps/bovo-22.08.2 kde-apps/dolphin-22.08.2 kde-apps/dragon-22.08.2 kde-apps/ffmpegthumbs-22.08.2 kde-apps/filelight-22.08.2 kde-apps/granatier-22.08.2 kde-apps/gwenview-22.08.2 kde-apps/juk-22.08.2 kde-apps/k3b-22.08.2 kde-apps/kaccounts-integration-22.08.2 kde-apps/kaccounts-providers-22.08.2 kde-apps/kamera-22.08.2 kde-apps/kapman-22.08.2 kde-apps/kate-22.08.2 kde-apps/kate-addons-22.08.2 kde-apps/kate-lib-22.08.2 kde-apps/katomic-22.08.2 kde-apps/kbackup-22.08.2 kde-apps/kblackbox-22.08.2 kde-apps/kblocks-22.08.2 kde-apps/kbounce-22.08.2 kde-apps/kbreakout-22.08.2 kde-apps/kcalc-22.08.2 kde-apps/kcharselect-22.08.2 kde-apps/kcolorchooser-22.08.2 kde-apps/kcron-22.08.2 kde-apps/kdeadmin-meta-22.08.2 kde-apps/kdebugsettings-22.08.2 kde-apps/kdecore-meta-22.08.2 kde-apps/kdegames-meta-22.08.2 kde-apps/kdegraphics-meta-22.08.2 kde-apps/kdegraphics-mobipocket-22.08.2 kde-apps/kdemultimedia-meta-22.08.2 kde-apps/kdenetwork-meta-22.08.2 kde-apps/kdenlive-22.08.2 kde-apps/kdeutils-meta-22.08.2 kde-apps/kdf-22.08.2 kde-apps/kdialog-22.08.2 kde-apps/kdiamond-22.08.2 kde-apps/keditbookmarks-22.08.2 kde-apps/kfind-22.08.2 kde-apps/kfourinline-22.08.2 kde-apps/kget-22.08.2 kde-apps/kgoldrunner-22.08.2 kde-apps/khelpcenter-22.08.2 kde-apps/kidentitymanagement-22.08.2 kde-apps/kigo-22.08.2 kde-apps/killbots-22.08.2 kde-apps/kimagemapeditor-22.08.2 kde-apps/kio-extras-22.08.2 kde-apps/kiriki-22.08.2 kde-apps/kjumpingcube-22.08.2 kde-apps/klickety-22.08.2 kde-apps/klines-22.08.2 kde-apps/kmahjongg-22.08.2 kde-apps/kmines-22.08.2 kde-apps/kmix-22.08.2 kde-apps/knavalbattle-22.08.2 kde-apps/knetwalk-22.08.2 kde-apps/knights-22.08.2 kde-apps/kolf-22.08.2 kde-apps/kollision-22.08.2 kde-apps/kolourpaint-22.08.2 kde-apps/konquest-22.08.2 kde-apps/konsole-22.08.2 kde-apps/kopete-22.08.2 kde-apps/kpat-22.08.2 kde-apps/kpimtextedit-22.08.2 kde-apps/krdc-22.08.2 kde-apps/kreversi-22.08.2 kde-apps/krfb-22.08.2 kde-apps/kruler-22.08.2 kde-apps/kshisen-22.08.2 kde-apps/ksirk-22.08.2 kde-apps/ksnakeduel-22.08.2 kde-apps/kspaceduel-22.08.2 kde-apps/ksquares-22.08.2 kde-apps/ksudoku-22.08.2 kde-apps/ksystemlog-22.08.2 kde-apps/kteatime-22.08.2 kde-apps/ktimer-22.08.2 kde-apps/ktuberling-22.08.2 kde-apps/kubrick-22.08.2 kde-apps/kwalletmanager-22.08.2 kde-apps/kwave-22.08.2 kde-apps/kwrite-22.08.2 kde-apps/libkcddb-22.08.2 kde-apps/libkcompactdisc-22.08.2 kde-apps/libkdcraw-22.08.2 kde-apps/libkdegames-22.08.2 kde-apps/libkexiv2-22.08.2 kde-apps/libkgapi-22.08.2 kde-apps/libkleo-22.08.2 kde-apps/libkmahjongg-22.08.2 kde-apps/lskat-22.08.2 kde-apps/okular-22.08.2 kde-apps/palapeli-22.08.2 kde-apps/picmi-22.08.2 kde-apps/print-manager-22.08.2 kde-apps/spectacle-22.08.2 kde-apps/svgpart-22.08.2 kde-apps/sweeper-22.08.2 kde-apps/thumbnailers-22.08.2 kde-apps/yakuake-22.08.2 kde-frameworks/attica-5.99.0 kde-frameworks/baloo-5.99.0 kde-frameworks/bluez-qt-5.99.0 kde-frameworks/breeze-icons-5.99.0 kde-frameworks/countryflags-5.99.0 kde-frameworks/extra-cmake-modules-5.99.0 kde-frameworks/frameworkintegration-5.99.0 kde-frameworks/kactivities-5.99.0 kde-frameworks/kactivities-stats-5.99.0 kde-frameworks/karchive-5.99.0 kde-frameworks/kauth-5.99.0 kde-frameworks/kbookmarks-5.99.0 kde-frameworks/kcalendarcore-5.99.0 kde-frameworks/kcmutils-5.99.0 kde-frameworks/kcodecs-5.99.0 kde-frameworks/kcompletion-5.99.0 kde-frameworks/kconfig-5.99.0 kde-frameworks/kconfigwidgets-5.99.0 kde-frameworks/kcontacts-5.99.0 kde-frameworks/kcoreaddons-5.99.0 kde-frameworks/kcrash-5.99.0 kde-frameworks/kdbusaddons-5.99.0 kde-frameworks/kdeclarative-5.99.0 kde-frameworks/kded-5.99.0 kde-frameworks/kdelibs4support-5.99.0 kde-frameworks/kdnssd-5.99.0 kde-frameworks/kdoctools-5.99.0 kde-frameworks/kemoticons-5.99.0 kde-frameworks/kf-env-5 kde-frameworks/kfilemetadata-5.99.0 kde-frameworks/kglobalaccel-5.99.0 kde-frameworks/kguiaddons-5.99.0 kde-frameworks/kholidays-5.99.0 kde-frameworks/khtml-5.99.0 kde-frameworks/ki18n-5.99.0 kde-frameworks/kiconthemes-5.99.0 kde-frameworks/kidletime-5.99.0 kde-frameworks/kimageformats-5.99.0-r3 kde-frameworks/kinit-5.99.0 kde-frameworks/kio-5.99.0 kde-frameworks/kirigami-5.99.0 kde-frameworks/kitemmodels-5.99.0 kde-frameworks/kitemviews-5.99.0 kde-frameworks/kjobwidgets-5.99.0 kde-frameworks/kjs-5.99.0 kde-frameworks/knewstuff-5.99.0 kde-frameworks/knotifications-5.99.0 kde-frameworks/knotifyconfig-5.99.0 kde-frameworks/kpackage-5.99.0 kde-frameworks/kparts-5.99.0 kde-frameworks/kpeople-5.99.0 kde-frameworks/kplotting-5.99.0 kde-frameworks/kpty-5.99.0 kde-frameworks/kquickcharts-5.99.0 kde-frameworks/krunner-5.99.0 kde-frameworks/kservice-5.99.0 kde-frameworks/ktexteditor-5.99.0 kde-frameworks/ktextwidgets-5.99.0 kde-frameworks/kunitconversion-5.99.0 kde-frameworks/kwallet-5.99.0 kde-frameworks/kwayland-5.99.0 kde-frameworks/kwidgetsaddons-5.99.0 kde-frameworks/kwindowsystem-5.99.0 kde-frameworks/kxmlgui-5.99.0 kde-frameworks/networkmanager-qt-5.99.0 kde-frameworks/plasma-5.99.0 kde-frameworks/prison-5.99.0 kde-frameworks/purpose-5.99.0 kde-frameworks/qqc2-desktop-style-5.99.0 kde-frameworks/solid-5.99.0 kde-frameworks/sonnet-5.99.0 kde-frameworks/syntax-highlighting-5.99.0 kde-frameworks/threadweaver-5.99.0 kde-misc/kdeconnect-22.08.2 kde-misc/kio-fuse-5.0.1_p20220906 kde-misc/kio-gdrive-22.08.2 kde-misc/markdownpart-22.08.2 kde-plasma/bluedevil-5.26.2 kde-plasma/breeze-5.26.2 kde-plasma/breeze-gtk-5.26.2 kde-plasma/discover-5.26.2 kde-plasma/drkonqi-5.26.2 kde-plasma/kactivitymanagerd-5.26.2 kde-plasma/kde-cli-tools-5.26.2 kde-plasma/kde-gtk-config-5.26.2 kde-plasma/kdecoration-5.26.2 kde-plasma/kdeplasma-addons-5.26.2 kde-plasma/kgamma-5.26.2 kde-plasma/khotkeys-5.26.2 kde-plasma/kinfocenter-5.26.2 kde-plasma/kmenuedit-5.26.2 kde-plasma/kpipewire-5.26.2 kde-plasma/kscreen-5.26.2 kde-plasma/kscreenlocker-5.26.2 kde-plasma/ksshaskpass-5.26.2 kde-plasma/ksystemstats-5.26.2 kde-plasma/kwallet-pam-5.26.2 kde-plasma/kwayland-integration-5.26.2 kde-plasma/kwin-5.26.2.1-r1 kde-plasma/kwrited-5.26.2 kde-plasma/layer-shell-qt-5.26.2 kde-plasma/libkscreen-5.26.2 kde-plasma/libksysguard-5.26.2 kde-plasma/libkworkspace-5.26.2 kde-plasma/milou-5.26.2 kde-plasma/oxygen-5.26.2 kde-plasma/oxygen-sounds-5.26.2 kde-plasma/plasma-browser-integration-5.26.2 kde-plasma/plasma-desktop-5.26.2 kde-plasma/plasma-disks-5.26.2 kde-plasma/plasma-firewall-5.26.2 kde-plasma/plasma-integration-5.26.2 kde-plasma/plasma-meta-5.26.2 kde-plasma/plasma-nm-5.26.2 kde-plasma/plasma-pa-5.26.2 kde-plasma/plasma-systemmonitor-5.26.2 kde-plasma/plasma-vault-5.26.2 kde-plasma/plasma-workspace-5.26.2 kde-plasma/plasma-workspace-wallpapers-5.26.2 kde-plasma/polkit-kde-agent-5.26.2 kde-plasma/powerdevil-5.26.2 kde-plasma/sddm-kcm-5.26.2 kde-plasma/systemsettings-5.26.2 kde-plasma/xdg-desktop-portal-kde-5.26.2 kde-plasma/xembed-sni-proxy-5.26.2 media-libs/libva-intel-media-driver-22.5.4 sys-libs/libblockdev-2.28 sys-power/intel-undervolt-1.7-r1 x11-base/xorg-drivers-21.1-r1 x11-base/xorg-proto-2022.2 x11-base/xorg-server-21.1.4 x11-base/xwayland-22.1.4

chrome://gpu

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 Video Decode: Hardware accelerated Video Encode: Software only. Hardware acceleration disabled Vulkan: Disabled 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 Clear uniforms before first program use on all platforms: 124764, 349137 Applied Workarounds: clear_uniforms_before_first_program_use Mesa drivers in Linux handle varyings without static use incorrectly: 333885 Applied Workarounds: count_all_in_varyings_packing Disable partial swaps on Mesa drivers (detected with GL_RENDERER): 339493 Applied Workarounds: disable_post_sub_buffers_for_onscreen_surfaces On Intel GPUs MSAA performance is not acceptable for GPU rasterization: 527565, 1298585 Applied Workarounds: msaa_is_slow Disable partial swaps on Mesa drivers (detected with GL_VERSION): 339493 Applied Workarounds: disable_post_sub_buffers_for_onscreen_surfaces adjust src/dst region if blitting pixels outside framebuffer on Linux Intel: 664740 Applied Workarounds: adjust_src_dst_region_for_blitframebuffer Disable KHR_blend_equation_advanced until cc shaders are updated: 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: 808744, 870491 Applied Workarounds: enable_webgl_timer_query_extensions Some drivers can't recover after OUT_OF_MEM and context lost: 893177 Applied Workarounds: exit_on_context_lost Avoid waiting on a egl fence before swapping buffers and rely on implicit sync on Intel GPUs: 938286 Applied Workarounds: rely_on_implicit_sync_for_swap_buffers Disable GL_MESA_framebuffer_flip_y for desktop GL: 964010 Applied Workarounds: disable(GL_MESA_framebuffer_flip_y) ANGLE Features allowCompressedFormats (Frontend workarounds): Enabled: true Allow compressed formats cacheCompiledShader (Frontend features) anglebug:7036: Disabled Enable to cache compiled shaders disableAnisotropicFiltering (Frontend workarounds): Disabled Disable support for anisotropic filtering disableDrawBuffersIndexed (Frontend features) anglebug:7724: Disabled Disable support for OES_draw_buffers_indexed and EXT_draw_buffers_indexed disableProgramBinary (Frontend features) anglebug:5007: Disabled: IsPowerVrRogue(functions) Disable support for GL_OES_get_program_binary disableProgramCachingForTransformFeedback (Frontend workarounds): Disabled: IsAndroid() && isQualcomm On some GPUs, program binaries don't contain transform feedback varyings emulatePixelLocalStorage (Frontend features) anglebug:7279: Disabled: false Emulate ANGLE_shader_pixel_local_storage using shader images enableCaptureLimits (Frontend features) anglebug:5750: Disabled Set the context limits like frame capturing was enabled enableCompressingPipelineCacheInThreadPool (Frontend workarounds) anglebug:4722: Disabled: false Enable compressing pipeline cache in thread pool. enableProgramBinaryForCapture (Frontend features) anglebug:5658: Disabled Even if FrameCapture is enabled, enable GL_OES_get_program_binary forceDepthAttachmentInitOnClear (Frontend workarounds) anglebug:7246: Disabled Force depth attachment initialization on clear ops forceGlErrorChecking (Frontend features) https://issuetracker.google.com/220069903: Disabled Force GL error checking (i.e. prevent applications from disabling error checking forceInitShaderVariables (Frontend features): Disabled Force-enable shader variable initialization forceRobustResourceInit (Frontend features) anglebug:6041: Disabled Force-enable robust resource init loseContextOnOutOfMemory (Frontend workarounds): Enabled: true Some users rely on a lost context notification if a GL_OUT_OF_MEMORY error occurs scalarizeVecAndMatConstructorArgs (Frontend workarounds) 1165751: Disabled: false Always rewrite vec/mat constructors to be consistent singleThreadedTextureDecompression (Frontend workarounds): Disabled Disables multi-threaded decompression of compressed texture formats RGBA4IsNotSupportedForColorRendering (OpenGL workarounds): Enabled: functions->standard == STANDARD_GL_DESKTOP && isIntel GL_RGBA4 is not color renderable RGBDXT1TexturesSampleZeroAlpha (OpenGL workarounds) anglebug:3729: Disabled: IsApple() Sampling BLACK texels from RGB DXT1 textures returns transparent black on Mac. addAndTrueToLoopCondition (OpenGL workarounds): Disabled: IsApple() && isIntel Calculation of loop conditions in for and while loop has bug adjustSrcDstRegionForBlitFramebuffer (OpenGL workarounds) 830046: Enabled: IsLinux() || (IsAndroid() && isNvidia) || (IsWindows() && isNvidia) || (IsApple() && functions->standard == STANDARD_GL_ES) Many platforms have issues with blitFramebuffer when the parameters are large. allowAstcFormats (OpenGL workarounds): Enabled: !isMesa || isIntel && (Is9thGenIntel(device) || IsGeminiLake(device) || IsCoffeeLake(device) || Is11thGenIntel(device) || Is12thGenIntel(device)) Enable ASTC on desktop OpenGL allowClearForRobustResourceInit (OpenGL workarounds) 848952: Disabled: IsApple() Using glClear for robust resource initialization is buggy on some drivers and leads to texture corruption. Default to data uploads except on MacOS where it is very slow. allowETCFormats (OpenGL workarounds): Enabled: isIntel && !IsSandyBridge(device) && !IsIvyBridge(device) && !IsHaswell(device) Enable ETC2/EAC on desktop OpenGL alwaysCallUseProgramAfterLink (OpenGL workarounds) 110263: Enabled: true Always call useProgram after a successful link to avoid a driver bug alwaysUnbindFramebufferTexture2D (OpenGL workarounds) anglebug:5536: Disabled: isNvidia && (IsWindows() || IsLinux()) Force unbind framebufferTexture2D before binding renderbuffer to work around driver bug. avoid1BitAlphaTextureFormats (OpenGL workarounds): Disabled: functions->standard == STANDARD_GL_DESKTOP && isAMD Issue with 1-bit alpha framebuffer formats bindTransformFeedbackBufferBeforeBindBufferRange (OpenGL workarounds) anglebug:5140: Disabled: IsApple() Bind transform feedback buffers to the generic binding point before calling glBindBufferBase or glBindBufferRange. clampArrayAccess (OpenGL workarounds) anglebug:2978: Disabled: IsAndroid() || isAMD || !functions->hasExtension("GL_KHR_robust_buffer_access_behavior") Clamp uniform array access to avoid reading invalid memory. clampFragDepth (OpenGL workarounds): Disabled: isNvidia gl_FragDepth is not clamped correctly when rendering to a floating point depth buffer clampMscRate (OpenGL workarounds) 1042393: Enabled: IsLinux() && IsWayland() Some drivers return bogus values for GetMscRate, so we clamp it to 30Hz clampPointSize (OpenGL workarounds): Disabled: IsAndroid() || isNvidia The point size range reported from the API is inconsistent with the actual behavior clearToZeroOrOneBroken (OpenGL workarounds) 710443: Disabled: IsApple() && isIntel && GetMacOSVersion() < OSVersion(10, 12, 6) Clears when the clear color is all zeros or ones do not work. clipSrcRegionForBlitFramebuffer (OpenGL workarounds) 830046: Disabled: IsApple() || (IsLinux() && isAMD) Issues with blitFramebuffer when the parameters don't match the framebuffer size. decodeEncodeSRGBForGenerateMipmap (OpenGL workarounds) anglebug:4646: Disabled: IsApple() Decode and encode before generateMipmap for srgb format textures. disableBlendFuncExtended (OpenGL workarounds) anglebug:1085: Enabled: isAMD || isIntel ARB_blend_func_extended does not pass the tests disableClipCullDistance (OpenGL workarounds) anglebug:7763: Disabled: isQualcomm Shader compiler does not handle redeclared built-ins. disableDrawBuffersIndexed (OpenGL workarounds): Disabled: IsWindows() && isAMD Disable OES_draw_buffers_indexed extension. disableGPUSwitchingSupport (OpenGL workarounds) 1091824: Disabled: isDualGPUMacWithNVIDIA Disable GPU switching support (use only the low-power GPU) on older MacBook Pros. disableMultisampledRenderToTexture (OpenGL workarounds) anglebug:2894: Disabled: isAdreno4xxOnAndroidLessThan51 || isAdreno4xxOnAndroid70 || isAdreno5xxOnAndroidLessThan70 || isAdreno5xxOnAndroid71 || isLinuxVivante Many drivers have bugs when using GL_EXT_multisampled_render_to_texture disableNativeParallelCompile (OpenGL workarounds) 1094869: Disabled: isTSANBuild && IsLinux() && isNvidia Do not use native KHR_parallel_shader_compile even when available. disableSemaphoreFd (OpenGL workarounds) 1046462: Disabled: IsLinux() && isAMD && isMesa && mesaVersion < (std::array<int, 3>{19, 3, 5}) Disable GL_EXT_semaphore_fd extension disableSyncControlSupport (OpenGL workarounds) 1137851: Disabled: IsLinux() && isIntel && isMesa && mesaVersion[0] == 20 Speculative fix for issues on Linux/Wayland where exposing GLX_OML_sync_control renders Chrome unusable disableTextureClampToBorder (OpenGL workarounds) anglebug:7405: Disabled: isImagination Imagination devices generate INVALID_ENUM when setting the texture border color. disableTimestampQueries (OpenGL workarounds) 811661: Disabled: (IsLinux() && isVMWare) || (IsAndroid() && isNvidia) || (IsAndroid() && GetAndroidSdkLevel() < 27 && IsAdreno5xxOrOlder(functions)) || (IsAndroid() && IsMaliT8xxOrOlder(functions)) || (IsAndroid() && IsMaliG31OrOlder(functions)) Disable GL_EXT_disjoint_timer_query extension disableWorkerContexts (OpenGL workarounds) 849576: Disabled: (IsWindows() && (isIntel || isAMD)) || (IsLinux() && isNvidia) || IsIOS() || IsAndroid() || IsAndroidEmulator(functions) Some tests have been seen to fail using worker contexts doWhileGLSLCausesGPUHang (OpenGL workarounds) 644669: Disabled: IsApple() && functions->standard == STANDARD_GL_DESKTOP && GetMacOSVersion() < OSVersion(10, 11, 0) Some GLSL constructs involving do-while loops cause GPU hangs doesSRGBClearsOnLinearFramebufferAttachments (OpenGL workarounds): Enabled: isIntel || isAMD Issue clearing framebuffers with linear attachments when GL_FRAMEBUFFER_SRGB is enabled dontInitializeUninitializedLocals (OpenGL workarounds) anglebug:2046: Disabled: IsAndroid() && isQualcomm Initializing uninitialized locals caused odd behavior in a few WebGL 2 tests dontRelinkProgramsInParallel (OpenGL workarounds) anglebug:3045: Disabled: IsAndroid() || (IsWindows() && isIntel) Relinking a program in parallel is buggy dontUseLoopsToInitializeVariables (OpenGL workarounds) 809422: Disabled: (IsAndroid() && isQualcomm) || (isIntel && IsApple()) For loops used to initialize variables hit native GLSL compiler bugs emulateAbsIntFunction (OpenGL workarounds) 642227: Disabled: IsApple() && isIntel abs(i) where i is an integer returns unexpected result emulateAtan2Float (OpenGL workarounds) 672380: Disabled: isNvidia atan(y, x) may return a wrong answer emulateCopyTexImage2D (OpenGL workarounds): Disabled: isApple Replace CopyTexImage2D with TexImage2D + CopyTexSubImage2D. emulateCopyTexImage2DFromRenderbuffers (OpenGL workarounds) anglebug:4674: Disabled: IsApple() && functions->standard == STANDARD_GL_ES && !(isAMD && IsWindows()) CopyTexImage2D spuriously returns errors on iOS when copying from renderbuffers. emulateImmutableCompressedTexture3D (OpenGL workarounds) 1060012: Disabled: isQualcomm Use non-immutable texture allocation to work around a driver bug. emulateIsnanFloat (OpenGL workarounds) 650547: Disabled: isIntel && IsApple() && IsSkylake(device) && GetMacOSVersion() < OSVersion(10, 13, 2) Using isnan() on highp float will get wrong answer emulateMaxVertexAttribStride (OpenGL workarounds) anglebug:1936: Disabled: IsLinux() && functions->standard == STANDARD_GL_DESKTOP && isAMD Some drivers return 0 when MAX_VERTEX_ATTRIB_STRIED queried emulatePackSkipRowsAndPackSkipPixels (OpenGL workarounds) anglebug:4849: Disabled: IsApple() GL_PACK_SKIP_ROWS and GL_PACK_SKIP_PIXELS are ignored in Apple's OpenGL driver. emulatePrimitiveRestartFixedIndex (OpenGL workarounds) anglebug:3997: Disabled: functions->standard == STANDARD_GL_DESKTOP && functions->isAtLeastGL(gl::Version(3, 1)) && !functions->isAtLeastGL(gl::Version(4, 3)) When GL_PRIMITIVE_RESTART_FIXED_INDEX is not available, emulate it with GL_PRIMITIVE_RESTART and glPrimitiveRestartIndex. emulateRGB10 (OpenGL workarounds) 1300575: Enabled: functions->standard == STANDARD_GL_DESKTOP Emulate RGB10 support using RGB10_A2. finishDoesNotCauseQueriesToBeAvailable (OpenGL workarounds): Disabled: functions->standard == STANDARD_GL_DESKTOP && isNvidia glFinish doesn't cause all queries to report available result flushBeforeDeleteTextureIfCopiedTo (OpenGL workarounds) anglebug:4267: Disabled: IsApple() && isIntel Some drivers track CopyTex{Sub}Image texture dependencies incorrectly. Flush before glDeleteTextures in this case flushOnFramebufferChange (OpenGL workarounds) 1181068: Disabled: IsApple() && Has9thGenIntelGPU(systemInfo) Switching framebuffers without a flush can lead to crashes on Intel 9th Generation GPU Macs. initFragmentOutputVariables (OpenGL workarounds) 1171371: Disabled: IsAdreno42xOr3xx(functions) No init gl_FragColor causes context lost initializeCurrentVertexAttributes (OpenGL workarounds): Disabled: isNvidia During initialization, assign the current vertex attributes to the spec-mandated defaults keepBufferShadowCopy (OpenGL workarounds): Disabled: !CanMapBufferForRead(functions) Maintain a shadow copy of buffer data when the GL API does not permit reading data back. limitMax3dArrayTextureSizeTo1024 (OpenGL workarounds) 927470: Disabled: limitMaxTextureSize Limit max 3d texture size and max array texture layers to 1024 to avoid system hang limitMaxMSAASamplesTo4 (OpenGL workarounds) 797243: Disabled: IsAndroid() || (IsApple() && (isIntel || isAMD || isNvidia)) Various rendering bugs have been observed when using higher MSAA counts limitWebglMaxTextureSizeTo4096 (OpenGL workarounds) 927470: Disabled: IsAndroid() || limitMaxTextureSize Limit webgl max texture size to 4096 to avoid frequent out-of-memory errors packLastRowSeparatelyForPaddingInclusion (OpenGL workarounds) anglebug:1512: Disabled: IsApple() || isNvidia When uploading textures from an pack buffer, some drivers count an extra row padding packOverlappingRowsSeparatelyPackBuffer (OpenGL workarounds): Disabled: isNvidia In the case of packing to a pixel pack buffer, pack overlapping rows row by row passHighpToPackUnormSnormBuiltins (OpenGL workarounds) anglebug:7527: Disabled: isQualcomm packUnorm4x8 fails on Pixel 4 if it is not passed a highp vec4. preAddTexelFetchOffsets (OpenGL workarounds) 642605: Disabled: IsApple() && isIntel Intel Mac drivers mistakenly consider the parameter position of nagative vaule as invalid even if the sum of position and offset is in range, so we need to add workarounds by rewriting texelFetchOffset(sampler, position, lod, offset) into texelFetch(sampler, position + offset, lod). promotePackedFormatsTo8BitPerChannel (OpenGL workarounds) anglebug:5469: Disabled: IsApple() && hasAMD Packed color formats are buggy on Macs with AMD GPUs queryCounterBitsGeneratesErrors (OpenGL workarounds) anglebug:3027: Disabled: IsNexus5X(vendor, device) Drivers generate errors when querying the number of bits in timer queries readPixelsUsingImplementationColorReadFormatForNorm16 (OpenGL workarounds) anglebug:4214: Disabled: !isIntel && functions->standard == STANDARD_GL_ES && functions->isAtLeastGLES(gl::Version(3, 1)) && functions->hasGLESExtension("GL_EXT_texture_norm16") Quite some OpenGL ES drivers don't implement readPixels for RGBA/UNSIGNED_SHORT from EXT_texture_norm16 correctly reapplyUBOBindingsAfterUsingBinaryProgram (OpenGL workarounds) anglebug:1637: Disabled: isAMD || IsAndroid() Some drivers forget about UBO bindings when using program binaries regenerateStructNames (OpenGL workarounds) 403957: Disabled: IsApple() All Mac drivers do not handle struct scopes correctly. This workaround overwrites a structname with a unique prefix. removeDynamicIndexingOfSwizzledVector (OpenGL workarounds) 709351: Disabled: IsApple() || IsAndroid() || IsWindows() Dynamic indexing of swizzled l-values doesn't work correctly on various platforms. removeInvariantAndCentroidForESSL3 (OpenGL workarounds): Disabled: functions->isAtMostGL(gl::Version(4, 1)) || (functions->standard == STANDARD_GL_DESKTOP && isAMD) Fix spec difference between GLSL 4.1 or lower and ESSL3 resetTexImage2DBaseLevel (OpenGL workarounds) 705865: Disabled: IsApple() && isIntel && GetMacOSVersion() >= OSVersion(10, 12, 4) Reset texture base level before calling glTexImage2D to work around pixel comparison failure. rewriteFloatUnaryMinusOperator (OpenGL workarounds) 308366: Disabled: IsApple() && isIntel && GetMacOSVersion() < OSVersion(10, 12, 0) Using '-' will get wrong answer rewriteRepeatedAssignToSwizzled (OpenGL workarounds): Disabled: isNvidia Repeated assignment to swizzled values inside a GLSL user-defined function have incorrect results rewriteRowMajorMatrices (OpenGL workarounds) anglebug:2273: Disabled: false Rewrite row major matrices in shaders as column major as a driver bug workaround sanitizeAMDGPURendererString (OpenGL workarounds) 1181193: Disabled: IsLinux() && hasAMD Strip precise kernel and DRM version information from amdgpu renderer strings. setPrimitiveRestartFixedIndexForDrawArrays (OpenGL workarounds) anglebug:3997: Disabled: features->emulatePrimitiveRestartFixedIndex.enabled && IsApple() && isIntel Some drivers discard vertex data in DrawArrays calls when the fixed primitive restart index is within the number of primitives being drawn. setZeroLevelBeforeGenerateMipmap (OpenGL workarounds): Disabled: IsApple() glGenerateMipmap fails if the zero texture level is not set on some Mac drivers. shiftInstancedArrayDataWithOffset (OpenGL workarounds) 1144207: Disabled: IsApple() && IsIntel(vendor) && !IsHaswell(device) glDrawArraysInstanced is buggy on certain new Mac Intel GPUs supportsFragmentShaderInterlockARB (OpenGL features) anglebug:7279: Enabled: functions->isAtLeastGL(gl::Version(4, 5)) && functions->hasGLExtension("GL_ARB_fragment_shader_interlock") Backend GL context supports ARB_fragment_shader_interlock extension supportsFragmentShaderInterlockNV (OpenGL features) anglebug:7279: Enabled: functions->isAtLeastGL(gl::Version(4, 3)) && functions->hasGLExtension("GL_NV_fragment_shader_interlock") Backend GL context supports NV_fragment_shader_interlock extension supportsFragmentShaderOrderingINTEL (OpenGL features) anglebug:7279: Disabled: functions->isAtLeastGL(gl::Version(4, 4)) && functions->hasGLExtension("GL_INTEL_fragment_shader_ordering") Backend GL context supports GL_INTEL_fragment_shader_ordering extension supportsShaderFramebufferFetchEXT (OpenGL features) anglebug:7279: Disabled: functions->hasGLESExtension("GL_EXT_shader_framebuffer_fetch") Backend GL context supports EXT_shader_framebuffer_fetch extension supportsShaderFramebufferFetchNonCoherentEXT (OpenGL features) anglebug:7279: Disabled: functions->hasGLESExtension("GL_EXT_shader_framebuffer_fetch_non_coherent") Backend GL context supports EXT_shader_framebuffer_fetch_non_coherent extension syncVertexArraysToDefault (OpenGL workarounds) anglebug:5577: Disabled: !nativegl::SupportsVertexArrayObjects(functions) Only use the default VAO because of missing support or driver bugs unbindFBOBeforeSwitchingContext (OpenGL workarounds) 1181193: Disabled: IsPowerVR(vendor) Imagination GL drivers are buggy with context switching. unfoldShortCircuits (OpenGL workarounds) anglebug:482: Disabled: IsApple() Mac incorrectly executes both sides of && and || expressions when they should short-circuit. unpackLastRowSeparatelyForPaddingInclusion (OpenGL workarounds) anglebug:1512: Disabled: IsApple() || isNvidia When uploading textures from an unpack buffer, some drivers count an extra row padding unpackOverlappingRowsSeparatelyUnpackBuffer (OpenGL workarounds): Disabled: isNvidia In the case of unpacking from a pixel unpack buffer, unpack overlapping rows row by row unsizedSRGBReadPixelsDoesntTransform (OpenGL workarounds) 550292: Disabled: IsAndroid() && isQualcomm Drivers returning raw sRGB values instead of linearized values when calling glReadPixels on unsized sRGB texture formats uploadTextureDataInChunks (OpenGL workarounds) 1181068: Disabled: IsApple() Upload texture data in <120kb chunks to work around Mac driver hangs and crashes. useUnusedBlocksWithStandardOrSharedLayout (OpenGL workarounds): Disabled: (IsApple() && functions->standard == STANDARD_GL_DESKTOP) || (IsLinux() && isAMD) Unused std140 or shared uniform blocks will be treated as inactive vertexIDDoesNotIncludeBaseVertex (OpenGL workarounds): Disabled: IsApple() && isAMD gl_VertexID in GLSL vertex shader doesn't include base vertex value DAWN Info

Vulkan backend - Intel(R) UHD Graphics (TGL GT1) [Default Toggle Names] lazy_clear_resource_on_first_use: https://crbug.com/dawn/145: Clears resource to zero on first usage. This initializes the resource so that no dirty bits from recycled memory is present in the new resource. use_temporary_buffer_in_texture_to_texture_copy: https://crbug.com/dawn/42: Split texture-to-texture copy into two copies: copy from source texture into a temporary buffer, and copy from the temporary buffer into the destination texture when copying between compressed textures that don't have block-aligned sizes. This workaround is enabled by default on all Vulkan drivers to solve an issue in the Vulkan SPEC about the texture-to-texture copies with compressed formats. See #1005 (https://github.com/KhronosGroup/Vulkan-Docs/issues/1005) for more details. vulkan_use_d32s8: https://crbug.com/dawn/286: Vulkan mandates support of either D32_FLOAT_S8 or D24_UNORM_S8. When available the backend will use D32S8 (toggle to on) but setting the toggle to off will make it use the D24S8 format when possible. vulkan_use_s8: https://crbug.com/dawn/666: Vulkan has a pure stencil8 format but it is not universally available. When this toggle is on, the backend will use S8 for the stencil8 format, otherwise it will fallback to D32S8 or D24S8. disallow_unsafe_apis: http://crbug.com/1138528: Produces validation errors on API entry points or parameter combinations that aren't considered secure yet. use_vulkan_zero_initialize_workgroup_memory_extension: https://crbug.com/dawn/1302: Initialize workgroup memory with OpConstantNull on Vulkan when the Vulkan extension VK_KHR_zero_initialize_workgroup_memory is supported. [WebGPU Forced Toggles - enabled] disallow_spirv: https://crbug.com/1214923: Disallow usage of SPIR-V completely so that only WGSL is used for shader modules. This is useful to prevent a Chromium renderer process from successfully sending SPIR-V code to be compiled in the GPU process. [Supported Features] texture-compression-bc texture-compression-etc2 texture-compression-astc pipeline-statistics-query timestamp-query depth-clip-control depth32float-stencil8 chromium-experimental-dp4a indirect-first-instance rg11b10ufloat-renderable dawn-internal-usages dawn-native Vulkan backend - SwiftShader Device (Subzero) [Default Toggle Names] lazy_clear_resource_on_first_use: https://crbug.com/dawn/145: Clears resource to zero on first usage. This initializes the resource so that no dirty bits from recycled memory is present in the new resource. use_temporary_buffer_in_texture_to_texture_copy: https://crbug.com/dawn/42: Split texture-to-texture copy into two copies: copy from source texture into a temporary buffer, and copy from the temporary buffer into the destination texture when copying between compressed textures that don't have block-aligned sizes. This workaround is enabled by default on all Vulkan drivers to solve an issue in the Vulkan SPEC about the texture-to-texture copies with compressed formats. See #1005 (https://github.com/KhronosGroup/Vulkan-Docs/issues/1005) for more details. vulkan_use_d32s8: https://crbug.com/dawn/286: Vulkan mandates support of either D32_FLOAT_S8 or D24_UNORM_S8. When available the backend will use D32S8 (toggle to on) but setting the toggle to off will make it use the D24S8 format when possible. vulkan_use_s8: https://crbug.com/dawn/666: Vulkan has a pure stencil8 format but it is not universally available. When this toggle is on, the backend will use S8 for the stencil8 format, otherwise it will fallback to D32S8 or D24S8. disallow_unsafe_apis: http://crbug.com/1138528: Produces validation errors on API entry points or parameter combinations that aren't considered secure yet. use_vulkan_zero_initialize_workgroup_memory_extension: https://crbug.com/dawn/1302: Initialize workgroup memory with OpConstantNull on Vulkan when the Vulkan extension VK_KHR_zero_initialize_workgroup_memory is supported. [WebGPU Forced Toggles - enabled] disallow_spirv: https://crbug.com/1214923: Disallow usage of SPIR-V completely so that only WGSL is used for shader modules. This is useful to prevent a Chromium renderer process from successfully sending SPIR-V code to be compiled in the GPU process. [Supported Features] texture-compression-bc texture-compression-etc2 texture-compression-astc timestamp-query depth-clip-control depth32float-stencil8 indirect-first-instance rg11b10ufloat-renderable dawn-internal-usages dawn-native Version Information Data exported 2022-11-01T13:12:13.179Z Chrome version Chrome/109.0.5384.0 Operating system Linux 6.0.5-gentoo Software rendering list URL https://chromium.googlesource.com/chromium/src/+/13431e6c07e6d5fc8ca827d77181a162549260f3/gpu/config/software_rendering_list.json Driver bug list URL https://chromium.googlesource.com/chromium/src/+/13431e6c07e6d5fc8ca827d77181a162549260f3/gpu/config/gpu_driver_bug_list.json ANGLE commit id 9b9d8032c104 2D graphics backend Skia/109 3d40b8818a8a953441bba5bde130c25cc4f4155a Command Line /usr/bin/google-chrome-unstable --user-data-dir=/tmp/mehh --enable-features=PlatformHEVCDecoderSupport --flag-switches-begin --flag-switches-end Driver Information Initialization time 40 In-process GPU false Passthrough Command Decoder true Sandboxed false GPU0 VENDOR= 0x10de, DEVICE=0x25a0, DRIVER_VENDOR=Mesa, DRIVER_VERSION=22.2.2 GPU1 VENDOR= 0x8086, DEVICE=0x9a60, DRIVER_VENDOR=Mesa, DRIVER_VERSION=22.2.2 *ACTIVE* Optimus true AMD switchable false GPU CUDA compute capability major version 0 Pixel shader version 1.00 Vertex shader version 1.00 Max. MSAA samples 16 Machine model name Machine model version GL_VENDOR Google Inc. (Intel) GL_RENDERER ANGLE (Intel, Mesa Intel(R) UHD Graphics (TGL GT1), OpenGL 4.6 (Core Profile) Mesa 22.2.2) GL_VERSION OpenGL ES 2.0.0 (ANGLE 2.1.19821 git hash: 9b9d8032c104) GL_EXTENSIONS GL_AMD_performance_monitor GL_ANGLE_base_vertex_base_instance GL_ANGLE_base_vertex_base_instance_shader_builtin GL_ANGLE_client_arrays GL_ANGLE_compressed_texture_etc GL_ANGLE_depth_texture GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_get_serialized_context_string GL_ANGLE_get_tex_level_parameter GL_ANGLE_instanced_arrays GL_ANGLE_logic_op GL_ANGLE_memory_size GL_ANGLE_multi_draw GL_ANGLE_program_cache_control GL_ANGLE_provoking_vertex GL_ANGLE_request_extension GL_ANGLE_robust_client_memory GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_external_update GL_ANGLE_texture_rectangle GL_ANGLE_translated_shader_source GL_APPLE_clip_distance GL_ARB_sync GL_CHROMIUM_bind_generates_resource GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_color_buffer_float_rgb GL_CHROMIUM_color_buffer_float_rgba GL_CHROMIUM_copy_texture GL_CHROMIUM_lose_context GL_CHROMIUM_sync_query GL_EXT_base_instance GL_EXT_blend_minmax GL_EXT_clip_cull_distance GL_EXT_color_buffer_half_float GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers GL_EXT_draw_elements_base_vertex GL_EXT_float_blend GL_EXT_frag_depth GL_EXT_instanced_arrays GL_EXT_map_buffer_range GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_multi_draw_indirect GL_EXT_multisample_compatibility GL_EXT_occlusion_query_boolean GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_sRGB GL_EXT_sRGB_write_control GL_EXT_semaphore GL_EXT_semaphore_fd GL_EXT_shader_texture_lod GL_EXT_shadow_samplers GL_EXT_texture_compression_bptc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc_srgb GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_norm16 GL_EXT_texture_rg GL_EXT_texture_sRGB_decode GL_EXT_texture_storage GL_EXT_texture_type_2_10_10_10_REV GL_EXT_unpack_subimage GL_KHR_debug GL_KHR_parallel_shader_compile GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_sliced_3d GL_MESA_framebuffer_flip_y GL_NV_depth_buffer_float2 GL_NV_fence GL_NV_framebuffer_blit GL_NV_pack_subimage GL_NV_pixel_buffer_object GL_NV_read_depth GL_NV_read_stencil GL_OES_compressed_EAC_R11_signed_texture GL_OES_compressed_EAC_R11_unsigned_texture GL_OES_compressed_EAC_RG11_signed_texture GL_OES_compressed_EAC_RG11_unsigned_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_ETC2_RGB8_texture GL_OES_compressed_ETC2_RGBA8_texture GL_OES_compressed_ETC2_punchthroughA_RGBA8_texture GL_OES_compressed_ETC2_punchthroughA_sRGB8_alpha_texture GL_OES_compressed_ETC2_sRGB8_alpha8_texture GL_OES_compressed_ETC2_sRGB8_texture GL_OES_depth24 GL_OES_depth32 GL_OES_depth_texture GL_OES_draw_elements_base_vertex GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_3D GL_OES_texture_border_clamp GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_texture_stencil8 GL_OES_vertex_array_object GL_WEBGL_video_texture Disabled Extensions GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_MESA_framebuffer_flip_y Disabled WebGL Extensions Window system binding vendor Google Inc. (Intel) Window system binding version 1.5 (ANGLE 2.1.19821 git hash: 9b9d8032c104) Window system binding extensions EGL_EXT_create_context_robustness EGL_KHR_create_context EGL_KHR_get_all_proc_addresses EGL_ANGLE_create_context_webgl_compatibility EGL_CHROMIUM_create_context_bind_generates_resource EGL_CHROMIUM_sync_control EGL_ANGLE_sync_control_rate EGL_EXT_pixel_format_float EGL_KHR_surfaceless_context EGL_ANGLE_display_texture_share_group EGL_ANGLE_display_semaphore_share_group EGL_ANGLE_create_context_client_arrays EGL_ANGLE_program_cache_control EGL_ANGLE_robust_resource_initialization EGL_ANGLE_create_context_extensions_enabled EGL_ANDROID_blob_cache EGL_ANDROID_recordable EGL_ANGLE_create_context_backwards_compatible EGL_KHR_create_context_no_error EGL_NOK_texture_from_pixmap EGL_KHR_reusable_sync XDG_CURRENT_DESKTOP KDE XDG_SESSION_TYPE wayland Ozone platform x11 Direct rendering version unknown Reset notification strategy 0x8252 GPU process crash count 0 gfx::BufferFormats supported for allocation and texturing R_8: not supported, R_16: not supported, RG_88: not supported, RG_1616: not supported, BGR_565: not supported, RGBA_4444: not supported, RGBX_8888: not supported, RGBA_8888: not supported, BGRX_8888: not supported, BGRA_1010102: not supported, RGBA_1010102: not supported, BGRA_8888: not supported, RGBA_F16: not supported, YVU_420: not supported, YUV_420_BIPLANAR: not supported, YUVA_420_TRIPLANAR: not supported, P010: not supported Compositor Information Tile Update Mode One-copy Partial Raster Enabled GpuMemoryBuffers Status R_8 Software only R_16 Software only RG_88 Software only RG_1616 Software only BGR_565 Software only RGBA_4444 Software only RGBX_8888 Software only RGBA_8888 Software only BGRX_8888 Software only BGRA_1010102 Software only RGBA_1010102 Software only BGRA_8888 Software only RGBA_F16 Software only YVU_420 Software only YUV_420_BIPLANAR Software only YUVA_420_TRIPLANAR Software only P010 Software only Display(s) Information Info Display[33] bounds=[3943,1080 1920x1200], workarea=[3943,1080 1920x1200], scale=1, rotation=0, panel_rotation=0 external. Color space (all) {primaries:BT709, transfer:SRGB, matrix:RGB, range:FULL} Buffer format (all) BGRA_8888 Color volume {name:'srgb', r:[0.6400, 0.3300], g:[0.3000, 0.6000], b:[0.1500, 0.3300], w:[0.3127, 0.3290]} SDR white level in nits 203 HDR relative maximum luminance 1 Bits per color component 8 Bits per pixel 24 Refresh Rate in Hz 59 Info Display[35] bounds=[1920,0 1920x1080], workarea=[1920,0 1920x1080], scale=1, rotation=0, panel_rotation=0 external. Color space (all) {primaries:BT709, transfer:SRGB, matrix:RGB, range:FULL} Buffer format (all) BGRA_8888 Color volume {name:'srgb', r:[0.6400, 0.3300], g:[0.3000, 0.6000], b:[0.1500, 0.3300], w:[0.3127, 0.3290]} SDR white level in nits 203 HDR relative maximum luminance 1 Bits per color component 8 Bits per pixel 24 Refresh Rate in Hz 59 Info Display[37] bounds=[3840,0 1920x1080], workarea=[3840,0 1920x1080], scale=1, rotation=0, panel_rotation=0 external. Color space (all) {primaries:BT709, transfer:SRGB, matrix:RGB, range:FULL} Buffer format (all) BGRA_8888 Color volume {name:'srgb', r:[0.6400, 0.3300], g:[0.3000, 0.6000], b:[0.1500, 0.3300], w:[0.3127, 0.3290]} SDR white level in nits 203 HDR relative maximum luminance 1 Bits per color component 8 Bits per pixel 24 Refresh Rate in Hz 59 Info Display[39] bounds=[0,0 1920x1080], workarea=[0,0 1920x1080], scale=1, rotation=0, panel_rotation=0 external. Color space (all) {primaries:BT709, transfer:SRGB, matrix:RGB, range:FULL} Buffer format (all) BGRA_8888 Color volume {name:'srgb', r:[0.6400, 0.3300], g:[0.3000, 0.6000], b:[0.1500, 0.3300], w:[0.3127, 0.3290]} SDR white level in nits 203 HDR relative maximum luminance 1 Bits per color component 8 Bits per pixel 24 Refresh Rate in Hz 59 Video Acceleration Information Decoding Encoding Vulkan Information Device Performance Information Log Messages [451826:451826:1101/141148.987819:ERROR:gl_angle_util_vulkan.cc(189)] : Failed to retrieve vkGetInstanceProcAddr [451826:451826:1101/141148.987878:ERROR:vulkan_instance.cc(91)] : Failed to get vkGetInstanceProcAddr pointer from ANGLE. [451826:451826:1101/141148.988708:WARNING:sandbox_linux.cc(380)] : InitializeSandbox() called with multiple threads in process gpu-process. [451826:451826:1101/141210.907618:ERROR:gl_display.cc(508)] : EGL Driver message (Error) eglCreateContext: Unknown attribute: 0x31b2X [451826:451826:1101/141213.073658:ERROR:gl_surface_presentation_helper.cc(260)] : GetVSyncParametersIfAvailable() failed for 1 times!
WarMachine0502 commented 2 years ago

Facing the same error while opening Google Chrome via terminal on Ubuntu 22.04, plz suggest any solutions

XinfengZhang commented 2 years ago

Libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) but vainfo success with wayland, so I suppose it is because of xwayland. could you try the latest master which enabled dri3 support and should work with xwayland

freakynl commented 2 years ago

@XinfengZhang I can confirm it does work with chrome 109 under X11 (HEVC playback works then and codecs are listed).

Tried building master (-9999 on gentoo), but it currently fails build process. Will try again later.

wfjt commented 2 years ago

I had the same error after a reboot when trying to open Google Chrome. I had export GTK_IM_MODULE=wayland in my shell rc, changing it to export GTK_IM_MODULE=ibus fixed the error on Ubuntu 22.04 LTS with latest updates. vainfo and vainfo --display drm --device /dev/dri/renderDxxx were working even with the wrong setting.

oneandbit commented 1 year ago

Facing the same error while opening Google Chrome via terminal on Ubuntu 22.04.01 plz suggest any solutions