Closed WARUKUCHI closed 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
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!
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?
Hi @WARUKUCHI, seems i915 was not loaded successfully in your environment. Could you try to load it manually, and get dmesg then?
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.
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.
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.
dumb question, why not use gdb to check the backtrace of the segmentation failed?
Thank you for your help. The problem has been solved.
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.
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?
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.
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.
@sydneyshaw300 @impietrito , please provide more information, such as platform, graphics card, nodes under /dev/dri etc.
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
by-path card0 card1 renderD128 renderD129
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!
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
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
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 '-
Facing the same error while opening Google Chrome via terminal on Ubuntu 22.04, plz suggest any solutions
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
@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.
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.
Facing the same error while opening Google Chrome via terminal on Ubuntu 22.04.01 plz suggest any solutions
Hi,
I'm getting this error on my Ubuntu20.04 (it's a KVM):
Here is my configuration :
But media-driver can run successfully on the physical machine on which this KVM is built. Here is the physical machine configuration :
What can be done?