Hybrid NVIDIA laptops: /dev/nvidia-modeset is missing after boot, so Proton/Flatpak games fail with VK_ERROR_UNKNOWN (black screen)
System details
ASUS ROG Zephyrus G16 GU605MI (Core Ultra 9 185H, Intel iGPU drives the panel + RTX 4070 Laptop), nvidia-open-dkms 610.57.04, Omarchy 4.0.5
What's wrong?
After every boot, the first launches of Overwatch installed with omarchy-install-gaming-battlenet (umu + GE-Proton, DX11) give a black screen with audio. DXVK logs Presenter: Failed to query present modes: -13, the game logs BeginSwap ... E_FAIL. It keeps failing until something on the host happens to use the NVIDIA Vulkan driver (for me: vulkaninfo), then it works until the next reboot.
Cause: /dev/nvidia-modeset doesn't exist after boot, although nvidia_modeset is loaded (it's in MODULES from install/hardware/nvidia.sh). The 60-nvidia.rules rule from nvidia-utils creates only nvidia0, nvidiactl and nvidia-uvm; the modeset node is created on demand by the driver via the setuid nvidia-modprobe. That can't happen inside the Steam Runtime container that umu uses (or inside Flatpak), so the driver fails vkGetPhysicalDeviceSurfacePresentModesKHR there. My guess is that when NVIDIA drives the display, the compositor creates the node at login, which is why this shows up on hybrids.
Steps:
- Reboot, log in, run nothing that uses Vulkan on NVIDIA.
ls -l /dev/nvidia-modeset→ No such file or directory.- Launch Battle.net, start Overwatch → black screen,
-13in the DXVK log. nvidia-modprobe -m(as user) → node appears.- Start the game again → picture.
Verified: two black launches without the node (the second with Wine fully restarted), the next one worked right after nvidia-modprobe -m with nothing else changed.
Fix that works for me (node exists from boot, first launch after a reboot works) — /etc/udev/rules.d/61-nvidia-modeset.rules:
ACTION=="add|bind", ATTR{vendor}=="0x10de", ATTR{class}=="0x03[0-9]*", DRIVER=="nvidia", TEST!="/dev/nvidia-modeset", RUN+="/usr/bin/nvidia-modprobe -m"
It mirrors the package rule, so it could be installed by install/hardware/nvidia.sh (plus a migration). Same error on the same GPU with Sober in Flatpak: vinegarhq/sober#1332.
Thanks for the precise report: the nvidia-modprobe -m experiment made this one straightforward to pin down.
What was checked. I extracted 60-nvidia.rules from the current nvidia-utils (615.78.08-1) and nvidia-580xx-utils (580.196.07-1) packages on a disposable worker VM. They run only nvidia-modprobe -c0 -u (the 580xx rule also runs bare nvidia-modprobe). Neither passes -m, and nothing in Omarchy on quattro creates /dev/nvidia-modeset either. So your diagnosis holds in source: on a hybrid machine where nothing on the host opens the NVIDIA driver for display, the node never appears, and the container cannot create it. Flatpak also only binds the node into a sandbox if it existed when the sandbox started. I could not reproduce the black screen itself, because the workers have no NVIDIA GPU.
The fix is up as #16379. It installs your rule as /etc/udev/rules.d/61-nvidia-modeset.rules from install/hardware/nvidia.sh for new installs, plus a migration for existing NVIDIA machines. Both replay the GPU's bind event, so the node appears without waiting for a reboot. The new test and Omarchy's suite ran on the worker; the only failures were shell UI tests that fail the same way on quattro.
The diagnosis and the fix were reviewed by Claude Opus 5.5 and, as a second opinion, by Codex Medium and muse-spark-1.3-contributor (via pi, thinking high). Their first round found two gaps that are now fixed: a migration retried after a failed udevadm call would not have replayed the event, and an image-built machine would only have got the node on its second boot. Their second round found nothing open.
What it waits on: you. Could you test the pull request's exact head, efd6483cb425219848a01c65759479a27d305f38, on the G16?
git clone https://github.com/basecamp/omarchy.git ~/omarchy-15975
git -C ~/omarchy-15975 checkout efd6483cb425219848a01c65759479a27d305f38
sudo rm /etc/udev/rules.d/61-nvidia-modeset.rules # your own copy, so the migration installs the PR's
omarchy dev link ~/omarchy-15975 # points Omarchy at the checkout and reboots
After the reboot:
- Run
omarchy-migrate. - Reboot once more.
- Without running anything Vulkan first, check
ls -l /dev/nvidia-modesetand launch Overwatch.
Please reply with whether the node exists and whether the first launch has a picture. omarchy dev unlink puts you back on the packaged Omarchy afterwards.
Same here on a Zephyrus G16 GU605CP (Arrow Lake iGPU + RTX 5070 Laptop, nvidia-open 610.57.04), with plain Steam + Proton Experimental (no umu): Skyrim SE black screen, DXVK Presenter: Failed to query present modes: -13, /dev/nvidia-modeset missing after boot. nvidia-modprobe -m → node appears, next launch has a picture. So it hits regular Steam games on hybrids too, not only umu/Flatpak. +1 for #16379.
Thanks for the extra data point, @sergihrs. A missing /dev/nvidia-modeset that nvidia-modprobe -m brings back is the same cause as this issue. Your setup also shows that plain Steam with Proton hits it, not only umu or Flatpak.
What was checked. #16379 matches any NVIDIA display controller bound to the nvidia driver. That covers nvidia-open 610 on an RTX 5070. The migration enables it on any NVIDIA machine with nvidia-modprobe installed. @szoniu ran the pull request's migration on their G16 at dcdd06b8, with the results on the pull request. The node appeared right away, existed from boot after a reboot, and the first Overwatch launch had a picture. The current head, 1768b566d8ca279ba060e052c4709e4f4c78e599, only removes a suite test and the override that existed for it, so nothing that runs on a user's machine changed. #16848, the other open NVIDIA hybrid pull request, fixes a different problem (initramfs size) and does not conflict with this one.
Claude Opus 5.5 checked this, and Codex Medium and muse-wonder (via pi, thinking high) gave a second opinion. They agreed on every point above. Their independence from this review is not guaranteed.
What happens next. The fix is #16379, and this issue closes when it merges. That pull request waits on a re-run of steps 2 and 3 of @szoniu's method at 1768b566, and then on the maintainer. @sergihrs, if you want to help, the same two steps on your GU605CP would add a second machine. First remove any rule you made yourself and reboot, so /dev/nvidia-modeset is missing before you start. Then reply on #16379 naming that full SHA.
Another data point, on an AMD iGPU hybrid this time: Ryzen 7 5800H (Radeon Vega drives the eDP panel) + RTX 3070 Laptop, packaged Omarchy 4.5.0-3, nvidia-open-dkms 615.78.08, linux-omarchy 7.2.15, plain Steam + Proton (Experimental, 11.0 and 10.0 all affected). Deadlock (native Vulkan) aborts at startup with VK_ERROR_UNKNOWN from vkGetPhysicalDeviceSurfacePresentModesKHR / vkCreateSwapchainKHR; with -dx11 it starts to a black screen. Same "random" pattern: it worked whenever something on the host had used the NVIDIA Vulkan driver first (vkcube in my case).
Why it started for me with the 4.5.0 update: on 4.0.1, default/hypr/nvidia.lua exported LIBVA_DRIVER_NAME=nvidia and __GLX_VENDOR_LIBRARY_NAME=nvidia session-wide on every NVIDIA machine. 4.5.0 gates them behind omarchy-hw-nvidia-display, so they are no longer set on hybrids. With the old env, host GLX clients (Steam's own UI is enough) load the NVIDIA driver, which creates /dev/nvidia-modeset as a side effect, and that hid this bug.
Verified on this machine:
- The Limine snapshot taken just before the update (Omarchy 4.0.1, same /home, Steam and Proton): 3/3 launches fine.
- Fully updated 4.5.0: fails on every launch.
- Fully updated 4.5.0 with the two
hl.env(...)lines put back in~/.config/hypr/hyprland.lua: works. After a fresh boot/dev/nvidia-modesetis missing, and it appears as soon as Steam starts. - Not the cause (each tested on its own): NVIDIA driver 615 → 610 → 595, kernel 7.2 → 7.1.9, Xwayland 24.1.14 → 24.1.13, Hyprland 0.56.2-4/aquamarine 0.15 → 0.56.2-1/0.14.
So anyone on a hybrid who updates to 4.5.0 is likely to start hitting this, which makes #16379 more urgent. The rule in #16379 matches by vendor and driver, so it should cover AMD + NVIDIA hybrids as well.
@Televi-kun, I checked v4.0.1, v4.5.0 and current quattro. The NVIDIA VA-API/GLX environment gate is present in 4.5.0 and absent in 4.0.1. Your result is consistent with that change exposing the existing missing-node problem on your AMD/NVIDIA hybrid. Because both variables were restored together, it does not isolate which one prompted driver initialization. I have not reproduced the GPU failure here; the workers have no NVIDIA GPU, and no tests were run in this re-triage.
#16379 selects the NVIDIA display controller by its vendor and bound driver, without checking the iGPU vendor. Its rule therefore covers AMD hybrids by source, although an AMD machine has not yet tested that fix. Restoring the global variables also undoes the gate intended to prevent Chromium video failures on hybrids.
The retest requested in the previous issue update has since been completed: @szoniu confirmed 1768b566d8ca279ba060e052c4709e4f4c78e599 on packaged 4.5.0, including the missing-node starting point, immediate node creation and second-run no-op. That confirmation is recorded as verified on #16379. Boot-time creation and the first successful game launch were confirmed at the earlier revision. This issue remains linked to #16379 and waits on the maintainer's assessment.
GPT-6 High in Codex checked this, with second opinions from Opus 5.5 High and muse-wonder via pi, thinking high. They agreed on the scope and next step and highlighted the distinction between the environment change and its unproven initialization mechanism. Their independence from this review is not guaranteed.