Using Vulkan in Fedora 27
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 7 of 7
  1. #1
    Join Date
    May 2006
    Location
    Caracas, Venezuela
    Posts
    1,885

    Using Vulkan in Fedora 27

    I just want to do some tests with Vulkan in F27 in order to see the improvements over OpenGL.

    My video card is (lspci output):
    01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Bonaire XTX [Radeon R7 260X/360]

    and is supposed to support Vulkan.
    Anyway, I installed:
    Code:
    mesa-vulkan-devel.x86_64               17.2.4-3.fc27               @System      
    mesa-vulkan-drivers.x86_64             17.2.4-3.fc27               @System      
    vulkan.x86_64                          1.0.65.2-1.fc27             @System      
    vulkan-demos.x86_64                    1.0.65.2-1.fc27             @System      
    vulkan-devel.x86_64                    1.0.65.2-1.fc27             @System      
    vulkan-filesystem.noarch               1.0.65.2-1.fc27             @System
    Using lsmod (the relevant part) gives me:
    Code:
    radeon               1650688  22
    i2c_algo_bit           16384  2 amdgpu,radeon
    drm_kms_helper        196608  2 amdgpu,radeon
    ttm                   114688  2 amdgpu,radeon
    But when ran:
    vulkaninfo
    I get an error and check over internet but nothing found.
    Any ideas?
    Code:
    vulkaninfo 
    ===========
    VULKAN INFO
    ===========
    
    Vulkan API Version: 1.0.65
    
    WARNING: [loader] Code 0 : Skipping manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_object_tracker.json - The file has already been read once
    WARNING: [loader] Code 0 : Skipping manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_core_validation.json - The file has already been read once
    WARNING: [loader] Code 0 : Skipping manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_threading.json - The file has already been read once
    WARNING: [loader] Code 0 : Skipping manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_standard_validation.json - The file has already been read once
    WARNING: [loader] Code 0 : Skipping manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_parameter_validation.json - The file has already been read once
    WARNING: [loader] Code 0 : Skipping manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_unique_objects.json - The file has already been read once
    WARNING: [loader] Code 0 : Skipping manifest file /usr/share/vulkan/icd.d/radeon_icd.x86_64.json - The file has already been read once
    WARNING: [loader] Code 0 : Skipping manifest file /usr/share/vulkan/icd.d/intel_icd.x86_64.json - The file has already been read once
    
    Instance Extensions:
    ====================
    Instance Extensions     count = 9
            VK_KHR_surface                      : extension revision 25
            VK_KHR_xcb_surface                  : extension revision  6
            VK_KHR_xlib_surface                 : extension revision  6
            VK_KHR_wayland_surface              : extension revision  6
            VK_KHR_get_physical_device_properties2: extension revision  1
            VK_KHR_external_memory_capabilities : extension revision  1
            VK_KHR_external_semaphore_capabilities: extension revision  1
            VK_KHR_get_surface_capabilities2    : extension revision  1
            VK_EXT_debug_report                 : extension revision  9
    /builddir/build/BUILD/Vulkan-LoaderAndValidationLayers-sdk-1.0.65.2/demos/vulkaninfo.c:1670: failed with VK_ERROR_INITIALIZATION_FAILED
    Pietro Pesci Feltri

    PowerBook 15" G4 and
    MacBook Pro 17" Intel Core 2 Duo
    Intel I5 Desktop

  2. #2
    Join Date
    Apr 2017
    Location
    Germany
    Posts
    16

    Re: Using Vulkan in Fedora 27

    Do you by any chance have an intel cpu with an igpu, too? Seems to me that there's a linker issue and it's loading the wrong driver (perhaps I'm totally misunderstanding the error output, I'm by no means a pro haha).

  3. #3
    Join Date
    Nov 2017
    Location
    Havant
    Posts
    177

    Re: Using Vulkan in Fedora 27

    Post

    Code:
    export VK_LOADER_DEBUG=all
    vulkaninfo
    P.S I am the vulkan dev for fedora

  4. #4
    Join Date
    May 2006
    Location
    Caracas, Venezuela
    Posts
    1,885

    Re: Using Vulkan in Fedora 27

    Quote Originally Posted by leigh123linux
    Post

    Code:
    export VK_LOADER_DEBUG=all
    vulkaninfo
    P.S I am the vulkan dev for fedora
    I did what you suggest and the output is very long and repetitive.
    As you can see vulkaninfo failed to detect my GPU. Maybe my R7 260X does not support vulkan after all . Anyway, AMD said is supported.

    Any ideas?

    Code:
    ===========
    VULKAN INFO
    ===========
    
    Vulkan API Version: 1.0.65
    
    DEBUG: Searching the following paths for manifest files: /etc/xdg/vulkan/explicit_layer.d:/usr/share/kde-settings/kde-profile/default/xdg/vulkan/explicit_layer.d:/usr/share/vulkan/explicit_layer.d:/etc/vulkan/explicit_layer.d:/home/ppesci/.local/share/flatpak/exports/share/vulkan/explicit_layer.d:/var/lib/flatpak/exports/share/vulkan/explicit_layer.d:/usr/local/share/vulkan/explicit_layer.d:/usr/share/vulkan/explicit_layer.d
    
    
    ... hundreds lines omited...
    
    WARNING: [loader] Code 0 : Skipping manifest file /usr/share/vulkan/icd.d/radeon_icd.x86_64.json - The file has already been read once
    WARNING: Skipping manifest file /usr/share/vulkan/icd.d/radeon_icd.x86_64.json - The file has already been read once
    WARNING: [loader] Code 0 : Skipping manifest file /usr/share/vulkan/icd.d/intel_icd.x86_64.json - The file has already been read once
    WARNING: Skipping manifest file /usr/share/vulkan/icd.d/intel_icd.x86_64.json - The file has already been read once
    DEBUG: Searching the following path for manifest files: /home/ppesci/.local/share/vulkan/icd.d
    
    INFO: Found ICD manifest file /usr/share/vulkan/icd.d/radeon_icd.x86_64.json, version "1.0.0"
    DEBUG: Searching for ICD drivers named /usr/lib64/libvulkan_radeon.so, using default dir 
    INFO: Found ICD manifest file /usr/share/vulkan/icd.d/intel_icd.x86_64.json, version "1.0.0"
    DEBUG: Searching for ICD drivers named /usr/lib64/libvulkan_intel.so, using default dir 
    DEBUG: Build ICD instance extension list
    DEBUG: Instance Extension: VK_KHR_surface (/usr/lib64/libvulkan_radeon.so) version 0.0.25
    DEBUG: Instance Extension: VK_KHR_xcb_surface (/usr/lib64/libvulkan_radeon.so) version 0.0.6
    DEBUG: Instance Extension: VK_KHR_xlib_surface (/usr/lib64/libvulkan_radeon.so) version 0.0.6
    DEBUG: Instance Extension: VK_KHR_wayland_surface (/usr/lib64/libvulkan_radeon.so) version 0.0.6
    DEBUG: Instance Extension: VK_KHR_get_physical_device_properties2 (/usr/lib64/libvulkan_radeon.so) version 0.0.1
    DEBUG: Instance Extension: VK_KHR_external_memory_capabilities (/usr/lib64/libvulkan_radeon.so) version 0.0.1
    DEBUG: Instance Extension: VK_KHR_external_semaphore_capabilities (/usr/lib64/libvulkan_radeon.so) version 0.0.1
    DEBUG: Instance Extension: VK_KHR_external_memory_capabilities (/usr/lib64/libvulkan_intel.so) version 0.0.1
    DEBUG: Instance Extension: VK_KHR_get_physical_device_properties2 (/usr/lib64/libvulkan_intel.so) version 0.0.1
    DEBUG: Instance Extension: VK_KHR_get_surface_capabilities2 (/usr/lib64/libvulkan_intel.so) version 0.0.1
    DEBUG: Instance Extension: VK_KHR_surface (/usr/lib64/libvulkan_intel.so) version 0.0.25
    DEBUG: Instance Extension: VK_KHR_wayland_surface (/usr/lib64/libvulkan_intel.so) version 0.0.6
    DEBUG: Instance Extension: VK_KHR_xcb_surface (/usr/lib64/libvulkan_intel.so) version 0.0.6
    DEBUG: Instance Extension: VK_KHR_xlib_surface (/usr/lib64/libvulkan_intel.so) version 0.0.6
    DEBUG: Build ICD instance extension list
    DEBUG: Instance Extension: VK_KHR_surface (/usr/lib64/libvulkan_radeon.so) version 0.0.25
    DEBUG: Instance Extension: VK_KHR_xcb_surface (/usr/lib64/libvulkan_radeon.so) version 0.0.6
    DEBUG: Instance Extension: VK_KHR_xlib_surface (/usr/lib64/libvulkan_radeon.so) version 0.0.6
    DEBUG: Instance Extension: VK_KHR_wayland_surface (/usr/lib64/libvulkan_radeon.so) version 0.0.6
    DEBUG: Instance Extension: VK_KHR_get_physical_device_properties2 (/usr/lib64/libvulkan_radeon.so) version 0.0.1
    DEBUG: Instance Extension: VK_KHR_external_memory_capabilities (/usr/lib64/libvulkan_radeon.so) version 0.0.1
    DEBUG: Instance Extension: VK_KHR_external_semaphore_capabilities (/usr/lib64/libvulkan_radeon.so) version 0.0.1
    DEBUG: Build ICD instance extension list
    DEBUG: Instance Extension: VK_KHR_external_memory_capabilities (/usr/lib64/libvulkan_intel.so) version 0.0.1
    DEBUG: Instance Extension: VK_KHR_get_physical_device_properties2 (/usr/lib64/libvulkan_intel.so) version 0.0.1
    DEBUG: Instance Extension: VK_KHR_get_surface_capabilities2 (/usr/lib64/libvulkan_intel.so) version 0.0.1
    DEBUG: Instance Extension: VK_KHR_surface (/usr/lib64/libvulkan_intel.so) version 0.0.25
    DEBUG: Instance Extension: VK_KHR_wayland_surface (/usr/lib64/libvulkan_intel.so) version 0.0.6
    DEBUG: Instance Extension: VK_KHR_xcb_surface (/usr/lib64/libvulkan_intel.so) version 0.0.6
    DEBUG: Instance Extension: VK_KHR_xlib_surface (/usr/lib64/libvulkan_intel.so) version 0.0.6
    
    Instance Extensions:
    ====================
    Instance Extensions     count = 9
            VK_KHR_surface                      : extension revision 25
            VK_KHR_xcb_surface                  : extension revision  6
            VK_KHR_xlib_surface                 : extension revision  6
            VK_KHR_wayland_surface              : extension revision  6
            VK_KHR_get_physical_device_properties2: extension revision  1
            VK_KHR_external_memory_capabilities : extension revision  1
            VK_KHR_external_semaphore_capabilities: extension revision  1
            VK_KHR_get_surface_capabilities2    : extension revision  1
            VK_EXT_debug_report                 : extension revision  9
    ERROR: setupLoaderTermPhysDevs:  Failed to detect any valid GPUs in the current config
    ERROR: setupLoaderTrampPhysDevs:  Failed during dispatch call of 'vkEnumeratePhysicalDevices' to lower layers or loader to get count.
    /builddir/build/BUILD/Vulkan-LoaderAndValidationLayers-sdk-1.0.65.2/demos/vulkaninfo.c:1670: failed with VK_ERROR_INITIALIZATION_FAILED
    Pietro Pesci Feltri

    PowerBook 15" G4 and
    MacBook Pro 17" Intel Core 2 Duo
    Intel I5 Desktop

  5. #5
    Join Date
    Nov 2017
    Location
    Havant
    Posts
    177

    Re: Using Vulkan in Fedora 27

    Looks like the same issue reported upstream

    https://github.com/KhronosGroup/Vulk...rs/issues/2152

    I had a quick look at fedora bugzilla and didn't find anything reported against mesa and the same for mesa upstream

    https://bugs.freedesktop.org/buglist...resolution=---

    I recommend filing a fedora bugzilla report against mesa.

  6. #6
    Join Date
    May 2006
    Location
    Caracas, Venezuela
    Posts
    1,885

    Re: Using Vulkan in Fedora 27

    Leigh:

    I filled the bug report.
    https://bugs.freedesktop.org/show_bug.cgi?id=105068

    Thanks for the help.
    Pietro Pesci Feltri

    PowerBook 15" G4 and
    MacBook Pro 17" Intel Core 2 Duo
    Intel I5 Desktop

  7. #7
    Join Date
    May 2006
    Location
    Caracas, Venezuela
    Posts
    1,885

    Re: Using Vulkan in Fedora 27

    Pietro Pesci Feltri

    PowerBook 15" G4 and
    MacBook Pro 17" Intel Core 2 Duo
    Intel I5 Desktop

Similar Threads

  1. Intel vulkan
    By Fedira in forum Hardware & Laptops
    Replies: 4
    Last Post: 8th December 2016, 03:19 PM
  2. NVIDIA lands on Wayland. And on Vulkan 1.0!
    By Maryyy in forum Linux Chat
    Replies: 0
    Last Post: 22nd March 2016, 04:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •