Add Bambu Studio Flatpak NVIDIA fix, update driver version

This commit is contained in:
Spendlik 2026-07-11 18:27:10 +00:00
parent f0c2bd33a7
commit b3ed41bcca

View File

@ -1,6 +1,6 @@
# Main Desktop — CachyOS Overview # Main Desktop — CachyOS Overview
> Last updated: 2026-06-11 > Last updated: 2026-07-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.02 | | **Driver** | nvidia 610.43.03 |
| **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 |
@ -119,6 +119,7 @@
| **Media** | VLC, Haruna, Jellyfin (server on homelab) | | **Media** | VLC, Haruna, Jellyfin (server on homelab) |
| **Graphics** | GIMP 3.2, Krita 6.0, Inkscape 1.4 | | **Graphics** | GIMP 3.2, Krita 6.0, Inkscape 1.4 |
| **3D / CAD** | Blender 5.1, FreeCAD 1.1 | | **3D / CAD** | Blender 5.1, FreeCAD 1.1 |
| **3D Printing** | Bambu Studio (Flatpak, `com.bambulab.BambuStudio`) |
| **Video Editing** | Kdenlive 26.04 | | **Video Editing** | Kdenlive 26.04 |
| **Screen Recording** | OBS Studio 32.1 | | **Screen Recording** | OBS Studio 32.1 |
| **Notes** | Obsidian 1.12 | | **Notes** | Obsidian 1.12 |
@ -208,3 +209,36 @@ xkb_symbols "sk_custom" {
- `include "sk"` causes infinite recursion when the file is named `sk` — use `include "sk(basic)"` instead - `include "sk"` causes infinite recursion when the file is named `sk` — use `include "sk(basic)"` instead
- KDE reads `~/.config/xkb/`, not `~/.xkb/` - KDE reads `~/.config/xkb/`, not `~/.xkb/`
- keyd was tested but doesn't work cleanly with non-US layouts on Wayland without switching the display server to US layout - keyd was tested but doesn't work cleanly with non-US layouts on Wayland without switching the display server to US layout
---
## Troubleshooting
### 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.
**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.
**Diagnosis:**
```bash
# Host driver version
nvidia-smi --query-gpu=driver_version --format=csv,noheader
# Installed Flatpak NVIDIA GL extension
flatpak list | grep 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.
**Fix:**
```bash
flatpak install org.freedesktop.Platform.GL.nvidia-<matching-version>
```
Then fully quit and relaunch Bambu Studio (a reboot isn't required, but doesn't hurt).
**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.