You are not logged in.
If i run vulkaninfo i get this message:
ERROR: [Loader Message] Code 0 : loader_scanned_icd_add: Driver /usr/lib/amdvlk64.so says it supports interface version 6 but still exports core entrypoints (Policy #LDP_DRIVER_6)
WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Failed to CreateInstance in ICD 0. Skipping ICD.
Cannot create Vulkan instance.
This problem is often caused by a faulty installation of the Vulkan driver or attempting to use a GPU that does not support Vulkan.
ERROR at /build/vulkan-tools/src/Vulkan-Tools-1.2.203/vulkaninfo/vulkaninfo.h:670:vkCreateInstance failed with ERROR_INCOMPATIBLE_DRIVER
vkcube also dosn't work.
I get this error with vulkan-radeon and amdvlk.
Even with amdvlk driver the "Kernel driver in use" was radeon. So i followed this wiki article
My graphics card is:
VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii PRO [Radeon R9 290/390] (rev 80)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 2015
Kernel driver in use: amdgpu
Kernel modules: radeon, amdgpu
Last edited by phosit (2022-03-09 10:03:14)
Offline
Remove amdvlk and lib32-amdvlk. You should only have radeon-vulkan installed as that is the only one that will work. amdvlk is often a broken mess anyway but explicitly doesn't support the older GPUs anymore anyway (but still injects itself into the vulkan loader in a way that prevents the working radeon-vulkan from being attempted to be used).
Last edited by V1del (2022-03-09 09:16:31)
Offline
Ok i removed (lib32-)amdvlk and installed (lib32-)vulkan-radeon.
The output of vulkaninfo is now
ERROR: [Loader Message] Code 0 : loader_scanned_icd_add: Driver /usr/lib/libvulkan_radeon.so supports Vulkan 1.2, but only supports loader interface version 4. Interface version 5 or newer required to support this version of Vulkan (Policy #LDP_DRIVER_7)
ERROR: [Loader Message] Code 0 : setup_loader_term_phys_devs: Failed to detect any valid GPUs in the current config
ERROR: [Loader Message] Code 0 : setup_loader_tramp_phys_devs: Failed during dispatch call of 'vkEnumeratePhysicalDevices' to lower layers or loader to get count.
ERROR at /build/vulkan-tools/src/Vulkan-Tools-1.2.203/vulkaninfo/vulkaninfo.h:230:vkEnumeratePhysicalDevices failed with ERROR_INITIALIZATION_FAILED
Offline
Afaik that should work, what do you get for
sudo dmesg | grep -iE 'radeon|amdgpu'
glxinfo -B #mesa-utils
Offline
dmesg
[ 1.366383] [drm] radeon kernel modesetting enabled.
[ 1.366444] fb0: switching to radeon from EFI VGA
[ 1.366578] radeon 0000:01:00.0: vgaarb: deactivate vga console
[ 1.366953] radeon 0000:01:00.0: No more image in the PCI ROM
[ 1.367034] radeon 0000:01:00.0: VRAM: 8192M 0x0000000000000000 - 0x00000001FFFFFFFF (8192M used)
[ 1.367037] radeon 0000:01:00.0: GTT: 2048M 0x0000000200000000 - 0x000000027FFFFFFF
[ 1.367058] [drm] radeon: 8192M of VRAM memory ready
[ 1.367059] [drm] radeon: 2048M of GTT memory ready.
[ 1.398709] [drm] radeon: dpm initialized
[ 1.436582] radeon 0000:01:00.0: WB enabled
[ 1.436589] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000200000c00
[ 1.436590] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000200000c04
[ 1.436591] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000200000c08
[ 1.436592] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000200000c0c
[ 1.436592] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000200000c10
[ 1.436916] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000078d30
[ 1.437035] radeon 0000:01:00.0: fence driver on ring 6 use gpu addr 0x0000000200000c18
[ 1.437036] radeon 0000:01:00.0: fence driver on ring 7 use gpu addr 0x0000000200000c1c
[ 1.437570] radeon 0000:01:00.0: radeon: using MSI.
[ 1.437591] [drm] radeon: irq initialized.
[ 2.176933] [drm] Radeon Display Connectors
[ 2.354981] fbcon: radeondrmfb (fb0) is primary device
[ 2.445461] radeon 0000:01:00.0: [drm] fb0: radeondrmfb frame buffer device
[ 2.477754] [drm] Initialized radeon 2.50.0 20080528 for 0000:01:00.0 on minor 0
[ 2.641902] [drm] amdgpu kernel modesetting enabled.
[ 2.641950] amdgpu: CRAT table not found
[ 2.641952] amdgpu: Virtual CRAT table created for CPU
[ 2.641964] amdgpu: Topology: Add CPU node
and glxinfo:
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: AMD (0x1002)
Device: AMD HAWAII (DRM 2.50.0, 5.16.12-arch1-1, LLVM 13.0.1) (0x67b1)
Version: 21.3.7
Accelerated: yes
Video memory: 8192MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.5
Max compat profile version: 4.5
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
VBO free memory - total: 7991 MB, largest block: 7991 MB
VBO free aux. memory - total: 2009 MB, largest block: 2009 MB
Texture free memory - total: 7991 MB, largest block: 7991 MB
Texture free aux. memory - total: 2009 MB, largest block: 2009 MB
Renderbuffer free memory - total: 7991 MB, largest block: 7991 MB
Renderbuffer free aux. memory - total: 2009 MB, largest block: 2009 MB
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 8192 MB
Total available memory: 10235 MB
Currently available dedicated video memory: 7991 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD HAWAII (DRM 2.50.0, 5.16.12-arch1-1, LLVM 13.0.1)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 21.3.7
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.5 (Compatibility Profile) Mesa 21.3.7
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.3.7
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
Offline
There's too much radeon in both of these outputs for my liking. What exactly did you do in following the article for switching to the amdgpu driver? You need to to both disable the support in radeon and enable the support in amdgpu for this to work properly.
Is the lspci output actually copied from the system? What's your unfiltered
lspci -k
Offline
I thaught amdvlk is AMDGPU. As you sad i should remove amdvlk i reverted my changes to the initcpio.
VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii PRO [Radeon R9 290/390] (rev 80)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 2015
Kernel driver in use: radeon
Kernel modules: radeon, amdgpu
Offline
No. amdvlk and radv are user space vulkan implementations, amdgpu is a kernel driver, only amdgpu implements the necessary kernel hooks in a way that either vulkan-radeon or amdvlk can use the card. Make the changes for switching to amdgpu but don't install amdvlk.
Last edited by V1del (2022-03-09 09:57:12)
Offline
Ok i enabled the module manualy as of here
And vulkaninfo work.
Sory I didn't folow your instructions acurate.
Thank you for the fast reply.
Just for record:
dmesg
[ 0.701088] [drm] amdgpu kernel modesetting enabled.
[ 0.701227] amdgpu: CRAT table not found
[ 0.701229] amdgpu: Virtual CRAT table created for CPU
[ 0.701239] amdgpu: Topology: Add CPU node
[ 0.701307] fb0: switching to amdgpu from EFI VGA
[ 0.701445] amdgpu 0000:01:00.0: vgaarb: deactivate vga console
[ 0.701591] amdgpu 0000:01:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported
[ 0.701686] amdgpu 0000:01:00.0: No more image in the PCI ROM
[ 0.701699] amdgpu 0000:01:00.0: amdgpu: Fetched VBIOS from ROM BAR
[ 0.701701] amdgpu: ATOM BIOS: MS-V30823-F5
[ 0.703030] amdgpu 0000:01:00.0: BAR 2: releasing [mem 0xd0000000-0xd07fffff 64bit pref]
[ 0.703033] amdgpu 0000:01:00.0: BAR 0: releasing [mem 0xc0000000-0xcfffffff 64bit pref]
[ 0.703056] amdgpu 0000:01:00.0: BAR 0: assigned [mem 0x2000000000-0x21ffffffff 64bit pref]
[ 0.703063] amdgpu 0000:01:00.0: BAR 2: assigned [mem 0x2200000000-0x22007fffff 64bit pref]
[ 0.703084] amdgpu 0000:01:00.0: amdgpu: VRAM: 8192M 0x000000F400000000 - 0x000000F5FFFFFFFF (8192M used)
[ 0.703086] amdgpu 0000:01:00.0: amdgpu: GART: 1024M 0x000000FF00000000 - 0x000000FF3FFFFFFF
[ 0.703113] [drm] amdgpu: 8192M of VRAM memory ready
[ 0.703114] [drm] amdgpu: 8192M of GTT memory ready.
[ 0.708969] amdgpu: hwmgr_sw_init smu backed is ci_smu
[ 0.997819] kfd kfd: amdgpu: Allocated 3969056 bytes on gart
[ 0.997884] amdgpu: SW scheduler is used
[ 0.997909] amdgpu: SRAT table not found
[ 0.997910] amdgpu: Virtual CRAT table created for GPU
[ 0.998026] amdgpu: Topology: Add dGPU node [0x67b1:0x1002]
[ 0.998029] kfd kfd: amdgpu: added device 1002:67b1
[ 0.998036] amdgpu 0000:01:00.0: amdgpu: SE 4, SH per SE 1, CU per SH 11, active_cu_number 40
[ 1.000297] fbcon: amdgpudrmfb (fb0) is primary device
[ 1.108246] amdgpu 0000:01:00.0: [drm] fb0: amdgpudrmfb frame buffer device
[ 1.129062] amdgpu 0000:01:00.0: amdgpu: Using BOCO for runtime pm
[ 1.129544] [drm] Initialized amdgpu 3.44.0 20150101 for 0000:01:00.0 on minor 0
[ 1.154280] [drm] radeon kernel modesetting enabled.
[ 2.231984] snd_hda_intel 0000:01:00.1: bound 0000:01:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
glxinfo
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: AMD (0x1002)
Device: AMD Radeon R9 390 Series (HAWAII, DRM 3.44.0, 5.16.12-arch1-1, LLVM 13.0.1) (0x67b1)
Version: 21.3.7
Accelerated: yes
Video memory: 8192MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
VBO free memory - total: 7958 MB, largest block: 7958 MB
VBO free aux. memory - total: 8138 MB, largest block: 8138 MB
Texture free memory - total: 7958 MB, largest block: 7958 MB
Texture free aux. memory - total: 8138 MB, largest block: 8138 MB
Renderbuffer free memory - total: 7958 MB, largest block: 7958 MB
Renderbuffer free aux. memory - total: 8138 MB, largest block: 8138 MB
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 8192 MB
Total available memory: 16384 MB
Currently available dedicated video memory: 7958 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon R9 390 Series (HAWAII, DRM 3.44.0, 5.16.12-arch1-1, LLVM 13.0.1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 21.3.7
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 21.3.7
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.3.7
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
and the driver
VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii PRO [Radeon R9 290/390] (rev 80)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 2015
Kernel driver in use: amdgpu
Kernel modules: radeon, amdgpu
Offline