You are not logged in.

#1 2023-12-03 23:48:34

onthegrid007
Member
Registered: 2023-12-03
Posts: 4

Vulkan No Physical Devices Recognized

Hi I am new to programming on arch, I am attempting to use CMake with the newly installed vulkan-devel but when poking around I cant seem to figure out how to have it detect my GPU.

My outputs:

vulkaninfo --summary
'''
ERROR: [Loader Message] Code 0 : setup_loader_term_phys_devs:  Failed to detect any valid GPUs in the current config
ERROR at /usr/src/debug/vulkan-tools/Vulkan-Tools-1.3.269/vulkaninfo/./vulkaninfo.h:237:vkEnumeratePhysicalDevices failed with ERROR_INITIALIZATION_FAILED
'''

glxinfo -B
'''
ERROR: [Loader Message] Code 0 : setup_loader_term_phys_devs:  Failed to detect any valid GPUs in the current config
ERROR at /usr/src/debug/vulkan-tools/Vulkan-Tools-1.3.269/vulkaninfo/./vulkaninfo.h:237:vkEnumeratePhysicalDevices failed with ERROR_INITIALIZATION_FAILED
[localadmin@busybox RAITOEngine]$ LIBGL_DEBUG=1 glxinfo -B
name of display: :1
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/localadmin/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/localadmin/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/localadmin/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/localadmin/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/localadmin/.drirc: No such file or directory.
display: :1  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device: AMD Radeon Graphics (renoir, LLVM 16.0.6, DRM 3.49, 6.1.61-1-lts) (0x1638)
    Version: 23.2.1
    Accelerated: yes
    Video memory: 512MB
    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: 78 MB, largest block: 78 MB
    VBO free aux. memory - total: 7533 MB, largest block: 7533 MB
    Texture free memory - total: 78 MB, largest block: 78 MB
    Texture free aux. memory - total: 7533 MB, largest block: 7533 MB
    Renderbuffer free memory - total: 78 MB, largest block: 78 MB
    Renderbuffer free aux. memory - total: 7533 MB, largest block: 7533 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 512 MB
    Total available memory: 8209 MB
    Currently available dedicated video memory: 78 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon Graphics (renoir, LLVM 16.0.6, DRM 3.49, 6.1.61-1-lts)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.2.1-arch1.2
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 23.2.1-arch1.2
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 23.2.1-arch1.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
'''

I have an RTX 3060 discrete card alongside the AMD integrated and can not seem to get it to be recognized... Any help would be appreciated! smile

Offline

#2 2023-12-04 07:07:08

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,749
Website

Re: Vulkan No Physical Devices Recognized

Try

DRI_PRIME=1 vulkaninfo --summary

Or for the proprietary drivers:

# pacman -Syu nvidia-prime
$ prime-run vulkaninfo --summary

Reference: https://wiki.archlinux.org/title/PRIME# … offloading

Offline

#3 2023-12-04 10:53:50

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,965

Re: Vulkan No Physical Devices Recognized

The output of pacman -Qs vulkan would also be helpful.

Welcome to archlinux forums.


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

#4 2023-12-05 15:27:20

onthegrid007
Member
Registered: 2023-12-03
Posts: 4

Re: Vulkan No Physical Devices Recognized

DRI_PRIME=1 vulkaninfo --summary

Can't open bumblebee display.
ERROR: [Loader Message] Code 0 : loader_scanned_icd_add: ICD libnv_vulkan_wrapper.so.1 doesn't support interface version compatible with loader, skip this ICD.
ERROR: [Loader Message] Code 0 : setup_loader_term_phys_devs:  Failed to detect any valid GPUs in the current config
ERROR at /usr/src/debug/vulkan-tools/Vulkan-Tools-1.3.269/vulkaninfo/./vulkaninfo.h:237:vkEnumeratePhysicalDevices failed with ERROR_INITIALIZATION_FAILED

prime-run vulkaninfo --summary

