Update GPU driver to 610.57.04, log recurring Bambu Studio Flatpak/NVIDIA blank viewport bug (2026-08-11 occurrence)

This commit is contained in:
Spendlik 2026-08-11 07:13:43 +00:00
parent f7773202d1
commit 2365cf69a0

View File

@ -1,6 +1,6 @@
# Main Desktop — CachyOS Overview # Main Desktop — CachyOS Overview
> Last updated: 2026-07-11 > Last updated: 2026-08-11
--- ---
@ -49,7 +49,7 @@
|---|---| |---|---|
| **Model** | NVIDIA GeForce RTX 4060 Ti | | **Model** | NVIDIA GeForce RTX 4060 Ti |
| **VRAM** | 8 GB | | **VRAM** | 8 GB |
| **Driver** | nvidia 610.43.03 | | **Driver** | nvidia 610.57.04 |
| **Architecture** | Lovelace (AD106, TSMC 5nm) | | **Architecture** | Lovelace (AD106, TSMC 5nm) |
| **APIs** | OpenGL 4.6, Vulkan 1.4.350, EGL 1.5 | | **APIs** | OpenGL 4.6, Vulkan 1.4.350, EGL 1.5 |
| **PCIe** | Gen 4 x8 | | **PCIe** | Gen 4 x8 |
@ -216,29 +216,33 @@ xkb_symbols "sk_custom" {
### Bambu Studio (Flatpak) — model/build plate not rendering after NVIDIA driver update ### 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:** **Diagnosis:**
```bash ```bash
# Host driver version # Host driver version
nvidia-smi --query-gpu=driver_version --format=csv,noheader nvidia-smi --query-gpu=driver_version --format=csv,noheader
# Installed Flatpak NVIDIA GL extension # Installed Flatpak NVIDIA GL extension(s)
flatpak list | grep nvidia 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:** **Fix:**
```bash ```bash
flatpak install org.freedesktop.Platform.GL.nvidia-<matching-version> 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-<version>` 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: **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 ```bash
paru -S bambu-studio-bin 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`.