cancel
Showing results for 
Search instead for 
Did you mean: 

OpenGL & Vulkan

zinx
Adept II

Cant use Vulkan using my AMD GPU on a dual intel/amd GPU system

Hello,

I cant use my AMD GPU Vulkan driver capabilities on my dual Intel/AMD GPU laptop (a Dell laptop).

The Intel GPU Vulkan driver works as intended.

I am using Windows 10 as my OS and I am using the latest AMD drivers.

On Linux I do not get the same behavior - I can access both intel and AMD Vulkan drivers.

My AMD GPU is Radeon 530 and my Intel GPU is UHD 620.

here is the result of vulkaninfo :

==========

VULKANINFO

==========

Vulkan Instance Version: 1.1.92

ERROR: [Loader Message] Code 0 : loader_get_json: Failed to open JSON file C:\Users\≡Θ°\AppData\Local\Temp\VulkanLayerManager\VkLayer_override.json

Instance Extensions:

====================

Instance Extensions     count = 11

        VK_EXT_debug_report                 : extension revision  9

        VK_EXT_debug_utils                  : extension revision  1

        VK_EXT_swapchain_colorspace         : extension revision  3

        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  1

        VK_KHR_get_surface_capabilities2    : extension revision  1

        VK_KHR_surface                      : extension revision 25

        VK_KHR_win32_surface                : extension revision  6

Layers: count = 15

=======

VK_LAYER_AMD_switchable_graphics (AMD switchable graphics layer) Vulkan version 1.1.82, layer version 1

        Layer Extensions        count = 0

        Devices         count = 1

                GPU id       : 0 (Intel(R) UHD Graphics 620)

                Layer-Device Extensions count = 0

VK_LAYER_GOOGLE_threading (Google Validation Layer) Vulkan version 1.1.92, layer version 1

        Layer Extensions        count = 1

                VK_EXT_debug_report                 : extension revision  6

        Devices         count = 1

                GPU id       : 0 (Intel(R) UHD Graphics 620)

                Layer-Device Extensions count = 0

VK_LAYER_GOOGLE_unique_objects (Google Validation Layer) Vulkan version 1.1.92, layer version 1

        Layer Extensions        count = 0

        Devices         count = 1

                GPU id       : 0 (Intel(R) UHD Graphics 620)

                Layer-Device Extensions count = 0

VK_LAYER_LUNARG_api_dump (LunarG debug layer) Vulkan version 1.1.92, layer version 2

        Layer Extensions        count = 0

        Devices         count = 1

                GPU id       : 0 (Intel(R) UHD Graphics 620)

                Layer-Device Extensions count = 0

VK_LAYER_LUNARG_assistant_layer (LunarG Validation Factory Layer) Vulkan version 1.1.92, layer version 1

        Layer Extensions        count = 1

                VK_EXT_debug_report                 : extension revision  6

        Devices         count = 1

                GPU id       : 0 (Intel(R) UHD Graphics 620)

                Layer-Device Extensions count = 1

                        VK_EXT_debug_marker                 : extension revision  4

VK_LAYER_LUNARG_core_validation (LunarG Validation Layer) Vulkan version 1.1.92, layer version 1

        Layer Extensions        count = 1

                VK_EXT_debug_report                 : extension revision  6

        Devices         count = 1

                GPU id       : 0 (Intel(R) UHD Graphics 620)

                Layer-Device Extensions count = 2

                        VK_EXT_debug_marker                 : extension revision  4

                        VK_EXT_validation_cache             : extension revision  1

VK_LAYER_LUNARG_device_simulation (LunarG device simulation layer) Vulkan version 1.1.92, layer version 1

        Layer Extensions        count = 0

        Devices         count = 1

                GPU id       : 0 (Intel(R) UHD Graphics 620)

                Layer-Device Extensions count = 0

VK_LAYER_LUNARG_monitor (Execution Monitoring Layer) Vulkan version 1.1.92, layer version 1

        Layer Extensions        count = 0

        Devices         count = 1

                GPU id       : 0 (Intel(R) UHD Graphics 620)

                Layer-Device Extensions count = 0

VK_LAYER_LUNARG_object_tracker (LunarG Validation Layer) Vulkan version 1.1.92, layer version 1

        Layer Extensions        count = 1

                VK_EXT_debug_report                 : extension revision  6

        Devices         count = 1

                GPU id       : 0 (Intel(R) UHD Graphics 620)

                Layer-Device Extensions count = 1

                        VK_EXT_debug_marker                 : extension revision  4

VK_LAYER_LUNARG_parameter_validation (LunarG Validation Layer) Vulkan version 1.1.92, layer version 1

        Layer Extensions        count = 1

                VK_EXT_debug_report                 : extension revision  6

        Devices         count = 1

                GPU id       : 0 (Intel(R) UHD Graphics 620)

                Layer-Device Extensions count = 1

                        VK_EXT_debug_marker                 : extension revision  4

