cancel
Showing results for 
Search instead for 
Did you mean: 

OpenGL & Vulkan

Mikalaj
Journeyman III

Different behavior of the same Vulkan application on AMD Radeon 6950 XT between windows 11 and linux

Hello,

Don't know were to ask else for help but I've confronted next case with 6950 XT and VulkanSceneGraph library. I have corrupted result in the demo application that I've recorded. It can be viewed here https://www.youtube.com/watch?v=i8O--1sKfcU . I've already created an issue in repository of VulkanSceneGraph project and discussion is here https://github.com/vsg-dev/VulkanSceneGraph/issues/898 . Vulkan validation layers don't report any issues.

This is invalid result on Windows 11

Mikalaj_0-1691149321061.png

 

This is the same application on fedora

Mikalaj_1-1691149432802.png

 

Both system use latest AMD drivers.

Application uses several render passes. First render pass produces valid image

Mikalaj_2-1691149523650.png

When second render pass started another viewport is used and renderdoc marks rest of the region with undefined marks.

Mikalaj_3-1691149590555.png

But same undefined marks can be seen on linux and other machines but they produce correct final image. So, while on fedora 38 (with the same hardware) everything works good and other users of the library has not seen such issue and the author of the library was not able to reproduce it maybe someone from AMD community can help us, and point to the possible root cause of the problem.

 

Thanks in advance, any help is appreciated.

0 Likes
1 Solution

Hey,

Can you try latest windows drivers:
https://www.amd.com/en/support/kb/release-notes/rn-rad-win-23-9-3

Issue seems to have been resolved.

Thanks,

Owen

View solution in original post

0 Likes
7 Replies
dipak
Big Boss

Hi @Mikalaj ,

Thanks for reporting it. I have whitelisted you and moved the post to the Vulkan forum. 

I have also forwarded the issue to the Vulkan team.

Thanks.

0 Likes

Hey Mikalaj,

I've created internal ticket SWDEV-415581 to track this issue.

In the meantime can you provide us with the driver version you're using for both windows and linux. If possible a vulkaninfo dump from both environments would also be helpful.

Thanks,

Owen

0 Likes
Mikalaj
Journeyman III

fedora vulkan summary

vulkaninfo --summary
==========
VULKANINFO
==========

Vulkan Instance Version: 1.3.243


Instance Extensions: count = 23
-------------------------------
VK_EXT_acquire_drm_display : extension revision 1
VK_EXT_acquire_xlib_display : extension revision 1
VK_EXT_debug_report : extension revision 10
VK_EXT_debug_utils : extension revision 2
VK_EXT_direct_mode_display : extension revision 1
VK_EXT_display_surface_counter : extension revision 1
VK_EXT_surface_maintenance1 : extension revision 1
VK_EXT_swapchain_colorspace : extension revision 4
VK_KHR_device_group_creation : extension revision 1
VK_KHR_display : extension revision 23
VK_KHR_external_fence_capabilities : extension revision 1
VK_KHR_external_memory_capabilities : extension revision 1
VK_KHR_external_semaphore_capabilities : extension revision 1
VK_KHR_get_display_properties2 : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2 : extension revision 1
VK_KHR_portability_enumeration : extension revision 1
VK_KHR_surface : extension revision 25
VK_KHR_surface_protected_capabilities : extension revision 1
VK_KHR_wayland_surface : extension revision 6
VK_KHR_xcb_surface : extension revision 6
VK_KHR_xlib_surface : extension revision 6
VK_LUNARG_direct_driver_loading : extension revision 1

Instance Layers: count = 6
--------------------------
VK_LAYER_MESA_device_select Linux device selection layer 1.3.211 version 1
VK_LAYER_RENDERDOC_Capture Debugging capture layer for RenderDoc 1.3.131 version 28
VK_LAYER_VALVE_steam_fossilize_32 Steam Pipeline Caching Layer 1.3.207 version 1
VK_LAYER_VALVE_steam_fossilize_64 Steam Pipeline Caching Layer 1.3.207 version 1
VK_LAYER_VALVE_steam_overlay_32 Steam Overlay Layer 1.3.207 version 1
VK_LAYER_VALVE_steam_overlay_64 Steam Overlay Layer 1.3.207 version 1

Devices:
========
GPU0:
apiVersion = 1.3.246
driverVersion = 23.1.4
vendorID = 0x1002
deviceID = 0x73a5
deviceType = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
deviceName = AMD Radeon RX 6950 XT (RADV NAVI21)
driverID = DRIVER_ID_MESA_RADV
driverName = radv
driverInfo = Mesa 23.1.4
conformanceVersion = 1.3.0.0
deviceUUID = 00000000-0b00-0000-0000-000000000000
driverUUID = 414d442d-4d45-5341-2d44-525600000000
GPU1:
apiVersion = 1.3.246
driverVersion = 0.0.1
vendorID = 0x10005
deviceID = 0x0000
deviceType = PHYSICAL_DEVICE_TYPE_CPU
deviceName = llvmpipe (LLVM 16.0.6, 256 bits)
driverID = DRIVER_ID_MESA_LLVMPIPE
driverName = llvmpipe
driverInfo = Mesa 23.1.4 (LLVM 16.0.6)
conformanceVersion = 1.3.1.1
deviceUUID = 6d657361-3233-2e31-2e34-000000000000
driverUUID = 6c6c766d-7069-7065-5555-494400000000

 

windows:

