
Я использую Arch Linux и после последнего обновления (я думаю, это связано с новой версией Mesa, когда они удаляют старые драйверы) я не могу запускать приложения с Vulkan. Я получил следующие результаты, когда запускаю vkcube
команду и UI немедленно закрывается:
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
lspci | grep -iE "3d|vga|видео":
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
Пожалуйста, помогите мне это исправить.
UPD: Я заменил свою конфигурацию xorg на эту, и теперь Vulkan работает нормально.
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "DRI" "3"
EndSection
EOF
решение1
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "DRI" "3"
EndSection
EOF