You are not logged in.
I installed Arch last night, and realized that something was wrong with my Vulkan install with my GPU (GTX 1080) when Steam failed to launch anything. Nouveau seems to work otherwise.
Here's my error:
$ vulkaninfo
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_FAILEDHere's my hardware:
$ lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1080] (rev a1)Here are my packages:
$ pacman -Qs vulkan
local/lib32-vulkan-icd-loader 1.3.279-1
Vulkan Installable Client Driver (ICD) Loader (32-bit)
local/lib32-vulkan-nouveau 1:24.1.1-1
Open-source Vulkan driver for Nvidia GPUs - 32-bit
local/spirv-tools 2024.1-1 (vulkan-devel)
API and commands for processing SPIR-V modules
local/vulkan-icd-loader 1.3.285-1
Vulkan Installable Client Driver (ICD) Loader
local/vulkan-nouveau 1:24.1.1-1
Open-source Vulkan driver for Nvidia GPUs
local/vulkan-tools 1.3.269-1 (vulkan-devel)
Vulkan Utilities and ToolsHere's my kernel stuff. I have also tried
nouveau.config=NvBios=PRAMIN$ sudo dmesg | grep nouveau
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-linux-zen root=UUID=8acb0221-29d5-4ba5-a211-809abf3bc658 rw loglevel=3 quiet nouveau.config=NvGspRm=1
[ 0.043392] Kernel command line: BOOT_IMAGE=/vmlinuz-linux-zen root=UUID=8acb0221-29d5-4ba5-a211-809abf3bc658 rw loglevel=3 quiet nouveau.config=NvGspRm=1
[ 1.353929] nouveau 0000:01:00.0: vgaarb: deactivate vga console
[ 1.354017] nouveau 0000:01:00.0: NVIDIA GP104 (134000a1)
[ 1.457756] nouveau 0000:01:00.0: bios: version 86.04.3b.00.c8
[ 1.458269] nouveau 0000:01:00.0: pmu: firmware unavailable
[ 1.460019] nouveau 0000:01:00.0: fb: 8192 MiB GDDR5X
[ 1.471907] nouveau 0000:01:00.0: DRM: VRAM: 8192 MiB
[ 1.471911] nouveau 0000:01:00.0: DRM: GART: 536870912 MiB
[ 1.471913] nouveau 0000:01:00.0: DRM: BIT table 'A' not found
[ 1.471929] nouveau 0000:01:00.0: DRM: BIT table 'L' not found
[ 1.471930] nouveau 0000:01:00.0: DRM: TMDS table version 2.0
[ 1.473144] nouveau 0000:01:00.0: DRM: MM: using COPY for buffer copies
[ 1.727824] [drm] Initialized nouveau 1.4.0 20120801 for 0000:01:00.0 on minor 0
[ 1.763613] fbcon: nouveaudrmfb (fb0) is primary device
[ 1.763618] nouveau 0000:01:00.0: [drm] fb0: nouveaudrmfb frame buffer device
[ 1.780509] nouveau 0000:01:00.0: DRM: Disabling PCI power management to avoid bug
[ 3.180031] snd_hda_intel 0000:01:00.1: bound 0000:01:00.0 (ops nv50_audio_component_bind_ops [nouveau])Here are the drivers
$ ls /usr/share/vulkan/icd.d/
nouveau_icd.i686.json nouveau_icd.x86_64.jsonHere are some modules:
$ lsmod | grep nouveau
nouveau 3874816 15
drm_ttm_helper 12288 1 nouveau
ttm 110592 2 drm_ttm_helper,nouveau
gpu_sched 65536 1 nouveau
i2c_algo_bit 24576 1 nouveau
drm_gpuvm 49152 1 nouveau
drm_exec 12288 2 drm_gpuvm,nouveau
mxm_wmi 12288 1 nouveau
drm_display_helper 274432 1 nouveau
video 77824 2 asus_wmi,nouveau
wmi 36864 5 video,asus_wmi,wmi_bmof,mxm_wmi,nouveauThe Nouveau kernel module should load automatically on system boot. If it does not happen, then:
Make sure you do not have nomodeset or vga= as a kernel parameter, since Nouveau requires kernel mode-setting.
Also, check that you do not have Nouveau disabled using any modprobe blacklisting technique within /etc/modprobe.d/ or /usr/lib/modprobe.d/.
If everything above still fails to load nouveau, check dmesg for an opcode error. Add nouveau.config=NvBios=PRAMIN to your Kernel parameters to prevent module unloading.[1]
Check if /etc/X11/xorg.conf or any file in /etc/X11/xorg.conf.d/ exists and is referencing the nvidia driver. It is probably a good idea to rename the file.
But none of that seems to apply to this situation. What can I try to fix this?
Last edited by pasimko (2024-06-13 23:03:09)
Offline
have you tried to install the nvidia proprietary drivers?
Offline
I haven't - was hoping to stick with open source, but it might be worth a shot.
Offline
See the warning in https://wiki.archlinux.org/title/Nouvea … kan_Driver
Try
VK_DRIVER_FILES=/usr/share/vulkan/icd.d/nouveau_icd.x86_64.json vulkaninfoOffline
From https://docs.mesa3d.org/drivers/nvk.html
Hardware support
NVK currently supports Turing (RTX 20XX and GTX 16XX) and later GPUs. Eventually, we plan to support as far back as Kepler (GeForce 600 and 700 series) GPUs but anything pre-Turing is currently disabled by default.
Looks like your GPU may not be supported yet by NVK
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
I haven't - was hoping to stick with open source, but it might be worth a shot.
I'm also using a GTX 1080 with nouveau + vulkan and it works pretty OK (including playing vulkan based games), you just need to set NVK_I_WANT_A_BROKEN_VULKAN_DRIVER=1 (I have it exported in my environment).
Offline
you just need to set NVK_I_WANT_A_BROKEN_VULKAN_DRIVER=1 (I have it exported in my environment).
I am such a noob that I have to sincerely ask for clarification: is this a joke or not?
I am also having pasimko's problem, after failing to get nvidia or nvidia-dkms drivers to work for my GTX 1070.
Last edited by pooplinux (2024-12-02 05:45:00)
Offline
Have you tried to google that token?
Generally, when dealing with nerds and grumpy engineers - without any kind of corporate frontoffice - you can expect this kind of stuff ![]()
Offline
That's very funny. Thanks for the tip.
Last edited by pooplinux (2024-12-09 05:49:49)
Offline