
Ich verwende Arch Linux und kann nach dem letzten Update (ich vermute, das hängt mit der neuen Version von Mesa zusammen, bei der alte Treiber entfernt werden) keine Apps mit Vulkan ausführen. Ich erhalte die folgenden Ausgaben, wenn ich den vkcube
Befehl ausführe und die Benutzeroberfläche sofort geschlossen wird:
Selected GPU 0: Intel(R) Xe Graphics (TGL GT2), type: IntegratedGpu
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
Could not find both graphics and present queues
LSPC | grep -iE "3d|vga|video":
0000:00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01)
cat /etc/X11/xorg.conf.d/20-intel.conf:
Section "Module"
Load "glx"
EndSection
Section "Device"
Identifier "Intel Graphics"
Driver "modesetting"
Option "AccelMethod" "glamor"
Option "DRI" "3"
Option "Backlight" "intel_backlight"
EndSection
Xorg.0.log: https://pastebin.com/xfwZ1ii2
Bitte helfen Sie mir, das zu beheben
UPD: Ich habe meine Xorg-Konfiguration dadurch ersetzt und jetzt funktioniert Vulkan einwandfrei.
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "DRI" "3"
EndSection
EOF
Antwort1
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "DRI" "3"
EndSection
EOF