hybrid-rendering icon indicating copy to clipboard operation
hybrid-rendering copied to clipboard

Fails to run on RX 6800 with Radeon Software 21.10.1

Open PMunkes opened this issue 3 years ago • 6 comments

Attempting to run the Release version on my RX 6800 on Windows using the newest available drivers (21.10.1) fails during the allocation of a descriptor set.

>HybridRendering.exe
********************************************************************************************************
Tue Oct  5 14:32:53 2021
Log Started.
********************************************************************************************************
[ 14:32:53 | INFO    ] : Successfully initialized platform! , FILE : application.cpp , LINE : 232
[ 14:32:53 | INFO    ] : (Vulkan) Vendor : AMD , FILE : vk.cpp , LINE : 4285
[ 14:32:53 | INFO    ] : (Vulkan) Name   : AMD Radeon RX 6800 , FILE : vk.cpp , LINE : 4286
[ 14:32:53 | INFO    ] : (Vulkan) Type   : VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU , FILE : vk.cpp , LINE : 4287
[ 14:32:53 | INFO    ] : (Vulkan) Driver : 8388806 , FILE : vk.cpp , LINE : 4288
[ 14:32:53 | INFO    ] : (Vulkan) Number of Queue families: 3 , FILE : vk.cpp , LINE : 4325
[ 14:32:53 | INFO    ] : (Vulkan) Family 0 , FILE : vk.cpp , LINE : 4334
[ 14:32:53 | INFO    ] : (Vulkan) Supported Bits:  , FILE : vk.cpp , LINE : 4335
[ 14:32:53 | INFO    ] : (Vulkan) VK_QUEUE_GRAPHICS_BIT: 1 , FILE : vk.cpp , LINE : 4336
[ 14:32:53 | INFO    ] : (Vulkan) VK_QUEUE_COMPUTE_BIT: 1 , FILE : vk.cpp , LINE : 4337
[ 14:32:53 | INFO    ] : (Vulkan) VK_QUEUE_TRANSFER_BIT: 1 , FILE : vk.cpp , LINE : 4338
[ 14:32:53 | INFO    ] : (Vulkan) Number of Queues: 1 , FILE : vk.cpp , LINE : 4339
[ 14:32:53 | INFO    ] : (Vulkan) Family 1 , FILE : vk.cpp , LINE : 4334
[ 14:32:53 | INFO    ] : (Vulkan) Supported Bits:  , FILE : vk.cpp , LINE : 4335
[ 14:32:53 | INFO    ] : (Vulkan) VK_QUEUE_GRAPHICS_BIT: 0 , FILE : vk.cpp , LINE : 4336
[ 14:32:53 | INFO    ] : (Vulkan) VK_QUEUE_COMPUTE_BIT: 1 , FILE : vk.cpp , LINE : 4337
[ 14:32:53 | INFO    ] : (Vulkan) VK_QUEUE_TRANSFER_BIT: 1 , FILE : vk.cpp , LINE : 4338
[ 14:32:53 | INFO    ] : (Vulkan) Number of Queues: 2 , FILE : vk.cpp , LINE : 4339
[ 14:32:53 | INFO    ] : (Vulkan) Family 2 , FILE : vk.cpp , LINE : 4334
[ 14:32:53 | INFO    ] : (Vulkan) Supported Bits:  , FILE : vk.cpp , LINE : 4335
[ 14:32:53 | INFO    ] : (Vulkan) VK_QUEUE_GRAPHICS_BIT: 0 , FILE : vk.cpp , LINE : 4336
[ 14:32:53 | INFO    ] : (Vulkan) VK_QUEUE_COMPUTE_BIT: 0 , FILE : vk.cpp , LINE : 4337
[ 14:32:53 | INFO    ] : (Vulkan) VK_QUEUE_TRANSFER_BIT: 1 , FILE : vk.cpp , LINE : 4338
[ 14:32:53 | INFO    ] : (Vulkan) Number of Queues: 2 , FILE : vk.cpp , LINE : 4339
[ 14:32:55 | FATAL   ] : (Vulkan) Failed to allocate descriptor set. , FILE : vk.cpp , LINE : 2

Vulkaninfo for this system: vkinfo.txt

PMunkes avatar Oct 06 '21 14:10 PMunkes

Thank you for reporting this! Unfortunately I don’t have a Radeon card to reproduce this issue. Would it be possible for you to build it in debug and provide me the logs?

diharaw avatar Oct 13 '21 10:10 diharaw

Hi, Sure I will do that next week, once I'm back from my holiday. I'll also try it on a few different driver versions to make sure it's not a driver bug.

13.10.2021 13:00:22 Dihara Wijetunga @.***>:

Thank you for reporting this! Unfortunately I don’t have a Radeon card to reproduce this issue. Would it be possible for you to build it in debug and provide me the logs?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub[https://github.com/diharaw/HybridRendering/issues/5#issuecomment-942132446], or unsubscribe[https://github.com/notifications/unsubscribe-auth/ABRGOVVUKPZ5ZR6OUJFQN3LUGVKDLANCNFSM5FO2CCZA]. Triage notifications on the go with GitHub Mobile for iOS[https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675] or Android[https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub]. [data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD8AAAA/CAYAAABXXxDfAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAAmSURBVGiB7cEBDQAAAMKg909tDwcUAAAAAAAAAAAAAAAAAAAAJwY+QwABivJx1AAAAABJRU5ErkJggg==###24x24:true###][Verfolgungsbild][https://github.com/notifications/beacon/ABRGOVRHRX33NEYJKZHEY33UGVKDLA5CNFSM5FO2CCZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHAT4ZXQ.gif]

PMunkes avatar Oct 13 '21 10:10 PMunkes

I'm also getting this on my RX 6900. When I compiled the sample from source, I don't get an error like this, just a white screen for about a second then it closes. There's nothing in the log (https://gist.github.com/expenses/f6950ef77dd8fd5a8419ba58e03e2117) to indicate that something went wrong. @diharaw are there any compile or runtime flags that I should set for more verbose logging?

expenses avatar Dec 09 '21 21:12 expenses

@expenses Unfortunately there's no way to get more verbose logging. Looks like the framework is failing initialization on a path that I haven't added proper logging yet. I'll be getting access to an AMD GPU quite soon so I'll be able to investigate this. If you manage to fix it in the meantime, I'll be happy to look at a PR.

diharaw avatar Dec 09 '21 21:12 diharaw

Hello. I am having the same issue. Runnig 22.5.1 driver version here and 6700 XT.

Thank you.

Skynet19972029 avatar Jun 12 '22 04:06 Skynet19972029

I've no idea what the problem is exactly about as I don't know GLSL (and Vulkan generally) too well. However, this reminds me of the problems associated with non-uniform resource index with HLSL and D3D12. Might be worth exploring. Nvidia does it for you (behind the scenes, obviously), but in the case of AMD graphics cards, you've got to take care about it yourself.

princessakokosowa avatar Aug 16 '22 07:08 princessakokosowa