VK_LAYER_LUNARG_screenshot (LunarG image capture layer) Vulkan version 1.1.92, layer version 1

        Layer Extensions        count = 0

        Devices         count = 1

                GPU id       : 0 (Intel(R) UHD Graphics 620)

                Layer-Device Extensions count = 0

VK_LAYER_LUNARG_standard_validation (LunarG Standard Validation) Vulkan version 1.1.92, layer version 1

        Layer Extensions        count = 1

                VK_EXT_debug_report                 : extension revision  6

        Devices         count = 1

                GPU id       : 0 (Intel(R) UHD Graphics 620)

                Layer-Device Extensions count = 2

                        VK_EXT_debug_marker                 : extension revision  4

                        VK_EXT_validation_cache             : extension revision  1

VK_LAYER_LUNARG_vktrace (Vktrace tracing library) Vulkan version 1.1.92, layer version 1

        Layer Extensions        count = 0

        Devices         count = 1

                GPU id       : 0 (Intel(R) UHD Graphics 620)

                Layer-Device Extensions count = 0

VK_LAYER_RENDERDOC_Capture (Debugging capture layer for RenderDoc) Vulkan version 1.1.73, layer version 1

        Layer Extensions        count = 1

                VK_EXT_debug_utils                  : extension revision  1

        Devices         count = 1

                GPU id       : 0 (Intel(R) UHD Graphics 620)

                Layer-Device Extensions count = 1

                        VK_EXT_debug_marker                 : extension revision  3

VK_LAYER_VALVE_steam_overlay (Steam Overlay Layer) Vulkan version 1.1.73, layer version 1

        Layer Extensions        count = 0

        Devices         count = 1

                GPU id       : 0 (Intel(R) UHD Graphics 620)

                Layer-Device Extensions count = 0

Presentable Surfaces:

=====================

GPU id       : 0 (Intel(R) UHD Graphics 620)

Surface type : VK_KHR_win32_surface

Formats:                count = 4

        B8G8R8A8_UNORM

        B8G8R8A8_SRGB

        R8G8B8A8_UNORM

        R8G8B8A8_SRGB

Present Modes:          count = 2

        IMMEDIATE_KHR

        FIFO_KHR

VkSurfaceCapabilitiesKHR:

        minImageCount       = 2

        maxImageCount       = 64

        currentExtent:

                width       = 256

                height      = 256

        minImageExtent:

                width       = 256

                height      = 256

        maxImageExtent:

                width       = 256

                height      = 256

        maxImageArrayLayers = 2048

        supportedTransform:

                VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR

        currentTransform:

                VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR

        supportedCompositeAlpha:

                VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR

                VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR

        supportedUsageFlags:

                VK_IMAGE_USAGE_TRANSFER_SRC_BIT

                VK_IMAGE_USAGE_TRANSFER_DST_BIT

                VK_IMAGE_USAGE_SAMPLED_BIT

                VK_IMAGE_USAGE_STORAGE_BIT

                VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT

C:\VulkanSDKBuild\workspace\Dash-Tools\repo\vulkaninfo\vulkaninfo.c:3692: failed with VK_ERROR_INITIALIZATION_FAILED

I am not sure its AMD or Intel driver fault but I report there as well.

Thank you for your time.

0 Likes
8 Replies
zinx
Adept II

Added some more info.

0 Likes

I think I would send this information to AMD support. Online Service Request | AMD

You may also want to make sure you are doing the things recommended on this help page, but you issue may just be Vulkan issue:

Configuring Laptop Switchable Graphics on a Windows® Based System | AMD

The last thing you said wont apply if I use Vulkan as I can choose which GPU I want to use inside the software/game.

Thanks for you help anyway.

I also found this is a better place to talk about my issue:: OpenGL & Vulkan

zinx
Adept II

I reported to AMD about this using Online Service Request | AMD  thanks to everyone who tried to help.

zinx
Adept II

I am sorry that i bump this again but I still got issues with the Vulkan driver using my PC.

Now there is a new problem : I cant use the AMDVLK driver as well.

I reported to their github repo in the past and still didnt get any way to fix the problem:

Garbled graphics · Issue #72 · GPUOpen-Drivers/AMDVLK · GitHub 

What I suspect is the problem is me using Hybrid Graphics AMD/Intel System with the Intel GPU being the primary GPU.

so now i cant use AMD official drivers properly on WIndows and LInux.

It once worked flawlessly on both Windows and Linux.

RADV driver works as intended.

If its possible maybe it's better to move this issue to the "OpenGL and Vulkan" forums.

Thank you.

0 Likes
zinx
Adept II

LOL so it got moved just now.

The Windows thing already got solved recently.

I still got issues getting the driver to work on linux as i opened in another thread.

You can delete/close the thread.

0 Likes

Since AMD considers emulators a hack...I wouldn't expect them to do any testing. Have seen this question many times.

Well if you look at this forum specifically you will see that AMD tries to help emulator devs solve their problems.

The Linux issue got nothing to do with emulators - it does not work at all regardless of me using an emulator or not lol. 

BTW Retroarch is not really an emulator and i even get tearing on the frontend side.

0 Likes