Bug 11463 - vulkan incorrect work
Summary: vulkan incorrect work
Status: CONFIRMED
Alias: None
Product: ROSA Fresh
Classification: ROSA-based products
Component: Hardware-specific, drivers (show other bugs)
Version: Plasma5
Hardware: All Linux
: Normal normal
Target Milestone: ---
Assignee: Groups for solving hardware issues.
URL:
Whiteboard:
Depends on:
Blocks: 11462
  Show dependency treegraph
 
Reported: 2021-09-02 19:44 MSK by Vladimir Potapov
Modified: 2021-09-07 15:20 MSK (History)
2 users (show)

See Also:
Platform: ---
ROSA Vulnerability identifier:
RPM Package:
Upstream:


Attachments
war thunder error (23.45 KB, image/png)
2021-09-02 19:44 MSK, Vladimir Potapov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Potapov 2021-09-02 19:44:35 MSK
Created attachment 5488 [details]
war thunder error

On my AMD RYZEN 2400 GE vulkan use testing driver by default

vulkaninfo |grep driver
WARNING: lavapipe is not a conformant vulkan implementation, testing use only.
WARNING: lavapipe is not a conformant vulkan implementation, testing use only.
        driverVersion     = 1 (0x0001)
        driverID           = DRIVER_ID_MESA_LLVMPIPE
        driverName         = llvmpipe
        driverInfo         = Mesa 21.1.6 (LLVM 12.0.1)
        driverUUID      = 00000000-0000-0000-0000-000000000000
        VK_KHR_driver_properties              : extension revision 1
        driverVersion     = 88084486 (0x5401006)
        driverID           = DRIVER_ID_MESA_RADV
        driverName         = radv
        driverInfo         = Mesa 21.1.6 (ACO)
        driverUUID      = 414d442d-4d45-5341-2d44-525600000000
        VK_KHR_driver_properties                  : extension revision 1

in result i can't run war thunder
Comment 1 Vladimir Potapov 2021-09-02 19:47:21 MSK
run steam with DRIVER_ID_MESA_RADV by
VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radeon_icd.x86_64.json steam
fix the bug.
Comment 2 Vladimir Potapov 2021-09-03 09:45:16 MSK
https://linux-hardware.org/?probe=51c7f8a1a1
hardware probe
Comment 3 Grigoriev Andrey 2021-09-03 20:46:57 MSK
My probe
https://linux-hardware.org/?probe=8125a944df

My banches

Valley
1920х1080, three starts of the benchmark up to a certain sound (15th second), average fps.

Wine64 only.
DX9 - 70, 70, 68
DX11 - 36, 33, 33

Enable wine-nine (DX9): wine ninewinecfg, enable in gui.
DX9 - 81, 81, 80
DX11 - 34, 37, 41

Disable wine-nine, install dxvk: winetricks --force dxvk
DX9 - 80, 82, 82
DX11 - 81, 74, 83

Add exec=env VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radeon_icd.i686.json:/usr/share/vulkan/icd.d/radeon_icd.x86_64.json for desktop file.
DX9 - 81, 80, 80
DX11 - 80, 83, 78

Replace previous to exec=env VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/lvp_icd.i686.json:/usr/share/vulkan/icd.d/lvp_icd.x86_64.json
DX9 and DX11 done "Loading", but crashed.

Superposition
Similarly, before changing the melody.

Wine64 only.
39, 39, 39

Turning on wine-nine
39

Let's cheat this nine. Disabling wine-nine. Install dxvk.
1080p crashes on my system. I changed the screen resolution to 1080p. It helped. The graphics are noticeably better (the numbers on the "screen" of the calculator are visible), so you can not compare with the window mode (previous measurements).
49, 49, 49

Add VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radeon_icd.i686.json:/usr/share/vulkan/icd.d/radeon_icd.x86_64.json to start command.
49, 49, 49

Replace with VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/lvp_icd.i686.json:/usr/share/vulkan/icd.d/lvp_icd.x86_64.json
"Loading" was done, but crashed.
Comment 4 Grigoriev Andrey 2021-09-03 21:00:56 MSK
That is, at least this is not a problem between wine, vulkan, mesa, dxvk...
Maybe the problem is in steam?
Comment 5 Mikhail Novosyolov 2021-09-05 17:38:02 MSK
проблема не в steam, раз vulkaninfo |grep driver показывает драйвер программной отрисовки
Comment 6 Vladimir Potapov 2021-09-06 16:02:51 MSK
Возможно, обновление Mesa 21.1.7 поможет?
Там есть похожее исправление:
adv: fix selecting the first active CU when profiling with SQTT
Comment 7 Grigoriev Andrey 2021-09-07 12:30:53 MSK
(In reply to Mikhail Novosyolov from comment #5)
> проблема не в steam, раз vulkaninfo |grep driver показывает драйвер
> программной отрисовки

Два драйвера из установленных подходит, оно два драйвера (lavapipe и RADV) и показывает.
Только steam или для steam почему-то выбирается lavapipe, а для остальных приложений (всех, которые попробовал) - RADV.
Посовещались с Виктором и интернетом и выпилили lavapipe из зависимостей, добавив в steam конфликт.
Собственно, вот: https://www.opennet.ru/opennews/art.shtml?num=54337
Хотя драйвер почему-то собирается и работает. Однако, делает он это плохо. Можно запустить совсем простое приложение (например, vkcube), да и то с багом таймера. остальные приложения у меня упали. Лучше, чем ничего. Хуже, чем всё остальное. Пусть будет, пока живой.
Comment 8 Vladimir Potapov 2021-09-07 15:20:45 MSK
вот еще ошибка из лога steam
Vulkan missing requested extension 'VK_KHR_surface'.
Vulkan missing requested extension 'VK_KHR_xlib_surface'.
BInit - Unable to initialize Vulkan!