You are not logged in.

#1 Yesterday 12:24:07

DarthOrdo
Member
Registered: Yesterday
Posts: 3

vulkan-nouveau causing vulkaninfo OOM but nothing else(?)

I've recently installed the NVK Vulkan driver because my OBS wasn't working with the NVIDIA drivers (didn't create a window and wouldn't exit by any means). This seems to have worked, I've got applications like Godot using my NVIDIA card with Vulkan and 'NVK GB207' showing up in brackets. When I run 'vulkaninfo' however, I get the following error:

ERROR at /usr/src/debug/vulkan-tools/Vulkan-Tools/vulkaninfo/./vulkaninfo.h:249:vkGetPhysicalDeviceDisplayPlanePropertiesKHR failed with ERROR_OUT_OF_HOST_MEMORY

Looking at other similar errors they seem to be from either conflicting drivers or drivers not loading(?). I only have 'vulkan-intel' and 'vulkan-nouveau' installed so I don't really see where the problem would be.

For some reason, after a while (or doing something I don't understand) 'vulkaninfo' doesn't OOM anymore, showing both GPUs correctly (with NVK on the NVIDIA card).

Any idea what the issue could be? I'm worried that even if everything else seems to work, I might have something installed wrong.

System Specs
Machine: System76 Gazelle 20 Laptop
Integrated GPU: "Intel® Graphics"
Discrete GPU: "NVIDIA GeForce RTX 5050 Laptop GPU"
Display Server: Wayland/KWin

pacman -Qs "mesa|intel|nvidia|vulkan"

local/glu 9.0.3-3
    Mesa OpenGL utility library
local/intel-ucode 20260227-1
    Microcode update files for Intel CPUs
local/lib32-mesa 1:26.0.4-1
    Open-source OpenGL drivers - 32-bit
local/lib32-opencl-mesa 1:26.0.4-1
    Open-source OpenCL drivers - 32-bit
local/lib32-vulkan-icd-loader 1.4.341.0-1
    Vulkan Installable Client Driver (ICD) Loader (32-bit)
local/lib32-vulkan-intel 1:26.0.4-1
    Open-source Vulkan driver for Intel GPUs - 32-bit
local/lib32-vulkan-mesa-implicit-layers 1:26.0.4-1
    Mesa's implicit Vulkan layers - 32-bit
local/lib32-vulkan-nouveau 1:26.0.4-1
    Open-source Vulkan driver for Nvidia GPUs - 32-bit
local/libmfx 23.2.2-6
    Intel Media SDK dispatcher library
local/libva-nvidia-driver 0.0.16-1
    VA-API implementation that uses NVDEC as a backend
local/libvdpau 1.5-4
    Nvidia VDPAU library
local/libvpl 2.16.0-2
    Intel Video Processing Library
local/linux-firmware-intel 20260309-1
    Firmware files for Linux - Firmware for Intel devices
local/linux-firmware-nvidia 20260309-1
    Firmware files for Linux - Firmware for NVIDIA GPUs and SoCs
local/mesa 1:26.0.4-1
    Open-source OpenGL drivers
local/mesa-utils 9.0.0-7
    Essential Mesa utilities
local/onetbb 2022.3.0-4
    oneAPI Threading Building Blocks - a high level abstract threading library
local/opencl-mesa 1:26.0.4-1
    Open-source OpenCL drivers
local/qt6-shadertools 6.11.0-1 (qt6)
    Provides functionality for the shader pipeline that allows Qt Quick to operate on Vulkan, Metal, and Direct3D, in addition to OpenGL
local/spirv-tools 1:1.4.341.0-2 (vulkan-devel)
    API and commands for processing SPIR-V modules
local/vulkan-icd-loader 1.4.341.0-1 (vulkan-devel)
    Vulkan Installable Client Driver (ICD) Loader
local/vulkan-intel 1:26.0.4-1
    Open-source Vulkan driver for Intel GPUs
local/vulkan-mesa-implicit-layers 1:26.0.4-1
    Mesa's implicit Vulkan layers
local/vulkan-nouveau 1:26.0.4-1
    Open-source Vulkan driver for Nvidia GPUs
local/vulkan-tools 1.4.341.0-2 (vulkan-devel)
    Vulkan tools and utilities

Last edited by DarthOrdo (Yesterday 12:30:34)

Offline

#2 Yesterday 13:03:56

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,555

Re: vulkan-nouveau causing vulkaninfo OOM but nothing else(?)

https://archlinux.org/packages/extra/x86_64/nvtop/
https://archlinux.org/packages/extra/x8 … gpu-tools/ (intel-gpu-top)

vulkaninfo --summary

and you can control which vulkan implementation to use,

ls /usr/share/vulkan/icd.d/
export VK_DRIVER_FILES=/usr/share/vulkan/icd.d/<driver_here>_icd.json

Offline

#3 Yesterday 15:01:29

DarthOrdo
Member
Registered: Yesterday
Posts: 3

Re: vulkan-nouveau causing vulkaninfo OOM but nothing else(?)

Installing and running 'nvtop' and 'intel_gpu_top' displays my integrated Intel GPU but not the NVIDIA card. Running a program using the NVIDIA card (via DRI_PRIME or just Godot using it by default) displays it as using 0% GPU but does seem to be using the it (Godot and glxinfo report NVK), it's just not being detected.

vulkaninfo --summary

doesn't do anything different to the raw command, throws the same ERROR_OUT_OF_HOST_MEMORY error and exits, nothing else happens.

Running 'vulkaninfo' with VK_DRIVER_FILES exported as 'intel_icd.json' works when 'vulkaninfo' would otherwise be OOM-ing but only shows the Intel card. 'nouveau_icd.json' OOMs so the issue is specifically with NVK (I assume specifying the driver files limits 'vulkaninfo' to detecting only one driver?).

Last edited by DarthOrdo (Yesterday 15:04:19)

Offline

#4 Yesterday 15:24:31

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,555

Re: vulkan-nouveau causing vulkaninfo OOM but nothing else(?)

Hold on, you're using nvidia? Remove vulkan-nouveau.
Also post the output of

qdbus6 org.kde.KWin /KWin supportInformation

and your complete system journal for the boot:

sudo journalctl -b | curl -s -H "Accept: application/json, */*" --upload-file - 'https://paste.c-net.org/'

Nvidia shows usage in "nvidia-smi"

Offline

#5 Yesterday 16:24:46

DarthOrdo
Member
Registered: Yesterday
Posts: 3

Re: vulkan-nouveau causing vulkaninfo OOM but nothing else(?)

To clarify, I would like to be able to use my discrete NVIDIA GPU for Vulkan using NVK (vulkan-nouveau). I have uninstalled nvidia-open and nvidia-utils because they weren't working and vulkan-nouveau was. Thinking about this a bit more I assume vulkaninfo is just more pedantic than most applications and that the bug I'm experiencing is some combination of NVK being unstable and my GPU being from 2025.

Last edited by DarthOrdo (Yesterday 16:36:37)

Offline

#6 Yesterday 19:24:41

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,905

Re: vulkan-nouveau causing vulkaninfo OOM but nothing else(?)

For clarity : what is the output of

$ MESA_VK_DEVICE_SELECT=list vulkaninfo

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

Board footer

Powered by FluxBB