You are not logged in.

#1 2023-01-22 20:53:46

3ntropy
Member
Registered: 2023-01-22
Posts: 2

[SOLVED] vulkaninfo segfaulting with amdgpu configured

I am trying to verify that vulkan is running on my external graphics card. I have a Radeon RX6600XT.

I've followed through this post but I don't think I have the same issue even though the output is the same. Maybe I'm missing something though. Some help would be greatly appreciated

Here are some outputs from my debugging that might help:

vulkaninfo

:

WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Failed to CreateInstance in ICD 1.  Skipping ICD.
Segmentation fault (core dumped)
lspci -k | grep -A 3 -E "(VGA|3D)"

:

03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6600/6600 XT/6600M] (rev c1)
        Subsystem: XFX Limited Device 6501
        Kernel driver in use: amdgpu
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller
--
12:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raphael (rev c2)
        Subsystem: ASUSTeK Computer Inc. Device 8877
        Kernel driver in use: amdgpu

an excerpt of

dmesg | grep "amd"

:

[    0.363700] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).
[    3.443587] [drm] amdgpu kernel modesetting enabled.
[    3.443599] amdgpu: vga_switcheroo: detected switching method \_SB_.PCI0.GP17.VGA_.ATPX handle
[    3.447231] amdgpu: Ignoring ACPI CRAT on non-APU system
[    3.447233] amdgpu: Virtual CRAT table created for CPU
[    3.447238] amdgpu: Topology: Add CPU node
[    3.447312] amdgpu 0000:03:00.0: vgaarb: deactivate vga console
[    3.447344] amdgpu 0000:03:00.0: enabling device (0006 -> 0007)
[    3.449169] amdgpu 0000:03:00.0: amdgpu: Fetched VBIOS from VFCT
[    3.449170] amdgpu: ATOM BIOS: 113-123XT130W201222
[    3.449176] amdgpu 0000:03:00.0: amdgpu: Trusted Memory Zone (TMZ) feature disabled as experimental (default)
[    3.449232] amdgpu 0000:03:00.0: amdgpu: VRAM: 8176M 0x0000008000000000 - 0x00000081FEFFFFFF (8176M used)
[    3.449232] amdgpu 0000:03:00.0: amdgpu: GART: 512M 0x0000000000000000 - 0x000000001FFFFFFF
[    3.449233] amdgpu 0000:03:00.0: amdgpu: AGP: 267894784M 0x0000008400000000 - 0x0000FFFFFFFFFFFF
[    3.449275] [drm] amdgpu: 8176M of VRAM memory ready
[    3.449275] [drm] amdgpu: 15617M of GTT memory ready.
[    3.454004] amdgpu 0000:03:00.0: amdgpu: PSP runtime database doesn't exist
[    3.454007] amdgpu 0000:03:00.0: amdgpu: PSP runtime database doesn't exist
[    5.888622] amdgpu 0000:03:00.0: amdgpu: STB initialized to 2048 entries
[    5.910529] amdgpu 0000:03:00.0: amdgpu: Will use PSP to load VCN firmware
[    6.074601] amdgpu 0000:03:00.0: amdgpu: RAS: optional ras ta ucode is not available
[    6.089458] amdgpu 0000:03:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
[    6.089475] amdgpu 0000:03:00.0: amdgpu: smu driver if version = 0x0000000f, smu fw if version = 0x00000013, smu fw program = 0, version = 0x003b2a00 (59.42.0)
[    6.089477] amdgpu 0000:03:00.0: amdgpu: SMU driver if version not matched
[    6.089506] amdgpu 0000:03:00.0: amdgpu: use vbios provided pptable
[    6.166137] amdgpu 0000:03:00.0: amdgpu: SMU is initialized successfully
glxinfo -B #mesa-utils

:

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device: AMD Radeon RX 6600 XT (navi23, LLVM 15.0.7, DRM 3.49, 6.1.6-arch1-3) (0x73ff)
    Version: 22.3.3
    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: 7350 MB, largest block: 7350 MB
    VBO free aux. memory - total: 15566 MB, largest block: 15566 MB
    Texture free memory - total: 7350 MB, largest block: 7350 MB
    Texture free aux. memory - total: 15566 MB, largest block: 15566 MB
    Renderbuffer free memory - total: 7350 MB, largest block: 7350 MB
    Renderbuffer free aux. memory - total: 15566 MB, largest block: 15566 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 8192 MB
    Total available memory: 23809 MB
    Currently available dedicated video memory: 7350 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 6600 XT (navi23, LLVM 15.0.7, DRM 3.49, 6.1.6-arch1-3)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.3.3
OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.3.3
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 22.3.3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

And for completion sake, there is no output for

dmesg | grep "radeon"

Thanks in advance for any guidance!

Last edited by 3ntropy (2023-01-22 22:36:05)

Offline

#2 2023-01-22 22:28:37

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,657

Re: [SOLVED] vulkaninfo segfaulting with amdgpu configured

Why do you think you don't have the same issue as the linked thread? The amdvlk driver is a buggy mess and shouldn't be used in a general sense, even though your cards are theorethically supported. What happens if you remove amdvlk and only keep vulkan-radeon?

Offline

#3 2023-01-22 22:35:39

3ntropy
Member
Registered: 2023-01-22
Posts: 2

Re: [SOLVED] vulkaninfo segfaulting with amdgpu configured

Sorry I was under the incorrect assumption that you had to explicitly install amdvlk in order to have it. I thought since my lspci said amdgpu that I didn't have it. I removed those packages and vulkaninfo works perfectly. Thanks!

Offline

#4 2023-01-23 11:52:15

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: [SOLVED] vulkaninfo segfaulting with amdgpu configured


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB