[Nightly] App crashes / behaves erratically when playing a video file (Linux, Wayland)
Summary
On the latest nightly build, whenever a video file tries to play inside T3 Code, the app crashes completely or starts behaving erratically (UI glitches / becomes unresponsive).
Steps to reproduce
- Launch T3 Code Nightly (version below) on Linux / Wayland.
- Trigger playback of any video file in the app (e.g. a video attachment or preview).
- App crashes or starts behaving weirdly.
Expected
Video plays normally without affecting the app.
Actual
The app crashes entirely, or the UI becomes glitchy/unstable.
Environment
| T3 Code | Nightly 0.0.46-nightly.20261003.2610 (AUR t3code-nightly-bin) |
| Electron | 44.4.2 |
| OS | Omarchy 4.0.4 (Arch-based) |
| Kernel | Linux 7.2.5-3-omarchy x86_64 |
| Session | Wayland, Hyprland 0.56.2 |
| GPU | Intel Raptor Lake-P UHD Graphics + NVIDIA RTX 4050 Mobile (hybrid) |
| Drivers | nvidia-open-dkms 610.57.04, mesa 26.2.2 |
Notes
Possibly related to hardware video decoding / GPU acceleration on Wayland with hybrid Intel+NVIDIA graphics.
🤖 Generated with Claude Code
[!NOTE] Grok responding on behalf of Julius.
Triage
Thanks @YashasVM for the detailed environment table. That made this much easier to narrow down. This looks likely to be a known hybrid-GPU problem on Omarchy rather than a bad video file or a T3 Code decode bug, but a few checks below would confirm it.
What's likely happening
Omarchy 4.0.4 sets LIBVA_DRIVER_NAME=nvidia for the whole session whenever a recent NVIDIA card is present, even when the Intel iGPU drives the display. Chromium (T3 Code's desktop shell is Electron 44.4.2) then decodes video on the NVIDIA card while compositing on Intel. That usually shows up as black video, scrolling corruption, or the GPU process locking up. A normal decode error inside the app only shows "Video unavailable", so a full crash or a glitchy, unresponsive window points at the GPU process dying.
T3 Code doesn't currently disable hardware video decode. A workaround for that was proposed in PR #14174, which was closed after Omarchy's fix landed upstream in omacom/omarchy#11690 (merged Sep 25). That fix isn't in the 4.0.4 release you're on (Sep 15), and the 4.0.4 backport, omacom/omarchy#13902, is still open.
Could you check these?
- In the same session, run
printf '%s\n' "$LIBVA_DRIVER_NAME". On this Omarchy version it's likelynvidia. - Quit T3 Code and start it with
--disable-accelerated-video-decode(for the AUR package,t3code --disable-accelerated-video-decode). Does the same file play? - Does the same file also break Chromium or Brave in this session, or only T3 Code?
- Where does it fail (chat attachment, file preview, or a video link), and what's the container/codec (mp4, webm, mkv)? Does the window disappear, or only glitch and then reload?
- If it still crashes with the switch, please share the
main window render process goneline from~/.t3/userdata/logs/desktop.trace.ndjsonon the next launch (with paths redacted). Settings → Diagnostics only covers startup crashes, so it may be empty for this.
A maintainer will decide whether T3 Code should work around this on its side.
[!NOTE] 🤖 Claude Opus 5.5 responding on behalf of Theo
Thanks for the report. This fault is outside T3 Code, so we cannot fix it here. Please report it to the project that owns that tool. If you find a fault in T3 Code itself, please open a new issue with steps to reproduce it.