[Bug]: H.265 GPU hang in sunshine
- Dominant language
- C
- Stars
- 1.2k
- Forks
- 383
- Avg merge
- 8d 18h
- Merged PRs (30d)
- 4
Description
### Which component impacted?
Encode
### Is it regression? Good in old configuration?
None
### What happened?
1. In Ubuntu 25.10 with linux-surface `Linux daniel-tablet1 6.18.7-surface-1 #1 SMP PREEMPT_DYNAMIC Mon Jan 26 00:16:20 UTC 2026 x86_64 GNU/Linux`
2. With intel-media-va-driver==25.3.0+dfsg1-1 or intel-media-va-driver-non-free==25.2.3+ds1-1
3. Install https://github.com/LizardByte/Sunshine/releases/download/v2026.215.224211/sunshine-debian-trixie-amd64.deb
4. Run `sunshine`
### What's the usage scenario when you are seeing the problem?
Game Streaming
### What impacted?
I see a GPU hang in dmesg, then sunshine segfaulted
### Debug Information
1. libva2==2.22.0-3ubuntu3, libigdgmm12==22.8.1+ds1-1, intel-media-va-driver==25.3.0+dfsg1-1
2. by-path card1 renderD128
3. 00:02.0 VGA compatible controller [0300]: Intel Corporation Iris Plus Graphics G7 [8086:8a52] (rev 07)
4.
```
Trying display: wayland
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 25.3.0 ()
vainfo: Supported profile and entrypoints
VAProfileNone : VAEntrypointVideoProc
VAProfileNone : VAEntrypointStats
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSliceLP
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSliceLP
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointEncPicture
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
VAProfileVP8Version0_3 : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSliceLP
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointEncSliceLP
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile1 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
VAProfileVP9Profile3 : VAEntrypointVLD
VAProfileHEVCMain422_10 : VAEntrypointVLD
VAProfileHEVCMain444 : VAEntrypointVLD
VAProfileHEVCMain444 : VAEntrypointEncSliceLP
VAProfileHEVCMain444_10 : VAEntrypointVLD
VAProfileHEVCMain444_10 : VAEntrypointEncSliceLP
```
5. cat: /tmp/libva_trace.log: No such file or directory (os error 2)
6.
```
[ 7402.677078] i915 0000:00:02.0: [drm] Resetting vcs1 for CS error
[ 7402.677157] i915 0000:00:02.0: [drm] sunshine[20470] context reset due to GPU hang
[ 7402.678906] i915 0000:00:02.0: [drm] GPU HANG: ecode 11:4:0780c7cf, in sunshine [20470]
```
### Do you want to contribute a patch to fix the issue?
None
Contributor guide
Assessment
This issue has not been assessed yet.