From 2365cf69a050362a6403d031d5cf0f074ff6d6c2 Mon Sep 17 00:00:00 2001 From: Spendlik Date: Tue, 11 Aug 2026 07:13:43 +0000 Subject: [PATCH] Update GPU driver to 610.57.04, log recurring Bambu Studio Flatpak/NVIDIA blank viewport bug (2026-08-11 occurrence) --- cachy-overview.md | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/cachy-overview.md b/cachy-overview.md index 0d25bc8..45ff16d 100644 --- a/cachy-overview.md +++ b/cachy-overview.md @@ -1,6 +1,6 @@ # Main Desktop — CachyOS Overview -> Last updated: 2026-07-11 +> Last updated: 2026-08-11 --- @@ -49,7 +49,7 @@ |---|---| | **Model** | NVIDIA GeForce RTX 4060 Ti | | **VRAM** | 8 GB | -| **Driver** | nvidia 610.43.03 | +| **Driver** | nvidia 610.57.04 | | **Architecture** | Lovelace (AD106, TSMC 5nm) | | **APIs** | OpenGL 4.6, Vulkan 1.4.350, EGL 1.5 | | **PCIe** | Gen 4 x8 | @@ -216,29 +216,33 @@ xkb_symbols "sk_custom" { ### Bambu Studio (Flatpak) — model/build plate not rendering after NVIDIA driver update -**Symptom:** Bambu Studio opens fine but the build plate and any loaded model are invisible/blank. Happened twice — once tied to a broken Flatpak install requiring a full reinstall, and again purely from a driver version mismatch. +**Symptom:** Bambu Studio opens fine but the build plate and any loaded model are invisible/blank. This is a **recurring pattern**, confirmed on at least two separate occasions (2026-07-11 and 2026-08-11), both directly following a host NVIDIA driver update. -**Root cause (recurring pattern):** The Flatpak runtime bundles its own NVIDIA GL extension (`org.freedesktop.Platform.GL.nvidia-XXX`), which must exactly match the host NVIDIA driver version (down to the patch digit). CachyOS is rolling-release, so `nvidia-smi` driver version drifts ahead of the installed Flatpak extension after routine system updates — this silently breaks EGL/DRI2 initialization (`failed to create dri2 screen`, `driver (null)` in logs), even though nothing about Bambu Studio itself changed. +**Root cause (recurring pattern):** The Flatpak runtime bundles its own NVIDIA GL extension (`org.freedesktop.Platform.GL.nvidia-XXX`), which must exactly match the host NVIDIA driver version (down to the patch digit). CachyOS is rolling-release, so `nvidia-smi` driver version drifts ahead of the installed Flatpak extension after routine system updates — this silently breaks EGL/DRI2 initialization (`failed to create dri2 screen`, `driver (null)`, `Cannot load libcuda.so.1` in logs), even though nothing about Bambu Studio itself changed. **Diagnosis:** ```bash # Host driver version nvidia-smi --query-gpu=driver_version --format=csv,noheader -# Installed Flatpak NVIDIA GL extension -flatpak list | grep nvidia +# Installed Flatpak NVIDIA GL extension(s) +flatpak list -d | grep -i nvidia ``` -If these two versions don't match exactly (e.g. host `610.43.03` vs Flatpak extension `610-43-02`), that's the cause. +If the host driver version doesn't match any installed `Platform.GL.nvidia-XXX` extension exactly, that's the cause. **Fix:** ```bash -flatpak install org.freedesktop.Platform.GL.nvidia- +flatpak update ``` -Then fully quit and relaunch Bambu Studio (a reboot isn't required, but doesn't hurt). +`flatpak update` alone is sufficient — it detects and pulls the correct matching `org.freedesktop.Platform.GL.nvidia-` extension for the current host driver automatically. No need to name the exact version manually. Fully quit and relaunch Bambu Studio afterward (reboot not required). + +Note: on the 2026-08-11 occurrence, forcing XWayland (`GDK_BACKEND=x11 GSK_RENDERER=gl`) was tried first and did **not** fix it — confirming this is purely a driver/Flatpak-runtime version mismatch, not a Wayland compositor issue. That step can be skipped in future occurrences; go straight to the diagnosis/fix above. **If Flathub hasn't published the matching extension version yet:** switch off Flatpak entirely and use the AUR binary instead, which uses the host driver directly and avoids this whole class of bug on future driver updates: ```bash paru -S bambu-studio-bin ``` -**Confirmed fix applied:** 2026-07-11, installing the matching `org.freedesktop.Platform.GL.nvidia-610-43-03` extension resolved it. +**Confirmed occurrences:** +- 2026-07-11 — host driver updated, matching `org.freedesktop.Platform.GL.nvidia-610-43-03` extension installed, resolved. +- 2026-08-11 — host driver updated to 610.57.04, resolved via plain `flatpak update` pulling `org.freedesktop.Platform.GL.nvidia-610-57-04`.