Is there an existing issue for this?
Is your issue described in the documentation?
Is your issue present in the latest beta/pre-release?
I'm too lazy to test
Describe the Bug
TL;DR: VA-API fails to import Intel modifier framebuffer under Hyprland, setting AQ_NO_MODIFIERS=1 before launching the Hyprland session fixes it.
Disclaimer
I'm neither an Nvidia engineer nor a genius, so generative AI was heavily involved in the investigation, and my explanations aren't going to be rigorously correct.
Description
KMS capture + VA-API encoder fails to stream on my MSI GP72M. It's a laptop built on the dreaded Optimus architecture, running Hyprland.
Without the fix, every captured frame failed with:
Error: Couldn't import RGB Image: 00003009
Error: Could not convert image
The same setup works immediately when Hyprland/Aquamarine is configured with the following in its configuration file (hyprland.lua):
hl.env("AQ_NO_MODIFIERS", "1")
After restarting Hyprland and verifying that echo $AQ_NO_MODIFIERS returns 1, the active KMS framebuffer changes from an Intel modifier-backed allocation to a linear framebuffer (modifier=0x0), and Sunshine KMS + Intel VA-API works reliably with both H.264 and HEVC.
This is not a duplicate of #5663 / #5427
This issue is related to the recent Intel DMA-BUF / EGL_BAD_MATCH reports, but it occurs in the KMS capture path, not the wlroots capture path fixed by #5427/#5699.
In #5663 / #5427, Sunshine's wlroots capture implementation allocates its own GBM buffer from compositor-advertised modifiers and previously exported only one plane from a potentially multi-plane allocation (this path was recently fixed).
Here, Sunshine is using KMS capture of the framebuffer already allocated by Hyprland/Aquamarine. The failing framebuffer is the actual i915 scanout framebuffer for the internal eDP display.
The important distinction is therefore:
AQ_NO_MODIFIERS=1 had no effect when testing wlroots capture, because Sunshine allocated its own buffer there.
- This same tweak fixes my KMS case, because it changes the framebuffer that Hyprland places on the i915 KMS scanout plane.
Hardware / software
Somewhat redundand with the fields at the bottom of the issue template, but I can't fit everything down there:
- MSI GP72M
- Intel Core i5-7300HQ
- NVIDIA GeForce GTX 1060 Mobile 6 GB
- Internal panel:
eDP-1, physically connected to the Intel iGPU
- Optimus/hybrid graphics: the internal display is not directly driven by the NVIDIA GPU, instead the iGPU works as a "proxy" no matter what (not toggleable, no direct passthrough unlike later Optimus iterations).
Graphics devices:
/dev/dri/card0 -> nvidia-drm
/dev/dri/card1 -> i915
NVIDIA packages / driver:
lib32-nvidia-580xx-utils 580.178.04-1
libva-nvidia-driver 0.0.18-1
linux-firmware-nvidia 20260916-1
nvidia-580xx-dkms 580.178.04-1
nvidia-580xx-settings 580.178.04-1
nvidia-580xx-utils 580.178.04-1
opencl-nvidia 615.71.09-1
Hyprland:
Hyprland 0.56.2
commit efb50993780079460b0cbed1363e2166a2de1d9f
Aquamarine 0.15.1 (system)
Hyprgraphics 0.5.1
Hyprutils 0.14.2
Hyprcursor 0.1.13
Hyprlang 0.6.8
Sunshine:
Sunshine 2026.914.233613
commit 63d35f702ee9e362e43263742981836ec0710384
Intel VA-API:
vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 26.2.4
Configuration
As seen in sunshine.conf:
av1_mode = 1
capture = kms
encoder = vaapi
hevc_mode = 0
nvenc_preset = 1
stream_audio = disabled
vaapi_quality = speed
vk_rc_mode = 0
vk_tune = 0
^ May I ask why enabled==0 was chosen?
H.264 was used for the following reproduction. HEVC also works once the workaround is applied, so the choice isn't relevant.
I also tested explicitly selecting the Intel VA-API render node with adapter_name, but the relevant failure occurs after Intel VA-API initialization, so it does not appear to be an encoder-selection problem.
Also, specifying an adapter_name disappears in the config file, so I assume it's a deprecated option.
Failure without AQ_NO_MODIFIERS
With normal Hyprland/Aquamarine DRM buffer allocation, Sunshine detects the internal monitor correctly and initializes Intel VA-API:
[2026-09-22 22:03:30.837]: Info: Mapped 'eDP-1' to kmsgrab monitor index 0
[2026-09-22 22:03:30.839]: Info: Found monitor for DRM screencasting
[2026-09-22 22:03:30.839]: Info: Found connector ID [111]
[2026-09-22 22:03:30.839]: Info: Found cursor plane [53]
[2026-09-22 22:03:30.845]: Info: Creating encoder [h264_vaapi]
[2026-09-22 22:03:30.862]: Info: EGL: context priority set to HIGH
[2026-09-22 22:03:30.867]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 26.2.4 ()
[2026-09-22 22:03:30.868]: Info: Streaming bitrate is 1628000
[2026-09-22 22:03:30.868]: Info: Using LP encoding mode
[2026-09-22 22:03:30.868]: Info: [VAAPI] Quality level set to 7 (fastest level: 7)
but every frame then fails at the RGB DMA-BUF import stage, spamming this for each frame:
[2026-09-22 22:03:30.887]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-09-22 22:03:30.887]: Error: Couldn't import RGB Image: 00003009
[2026-09-22 22:03:30.887]: Error: Could not convert image
...which loops until the client disconnects or sunshine is interrupted.
Changing the capture method (e.g. using wlroots) didn't solve the underlying problem either. Besides crashing sunshine because my WM doesn't use wlr.
My current workaround
As written above:
hl.env("AQ_NO_MODIFIERS", "1")
in the Hyprland config file and restarting Hyprland makes the stream work with:
capture = kms
encoder = vaapi
Contrary to what I've found online, neither INTEL_DEBUG=noccs nor WLR_DRM_NO_MODIFIERS fixed my original issue (the latter being that Aquamarine, which Hyprland relies on, doesn't care about a wlroots env variable).
KMS framebuffer after/before the workaround
With AQ_NO_MODIFIERS=1, the active framebuffer reported by i915 is:
plane[35]: plane 1A
crtc=pipe A
fb=112
allocated by = Hyprland
refcount=3
format=XR24 little-endian (0x34325258)
modifier=0x0
size=1920x1080
layers:
size[0]=1920x1080
pitch[0]=7680
offset[0]=0
obj[0]:
name=0
refcount=7
start=00000000
size=8388608
imported=no
The active connector is:
connector[111]: eDP-1
crtc=pipe A
Thus the working config uses a linear XR24 framebuffer allocated by Hyprland and presented directly by i915 on eDP-1.
Before applying the fix, Sunshine's KMS path used to encounter a modified framebuffer and failed to import it. The earlier failure was:
Error: vkCreateImage for DMA-BUF failed: -1000158000 (modifier=0x100000000000004, pitch=7680, offset=0)
Error: Failed to import DMA-BUF
Error: Could not convert image
This was seen when testing the Vulkan encoder against the same KMS framebuffer path.
Controls / tests performed
The following were tested:
| Test |
Result |
capture = kms + encoder = vaapi |
fails without workaround |
| H.264 instead of HEVC |
fails identically |
| Software encoding |
still fails at RGB import |
WLR_DRM_NO_MODIFIERS=1 |
no effect on this KMS case |
INTEL_DEBUG=noccs in Sunshine |
no longer required now that Hyprland uses linear buffers |
AQ_NO_MODIFIERS=1 in Hyprland |
works |
| HEVC VA-API after workaround |
works |
| H.264 VA-API after workaround |
works |
Possible direction for a fix
I don't know the specific implementation in terms of raw code, but Sunshine should handle the KMS framebuffer's DRM format/modifier explicitly rather than requiring a compositor-wide workaround.
Some possible approaches:
-
Importing the KMS framebuffer according to its DRM framebuffer metadata, including any multi-plane/layout information required by its modifier (recently made possible).
-
Detecting an incompatible modifier during KMS/EGL import and falling back to a compatible linear representation when possible, rather than looping, hoping that the next buffer will magically go through.
-
Selecting an EGL/VA-API path compatible with the DRM device that owns the KMS framebuffer rather than assuming that every valid KMS framebuffer can be imported through the current RGB conversion path.
-
Invalidating and graying out options in the web UI, if they are detected to not work. This requires a more interactive frontend, it's more of a QoL for the users.
Choose the ones that fix the most cases. Seeing the amount of different open issues here, each with their own execution path and hardware specificities, more than a single-case patch is needed.
Why it works on hybrid/Optimus systems
Older Optimus designs had their internal eDP display physically connected to the Intel GPU. Even the HDMI output is still routed through that iGPU.
The streaming path is therefore:
application rendering (dedicated Nvidia GPU)
v
Hyprland composition (still dGPU)
v
v **<-------------------- this is the difficult handoff**
v
i915 KMS framebuffer / eDP-1
v
Sunshine KMS capture
v
Intel VA-API
v
H.264 / HEVC
Trying to move this framebuffer for a round trip back to the NVIDIA GPU solely to use NVENC/Vulkan on it, is not a practical solution for this hardware topology.
This is why the Intel VA-API path is important even though Sunshine advertises several other hardware encoders.
Summary
The reproducible failure is:
Hyprland DRM modifiers enabled
v
Intel modifier-backed KMS framebuffer
v
Sunshine KMS + VA-API
v
EGL import fails with 00003009
versus:
AQ_NO_MODIFIERS=1
v
linear XR24 KMS framebuffer (modifier=0x0)
v
Sunshine KMS + VA-API
v
H.264 / HEVC streaming works
The important takeaway is that changing the compositor from a modifier-backed framebuffer to a linear framebuffer is sufficient to make the existing Sunshine KMS + Intel VA-API pipeline work.
Expected Behavior
Sunshine KMS capture should be able to consume a valid DRM framebuffer using a modifier supported by the underlying DRM/EGL path, or otherwise detect that the framebuffer cannot be imported and use an appropriate compatible fallback.
In particular, users should not have to disable DRM modifiers globally in their compositor just to make an otherwise supported KMS + VA-API configuration work.
Regardless of hardware abstraction layers,
User keeps the autoselect option for the encoder -> stream works
User forces VA-API -> stream works as long as VA-API is supported
Additional Context
Despite my fix being very hyprland-centric, there are efficiency reasons why framebuffer modifiers exist between GPU's, and setting a linear modifier as a default parameter for hyprwm is not something that the hyprland team would do.
Hence, the default setting should be made to work in Sunshine.
I am reporting this separately from #5663 / #5427 because those concern the wlroots capture path and Sunshine-owned DMA-BUF allocation, whereas this reproduction involves the framebuffer already allocated by Hyprland/Aquamarine and consumed through KMS.
Host Operating System
Linux
Operating System Version
7.2.6-arch2-1
Architecture
amd64/x86_64
Package
Linux - LizardByte/pacman-repo
GPU Type
NVIDIA
GPU Model
Nvidia GTX 1060 6GB Mobile
GPU Driver/Mesa Version
nvidia-580xx-dkms 580.178.04-1
Capture Method
KMS (Linux)
Apps
Log output
[2026-09-22 20:30:40.286]: Info: Sunshine version: 2026.914.233613 commit: 63d35f702ee9e362e43263742981836ec0710384
[2026-09-22 20:30:40.287]: Info: Package Publisher: LizardByte
[2026-09-22 20:30:40.287]: Info: Publisher Website: https://app.lizardbyte.dev
[2026-09-22 20:30:40.287]: Info: Get support: https://app.lizardbyte.dev/support
[2026-09-22 20:30:40.287]: Info: config: 'capture' = kms
[2026-09-22 20:30:40.287]: Info: config: 'stream_audio' = disabled
[2026-09-22 20:30:40.287]: Info: config: 'encoder' = vaapi
[2026-09-22 20:30:40.287]: Info: config: 'hevc_mode' = 1
[2026-09-22 20:30:40.287]: Info: config: 'nvenc_preset' = 1
[2026-09-22 20:30:40.287]: Info: config: 'vk_tune' = 0
[2026-09-22 20:30:40.287]: Info: config: 'vaapi_quality' = speed
[2026-09-22 20:30:40.287]: Info: config: 'vk_rc_mode' = 0
[2026-09-22 20:30:40.288]: Info: /dev/dri/card0 -> nvidia-drm
[2026-09-22 20:30:40.289]: Info: /dev/dri/card1 -> i915
[2026-09-22 20:30:40.289]: Info: [wayland] Found display [wayland-1]
[2026-09-22 20:30:40.289]: Info: [wayland] Found display [wayland-1]
[2026-09-22 20:30:40.289]: Info: [wayland] Found interface: zxdg_output_manager_v1(9) version 3
[2026-09-22 20:30:40.289]: Info: [wayland] Found interface: zwlr_screencopy_manager_v1(61) version 3
[2026-09-22 20:30:40.289]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(71) version 5
[2026-09-22 20:30:40.289]: Info: [wayland] Found interface: wl_output(72) version 4
[2026-09-22 20:30:40.290]: Info: [wayland] Resolution: 1920x1080
[2026-09-22 20:30:40.290]: Info: [wayland] Name: eDP-1
[2026-09-22 20:30:40.290]: Info: [wayland] Found monitor: Chimei Innolux Corporation 0x1735 (eDP-1)
[2026-09-22 20:30:40.290]: Info: [wayland] Offset: 0x0
[2026-09-22 20:30:40.290]: Info: [wayland] Logical size: 1920x1080
[2026-09-22 20:30:40.290]: Info: -------- Start of KMS monitor list --------
[2026-09-22 20:30:40.290]: Info: Monitor 0 is eDP-1: Chimei Innolux Corporation 0x1735 (eDP-1)
[2026-09-22 20:30:40.290]: Info: --------- End of KMS monitor list ---------
[2026-09-22 20:30:40.335]: Info: Trying encoder [vaapi]
[2026-09-22 20:30:40.335]: Info: Screencasting with KMS
[2026-09-22 20:30:40.336]: Info: /dev/dri/card0 -> nvidia-drm
[2026-09-22 20:30:40.336]: Info: /dev/dri/card1 -> i915
[2026-09-22 20:30:40.337]: Info: Found monitor for DRM screencasting
[2026-09-22 20:30:40.337]: Info: Found connector ID [111]
[2026-09-22 20:30:40.337]: Info: Found cursor plane [53]
[2026-09-22 20:30:40.342]: Info: Creating encoder [h264_vaapi]
[2026-09-22 20:30:40.342]: Info: Color coding: SDR (Rec. 601)
[2026-09-22 20:30:40.343]: Info: Color depth: 8-bit
[2026-09-22 20:30:40.343]: Info: Color range: JPEG
[2026-09-22 20:30:40.355]: Info: EGL: context priority set to HIGH
[2026-09-22 20:30:40.361]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 26.2.4 ()
[2026-09-22 20:30:40.361]: Info: Streaming bitrate is 1000000
[2026-09-22 20:30:40.361]: Info: Using LP encoding mode
[2026-09-22 20:30:40.361]: Info: [VAAPI] Quality level set to 7 (fastest level: 7)
[2026-09-22 20:30:40.361]: Warning: [VAAPI] Applying QP for compatible rate control method (QP value: 28)
[2026-09-22 20:30:40.361]: Info: [VAAPI] Using CQP rate control with single frame VBV size (whitelist override)
[2026-09-22 20:30:40.361]: Warning: [h264_vaapi @ 0x562b073ea980] Buffering settings are ignored in CQP RC mode.
[2026-09-22 20:30:40.391]: Info: Creating encoder [av1_vaapi]
[2026-09-22 20:30:40.391]: Info: Color coding: SDR (Rec. 601)
[2026-09-22 20:30:40.391]: Info: Color depth: 8-bit
[2026-09-22 20:30:40.391]: Info: Color range: JPEG
[2026-09-22 20:30:40.402]: Info: EGL: context priority set to HIGH
[2026-09-22 20:30:40.407]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 26.2.4 ()
[2026-09-22 20:30:40.407]: Info: Streaming bitrate is 1000000
[2026-09-22 20:30:40.407]: Error: [av1_vaapi @ 0x562b073ea980] No usable encoding profile found.
[2026-09-22 20:30:40.407]: Error: Could not open codec [av1_vaapi]: Function not implemented
[2026-09-22 20:30:40.409]: Info: Screencasting with KMS
[2026-09-22 20:30:40.410]: Info: /dev/dri/card0 -> nvidia-drm
[2026-09-22 20:30:40.410]: Info: /dev/dri/card1 -> i915
[2026-09-22 20:30:40.410]: Info: Found monitor for DRM screencasting
[2026-09-22 20:30:40.410]: Info: Found connector ID [111]
[2026-09-22 20:30:40.411]: Info: Found cursor plane [53]
[2026-09-22 20:30:40.413]: Info: Screencasting with KMS
[2026-09-22 20:30:40.413]: Info: /dev/dri/card0 -> nvidia-drm
[2026-09-22 20:30:40.413]: Info: /dev/dri/card1 -> i915
[2026-09-22 20:30:40.413]: Info: Found monitor for DRM screencasting
[2026-09-22 20:30:40.413]: Info: Found connector ID [111]
[2026-09-22 20:30:40.413]: Info: Found cursor plane [53]
[2026-09-22 20:30:40.416]: Info: Screencasting with KMS
[2026-09-22 20:30:40.416]: Info: /dev/dri/card0 -> nvidia-drm
[2026-09-22 20:30:40.416]: Info: /dev/dri/card1 -> i915
[2026-09-22 20:30:40.416]: Info: Found monitor for DRM screencasting
[2026-09-22 20:30:40.416]: Info: Found connector ID [111]
[2026-09-22 20:30:40.417]: Info: Found cursor plane [53]
[2026-09-22 20:30:40.419]: Info: Screencasting with KMS
[2026-09-22 20:30:40.419]: Info: /dev/dri/card0 -> nvidia-drm
[2026-09-22 20:30:40.419]: Info: /dev/dri/card1 -> i915
[2026-09-22 20:30:40.419]: Info: Found monitor for DRM screencasting
[2026-09-22 20:30:40.419]: Info: Found connector ID [111]
[2026-09-22 20:30:40.419]: Info: Found cursor plane [53]
[2026-09-22 20:30:40.421]: Info: Screencasting with KMS
[2026-09-22 20:30:40.421]: Info: /dev/dri/card0 -> nvidia-drm
[2026-09-22 20:30:40.421]: Info: /dev/dri/card1 -> i915
[2026-09-22 20:30:40.422]: Info: Found monitor for DRM screencasting
[2026-09-22 20:30:40.422]: Info: Found connector ID [111]
[2026-09-22 20:30:40.422]: Info: Found cursor plane [53]
[2026-09-22 20:30:40.424]: Info: Screencasting with KMS
[2026-09-22 20:30:40.424]: Info: /dev/dri/card0 -> nvidia-drm
[2026-09-22 20:30:40.424]: Info: /dev/dri/card1 -> i915
[2026-09-22 20:30:40.424]: Info: Found monitor for DRM screencasting
[2026-09-22 20:30:40.424]: Info: Found connector ID [111]
[2026-09-22 20:30:40.424]: Info: Found cursor plane [53]
[2026-09-22 20:30:40.426]: Info: Screencasting with KMS
[2026-09-22 20:30:40.426]: Info: /dev/dri/card0 -> nvidia-drm
[2026-09-22 20:30:40.427]: Info: /dev/dri/card1 -> i915
[2026-09-22 20:30:40.427]: Info: Found monitor for DRM screencasting
[2026-09-22 20:30:40.427]: Info: Found connector ID [111]
[2026-09-22 20:30:40.427]: Info: Found cursor plane [53]
[2026-09-22 20:30:40.429]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2026-09-22 20:30:40.429]: Info:
[2026-09-22 20:30:40.429]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2026-09-22 20:30:40.429]: Info:
[2026-09-22 20:30:40.429]: Info: Found H.264 encoder: h264_vaapi [vaapi]
[2026-09-22 20:30:40.431]: Info: Starting system tray
[2026-09-22 20:30:40.432]: Info: Adding avahi service archually
[2026-09-22 20:30:40.433]: Info: Configuration UI available at [https://localhost:47990]
[2026-09-22 20:30:40.440]: Info: System tray created
[2026-09-22 20:30:40.441]: Info: Starting main loop
[2026-09-22 20:30:41.236]: Info: Avahi service archually successfully established.
[2026-09-22 20:30:45.265]: Info: Display device configuration is disabled. Reverting any active display device configuration.
[2026-09-22 20:30:45.265]: Info: Trying encoder [vaapi]
[2026-09-22 20:30:45.265]: Info: Screencasting with KMS
[2026-09-22 20:30:45.265]: Info: /dev/dri/card0 -> nvidia-drm
[2026-09-22 20:30:45.265]: Info: /dev/dri/card1 -> i915
[2026-09-22 20:30:45.265]: Info: Found monitor for DRM screencasting
[2026-09-22 20:30:45.265]: Info: Found connector ID [111]
[2026-09-22 20:30:45.266]: Info: Found cursor plane [53]
[2026-09-22 20:30:45.268]: Info: Creating encoder [h264_vaapi]
[2026-09-22 20:30:45.268]: Info: Color coding: SDR (Rec. 601)
[2026-09-22 20:30:45.268]: Info: Color depth: 8-bit
[2026-09-22 20:30:45.268]: Info: Color range: JPEG
[2026-09-22 20:30:45.279]: Info: EGL: context priority set to HIGH
[2026-09-22 20:30:45.284]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 26.2.4 ()
[2026-09-22 20:30:45.284]: Info: Streaming bitrate is 1000000
[2026-09-22 20:30:45.284]: Info: Using LP encoding mode
[2026-09-22 20:30:45.284]: Info: [VAAPI] Quality level set to 7 (fastest level: 7)
[2026-09-22 20:30:45.284]: Warning: [VAAPI] Applying QP for compatible rate control method (QP value: 28)
[2026-09-22 20:30:45.284]: Info: [VAAPI] Using CQP rate control with single frame VBV size (whitelist override)
[2026-09-22 20:30:45.284]: Warning: [h264_vaapi @ 0x7efe24060a80] Buffering settings are ignored in CQP RC mode.
[2026-09-22 20:30:45.317]: Info: Creating encoder [av1_vaapi]
[2026-09-22 20:30:45.317]: Info: Color coding: SDR (Rec. 601)
[2026-09-22 20:30:45.317]: Info: Color depth: 8-bit
[2026-09-22 20:30:45.317]: Info: Color range: JPEG
[2026-09-22 20:30:45.328]: Info: EGL: context priority set to HIGH
[2026-09-22 20:30:45.333]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 26.2.4 ()
[2026-09-22 20:30:45.333]: Info: Streaming bitrate is 1000000
[2026-09-22 20:30:45.333]: Error: [av1_vaapi @ 0x7efe24060a80] No usable encoding profile found.
[2026-09-22 20:30:45.333]: Error: Could not open codec [av1_vaapi]: Function not implemented
[2026-09-22 20:30:45.335]: Info: Screencasting with KMS
[2026-09-22 20:30:45.335]: Info: /dev/dri/card0 -> nvidia-drm
[2026-09-22 20:30:45.335]: Info: /dev/dri/card1 -> i915
[2026-09-22 20:30:45.335]: Info: Found monitor for DRM screencasting
[2026-09-22 20:30:45.335]: Info: Found connector ID [111]
[2026-09-22 20:30:45.336]: Info: Found cursor plane [53]
[2026-09-22 20:30:45.337]: Info: Screencasting with KMS
[2026-09-22 20:30:45.338]: Info: /dev/dri/card0 -> nvidia-drm
[2026-09-22 20:30:45.338]: Info: /dev/dri/card1 -> i915
[2026-09-22 20:30:45.338]: Info: Found monitor for DRM screencasting
[2026-09-22 20:30:45.338]: Info: Found connector ID [111]
[2026-09-22 20:30:45.338]: Info: Found cursor plane [53]
[2026-09-22 20:30:45.340]: Info: Screencasting with KMS
[2026-09-22 20:30:45.340]: Info: /dev/dri/card0 -> nvidia-drm
[2026-09-22 20:30:45.340]: Info: /dev/dri/card1 -> i915
[2026-09-22 20:30:45.340]: Info: Found monitor for DRM screencasting
[2026-09-22 20:30:45.340]: Info: Found connector ID [111]
[2026-09-22 20:30:45.341]: Info: Found cursor plane [53]
[2026-09-22 20:30:45.342]: Info: Screencasting with KMS
[2026-09-22 20:30:45.342]: Info: /dev/dri/card0 -> nvidia-drm
[2026-09-22 20:30:45.343]: Info: /dev/dri/card1 -> i915
[2026-09-22 20:30:45.343]: Info: Found monitor for DRM screencasting
[2026-09-22 20:30:45.343]: Info: Found connector ID [111]
[2026-09-22 20:30:45.343]: Info: Found cursor plane [53]
[2026-09-22 20:30:45.345]: Info: Screencasting with KMS
[2026-09-22 20:30:45.345]: Info: /dev/dri/card0 -> nvidia-drm
[2026-09-22 20:30:45.345]: Info: /dev/dri/card1 -> i915
[2026-09-22 20:30:45.345]: Info: Found monitor for DRM screencasting
[2026-09-22 20:30:45.345]: Info: Found connector ID [111]
[2026-09-22 20:30:45.346]: Info: Found cursor plane [53]
[2026-09-22 20:30:45.348]: Info: Screencasting with KMS
[2026-09-22 20:30:45.348]: Info: /dev/dri/card0 -> nvidia-drm
[2026-09-22 20:30:45.348]: Info: /dev/dri/card1 -> i915
[2026-09-22 20:30:45.348]: Info: Found monitor for DRM screencasting
[2026-09-22 20:30:45.349]: Info: Found connector ID [111]
[2026-09-22 20:30:45.349]: Info: Found cursor plane [53]
[2026-09-22 20:30:45.351]: Info: Screencasting with KMS
[2026-09-22 20:30:45.351]: Info: /dev/dri/card0 -> nvidia-drm
[2026-09-22 20:30:45.351]: Info: /dev/dri/card1 -> i915
[2026-09-22 20:30:45.351]: Info: Found monitor for DRM screencasting
[2026-09-22 20:30:45.351]: Info: Found connector ID [111]
[2026-09-22 20:30:45.351]: Info: Found cursor plane [53]
[2026-09-22 20:30:45.353]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2026-09-22 20:30:45.353]: Info:
[2026-09-22 20:30:45.353]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2026-09-22 20:30:45.353]: Info:
[2026-09-22 20:30:45.353]: Info: Found H.264 encoder: h264_vaapi [vaapi]
[2026-09-22 20:30:45.353]: Info: Executing [Desktop]
[2026-09-22 20:30:45.395]: Info: New streaming session started [active sessions: 1]
[2026-09-22 20:30:45.437]: Info: CLIENT CONNECTED
[2026-09-22 20:30:45.474]: Info: /dev/dri/card0 -> nvidia-drm
[2026-09-22 20:30:45.475]: Info: /dev/dri/card1 -> i915
[2026-09-22 20:30:45.476]: Info: [wayland] Found display [wayland-1]
[2026-09-22 20:30:45.476]: Info: [wayland] Found interface: zxdg_output_manager_v1(9) version 3
[2026-09-22 20:30:45.476]: Info: [wayland] Found interface: zwlr_screencopy_manager_v1(61) version 3
[2026-09-22 20:30:45.476]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(71) version 5
[2026-09-22 20:30:45.476]: Info: [wayland] Found interface: wl_output(72) version 4
[2026-09-22 20:30:45.476]: Info: [wayland] Resolution: 1920x1080
[2026-09-22 20:30:45.476]: Info: [wayland] Name: eDP-1
[2026-09-22 20:30:45.476]: Info: [wayland] Found monitor: Chimei Innolux Corporation 0x1735 (eDP-1)
[2026-09-22 20:30:45.476]: Info: [wayland] Offset: 0x0
[2026-09-22 20:30:45.476]: Info: [wayland] Logical size: 1920x1080
[2026-09-22 20:30:45.476]: Info: -------- Start of KMS monitor list --------
[2026-09-22 20:30:45.476]: Info: Monitor 0 is eDP-1: Chimei Innolux Corporation 0x1735 (eDP-1)
[2026-09-22 20:30:45.476]: Info: --------- End of KMS monitor list ---------
[2026-09-22 20:30:45.476]: Info: Screencasting with KMS
[2026-09-22 20:30:45.476]: Info: Mapped 'eDP-1' to kmsgrab monitor index 0
[2026-09-22 20:30:45.476]: Info: /dev/dri/card0 -> nvidia-drm
[2026-09-22 20:30:45.477]: Info: /dev/dri/card1 -> i915
[2026-09-22 20:30:45.477]: Info: Found monitor for DRM screencasting
[2026-09-22 20:30:45.477]: Info: Found connector ID [111]
[2026-09-22 20:30:45.478]: Info: Found cursor plane [53]
[2026-09-22 20:30:45.480]: Info: Creating encoder [h264_vaapi]
[2026-09-22 20:30:45.481]: Info: Color coding: SDR (Rec. 709)
[2026-09-22 20:30:45.481]: Info: Color depth: 8-bit
[2026-09-22 20:30:45.481]: Info: Color range: MPEG
[2026-09-22 20:30:45.493]: Info: EGL: context priority set to HIGH
[2026-09-22 20:30:45.497]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 26.2.4 ()
[2026-09-22 20:30:45.498]: Info: Streaming bitrate is 1628000
[2026-09-22 20:30:45.498]: Info: Using LP encoding mode
[2026-09-22 20:30:45.498]: Info: [VAAPI] Quality level set to 7 (fastest level: 7)
[2026-09-22 20:30:45.498]: Warning: [VAAPI] Applying QP for compatible rate control method (QP value: 28)
[2026-09-22 20:30:45.498]: Info: [VAAPI] Using CQP rate control with single frame VBV size (whitelist override)
[2026-09-22 20:30:45.498]: Warning: [h264_vaapi @ 0x7efe24d62980] Buffering settings are ignored in CQP RC mode.
[2026-09-22 20:30:45.507]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-09-22 20:30:45.512]: Error: Couldn't import RGB Image: 00003009
[2026-09-22 20:30:45.512]: Error: Could not convert image
[2026-09-22 20:30:45.519]: Info: Creating encoder [h264_vaapi]
[2026-09-22 20:30:45.519]: Info: Color coding: SDR (Rec. 709)
[2026-09-22 20:30:45.519]: Info: Color depth: 8-bit
[2026-09-22 20:30:45.519]: Info: Color range: MPEG
[2026-09-22 20:30:45.529]: Info: EGL: context priority set to HIGH
[2026-09-22 20:30:45.534]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 26.2.4 ()
[2026-09-22 20:30:45.534]: Info: Streaming bitrate is 1628000
[2026-09-22 20:30:45.534]: Info: Using LP encoding mode
[2026-09-22 20:30:45.534]: Info: [VAAPI] Quality level set to 7 (fastest level: 7)
[2026-09-22 20:30:45.534]: Warning: [VAAPI] Applying QP for compatible rate control method (QP value: 28)
[2026-09-22 20:30:45.534]: Info: [VAAPI] Using CQP rate control with single frame VBV size (whitelist override)
[2026-09-22 20:30:45.535]: Warning: [h264_vaapi @ 0x7efe2409b640] Buffering settings are ignored in CQP RC mode.
[2026-09-22 20:30:45.542]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-09-22 20:30:45.548]: Error: Couldn't import RGB Image: 00003009
[2026-09-22 20:30:45.548]: Error: Could not convert image
[2026-09-22 20:30:45.552]: Info: Creating encoder [h264_vaapi]
[2026-09-22 20:30:45.553]: Info: Color coding: SDR (Rec. 709)
[2026-09-22 20:30:45.553]: Info: Color depth: 8-bit
[2026-09-22 20:30:45.553]: Info: Color range: MPEG
[2026-09-22 20:30:45.564]: Info: EGL: context priority set to HIGH
[2026-09-22 20:30:45.569]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 26.2.4 ()
[2026-09-22 20:30:45.569]: Info: Streaming bitrate is 1628000
[2026-09-22 20:30:45.569]: Info: Using LP encoding mode
[2026-09-22 20:30:45.569]: Info: [VAAPI] Quality level set to 7 (fastest level: 7)
[2026-09-22 20:30:45.569]: Warning: [VAAPI] Applying QP for compatible rate control method (QP value: 28)
[2026-09-22 20:30:45.569]: Info: [VAAPI] Using CQP rate control with single frame VBV size (whitelist override)
[2026-09-22 20:30:45.569]: Warning: [h264_vaapi @ 0x7efe24684300] Buffering settings are ignored in CQP RC mode.
[2026-09-22 20:30:45.577]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-09-22 20:30:45.583]: Error: Couldn't import RGB Image: 00003009
[2026-09-22 20:30:45.583]: Error: Could not convert image
[2026-09-22 20:30:45.588]: Info: Creating encoder [h264_vaapi]
[2026-09-22 20:30:45.588]: Info: Color coding: SDR (Rec. 709)
[2026-09-22 20:30:45.588]: Info: Color depth: 8-bit
[2026-09-22 20:30:45.588]: Info: Color range: MPEG
[2026-09-22 20:30:45.599]: Info: EGL: context priority set to HIGH
[2026-09-22 20:30:45.604]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 26.2.4 ()
[2026-09-22 20:30:45.604]: Info: Streaming bitrate is 1628000
[2026-09-22 20:30:45.604]: Info: Using LP encoding mode
[2026-09-22 20:30:45.604]: Info: [VAAPI] Quality level set to 7 (fastest level: 7)
[2026-09-22 20:30:45.604]: Warning: [VAAPI] Applying QP for compatible rate control method (QP value: 28)
[2026-09-22 20:30:45.604]: Info: [VAAPI] Using CQP rate control with single frame VBV size (whitelist override)
[2026-09-22 20:30:45.604]: Warning: [h264_vaapi @ 0x7efe2409b640] Buffering settings are ignored in CQP RC mode.
[2026-09-22 20:30:45.612]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-09-22 20:30:45.617]: Error: Couldn't import RGB Image: 00003009
[2026-09-22 20:30:45.617]: Error: Could not convert image
[2026-09-22 20:30:45.624]: Info: Creating encoder [h264_vaapi]
[2026-09-22 20:30:45.624]: Info: Color coding: SDR (Rec. 709)
[2026-09-22 20:30:45.624]: Info: Color depth: 8-bit
[2026-09-22 20:30:45.624]: Info: Color range: MPEG
[2026-09-22 20:30:45.635]: Info: EGL: context priority set to HIGH
[2026-09-22 20:30:45.640]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 26.2.4 ()
[2026-09-22 20:30:45.640]: Info: Streaming bitrate is 1628000
[2026-09-22 20:30:45.640]: Info: Using LP encoding mode
[2026-09-22 20:30:45.640]: Info: [VAAPI] Quality level set to 7 (fastest level: 7)
[2026-09-22 20:30:45.640]: Warning: [VAAPI] Applying QP for compatible rate control method (QP value: 28)
[2026-09-22 20:30:45.640]: Info: [VAAPI] Using CQP rate control with single frame VBV size (whitelist override)
[2026-09-22 20:30:45.640]: Warning: [h264_vaapi @ 0x7efe24684300] Buffering settings are ignored in CQP RC mode.
[2026-09-22 20:30:45.649]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-09-22 20:30:45.654]: Error: Couldn't import RGB Image: 00003009
[2026-09-22 20:30:45.654]: Error: Could not convert image
[2026-09-22 20:30:45.658]: Info: Creating encoder [h264_vaapi]
[2026-09-22 20:30:45.658]: Info: Color coding: SDR (Rec. 709)
[2026-09-22 20:30:45.658]: Info: Color depth: 8-bit
[2026-09-22 20:30:45.658]: Info: Color range: MPEG
[2026-09-22 20:30:45.669]: Info: EGL: context priority set to HIGH
[2026-09-22 20:30:45.674]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 26.2.4 ()
[2026-09-22 20:30:45.674]: Info: Streaming bitrate is 1628000
[2026-09-22 20:30:45.674]: Info: Using LP encoding mode
[2026-09-22 20:30:45.674]: Info: [VAAPI] Quality level set to 7 (fastest level: 7)
[2026-09-22 20:30:45.674]: Warning: [VAAPI] Applying QP for compatible rate control method (QP value: 28)
[2026-09-22 20:30:45.674]: Info: [VAAPI] Using CQP rate control with single frame VBV size (whitelist override)
[2026-09-22 20:30:45.674]: Warning: [h264_vaapi @ 0x7efe2409b640] Buffering settings are ignored in CQP RC mode.
[2026-09-22 20:30:45.683]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-09-22 20:30:45.688]: Error: Couldn't import RGB Image: 00003009
[2026-09-22 20:30:45.688]: Error: Could not convert image
[2026-09-22 20:30:45.694]: Info: Creating encoder [h264_vaapi]
[2026-09-22 20:30:45.694]: Info: Color coding: SDR (Rec. 709)
[2026-09-22 20:30:45.694]: Info: Color depth: 8-bit
[2026-09-22 20:30:45.694]: Info: Color range: MPEG
[2026-09-22 20:30:45.705]: Info: EGL: context priority set to HIGH
[2026-09-22 20:30:45.710]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 26.2.4 ()
[2026-09-22 20:30:45.710]: Info: Streaming bitrate is 1628000
[2026-09-22 20:30:45.710]: Info: Using LP encoding mode
[2026-09-22 20:30:45.710]: Info: [VAAPI] Quality level set to 7 (fastest level: 7)
[2026-09-22 20:30:45.710]: Warning: [VAAPI] Applying QP for compatible rate control method (QP value: 28)
[2026-09-22 20:30:45.710]: Info: [VAAPI] Using CQP rate control with single frame VBV size (whitelist override)
[2026-09-22 20:30:45.710]: Warning: [h264_vaapi @ 0x7efe24684300] Buffering settings are ignored in CQP RC mode.
[2026-09-22 20:30:45.718]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-09-22 20:30:45.723]: Error: Couldn't import RGB Image: 00003009
[2026-09-22 20:30:45.723]: Error: Could not convert image
[2026-09-22 20:30:45.728]: Info: Creating encoder [h264_vaapi]
[2026-09-22 20:30:45.728]: Info: Color coding: SDR (Rec. 709)
[2026-09-22 20:30:45.728]: Info: Color depth: 8-bit
[2026-09-22 20:30:45.728]: Info: Color range: MPEG
[2026-09-22 20:30:45.739]: Info: EGL: context priority set to HIGH
[2026-09-22 20:30:45.744]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 26.2.4 ()
[2026-09-22 20:30:45.744]: Info: Streaming bitrate is 1628000
[2026-09-22 20:30:45.744]: Info: Using LP encoding mode
[2026-09-22 20:30:45.744]: Info: [VAAPI] Quality level set to 7 (fastest level: 7)
[2026-09-22 20:30:45.744]: Warning: [VAAPI] Applying QP for compatible rate control method (QP value: 28)
[2026-09-22 20:30:45.744]: Info: [VAAPI] Using CQP rate control with single frame VBV size (whitelist override)
[2026-09-22 20:30:45.744]: Warning: [h264_vaapi @ 0x7efe2409b640] Buffering settings are ignored in CQP RC mode.
[2026-09-22 20:30:45.753]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-09-22 20:30:45.758]: Error: Couldn't import RGB Image: 00003009
[2026-09-22 20:30:45.758]: Error: Could not convert image
[2026-09-22 20:30:45.762]: Info: Creating encoder [h264_vaapi]
[2026-09-22 20:30:45.763]: Info: Color coding: SDR (Rec. 709)
[2026-09-22 20:30:45.763]: Info: Color depth: 8-bit
[2026-09-22 20:30:45.763]: Info: Color range: MPEG
[2026-09-22 20:30:45.774]: Info: EGL: context priority set to HIGH
[2026-09-22 20:30:45.778]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 26.2.4 ()
[2026-09-22 20:30:45.778]: Info: Streaming bitrate is 1628000
[2026-09-22 20:30:45.778]: Info: Using LP encoding mode
[2026-09-22 20:30:45.778]: Info: [VAAPI] Quality level set to 7 (fastest level: 7)
[2026-09-22 20:30:45.778]: Warning: [VAAPI] Applying QP for compatible rate control method (QP value: 28)
[2026-09-22 20:30:45.778]: Info: [VAAPI] Using CQP rate control with single frame VBV size (whitelist override)
[2026-09-22 20:30:45.778]: Warning: [h264_vaapi @ 0x7efe24684300] Buffering settings are ignored in CQP RC mode.
[2026-09-22 20:30:45.787]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-09-22 20:30:45.792]: Error: Couldn't import RGB Image: 00003009
[2026-09-22 20:30:45.792]: Error: Could not convert image
[2026-09-22 20:30:45.797]: Info: Creating encoder [h264_vaapi]
[2026-09-22 20:30:45.797]: Info: Color coding: SDR (Rec. 709)
[2026-09-22 20:30:45.797]: Info: Color depth: 8-bit
[2026-09-22 20:30:45.797]: Info: Color range: MPEG
[2026-09-22 20:30:45.808]: Info: EGL: context priority set to HIGH
[2026-09-22 20:30:45.813]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 26.2.4 ()
[2026-09-22 20:30:45.813]: Info: Streaming bitrate is 1628000
[2026-09-22 20:30:45.813]: Info: Using LP encoding mode
[2026-09-22 20:30:45.813]: Info: [VAAPI] Quality level set to 7 (fastest level: 7)
[2026-09-22 20:30:45.813]: Warning: [VAAPI] Applying QP for compatible rate control method (QP value: 28)
[2026-09-22 20:30:45.813]: Info: [VAAPI] Using CQP rate control with single frame VBV size (whitelist override)
[2026-09-22 20:30:45.813]: Warning: [h264_vaapi @ 0x7efe2409b640] Buffering settings are ignored in CQP RC mode.
[2026-09-22 20:30:45.821]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-09-22 20:30:45.826]: Error: Couldn't import RGB Image: 00003009
[2026-09-22 20:30:45.826]: Error: Could not convert image
[2026-09-22 20:30:45.833]: Info: Creating encoder [h264_vaapi]
[2026-09-22 20:30:45.833]: Info: Color coding: SDR (Rec. 709)
[2026-09-22 20:30:45.833]: Info: Color depth: 8-bit
[2026-09-22 20:30:45.833]: Info: Color range: MPEG
[2026-09-22 20:30:45.844]: Info: EGL: context priority set to HIGH
[2026-09-22 20:30:45.849]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 26.2.4 ()
[2026-09-22 20:30:45.849]: Info: Streaming bitrate is 1628000
[2026-09-22 20:30:45.849]: Info: Using LP encoding mode
[2026-09-22 20:30:45.849]: Info: [VAAPI] Quality level set to 7 (fastest level: 7)
[2026-09-22 20:30:45.849]: Warning: [VAAPI] Applying QP for compatible rate control method (QP value: 28)
[2026-09-22 20:30:45.850]: Info: [VAAPI] Using CQP rate control with single frame VBV size (whitelist override)
[2026-09-22 20:30:45.850]: Warning: [h264_vaapi @ 0x7efe24684300] Buffering settings are ignored in CQP RC mode.
[2026-09-22 20:30:45.857]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-09-22 20:30:45.864]: Error: Couldn't import RGB Image: 00003009
[2026-09-22 20:30:45.864]: Error: Could not convert image
[2026-09-22 20:30:45.868]: Info: Creating encoder [h264_vaapi]
[2026-09-22 20:30:45.868]: Info: Color coding: SDR (Rec. 709)
[2026-09-22 20:30:45.868]: Info: Color depth: 8-bit
[2026-09-22 20:30:45.868]: Info: Color range: MPEG
[2026-09-22 20:30:45.879]: Info: EGL: context priority set to HIGH
[2026-09-22 20:30:45.884]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 26.2.4 ()
[2026-09-22 20:30:45.884]: Info: Streaming bitrate is 1628000
[2026-09-22 20:30:45.884]: Info: Using LP encoding mode
[2026-09-22 20:30:45.884]: Info: [VAAPI] Quality level set to 7 (fastest level: 7)
[2026-09-22 20:30:45.884]: Warning: [VAAPI] Applying QP for compatible rate control method (QP value: 28)
[2026-09-22 20:30:45.884]: Info: [VAAPI] Using CQP rate control with single frame VBV size (whitelist override)
[2026-09-22 20:30:45.884]: Warning: [h264_vaapi @ 0x7efe2409b640] Buffering settings are ignored in CQP RC mode.
[2026-09-22 20:30:45.892]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-09-22 20:30:45.897]: Error: Couldn't import RGB Image: 00003009
[2026-09-22 20:30:45.897]: Error: Could not convert image
[2026-09-22 20:30:45.903]: Info: Creating encoder [h264_vaapi]
[2026-09-22 20:30:45.903]: Info: Color coding: SDR (Rec. 709)
[2026-09-22 20:30:45.903]: Info: Color depth: 8-bit
[2026-09-22 20:30:45.903]: Info: Color range: MPEG
[2026-09-22 20:30:45.913]: Info: EGL: context priority set to HIGH
[2026-09-22 20:30:45.918]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 26.2.4 ()
[2026-09-22 20:30:45.918]: Info: Streaming bitrate is 1628000
[2026-09-22 20:30:45.918]: Info: Using LP encoding mode
[2026-09-22 20:30:45.918]: Info: [VAAPI] Quality level set to 7 (fastest level: 7)
[2026-09-22 20:30:45.918]: Warning: [VAAPI] Applying QP for compatible rate control method (QP value: 28)
[2026-09-22 20:30:45.918]: Info: [VAAPI] Using CQP rate control with single frame VBV size (whitelist override)
[2026-09-22 20:30:45.918]: Warning: [h264_vaapi @ 0x7efe24684300] Buffering settings are ignored in CQP RC mode.
[2026-09-22 20:30:45.926]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-09-22 20:30:45.932]: Error: Couldn't import RGB Image: 00003009
[2026-09-22 20:30:45.932]: Error: Could not convert image
[2026-09-22 20:30:45.936]: Info: Creating encoder [h264_vaapi]
[2026-09-22 20:30:45.936]: Info: Color coding: SDR (Rec. 709)
[2026-09-22 20:30:45.936]: Info: Color depth: 8-bit
[2026-09-22 20:30:45.936]: Info: Color range: MPEG
[2026-09-22 20:30:45.948]: Info: EGL: context priority set to HIGH
[2026-09-22 20:30:45.952]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 26.2.4 ()
[2026-09-22 20:30:45.952]: Info: Streaming bitrate is 1628000
[2026-09-22 20:30:45.952]: Info: Using LP encoding mode
[2026-09-22 20:30:45.952]: Info: [VAAPI] Quality level set to 7 (fastest level: 7)
[2026-09-22 20:30:45.952]: Warning: [VAAPI] Applying QP for compatible rate control method (QP value: 28)
[2026-09-22 20:30:45.952]: Info: [VAAPI] Using CQP rate control with single frame VBV size (whitelist override)
[2026-09-22 20:30:45.952]: Warning: [h264_vaapi @ 0x7efe2409b640] Buffering settings are ignored in CQP RC mode.
[2026-09-22 20:30:45.960]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-09-22 20:30:45.965]: Error: Couldn't import RGB Image: 00003009
[2026-09-22 20:30:45.965]: Error: Could not convert image
[2026-09-22 20:30:45.970]: Info: Creating encoder [h264_vaapi]
[2026-09-22 20:30:45.970]: Info: Color coding: SDR (Rec. 709)
[2026-09-22 20:30:45.970]: Info: Color depth: 8-bit
[2026-09-22 20:30:45.970]: Info: Color range: MPEG
[2026-09-22 20:30:45.981]: Info: EGL: context priority set to HIGH
[trimmed output because it's just the same over and over]
[2026-09-22 20:30:48.139]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 26.2.4 ()
[2026-09-22 20:30:48.139]: Info: Streaming bitrate is 1628000
[2026-09-22 20:30:48.139]: Info: Using LP encoding mode
[2026-09-22 20:30:48.139]: Info: [VAAPI] Quality level set to 7 (fastest level: 7)
[2026-09-22 20:30:48.139]: Warning: [VAAPI] Applying QP for compatible rate control method (QP value: 28)
[2026-09-22 20:30:48.139]: Info: [VAAPI] Using CQP rate control with single frame VBV size (whitelist override)
[2026-09-22 20:30:48.140]: Warning: [h264_vaapi @ 0x7efe2409b640] Buffering settings are ignored in CQP RC mode.
[2026-09-22 20:30:48.149]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-09-22 20:30:48.153]: Error: Couldn't import RGB Image: 00003009
[2026-09-22 20:30:48.154]: Error: Could not convert image
[2026-09-22 20:30:48.158]: Info: Creating encoder [h264_vaapi]
[2026-09-22 20:30:48.158]: Info: Color coding: SDR (Rec. 709)
[2026-09-22 20:30:48.158]: Info: Color depth: 8-bit
[2026-09-22 20:30:48.158]: Info: Color range: MPEG
[2026-09-22 20:30:48.169]: Info: EGL: context priority set to HIGH
[2026-09-22 20:30:48.174]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 26.2.4 ()
[2026-09-22 20:30:48.174]: Info: Streaming bitrate is 1628000
[2026-09-22 20:30:48.174]: Info: Using LP encoding mode
[2026-09-22 20:30:48.174]: Info: [VAAPI] Quality level set to 7 (fastest level: 7)
[2026-09-22 20:30:48.174]: Warning: [VAAPI] Applying QP for compatible rate control method (QP value: 28)
[2026-09-22 20:30:48.174]: Info: [VAAPI] Using CQP rate control with single frame VBV size (whitelist override)
[2026-09-22 20:30:48.174]: Warning: [h264_vaapi @ 0x7efe24684300] Buffering settings are ignored in CQP RC mode.
[2026-09-22 20:30:48.183]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-09-22 20:30:48.188]: Error: Couldn't import RGB Image: 00003009
[2026-09-22 20:30:48.188]: Error: Could not convert image
[2026-09-22 20:30:48.193]: Info: Creating encoder [h264_vaapi]
[2026-09-22 20:30:48.193]: Info: Color coding: SDR (Rec. 709)
[2026-09-22 20:30:48.193]: Info: Color depth: 8-bit
[2026-09-22 20:30:48.193]: Info: Color range: MPEG
[2026-09-22 20:30:48.204]: Info: EGL: context priority set to HIGH
[2026-09-22 20:30:48.209]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 26.2.4 ()
[2026-09-22 20:30:48.209]: Info: Streaming bitrate is 1628000
[2026-09-22 20:30:48.209]: Info: Using LP encoding mode
[2026-09-22 20:30:48.209]: Info: [VAAPI] Quality level set to 7 (fastest level: 7)
[2026-09-22 20:30:48.209]: Warning: [VAAPI] Applying QP for compatible rate control method (QP value: 28)
[2026-09-22 20:30:48.209]: Info: [VAAPI] Using CQP rate control with single frame VBV size (whitelist override)
[2026-09-22 20:30:48.209]: Warning: [h264_vaapi @ 0x7efe2409b640] Buffering settings are ignored in CQP RC mode.
[2026-09-22 20:30:48.218]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-09-22 20:30:48.223]: Error: Couldn't import RGB Image: 00003009
[2026-09-22 20:30:48.223]: Error: Could not convert image
[2026-09-22 20:30:48.229]: Info: Creating encoder [h264_vaapi]
[2026-09-22 20:30:48.229]: Info: Color coding: SDR (Rec. 709)
[2026-09-22 20:30:48.229]: Info: Color depth: 8-bit
[2026-09-22 20:30:48.229]: Info: Color range: MPEG
[2026-09-22 20:30:48.240]: Info: EGL: context priority set to HIGH
[2026-09-22 20:30:48.245]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 26.2.4 ()
[2026-09-22 20:30:48.245]: Info: Streaming bitrate is 1628000
[2026-09-22 20:30:48.245]: Info: Using LP encoding mode
[2026-09-22 20:30:48.245]: Info: [VAAPI] Quality level set to 7 (fastest level: 7)
[2026-09-22 20:30:48.245]: Warning: [VAAPI] Applying QP for compatible rate control method (QP value: 28)
[2026-09-22 20:30:48.245]: Info: [VAAPI] Using CQP rate control with single frame VBV size (whitelist override)
[2026-09-22 20:30:48.245]: Warning: [h264_vaapi @ 0x7efe24684300] Buffering settings are ignored in CQP RC mode.
[2026-09-22 20:30:48.254]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-09-22 20:30:48.259]: Error: Couldn't import RGB Image: 00003009
[2026-09-22 20:30:48.259]: Error: Could not convert image
[2026-09-22 20:30:48.265]: Info: Creating encoder [h264_vaapi]
[2026-09-22 20:30:48.265]: Info: Color coding: SDR (Rec. 709)
[2026-09-22 20:30:48.265]: Info: Color depth: 8-bit
[2026-09-22 20:30:48.265]: Info: Color range: MPEG
[2026-09-22 20:30:48.276]: Info: EGL: context priority set to HIGH
[2026-09-22 20:30:48.281]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 26.2.4 ()
[2026-09-22 20:30:48.281]: Info: Streaming bitrate is 1628000
[2026-09-22 20:30:48.281]: Info: Using LP encoding mode
[2026-09-22 20:30:48.281]: Info: [VAAPI] Quality level set to 7 (fastest level: 7)
[2026-09-22 20:30:48.281]: Warning: [VAAPI] Applying QP for compatible rate control method (QP value: 28)
[2026-09-22 20:30:48.281]: Info: [VAAPI] Using CQP rate control with single frame VBV size (whitelist override)
[2026-09-22 20:30:48.281]: Warning: [h264_vaapi @ 0x7efe2409b640] Buffering settings are ignored in CQP RC mode.
[2026-09-22 20:30:48.289]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-09-22 20:30:48.294]: Error: Couldn't import RGB Image: 00003009
[2026-09-22 20:30:48.294]: Error: Could not convert image
[2026-09-22 20:30:48.300]: Info: Creating encoder [h264_vaapi]
[2026-09-22 20:30:48.300]: Info: Color coding: SDR (Rec. 709)
[2026-09-22 20:30:48.300]: Info: Color depth: 8-bit
[2026-09-22 20:30:48.300]: Info: Color range: MPEG
[2026-09-22 20:30:48.311]: Info: EGL: context priority set to HIGH
[2026-09-22 20:30:48.316]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 26.2.4 ()
[2026-09-22 20:30:48.317]: Info: Streaming bitrate is 1628000
[2026-09-22 20:30:48.317]: Info: Using LP encoding mode
[2026-09-22 20:30:48.317]: Info: [VAAPI] Quality level set to 7 (fastest level: 7)
[2026-09-22 20:30:48.317]: Warning: [VAAPI] Applying QP for compatible rate control method (QP value: 28)
[2026-09-22 20:30:48.317]: Info: [VAAPI] Using CQP rate control with single frame VBV size (whitelist override)
[2026-09-22 20:30:48.317]: Warning: [h264_vaapi @ 0x7efe24684300] Buffering settings are ignored in CQP RC mode.
[2026-09-22 20:30:48.324]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-09-22 20:30:48.330]: Error: Couldn't import RGB Image: 00003009
[2026-09-22 20:30:48.330]: Error: Could not convert image
[2026-09-22 20:30:48.336]: Info: Creating encoder [h264_vaapi]
[2026-09-22 20:30:48.336]: Info: Color coding: SDR (Rec. 709)
[2026-09-22 20:30:48.336]: Info: Color depth: 8-bit
[2026-09-22 20:30:48.336]: Info: Color range: MPEG
[2026-09-22 20:30:48.347]: Info: EGL: context priority set to HIGH
[2026-09-22 20:30:48.351]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 26.2.4 ()
[2026-09-22 20:30:48.351]: Info: Streaming bitrate is 1628000
[2026-09-22 20:30:48.352]: Info: Using LP encoding mode
[2026-09-22 20:30:48.352]: Info: [VAAPI] Quality level set to 7 (fastest level: 7)
[2026-09-22 20:30:48.352]: Warning: [VAAPI] Applying QP for compatible rate control method (QP value: 28)
[2026-09-22 20:30:48.352]: Info: [VAAPI] Using CQP rate control with single frame VBV size (whitelist override)
[2026-09-22 20:30:48.352]: Warning: [h264_vaapi @ 0x7efe2409b640] Buffering settings are ignored in CQP RC mode.
[2026-09-22 20:30:48.359]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-09-22 20:30:48.365]: Error: Couldn't import RGB Image: 00003009
[2026-09-22 20:30:48.365]: Error: Could not convert image
[2026-09-22 20:30:48.370]: Info: Creating encoder [h264_vaapi]
[2026-09-22 20:30:48.370]: Info: Color coding: SDR (Rec. 709)
[2026-09-22 20:30:48.370]: Info: Color depth: 8-bit
[2026-09-22 20:30:48.370]: Info: Color range: MPEG
[2026-09-22 20:30:48.373]: Info: Interrupt handler called
[2026-09-22 20:30:48.373]: Error: Couldn't accept incoming connections: Operation canceled
[2026-09-22 20:30:48.374]: Info: Main loop has exited
[2026-09-22 20:30:48.382]: Info: EGL: context priority set to HIGH
[2026-09-22 20:30:48.386]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 26.2.4 ()
[2026-09-22 20:30:48.386]: Info: Streaming bitrate is 1628000
[2026-09-22 20:30:48.386]: Info: Using LP encoding mode
[2026-09-22 20:30:48.386]: Info: [VAAPI] Quality level set to 7 (fastest level: 7)
[2026-09-22 20:30:48.386]: Warning: [VAAPI] Applying QP for compatible rate control method (QP value: 28)
[2026-09-22 20:30:48.386]: Info: [VAAPI] Using CQP rate control with single frame VBV size (whitelist override)
[2026-09-22 20:30:48.386]: Warning: [h264_vaapi @ 0x7efe24684300] Buffering settings are ignored in CQP RC mode.
[2026-09-22 20:30:48.394]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-09-22 20:30:48.400]: Error: Couldn't import RGB Image: 00003009
[2026-09-22 20:30:48.400]: Error: Could not convert image
Online logs
No response
Is there an existing issue for this?
Is your issue described in the documentation?
Is your issue present in the latest beta/pre-release?
I'm too lazy to test
Describe the Bug
TL;DR: VA-API fails to import Intel modifier framebuffer under Hyprland, setting AQ_NO_MODIFIERS=1 before launching the Hyprland session fixes it.
Disclaimer
I'm neither an Nvidia engineer nor a genius, so generative AI was heavily involved in the investigation, and my explanations aren't going to be rigorously correct.
Description
KMS capture + VA-API encoder fails to stream on my MSI GP72M. It's a laptop built on the dreaded Optimus architecture, running Hyprland.
Without the fix, every captured frame failed with:
The same setup works immediately when Hyprland/Aquamarine is configured with the following in its configuration file (
hyprland.lua):After restarting Hyprland and verifying that
echo $AQ_NO_MODIFIERSreturns1, the active KMS framebuffer changes from an Intel modifier-backed allocation to a linear framebuffer (modifier=0x0), and Sunshine KMS + Intel VA-API works reliably with both H.264 and HEVC.This is not a duplicate of #5663 / #5427
This issue is related to the recent Intel DMA-BUF /
EGL_BAD_MATCHreports, but it occurs in the KMS capture path, not the wlroots capture path fixed by #5427/#5699.In #5663 / #5427, Sunshine's wlroots capture implementation allocates its own GBM buffer from compositor-advertised modifiers and previously exported only one plane from a potentially multi-plane allocation (this path was recently fixed).
Here, Sunshine is using KMS capture of the framebuffer already allocated by Hyprland/Aquamarine. The failing framebuffer is the actual i915 scanout framebuffer for the internal eDP display.
The important distinction is therefore:
AQ_NO_MODIFIERS=1had no effect when testing wlroots capture, because Sunshine allocated its own buffer there.Hardware / software
Somewhat redundand with the fields at the bottom of the issue template, but I can't fit everything down there:
eDP-1, physically connected to the Intel iGPUGraphics devices:
NVIDIA packages / driver:
Hyprland:
Sunshine:
Intel VA-API:
Configuration
As seen in sunshine.conf:
^ May I ask why enabled==0 was chosen?H.264 was used for the following reproduction. HEVC also works once the workaround is applied, so the choice isn't relevant.
I also tested explicitly selecting the Intel VA-API render node with
adapter_name, but the relevant failure occurs after Intel VA-API initialization, so it does not appear to be an encoder-selection problem.Also, specifying an
adapter_namedisappears in the config file, so I assume it's a deprecated option.Failure without AQ_NO_MODIFIERS
With normal Hyprland/Aquamarine DRM buffer allocation, Sunshine detects the internal monitor correctly and initializes Intel VA-API:
but every frame then fails at the RGB DMA-BUF import stage, spamming this for each frame:
...which loops until the client disconnects or sunshine is interrupted.
Changing the capture method (e.g. using wlroots) didn't solve the underlying problem either. Besides crashing sunshine because my WM doesn't use wlr.
My current workaround
As written above:
in the Hyprland config file and restarting Hyprland makes the stream work with:
Contrary to what I've found online, neither
INTEL_DEBUG=noccsnorWLR_DRM_NO_MODIFIERSfixed my original issue (the latter being that Aquamarine, which Hyprland relies on, doesn't care about a wlroots env variable).KMS framebuffer after/before the workaround
With
AQ_NO_MODIFIERS=1, the active framebuffer reported by i915 is:The active connector is:
Thus the working config uses a linear
XR24framebuffer allocated by Hyprland and presented directly by i915 oneDP-1.Before applying the fix, Sunshine's KMS path used to encounter a modified framebuffer and failed to import it. The earlier failure was:
This was seen when testing the Vulkan encoder against the same KMS framebuffer path.
Controls / tests performed
The following were tested:
capture = kms+encoder = vaapiWLR_DRM_NO_MODIFIERS=1INTEL_DEBUG=noccsin SunshineAQ_NO_MODIFIERS=1in HyprlandPossible direction for a fix
I don't know the specific implementation in terms of raw code, but Sunshine should handle the KMS framebuffer's DRM format/modifier explicitly rather than requiring a compositor-wide workaround.
Some possible approaches:
Importing the KMS framebuffer according to its DRM framebuffer metadata, including any multi-plane/layout information required by its modifier (recently made possible).
Detecting an incompatible modifier during KMS/EGL import and falling back to a compatible linear representation when possible, rather than looping, hoping that the next buffer will magically go through.
Selecting an EGL/VA-API path compatible with the DRM device that owns the KMS framebuffer rather than assuming that every valid KMS framebuffer can be imported through the current RGB conversion path.
Invalidating and graying out options in the web UI, if they are detected to not work. This requires a more interactive frontend, it's more of a QoL for the users.
Choose the ones that fix the most cases. Seeing the amount of different open issues here, each with their own execution path and hardware specificities, more than a single-case patch is needed.
Why it works on hybrid/Optimus systems
Older Optimus designs had their internal eDP display physically connected to the Intel GPU. Even the HDMI output is still routed through that iGPU.
The streaming path is therefore:
Trying to move this framebuffer for a round trip back to the NVIDIA GPU solely to use NVENC/Vulkan on it, is not a practical solution for this hardware topology.
This is why the Intel VA-API path is important even though Sunshine advertises several other hardware encoders.
Summary
The reproducible failure is:
versus:
The important takeaway is that changing the compositor from a modifier-backed framebuffer to a linear framebuffer is sufficient to make the existing Sunshine KMS + Intel VA-API pipeline work.
Expected Behavior
Sunshine KMS capture should be able to consume a valid DRM framebuffer using a modifier supported by the underlying DRM/EGL path, or otherwise detect that the framebuffer cannot be imported and use an appropriate compatible fallback.
In particular, users should not have to disable DRM modifiers globally in their compositor just to make an otherwise supported
KMS + VA-APIconfiguration work.Regardless of hardware abstraction layers,
User keeps the autoselect option for the encoder -> stream works
User forces VA-API -> stream works as long as VA-API is supported
Additional Context
Despite my fix being very hyprland-centric, there are efficiency reasons why framebuffer modifiers exist between GPU's, and setting a linear modifier as a default parameter for hyprwm is not something that the hyprland team would do.
Hence, the default setting should be made to work in Sunshine.
I am reporting this separately from #5663 / #5427 because those concern the wlroots capture path and Sunshine-owned DMA-BUF allocation, whereas this reproduction involves the framebuffer already allocated by Hyprland/Aquamarine and consumed through KMS.
Host Operating System
Linux
Operating System Version
7.2.6-arch2-1
Architecture
amd64/x86_64
Package
Linux - LizardByte/pacman-repo
GPU Type
NVIDIA
GPU Model
Nvidia GTX 1060 6GB Mobile
GPU Driver/Mesa Version
nvidia-580xx-dkms 580.178.04-1
Capture Method
KMS (Linux)
Apps
N/ALog output
Online logs
No response