Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to run on RX 6800 with Radeon Software 21.10.1 #5

Open
PMunkes opened this issue Oct 6, 2021 · 6 comments
Open

Fails to run on RX 6800 with Radeon Software 21.10.1 #5

PMunkes opened this issue Oct 6, 2021 · 6 comments

Comments

@PMunkes
Copy link

PMunkes commented Oct 6, 2021

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

@diharaw
Copy link
Owner

diharaw commented Oct 13, 2021

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?

@PMunkes
Copy link
Author

PMunkes commented Oct 13, 2021 via email

@expenses
Copy link

expenses commented Dec 9, 2021

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?

@diharaw
Copy link
Owner

diharaw commented Dec 9, 2021

@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.

@Skynet19972029
Copy link

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

Thank you.

@princessakokosowa
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants