Ah, sorry; wrong doc. That’s layers, not drivers.
I have switched to zen kernel and it is slightly better. The errors are still there:
rstasta@nixos ~ ♥ 11:08 google-chrome-stable
DRM kernel driver 'nvidia-drm' in use. NVK requires nouveau.
[4562:4688:0330/110808.771270:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[4562:4688:0330/110808.771597:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[4562:4688:0330/110808.771901:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
libva error: /run/opengl-driver/lib/dri/nvidia_drv_video.so init failed
But at least it starts instantly, there are no nvidia errors in journalctl and I don’t need to wait three minutes
I have the same issue with multiple programs (rio terminal, a lot electron apps) running under Wayland. Did you solve this?
I have this as well, using a dedicated GPU (1070) and Plasma X11.
I found that mesa comes with a few vulkan ICDs by default, including the nouveau icd which vulkan is probably trying to load but failing since nouveau isn’t installed. You can limit things to only use the proprietary nvidia driver if you set VK_DRIVER_FILES=/run/opengl-driver/share/vulkan/icd.d/nvidia_icd.x86_64.json
Sadly no. The error is still there, but my problem was related to bug in Google Chrome itself, so this was false positive. Errors are sitll present but it seems it is not breaking anything for me, so I just live with it
I finally encountered this too, what are the chances this is the underlying bug: Unknown Display 31" detected in latest kernel+wayland+nvidia · Issue #302059 · NixOS/nixpkgs · GitHub
Basically, simpledrm
is loaded as a second “card”, and lots of applications attempt to render with it, which results in this confusing error. It’s probably down to kernel config, see issue for more details, but this is a workaround for now:
hardware.nvidia.modesetting.enable = true;
boot.kernelParams = [ "nvidia-drm.fbdev=1" ];
I have the same issue, tried to install obsidian but somehow fail when starting it, tried to launch it with the VK_DRIVER_FILES=/run/opengl-driver/share/vulkan/icd.d/nvidia_icd.x86_64.json variable environment but fail to start, I try adding :
hardware.nvidia.modesetting.enable = true;
boot.kernelParams = [ "nvidia-drm.fbdev=1" ];
but fails too, and what’s even weirder is that somehow obsidian rarely success to start, why? I don’t know I litterally changed nothing to my environment between the two start session, not even rebooting.
There’s some related issues(I think) I found :
I think the issue is only related to chrome based app
Awesome, would be cool if you can deny my suspicion, there can obviously be other things causing this.
Among those two issues neither has more info that would suggest it is or is not the same thing I saw. The former is using wayland, which would have the same symptoms, the latter has no info at all.
Could you check if you have two cards?
$ ls /dev/dri
by-path card0 card1 renderD128
Your nvidia driver version is also relevant, this was fixed in 545.23.06
.
Also, just to be clear, if you change your kernel args you need to reboot for them to take effect.
I have the same issue as them. My driver version is 550.90.07 and on ls /dev/dri
I get the following.
by-path card1 renderD128
Adding environment.sessionVariables.VK_DRIVER_FILES = "/run/opengl-driver/share/vulkan/icd.d/nvidia_icd.x86_64.json";
solved this issue but introduced a new one in form of Vulkan failing to initialize.
There is what I get when doing ls /dev/dri
:
by-path card1 card2 renderD128 renderD129
and this is my driver version for Nvidia : 555.58.02
I have the latest driver now because I recently updated my channel, I didn’t test if obsidian work now…
Update
I just tested obsidian now from nixpkgs unstable and it’s behavior is always this weird… so for the moment I use the flatpak version of it, this one work great!
EDIT :
Steam have weird issue too, if I start it from the terminal all work fine, but I got this nvidia warning :
$ steam
steam.sh[304339]: Running Steam on nixos 24.11 64-bit
steam.sh[304339]: STEAM_RUNTIME is enabled automatically
setup.sh[304417]: Steam runtime environment up-to-date!
steam.sh[304339]: Steam client's requirements are satisfied
[2024-07-06 00:12:25] Startup - updater built Jun 20 2024 17:13:49
[2024-07-06 00:12:25] Startup - Steam Client launched with: '/home/alez/.local/share/Steam/ubuntu12_32/steam' '-srt-logger-opened'
07/06 00:12:25 minidumps folder is set to /tmp/dumps
07/06 00:12:25 Init: Installing breakpad exception handler for appid(steam)/version(1718904662)/tid(304478)
[2024-07-06 00:12:25] Loading cached metrics from disk (/home/alez/.local/share/Steam/package/steam_client_metrics.bin)
[2024-07-06 00:12:25] Using the following download hosts for Public, Realm steamglobal
[2024-07-06 00:12:25] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2024-07-06 00:12:25] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
[2024-07-06 00:12:25] 3. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2024-07-06 00:12:25] Verifying installation...
[2024-07-06 00:12:25] Verification complete
UpdateUI: skip show logo
Steam logging initialized: directory: /home/alez/.local/share/Steam/logs
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xe9b267b0
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xe9b24f90
CAppInfoCacheReadFromDiskThread took 30 milliseconds to initialize
Steam Runtime Launch Service: starting steam-runtime-launcher-service
Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 304731
bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam
DRM kernel driver 'nvidia-drm' in use. NVK requires nouveau.
DRM kernel driver 'nvidia-drm' in use. NVK requires nouveau.
DRM kernel driver 'nvidia-drm' in use. NVK requires nouveau.
DRM kernel driver 'nvidia-drm' in use. NVK requires nouveau.
BRefreshApplicationsInLibrary 1: 0ms
BuildCompleteAppOverviewChange: 257 apps
RegisterForAppOverview 1: 5ms
RegisterForAppOverview 2: 6ms
but when I start it from the app launcher (Hyprland with wofi) it start normally but the window is transparent, very weird
Assuming you’re not deliberately using a multi-gpu setup, that definitely looks like an instance of the bug I ran into. If so, you will have some applications failing, depending on whether they happen to use your actual GPU or not.
What’s the rest of your config? Did you reboot after making nvidia drive the fbdev? What does dmesg | grep drm
give you?
There is the output of dmesg | grep drm
:
[ 0.000000] Command line: initrd=\EFI\nixos\glj2dvijkjlkjbmgyp2kvwwxz7xhkw5b-initrd-linux-6.6.36-initrd.efi init=/nix/store/ff00jj49f8bfjp3d7j71wzqnl5n4mssd-nixos-system-nixos-24.11.20240703.9f4128e/init nvidia-drm.fbdev=1 quiet splash boot.shell_on_fail loglevel=3 rd.systemd.show_status=false rd.udev.log_level=3 udev.log_priority=3 psi=1 systemd.unified_cgroup_hierarchy=0 splash loglevel=0 nvidia-drm.modeset=1
[ 0.043979] Kernel command line: initrd=\EFI\nixos\glj2dvijkjlkjbmgyp2kvwwxz7xhkw5b-initrd-linux-6.6.36-initrd.efi init=/nix/store/ff00jj49f8bfjp3d7j71wzqnl5n4mssd-nixos-system-nixos-24.11.20240703.9f4128e/init nvidia-drm.fbdev=1 quiet splash boot.shell_on_fail loglevel=3 rd.systemd.show_status=false rd.udev.log_level=3 udev.log_priority=3 psi=1 systemd.unified_cgroup_hierarchy=0 splash loglevel=0 nvidia-drm.modeset=1
[ 0.779385] ACPI: bus type drm_connector registered
[ 0.781770] [drm] Initialized simpledrm 1.0.0 20200625 for simple-framebuffer.0 on minor 0
[ 0.782098] simple-framebuffer simple-framebuffer.0: [drm] fb0: simpledrmdrmfb frame buffer device
[ 2.433733] systemd[1]: Starting Load Kernel Module drm...
[ 2.479462] systemd[1]: modprobe@drm.service: Deactivated successfully.
[ 2.515627] systemd[1]: Finished Load Kernel Module drm.
[ 3.455384] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[ 4.965761] [drm] amdgpu kernel modesetting enabled.
[ 4.968369] [drm] initializing kernel modesetting (RENOIR 0x1002:0x1638 0x103C:0x8912 0xC4).
[ 5.075597] [drm] register mmio base: 0xFC500000
[ 5.075600] [drm] register mmio size: 524288
[ 5.078062] [drm] add ip block number 0 <soc15_common>
[ 5.078064] [drm] add ip block number 1 <gmc_v9_0>
[ 5.078065] [drm] add ip block number 2 <vega10_ih>
[ 5.078066] [drm] add ip block number 3 <psp>
[ 5.078067] [drm] add ip block number 4 <smu>
[ 5.078068] [drm] add ip block number 5 <dm>
[ 5.078069] [drm] add ip block number 6 <gfx_v9_0>
[ 5.078070] [drm] add ip block number 7 <sdma_v4_0>
[ 5.078072] [drm] add ip block number 8 <vcn_v2_0>
[ 5.078073] [drm] add ip block number 9 <jpeg_v2_0>
[ 5.083752] [drm] VCN decode is enabled in VM mode
[ 5.083754] [drm] VCN encode is enabled in VM mode
[ 5.085260] [drm] JPEG decode is enabled in VM mode
[ 5.098601] [drm] vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is 9-bit
[ 5.098619] [drm] Detected VRAM RAM=512M, BAR=512M
[ 5.098621] [drm] RAM width 128bits DDR4
[ 5.098739] [drm] amdgpu: 512M of VRAM memory ready
[ 5.098741] [drm] amdgpu: 15720M of GTT memory ready.
[ 5.098768] [drm] GART: num cpu pages 262144, num gpu pages 262144
[ 5.098897] [drm] PCIE GART of 1024M enabled.
[ 5.098899] [drm] PTB located at 0x000000F41FC00000
[ 5.099063] [drm] Loading DMUB firmware via PSP: version=0x01010028
[ 5.099465] [drm] Found VCN firmware Version ENC: 1.21 DEC: 7 VEP: 0 Revision: 3
[ 5.802784] [drm] reserve 0x400000 from 0xf41f800000 for PSP TMR
[ 5.804429] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
[ 5.895554] nvidia 0000:01:00.0: [drm] fb0: nvidia-drmdrmfb frame buffer device
[ 5.904085] [drm] Display Core v3.2.247 initialized on DCN 2.1
[ 5.904087] [drm] DP-HDMI FRL PCON supported
[ 5.904626] [drm] DMUB hardware initialized: version=0x01010028
[ 6.277605] [drm] kiq ring mec 2 pipe 1 q 0
[ 6.282623] [drm] VCN decode and encode initialized successfully(under DPG Mode).
[ 6.282638] [drm] JPEG decode initialized successfully.
[ 6.409278] [drm] Initialized amdgpu 3.54.0 20150101 for 0000:07:00.0 on minor 2
[ 6.417835] fbcon: amdgpudrmfb (fb1) is primary device
[ 6.417840] amdgpu 0000:07:00.0: [drm] fb1: amdgpudrmfb frame buffer device
[ 6.421552] [drm] DSC precompute is not needed.
[ 19.703089] [drm] [nvidia-drm] [GPU ID 0x00000100] Framebuffer memory not appropriate for scanout
[ 1118.690063] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x000000008a2c6604
[ 1118.908163] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x00000000cb4145aa
[ 1119.120732] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x0000000047c01c33
[ 1124.410060] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x00000000cb4145aa
[ 1124.709094] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x00000000cb4145aa
[ 1124.975813] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x00000000cb4145aa
[ 1132.518246] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x00000000cb4145aa
[ 1132.741846] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x00000000b41e00ae
[ 1132.963088] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x00000000cb4145aa
[ 1799.716244] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x00000000b37fbacc
[ 1799.792048] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x00000000d700a4ca
[ 1799.857367] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x0000000077e304d8
[ 3161.675820] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x000000003e4d4f3e
[ 3161.762138] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x00000000a995e617
[ 3161.834263] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x00000000059f8d64
and for info I have a laptop with a Nvidia GPU and an integrated amd gpu
Fair enough, that’s a different scenario then. I’d be curious if this is crossed wires with whatever you use to switch between GPUs.
Your system does also load simpledrm, but it’s not the issue:
Either way, I guess this particular error can come about a number of ways, and what I found just happened to be one way that lined up roughly with the report dates. Further debugging would require playing around with your configuration until you manage to root cause it.
I get the same warning from steam but unlike in your case it out right fails, even if I attempt to start it from the console.
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xf04207b0
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xf041ef90
CAppInfoCacheReadFromDiskThread took 120 milliseconds to initialize
Steam Runtime Launch Service: starting steam-runtime-launcher-service
Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 15880
bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam
DRM kernel driver 'nvidia-drm' in use. NVK requires nouveau.
DRM kernel driver 'nvidia-drm' in use. NVK requires nouveau.
DRM kernel driver 'nvidia-drm' in use. NVK requires nouveau.
DRM kernel driver 'nvidia-drm' in use. NVK requires nouveau.
src/steamUI/steamuisharedjscontroller.cpp (619) : Failed creating offscreen shared JS context
src/steamUI/steamuisharedjscontroller.cpp (619) : Failed creating offscreen shared JS context
07/06 00:56:53 Init: Installing breakpad exception handler for appid(steam)/version(1718904662)/tid(15778)
assert_20240706005653_29.dmp[16040]: Uploading dump (out-of-process)
/tmp/dumps/assert_20240706005653_29.dmp
assert_20240706005653_29.dmp[16040]: Finished uploading minidump (out-of-process): success = no
assert_20240706005653_29.dmp[16040]: error: Peer certificate cannot be authenticated with given CA certificates
assert_20240706005653_29.dmp[16040]: file ''/tmp/dumps/assert_20240706005653_29.dmp'', upload no: ''Peer certificate cannot be authenticated with given CA certificates''
BRefreshApplicationsInLibrary 1: 131ms
src/steamUI/steamuisharedjscontroller.cpp (619) : Failed creating offscreen shared JS context
src/steamUI/steamuisharedjscontroller.cpp (619) : Failed creating offscreen shared JS context
reaping pid: 15990 -- unknown
src/steamexe/main.cpp (297) : Assertion Failed: ReapProcess: waitid failed: 'No child processes'. Possibly leaking a zombie.
src/steamexe/main.cpp (297) : Assertion Failed: ReapProcess: waitid failed: 'No child processes'. Possibly leaking a zombie.
07/06 00:57:17 Init: Installing breakpad exception handler for appid(steam)/version(1718904662)/tid(15778)
assert_20240706005717_37.dmp[16160]: Uploading dump (out-of-process)
/tmp/dumps/assert_20240706005717_37.dmp
assert_20240706005717_37.dmp[16160]: Finished uploading minidump (out-of-process): success = no
assert_20240706005717_37.dmp[16160]: error: Peer certificate cannot be authenticated with given CA certificates
assert_20240706005717_37.dmp[16160]: file ''/tmp/dumps/assert_20240706005717_37.dmp'', upload no: ''Peer certificate cannot be authenticated with given CA certificates''
My dmesg | grep drm
output:
❯ dmesg | grep drm
[ 0.000000] Command line: initrd=\EFI\nixos\vncjgxxip4w8a5jw2m4gzxqa9v7ic50r-initrd-linux-6.6.36-initrd.efi init=/nix/store/k5m2fzlz0cw089qzzqwawqnkvci16qji-nixos-system-nixos-24.11.20240703.9f4128e/init nvidia.NVreg_PreserveVideoMemoryAllocations=1 nvidia_drm.fbdev=1 loglevel=4 nvidia-drm.modeset=1 nvidia.NVreg_PreserveVideoMemoryAllocations=1
[ 0.053029] Kernel command line: initrd=\EFI\nixos\vncjgxxip4w8a5jw2m4gzxqa9v7ic50r-initrd-linux-6.6.36-initrd.efi init=/nix/store/k5m2fzlz0cw089qzzqwawqnkvci16qji-nixos-system-nixos-24.11.20240703.9f4128e/init nvidia.NVreg_PreserveVideoMemoryAllocations=1 nvidia_drm.fbdev=1 loglevel=4 nvidia-drm.modeset=1 nvidia.NVreg_PreserveVideoMemoryAllocations=1
[ 0.305303] ACPI: bus type drm_connector registered
[ 0.307448] [drm] Initialized simpledrm 1.0.0 20200625 for simple-framebuffer.0 on minor 0
[ 0.311445] simple-framebuffer simple-framebuffer.0: [drm] fb0: simpledrmdrmfb frame buffer device
[ 2.924909] systemd[1]: Starting Load Kernel Module drm...
[ 3.018318] systemd[1]: modprobe@drm.service: Deactivated successfully.
[ 3.026674] systemd[1]: Finished Load Kernel Module drm.
[ 4.295058] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[ 5.143293] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
[ 5.167890] fbcon: nvidia-drmdrmfb (fb0) is primary device
[ 5.169960] nvidia 0000:01:00.0: [drm] fb0: nvidia-drmdrmfb frame buffer device
I don’t know if I made a mistake when configuring my GPUs, I configured it with the help of the Nixos wiki.
There is the output I get when doing sudo lshw -c display
:
*-display
description: nvidia-drmdrmfb
product: nvidia-drmdrmfb
physical id: 0
bus info: pci@0000:01:00.0
logical name: /dev/fb0
logical name: /dev/fb1
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom fb
configuration: depth=32 driver=nvidia latency=0 mode=1280x800 resolution=3440,1440 visual=truecolor xres=1280 yres=800
resources: iomemory:fc0-fbf iomemory:fe0-fdf irq:108 memory:fb000000-fbffffff memory:fc00000000-fdffffffff memory:fe00000000-fe01ffffff ioport:f000(size=128) memory:fc000000-fc07ffff
*-display
product: amdgpudrmfb
physical id: 0
bus info: pci@0000:07:00.0
logical name: /dev/fb1
version: c4
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix bus_master cap_list fb
configuration: depth=32 driver=amdgpu latency=0 resolution=2560,1440
resources: irq:48 memory:d0000000-dfffffff memory:e0000000-e01fffff ioport:d000(size=256) memory:fc500000-fc57ffff
so there is how I configured my GPUs in my hardware-configuration.nix
file :
hardware = {
graphics.enable = true;
cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
};
services.xserver.videoDrivers = ["nvidia"];
hardware.nvidia = {
modesetting.enable = true;
powerManagement.enable = false;
powerManagement.finegrained = false;
open = false;
nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.stable;
prime = {
nvidiaBusId = "pci@0000:01:00.0";
amdgpuBusId = "pci@0000:07:00.0";
};
};
It seems so. I’m hitting this on a computer which definitely only has one GPU, the Nvidia one (the CPU is a Threadripper without integrated graphics support).
FWIW, I did have that spurious 31" monitor issue too. Adding nvidia-drm.fbdev=1
to kernel parameters seems to have fixed that, but the NVK warning is still there. vulkaninfo
(and Chrome) still output these lines to stderr, but proceed to work nicely after that:
WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Received return code -3 from call to vkCreateInstance in ICD /nix/store/g4gar0lac83yl5qnj51mhhcrnscl8lzk-mesa-24.0.7-drivers/lib/libvulkan_dzn.so. Skipping this driver.
WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Received return code -3 from call to vkCreateInstance in ICD /nix/store/g4gar0lac83yl5qnj51mhhcrnscl8lzk-mesa-24.0.7-drivers/lib/libvulkan_virtio.so. Skipping this driver.
DRM kernel driver 'nvidia-drm' in use. NVK requires nouveau.
ERROR: [../src/nouveau/vulkan/nvk_physical_device.c:935] Code 0 : VK_ERROR_INCOMPATIBLE_DRIVER
Setting the environment variable VK_DRIVER_FILES=/run/opengl-driver/share/vulkan/icd.d/nvidia_icd.x86_64.json
seems to make these warnings go away.
when i play battle.net in Lutris - i have this in logs:
1) DRM kernel driver 'nvidia-drm' in use. NVK requires nouveau.
2) ntlm_auth: /home/reloner/.local/share/lutris/runtime/Ubuntu-18.04-x86_64/libjansson.so.4: no version information available (required by /nix/store/4gcggjvzrbywi92r66p6l15hckxng2q0-samba-4.20.1/lib/samba/libcommon-auth-private-samba.so)
for 1st warning - i have one rtx gpu with stable 550 driver, and i am on X11. Setting VK_DRIVER_FILES
environment variable fixed this warning, but the game doesnt launch anymore
for 2nd warning - Tried samba, amdvlk, jansson, vulkan-tools
packages - nothing fixes this
After deleting variable VK_DRIVER_FILES
- 1st warning returns, but the game actually launch now
The format of your bus configuration differs from what is said in the wiki. For you it should be nvidiaBusId = "PCI:1:0:0";
and amdgpuBusId = "PCI:7:0:0";
The wiki states
Note the two values under “bus info” above, which may differ from laptop to laptop. Our Nvidia Bus ID is
0e:00.0
and our Intel Bus ID is00:02.0
. Watch out for the formatting; convert them from hexadecimal to decimal, remove the padding (leading zeroes), replace the dot with a colon, then add them like this:
{
hardware.nvidia.prime = {
# Make sure to use the correct Bus ID values for your system!
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:14:0:0";
# amdgpuBusId = "PCI:54:0:0"; For AMD GPU
};
}
Not sure if that is the issue though.
Yea thanks, I saw this a few weeks ago, but this is not related to the current issue sadly…
I regularly updated my flake (which is on the unstable channel) and now have the 555.58.02
version of the drivers, now the message DRM kernel driver 'nvidia-drm' in use. NVK requires nouveau.
don’t appear anymore, but my obsidian still can’t start, there is the logs :
2024-08-09 16:08:23 Loading main app package /nix/store/8v8cnvz4xcgrbnssq3flrkhhb0an79hr-obsidian-1.6.7/share/obsidian/obsidian.asar
Ignored: Error: ENOENT: no such file or directory, open '/home/alez/.config/obsidian/obsidian.json'
2024-08-09 16:08:23 Checking for update using Github
2024-08-09 16:08:24 Success.
2024-08-09 16:08:24 Latest version is 1.6.7
2024-08-09 16:08:24 App is up to date.
[2906:0809/180824.164068:ERROR:gl_display.cc(515)] EGL Driver message (Critical) : eglCreateImage failed with 0x00003003
[2906:0809/180824.164248:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_BAD_ALLOC
[2906:0809/180824.164302:ERROR:native_pixmap_egl_binding.cc(109)] Unable to initialize binding from pixmap
[2906:0809/180824.164406:ERROR:ozone_image_backing.cc(365)] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[2906:0809/180824.164466:ERROR:shared_image_manager.cc(229)] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
[2906:0809/180824.164639:ERROR:gpu_service_impl.cc(1124)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[2687:0809/180824.180894:ERROR:gpu_process_host.cc(997)] GPU process exited unexpectedly: exit_code=8704
[2962:0809/180824.477229:ERROR:gl_display.cc(515)] EGL Driver message (Critical) : eglCreateImage failed with 0x00003003
[2962:0809/180824.477321:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_BAD_ALLOC
[2962:0809/180824.477373:ERROR:native_pixmap_egl_binding.cc(109)] Unable to initialize binding from pixmap
[2962:0809/180824.477431:ERROR:ozone_image_backing.cc(365)] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[2962:0809/180824.477478:ERROR:shared_image_manager.cc(229)] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
[2962:0809/180824.477582:ERROR:gpu_service_impl.cc(1124)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[2687:0809/180824.486559:ERROR:gpu_process_host.cc(997)] GPU process exited unexpectedly: exit_code=8704
[2995:0809/180824.800480:ERROR:gl_display.cc(515)] EGL Driver message (Critical) : eglCreateImage failed with 0x00003003
[2995:0809/180824.800628:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_BAD_ALLOC
[2995:0809/180824.800676:ERROR:native_pixmap_egl_binding.cc(109)] Unable to initialize binding from pixmap
[2995:0809/180824.800748:ERROR:ozone_image_backing.cc(365)] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[2995:0809/180824.800789:ERROR:shared_image_manager.cc(229)] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
[2995:0809/180824.801010:ERROR:gpu_service_impl.cc(1124)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[2687:0809/180824.810282:ERROR:gpu_process_host.cc(997)] GPU process exited unexpectedly: exit_code=8704
the drivers just crash? I don’t really know.
Is there a way to start the process with my integrated AMD gpu instead of the Nvidia one just for obsidian? this would be more simpler to fix this issue…
Because my games just run fine (the game had the weird message too, but now gone with the recent update), so I think that’s more a chromium/electron issue