vulkaninfo --summary
WARNING: [Loader Message] Code 0 : Layer name GalaxyOverlayVkLayer does not conform to naming standard (Policy #LLP_LAYER_3)
WARNING: [Loader Message] Code 0 : Layer name GalaxyOverlayVkLayer_VERBOSE does not conform to naming standard (Policy #LLP_LAYER_3)
WARNING: [Loader Message] Code 0 : Layer name GalaxyOverlayVkLayer_DEBUG does not conform to naming standard (Policy #LLP_LAYER_3)
ERROR: [Loader Message] Code 0 : loader_get_json: Failed to open JSON file D:\Epic Games\Launcher\Portal\Extras\Overlay\EOSOverlayVkLayer-Win32.json
ERROR: [Loader Message] Code 0 : loader_get_json: Failed to open JSON file D:\Epic Games\Launcher\Portal\Extras\Overlay\EOSOverlayVkLayer-Win64.json
==========
VULKANINFO
==========

Vulkan Instance Version: 1.3.243


Instance Extensions: count = 13
-------------------------------
VK_EXT_debug_report : extension revision 10
VK_EXT_debug_utils : extension revision 2
VK_EXT_swapchain_colorspace : extension revision 4
VK_KHR_device_group_creation : extension revision 1
VK_KHR_external_fence_capabilities : extension revision 1
VK_KHR_external_memory_capabilities : extension revision 1
VK_KHR_external_semaphore_capabilities : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2 : extension revision 1
VK_KHR_portability_enumeration : extension revision 1
VK_KHR_surface : extension revision 25
VK_KHR_win32_surface : extension revision 6
VK_LUNARG_direct_driver_loading : extension revision 1

Instance Layers: count = 17
---------------------------
GalaxyOverlayVkLayer Galaxy Overlay Vulkan Layer 1.1.73 version 1
GalaxyOverlayVkLayer_DEBUG Galaxy Overlay Vulkan Layer 1.1.73 version 1
GalaxyOverlayVkLayer_VERBOSE Galaxy Overlay Vulkan Layer 1.1.73 version 1
VK_LAYER_AMD_switchable_graphics AMD switchable graphics layer 1.3.250 version 1
VK_LAYER_KHRONOS_profiles Khronos Profiles layer 1.3.250 version 1
VK_LAYER_KHRONOS_shader_object Shader object layer 1.3.250 version 1
VK_LAYER_KHRONOS_synchronization2 Khronos Synchronization2 layer 1.3.250 version 1
VK_LAYER_KHRONOS_validation Khronos Validation Layer 1.3.250 version 1
VK_LAYER_LUNARG_api_dump LunarG API dump layer 1.3.250 version 2
VK_LAYER_LUNARG_gfxreconstruct GFXReconstruct Capture Layer Version 0.9.20 1.3.250 version 36884
VK_LAYER_LUNARG_monitor Execution Monitoring Layer 1.3.250 version 1
VK_LAYER_LUNARG_screenshot LunarG image capture layer 1.3.250 version 1
VK_LAYER_OBS_HOOK Open Broadcaster Software hook 1.3.216 version 1
VK_LAYER_RENDERDOC_Capture Debugging capture layer for RenderDoc 1.3.131 version 28
VK_LAYER_ROCKSTAR_GAMES_social_club Rockstar Games Social Club Layer 1.0.70 version 1
VK_LAYER_VALVE_steam_fossilize Steam Pipeline Caching Layer 1.3.207 version 1
VK_LAYER_VALVE_steam_overlay Steam Overlay Layer 1.3.207 version 1

Devices:
========
GPU0:
apiVersion = 1.3.250
driverVersion = 2.0.270
vendorID = 0x1002
deviceID = 0x73a5
deviceType = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
deviceName = AMD Radeon RX 6950 XT
driverID = DRIVER_ID_AMD_PROPRIETARY
driverName = AMD proprietary driver
driverInfo = 23.7.2 (AMD proprietary shader compiler)
conformanceVersion = 1.3.3.1
deviceUUID = 00000000-0b00-0000-0000-000000000000
driverUUID = 414d442d-5749-4e2d-4452-560000000000

0 Likes

Hi Mikalaj,

On linux looks like you're using RADV driver:
deviceName = AMD Radeon RX 6950 XT (RADV NAVI21)
As an experiment, can you try to see if you see this issue with the opensource amd or vkpro drivers?
https://amdgpu-install.readthedocs.io/en/latest/install-script.html#specifying-a-vulkan-implementati...

This would help us narrow down the root cause.

Thanks,

Owen

0 Likes

Hello Owen, thank for reply.

But looks like provided link can't be used on fedora.  I've tried to use https://github.com/CosmicFusion/fedora-amdgpu-pro but this depends on amdgpu-vulkan-switcher which is not available on fedora 38. Probably there is an instruction how to properly install other drivers on fedora 38?

0 Likes

Hey,

Can you try latest windows drivers:
https://www.amd.com/en/support/kb/release-notes/rn-rad-win-23-9-3

Issue seems to have been resolved.

Thanks,

Owen

0 Likes
Mikalaj
Journeyman III

Great, latest driver works good!

Mikalaj_0-1697979912948.png

Devices:
========
GPU0:
apiVersion = 1.3.262
driverVersion = 2.0.283
vendorID = 0x1002
deviceID = 0x73a5
deviceType = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
deviceName = AMD Radeon RX 6950 XT
driverID = DRIVER_ID_AMD_PROPRIETARY
driverName = AMD proprietary driver
driverInfo = 23.10.2 (AMD proprietary shader compiler)
conformanceVersion = 1.3.3.1
deviceUUID = 00000000-0b00-0000-0000-000000000000
driverUUID = 414d442d-5749-4e2d-4452-560000000000

 

0 Likes