Vulkanでアプリを実行できない

Vulkanでアプリを実行できない

私は 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

翻訳: grep -iE "3d|vga|video":

0000:00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01)

/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

関連情報