Can't open bumblebee display.
ERROR: [Loader Message] Code 0 : loader_scanned_icd_add: ICD libnv_vulkan_wrapper.so.1 doesn't support interface version compatible with loader, skip this ICD.
ERROR: [Loader Message] Code 0 : setup_loader_term_phys_devs:  Failed to detect any valid GPUs in the current config
ERROR at /usr/src/debug/vulkan-tools/Vulkan-Tools-1.3.269/vulkaninfo/./vulkaninfo.h:237:vkEnumeratePhysicalDevices failed with ERROR_INITIALIZATION_FAILED

pacman -Qs vulkan

error: invalid name for database entry 'sync'
local/lib32-vulkan-icd-loader 1.3.208-1
    Vulkan Installable Client Driver (ICD) Loader (32-bit)
local/nvidia-utils 545.29.06-1
    NVIDIA drivers utilities
local/primus_vk 1.6.2-1
    Nvidia Vulkan offloading for Bumblebee
local/spirv-tools 2023.5-1 (vulkan-devel)
    API and commands for processing SPIR-V modules
local/vulkan-extra-layers 1.3.250.0-1 (vulkan-devel)
    Extra layers for Vulkan development
local/vulkan-extra-tools 1.3.250.0-1 (vulkan-devel)
    Vulkan lunarg tools
local/vulkan-headers 1:1.3.269-1 (vulkan-devel)
    Vulkan header files
local/vulkan-html-docs 1:1.3.257-1 (vulkan-devel)
    Vulkan html documentation
local/vulkan-icd-loader 1.3.269-1
    Vulkan Installable Client Driver (ICD) Loader
local/vulkan-tools 1.3.269-1 (vulkan-devel)
    Vulkan Utilities and Tools
local/vulkan-utility-libraries 1.3.269-1 (vulkan-devel)
    Vulkan Utility Libraries
local/vulkan-validation-layers 1.3.268.0-1 (vulkan-devel)
    Vulkan Validation Layers

Offline

#5 2023-12-05 15:45:41

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,965

Re: Vulkan No Physical Devices Recognized

Please use [ code ] [ /code] tags, see https://bbs.archlinux.org/help.php#bbcode

Can't open bumblebee display.

Bumblebee has not been the best solution for a few years and can even cause issue with latest drivers / cards.
Please remove everything related to bumblebee .

Your system appears to have an amd card + a nvidia card, Install vulkan-radeon & vulkan-mesa-layers . re-run vulkaninfo --summary.

You should also check https://wiki.archlinux.org/title/NVIDIA_Optimus and consider using Prime#render offloading .



and is nowadays only useful for old nvidia


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

#6 2023-12-05 19:48:58

onthegrid007
Member
Registered: 2023-12-03
Posts: 4

Re: Vulkan No Physical Devices Recognized

Lone_Wolf wrote:

Please use [ code ] [ /code] tags, see https://bbs.archlinux.org/help.php#bbcode

Can't open bumblebee display.

Bumblebee has not been the best solution for a few years and can even cause issue with latest drivers / cards.
Please remove everything related to bumblebee .

Your system appears to have an amd card + a nvidia card, Install vulkan-radeon & vulkan-mesa-layers . re-run vulkaninfo --summary.

You should also check https://wiki.archlinux.org/title/NVIDIA_Optimus and consider using Prime#render offloading .



and is nowadays only useful for old nvidia

I have a nvidia rtx 3060, the amd is from the Ryzen 9 intigrated graphics chip, should I still uninstall bumblebee?

Offline

#7 2023-12-05 21:37:44

onthegrid007
Member
Registered: 2023-12-03
Posts: 4

Re: Vulkan No Physical Devices Recognized

I installed the vulkan-radeon & vulkan-mesa-layers packages and it detects the amd gpu now but how would I go about getting the RTX card to work?

Offline

#8 2023-12-05 23:21:49

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

Re: Vulkan No Physical Devices Recognized

Remove all the primus and bumblebee stuff and use https://wiki.archlinux.org/title/PRIME# … er_offload instead.

Offline

Board footer

Powered by FluxBB