-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Open
Labels
Description
Im running into an issue where my gpu is not seen inside of localai
john@home ~> MESA_VK_DEVICE_SELECT=list vulkaninfo
'DISPLAY' environment variable not set... skipping surface info
selectable devices:
GPU 0: 1002:1586 "Radeon 8060S Graphics (RADV GFX1151)" integrated GPU 0000:f5:00.0
GPU 1: 10005:0 "llvmpipe (LLVM 20.1.8, 256 bits)" CPU 0000:00:00.0
However when I run the command inside of the container
WARNING: [Loader Message] Code 0 : Layer VK_LAYER_MESA_device_select uses API version 1.3 which is older than the application specified API version of 1.4. May cause issues.
WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Received return code -3 from call to vkCreateInstance in ICD /usr/lib/x86_64-linux-gnu/libvulkan_virtio.so. Skipping this driver.
'DISPLAY' environment variable not set... skipping surface info
error: XDG_RUNTIME_DIR not set in the environment.
amdgpu: unknown (family_id, chip_external_rev): (150, 193)
ERROR: [../src/amd/vulkan/radv_physical_device.c:1918] Code 0 : failed to initialize winsys (VK_ERROR_INITIALIZATION_FAILED)
ERROR: [Loader Message] Code 0 : setup_loader_term_phys_devs: Call to 'vkEnumeratePhysicalDevices' in ICD /usr/lib/x86_64-linux-gnu/libvulkan_radeon.so failed with error code -3
amdgpu: unknown (family_id, chip_external_rev): (150, 193)
ERROR: [../src/amd/vulkan/radv_physical_device.c:1918] Code 0 : failed to initialize winsys (VK_ERROR_INITIALIZATION_FAILED)
ERROR: [Loader Message] Code 0 : setup_loader_term_phys_devs: Call to 'vkEnumeratePhysicalDevices' in ICD /usr/lib/x86_64-linux-gnu/libvulkan_radeon.so failed with error code -3
selectable devices:
GPU 0: 10005:0 "llvmpipe (LLVM 15.0.7, 256 bits)" CPU