Announcement

Collapse
No announcement yet.

AMD R7 370 on arch with mesa-git (mesa-dev 13.1) vulkan problems

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • AMD R7 370 on arch with mesa-git (mesa-dev 13.1) vulkan problems

    Hi,
    this 'might' have been answered somewhere but I am very new to all this vga world and after a day of trying to google or find any info decided to drop a line here if anyone could help me.

    As topic states I have a AMD R7 370(GCN 1.0) card. I am running arch linux. Today I read about 13.1 version having already vulkan drivers so I've installed it. I additionally installed vulkan-radeon-git, vulkan-icd-loader.

    Code:
      glxinfo | grep 'version'
    server glx version string: 1.4
    client glx version string: 1.4
    GLX version: 1.4
        Max core profile version: 4.5
        Max compat profile version: 3.0
        Max GLES1 profile version: 1.1
        Max GLES[23] profile version: 3.1
    OpenGL core profile version string: 4.5 (Core Profile) Mesa 13.1.0-devel (git-47351b843a)
    OpenGL core profile shading language version string: 4.50
    OpenGL version string: 3.0 Mesa 13.1.0-devel (git-47351b843a)
    OpenGL shading language version string: 1.30
    OpenGL ES profile version string: OpenGL ES 3.1 Mesa 13.1.0-devel (git-47351b843a)
    OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
    but here's what happenswhen I do vulkaninfo:

    Code:
    ≫  vulkaninfo 
    ===========
    VULKAN INFO
    ===========
    
    Vulkan API Version: 1.0.33
    
    INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_basic.json, version "1.0.0"
    INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_generic.json, version "1.0.0"
    INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_screenshot.json, version "1.0.0"
    INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_swapchain.json, version "1.0.0"
    INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_multi.json, version "1.0.1"
    INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_core_validation.json, version "1.0.0"
    INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_object_tracker.json, version "1.0.0"
    INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_unique_objects.json, version "1.0.0"
    INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_image.json, version "1.0.0"
    INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_parameter_validation.json, version "1.0.0"
    INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_threading.json, version "1.0.0"
    INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/explicit_layer.d/VkLayer_api_dump.json, version "1.0.0"
    INFO: [loader] Code 0 : Found manifest file /home/simas/.local/share/vulkan/implicit_layer.d/steamoverlay_i386.json, version "1.0.0"
    INFO: [loader] Code 0 : Found manifest file /home/simas/.local/share/vulkan/implicit_layer.d/steamoverlay_x86_64.json, version "1.0.0"
    INFO: [loader] Code 0 : Found manifest file /usr/share/vulkan/icd.d/radeon_icd.x86_64.json, version "1.0.0"
    
    Instance Extensions:
    ====================
    Instance Extensions    count = 5
        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  5
        VK_EXT_debug_report                 : extension revision  3
    /build/vulkan-loader-layers/src/Vulkan-LoaderAndValidationLayers-sdk-1.0.33.0/demos/vulkaninfo.c:1444: failed with VK_ERROR_INITIALIZATION_FAILED
    when I try to launch DOTA2 I get steam message:
    "Failed to initialize Vulkan. Please make sure your driver and GPU support Vulkan."

    lsmod'ing on radeon gives me:
    Code:
    radeon               1478656  13
    ttm                    86016  1 radeon
    drm_kms_helper        126976  1 radeon
    drm                   294912  8 radeon,ttm,drm_kms_helper
    i2c_algo_bit           16384  1 radeon

    Maybe I am missing something. Maybe installing mesa and vulkan-radeon is not enough. maybe I have to have some other modules loaded than radeon. I'm too new in this graphics driver world so if anyone have some tips what might be my problem or some tips what needs to be installed / loaded into kernel I'd be real thankful.
    Cheers

  • #2
    IIRC the radv Vulkan driver is designed to run over amdgpu kernel driver rather than radeon. Pretty sure you will need a kernel built with SI & CI support enabled for amdgpu rather than radeon, plus a pretty recent libdrm including libdrm-amdgpu.

    Note that radv was initially developed on VI hardware and has gradually been extending support to CI and SI... believe it is running OK these days on CI but SI testing/fixing only would have started pretty recently.
    Test signature

    Comment


    • #3
      omg.... with your explanation so much more text that I now read makes sense... thank you!
      It appears arch wiki has a very descriptive section about all this...


      Thanks a lot!

      Comment

      Working...
      X