Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#75374 - amdgpu vulkan fails with multiple GPUs of different generations

Attached to Project: Arch Linux
Opened by Tessa N (tessaracht) - Tuesday, 19 July 2022, 07:40 GMT
Last edited by Toolybird (Toolybird) - Friday, 09 September 2022, 05:26 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I have two AMD GPUs in my system (6800 XT and RX 580), and I've discovered that if I try to run vulkan apps on the older GPU, they completely fail, only the newer GPU works. This, in turn, causes many apps that enumerate both cards to fail with no error messages. This is regardless of using the MESA or the Pro drivers. The Pro drivers are worse, because apps hang, rather than just exit with an error, you have to kill -9 them to free them from the pro driver's failed state.

Additional info:
* vulkan-radeon 22.1.3-1
* vulkan-amdgpu-pro 22.10.3_1420322-1

Steps to reproduce:
* put GPUs of different generations in the same system.
* try to run a vulkan app on the older GPU (such as vkmark):

# vkmark -L
=== Physical Device 0 ===
Vendor ID: 0x1002
Device ID: 0x73BF
Device Name: AMD RADV SIENNA_CICHLID
Driver Version: 92278787
Device UUID: 9b38324f70f9e1cf1c975438fad50cf1
=== Physical Device 1 ===
Vendor ID: 0x1002
Device ID: 0x67DF
Device Name: AMD RADV POLARIS10
Driver Version: 92278787
Device UUID: 358c2c11d3c781a525c6fa5fe49659e0
=== Physical Device 2 ===
Vendor ID: 0x1002
Device ID: 0x67DF
Device Name: AMD Radeon RX 580 Series
Driver Version: 8388826
Device UUID: ddb85091ae7f5d918f46a5d5c41ead1c
=== Physical Device 3 ===
Vendor ID: 0x1002
Device ID: 0x73BF
Device Name: AMD Radeon RX 6800 XT
Driver Version: 8388826
Device UUID: deeae0270fc15f32861d9b617151bbe7

# vkmark -D 358c2c11d3c781a525c6fa5fe49659e0
=======================================================
vkmark 2017.08
=======================================================
Vendor ID: 0x1002
Device ID: 0x67DF
Device Name: AMD RADV POLARIS10
Driver Version: 92278787
Device UUID: 358c2c11d3c781a525c6fa5fe49659e0
=======================================================
[vertex] device-local=true:[destroyed object]: error 7: failed to import supplied dmabufs: EGL failed to allocate resources for the requested operation.
Failed with exception: vk::Device::acquireNextImageKHR: ErrorOutOfDateKHR
[vertex] device-local=false: Failed with exception: vk::Device::acquireNextImageKHR: ErrorOutOfDateKHR
[texture] anisotropy=0: Failed with exception: vk::Device::acquireNextImageKHR: ErrorOutOfDateKHR
[texture] anisotropy=16: Failed with exception: vk::Device::acquireNextImageKHR: ErrorOutOfDateKHR
[shading] shading=gouraud: Failed with exception: vk::Device::acquireNextImageKHR: ErrorOutOfDateKHR
[shading] shading=blinn-phong-inf: Failed with exception: vk::Device::acquireNextImageKHR: ErrorOutOfDateKHR
[shading] shading=phong: Failed with exception: vk::Device::acquireNextImageKHR: ErrorOutOfDateKHR
[shading] shading=cel: Failed with exception: vk::Device::acquireNextImageKHR: ErrorOutOfDateKHR
[effect2d] kernel=edge: Failed with exception: vk::Device::acquireNextImageKHR: ErrorOutOfDateKHR
[effect2d] kernel=blur: Failed with exception: vk::Device::acquireNextImageKHR: ErrorOutOfDateKHR
[desktop] <default>: Failed with exception: vk::Device::acquireNextImageKHR: ErrorOutOfDateKHR
[cube] <default>: Failed with exception: vk::Device::acquireNextImageKHR: ErrorOutOfDateKHR
[clear] <default>: Failed with exception: vk::Device::acquireNextImageKHR: ErrorOutOfDateKHR
=======================================================
vkmark Score: 0
=======================================================

# vkmark -D ddb85091ae7f5d918f46a5d5c41ead1c
=======================================================
vkmark 2017.08
=======================================================
Vendor ID: 0x1002
Device ID: 0x67DF
Device Name: AMD Radeon RX 580 Series
Driver Version: 8388826
Device UUID: ddb85091ae7f5d918f46a5d5c41ead1c
=======================================================
[vertex] device-local=true:wl_drm@19: error 2: invalid name

[...hung]
This task depends upon

Closed by  Toolybird (Toolybird)
Friday, 09 September 2022, 05:26 GMT
Reason for closing:  No response
Comment by Toolybird (Toolybird) - Monday, 08 August 2022, 08:01 GMT
If this is still happening, it's definitely best if you first report this upstream and/or see if anyone in the support channels (forum/IRC/etc) can help. Note: vulkan-amdgpu-pro is AUR so it's unsupported here.

Loading...