You are not logged in.
Pages: 1
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!
Offline
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
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
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
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
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
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
Remove all the primus and bumblebee stuff and use https://wiki.archlinux.org/title/PRIME# … er_offload instead.
Offline
Pages: 1