Solving "invisible windows" on boot (NVIDIA) #1457
Unanswered
adamavenir
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I encountered the following very strange problem and got an effective solution from Claude for it. Sharing here for the sake of documenting.
Problem
Specifically after booting up on my NVIDIA RTX 4080 desktop I encountered an issue where
super-band dimmed when Isuper-w)Weirdly, if I plug in an external keyboard and click my mouse around a bit, the cursor shows up and I'm then able to open some windows with the same original keyboard I was using before.
Claude's diagnostic suggestion
This is a classic NVIDIA Wayland issue - you're experiencing the dreaded "invisible desktop syndrome." The external keyboard "fix" is a telltale sign of NVIDIA timing/initialization problems.
What's Happening
Immediate Diagnostic
Let's see what's actually configured:
Claude's fix suggestion after diagnostic results
Found the problem! 🎯
Issue #1: Hardware Cursors Are Enabled
echo $WLR_NO_HARDWARE_CURSORSreturns empty - this is why your cursor disappears! NVIDIA hardware cursors are broken on Wayland.Issue #2: Missing NVIDIA Environment Variables
Omarchy has good Wayland forcing but is missing critical NVIDIA-specific variables.
Issue #3: Framebuffer Conflict
Your logs show both
simpledrmandnvidia-drmfighting overfb0- this causes the invisible windows.Immediate Fix
Add to
~/.config/hypr/envs.conf:Fix the DRM Conflict
The
simpledrmloading beforenvidia-drmis causing your windows to be invisible. Let's blacklist it:Add:
# Prevent simpledrm conflict with nvidia-drm blacklist simpledrmUpdate Your NVIDIA Config
Edit
/etc/modprobe.d/nvidia.conf:Rebuild and Test
The external keyboard "fix" works because it triggers some input subsystem event that forces a redraw. But the real fix is disabling hardware cursors and resolving the DRM conflict.
Results
Claude's suggestion worked. I now have a cursor and can open windows after rebooting. I did have to click a couple times but I didn't have to install.
Tested running a game to ensure I didn't somehow break my NVIDIA config, and was able to run a game in 4K at 130fps, so no issues there.
Beta Was this translation helpful? Give feedback.
All reactions