Vulkan not available on Linux Mint, latest padoka ppa Mesa and AMD GPUs

jajcus's Avatar

jajcus

11 Sep, 2019 07:09 PM

I have a new laptop with two GPUs: MD Radeon RX 560X and AMD Radeon Vega 8

I have latest Mesa drivers from the padoka ppa: 1:19.2~git190714221300.4e102a6~b~padoka0

Vulkan is generally working, vulkaninfo detects both GPUs:

vulkaninfo | grep GPU
[...]
GPU id : 0 (AMD RADV RAVEN (LLVM 9.0.0))
GPU id : 1 (AMD RADV POLARIS11 (LLVM 9.0.0))
GPU0
deviceType = INTEGRATED_GPU
GPU1
deviceType = DISCRETE_GPU

But geekbench still insists Vulkan is not available:

$ ./geekbench5 --sysinfo
Geekbench 5.0.0 : https://www.geekbench.com/

System Information
  Operating System Linux Mint 19.2 Tina
5.3.0-050300rc8-lowlatency x86_64
  Model ASUSTeK COMPUTER INC. TUF Gaming
FX505DY_FX505DY
  Motherboard ASUSTeK COMPUTER INC. FX505DY
  BIOS American Megatrends Inc. FX505DY.311

Processor Information
  Name AMD Ryzen 5 3550H
  Topology 1 Processor, 4 Cores, 8 Threads
  Identifier AuthenticAMD Family 23 Model 24 Stepping 1
  Base Frequency 2.10 GHz
  L1 Instruction Cache 64.0 KB x 4
  L1 Data Cache 32.0 KB x 4
  L2 Cache 512 KB x 4
  L3 Cache 4.00 MB

Memory Information
  Size 15.5 GB

$ ./geekbench5 --compute Vulkan
Error: Compute API 'Vulkan' is not available.

$ ./geekbench5 --compute-list
Geekbench 5.0.0 : https://www.geekbench.com/

OpenCL
0 0 Radeon RX 560 Series (POLARIS11, DRM 3.33.0, 5.3.0-050300rc8-lowlatency, LLVM 9.0.0)
0 1 AMD RAVEN (DRM 3.33.0, 5.3.0-050300rc8-lowlatency, LLVM 9.0.0)

The same binary works correctly on Intel-based machines with PLD Linux.

  1. 1 Posted by jajcus on 11 Sep, 2019 07:31 PM

    jajcus's Avatar

    I was able to fix detection with:

    sudo ln -s ln -s libvulkan.so.1 /usr/lib/x86_64-linux-gnu/libvulkan.so

    Geekbench incorrectly tries to open 'libvulkan.so' instead of 'libvulkan.so.1'

    $ ./geekbench5 --compute-list
    Geekbench 5.0.0 : https://www.geekbench.com/

    OpenCL
    0 0 Radeon RX 560 Series (POLARIS11, DRM 3.33.0, 5.3.0-050300rc8-lowlatency, LLVM 9.0.0)
    0 1 AMD RAVEN (DRM 3.33.0, 5.3.0-050300rc8-lowlatency, LLVM 9.0.0)
    Vulkan
    0 0 AMD RADV RAVEN (LLVM 9.0.0)
    mesa: for the --simplifycfg-sink-common option: may only occur zero or one times!
    0 1 AMD RADV POLARIS11 (LLVM 9.0.0)

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac