LizardByte / LizardByte/Sunshine
Sunshine does not find Intel GPU hardware encoders in Win 10 VM though it is present and usable to other programs
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 41.3k
- Forks
- 2.1k
- Avg merge
- 23h 47m
- Merged PRs (30d)
- 124
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Is your issue described in the documentation?
- [X] I have read the documentation
### Is your issue present in the nightly release?
- [X] This issue is present in the nightly release
### Describe the Bug
When passing an Intel virtual GPU from Linux to Win 10 guest Sunshine does not find/use hardware quicksync encoders, though it is available and other apps like ffmpeg successfully detect and use it.
Because I am passing the gpu in GvT-g mode at first I thought maybe this just wasn't supported. However when I execute the following in the same VM, I get strong results:
` ffmpeg -hwaccel auto -I demo.video -c:v h264_qsv -c:a copy h264.mp4
`
3-4x speedup, 10-15% CPU use
` ffmpeg -I demo.video -c:v libx264 -c:a copy h264.mp4
`
1.5-1.75x speedup. 400+% CPU
Additionally monotoning from the Linux host, using `intel_gpu_top ` on the Linux Host, I can see _Render/3D engine_
being in use, but crucially it also shows use of the _Video Engine_.
This never happens unless the decoders/encoders are being used and it does not happen when I run sunshine.
### Expected Behavior
sunshine detects and uses the appropriate hardware supported H264 codec. ( or HEVC 8bit 4:2:0 which is also supported on Skylake )
### Additional Context
VM HOST Information:
- Ubuntu 23.10 server with kernel 6.5.0-15
- Intel i915 driver in Gvt-g mode
- llibvert/qemu 8.0.4
Mostly unrelated: it is also interesting to note that sunshine works fine on the Linux host with hardware encoding VAAPI and selecting H264
System is an Intel NUC 6i7KYK Skylake i7-6770HQ with integrated Iris Pro 580
### Host Operating System
Windows
### Operating System Version
WIndows 10 22H2 ( OS Build 19045.39.30 )
### Architecture
64 bit
### Sunshine commit or version
0.21.0.040c3a69161a1505b4f936a41bfcc4d3516777a2
### Package
WIndows - Installer
### GPU Type
Intel
### GPU Model
Iris Pro 580
### GPU Driver/Mesa Version
Intel Windows Driver 27.20.100.8681
### Capture Method (Linux Only)
_No response_
### Config
```Shell
min_log_level = 4
av1mode = 1
hvec_mode = 1
encoder = quicksync
upnp=enabled
resolutions = [
352x240,
480x360,
858x480,
1280x720,
1920x1080
]
fps = [10,30,60]
```
### Apps
```json
na
```
### Relevant log output
```shell
[2024:02:05:00:13:17]: Info: nvprefs: NvAPI_Initialize() failed, ignore if you don't have NVIDIA video card
[2024:02:05:00:13:17]: Info: Sunshine version: 0.21.0.040c3a69161a1505b4f936a41bfcc4d3516777a2
[2024:02:05:00:13:17]: Info: Compiling shaders...
[2024:02:05:00:13:17]: Info: System tray created
[2024:02:05:00:13:17]: Debug: System tray loop
[2024:02:05:00:13:17]: Info: Compiled shaders
[2024:02:05:00:13:17]: Debug: Stereo: supported
[2024:02:05:00:13:17]: Debug: Surround 5.1: supported
[2024:02:05:00:13:17]: Debug: Surround 7.1: supported
[2024:02:05:00:13:17]: Info: Trying encoder [quicksync]
[2024:02:05:00:13:17]: Info: ddprobe.exe [1] [] returned: 0x00000000
[2024:02:05:00:13:17]: Info: Set GPU preference: 1
[2024:02:05:00:13:17]: Info:
Device Description : Intel(R) Iris(R) Pro Graphics 580
Device Vendor ID : 0x00008086
Device Device ID : 0x0000193B
Device Video Mem : 128 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 2035 MiB
Feature Level : 0x0000B100
Capture size : 1920x1200
Offset : 0x0
Virtual Desktop : 1920x1200
[2024:02:05:00:13:17]: Info: Active GPU has HAGS disabled
[2024:02:05:00:13:17]: Info: Using realtime GPU priority
[2024:02:05:00:13:17]: Info: Desktop resolution [1920x1200]
[2024:02:05:00:13:17]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024:02:05:00:13:17]: Info: Display refresh rate [74.9985Hz]
[2024:02:05:00:13:17]: Info: Requested frame rate [60fps]
[2024:02:05:00:13:17]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.330078]
Green Primary : [0.299805,0.599609]
Blue Primary : [0.150391,0.0595703]
White Point : [0.3125,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2024:02:05:00:13:17]: Info:
Device Description : Intel(R) Iris(R) Pro Graphics 580
Device Vendor ID : 0x00008086
Device Device ID : 0x0000193B
Device Video Mem : 128 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 2035 MiB
Feature Level : 0x0000B100
Capture size : 1920x1200
Offset : 0x0
Virtual Desktop : 1920x1200
[2024:02:05:00:13:17]: Info: Active GPU has HAGS disabled
[2024:02:05:00:13:17]: Info: Using realtime GPU priority
[2024:02:05:00:13:17]: Info: Desktop resolution [1920x1200]
[2024:02:05:00:13:17]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024:02:05:00:13:17]: Info: Display refresh rate [74.9985Hz]
[2024:02:05:00:13:17]: Info: Requested frame rate [60fps]
[2024:02:05:00:13:17]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.330078]
Green Primary : [0.299805,0.599609]
Blue Primary : [0.150391,0.0595703]
White Point : [0.3125,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2024:02:05:00:13:17]: Info: SDR color coding [Rec. 601]
[2024:02:05:00:13:17]: Info: Color depth: 8-bit
[2024:02:05:00:13:17]: Info: Color range: [JPEG]
[2024:02:05:00:13:17]: Debug: [AVHWDeviceContext @ 00000141d901d400] Use Intel(R) oneVPL to create MFX session, API version is 2.10, the required implementation version is 1.3
[2024:02:05:00:13:17]: Debug: [AVHWDeviceContext @ 00000141d901d400] Initialize MFX session: implementation version is 1.33
[2024:02:05:00:13:17]: Debug: [h264_qsv @ 00000141d90cfb00] Encoder: input is video memory surface
[2024:02:05:00:13:17]: Debug: [h264_qsv @ 00000141d90cfb00] Use Intel(R) oneVPL to create MFX session with the specified MFX loader
[2024:02:05:00:13:17]: Debug: [h264_qsv @ 00000141d90cfb00] Using the video conferencing mode (VCM) ratecontrol method
[2024:02:05:00:13:17]: Debug: [h264_qsv @ 00000141d90cfb00] profile: avc high; level: 42
[2024:02:05:00:13:17]: Debug: [h264_qsv @ 00000141d90cfb00] GopPicSize: 65535; GopRefDist: 1; GopOptFlag: closed; IdrInterval: 0
[2024:02:05:00:13:17]: Debug: [h264_qsv @ 00000141d90cfb00] TargetUsage: 4; RateControlMethod: VCM
[2024:02:05:00:13:17]: Debug: [h264_qsv @ 00000141d90cfb00] BufferSizeInKB: 537; InitialDelayInKB: 268; TargetKbps: 2148; MaxKbps: 2148; BRCParamMultiplier: 1
[2024:02:05:00:13:17]: Debug: [h264_qsv @ 00000141d90cfb00] NumSlice: 1; NumRefFrame: 1
[2024:02:05:00:13:17]: Debug: [h264_qsv @ 00000141d90cfb00] RateDistortionOpt: OFF
[2024:02:05:00:13:17]: Debug: [h264_qsv @ 00000141d90cfb00] RecoveryPointSEI: OFF
[2024:02:05:00:13:17]: Debug: [h264_qsv @ 00000141d90cfb00] VDENC: ON
[2024:02:05:00:13:17]: Debug: [h264_qsv @ 00000141d90cfb00] Entropy coding: CABAC; MaxDecFrameBuffering: 1
[2024:02:05:00:13:17]: Debug: [h264_qsv @ 00000141d90cfb00] NalHrdConformance: OFF; SingleSeiNalUnit: ON; VuiVclHrdParameters: OFF VuiNalHrdParameters: OFF
[2024:02:05:00:13:17]: Debug: [h264_qsv @ 00000141d90cfb00] FrameRateExtD: 1; FrameRateExtN: 60
[2024:02:05:00:13:17]: Debug: [h264_qsv @ 00000141d90cfb00] IntRefType: 0; IntRefCycleSize: 0; IntRefQPDelta: 0
[2024:02:05:00:13:17]: Debug: [h264_qsv @ 00000141d90cfb00] MaxFrameSize: 4475; MaxSliceSize: 0
[2024:02:05:00:13:17]: Debug: [h264_qsv @ 00000141d90cfb00] BitrateLimit: ON; MBBRC: OFF; ExtBRC: OFF
[2024:02:05:00:13:17]: Debug: [h264_qsv @ 00000141d90cfb00] Trellis: auto
[2024:02:05:00:13:17]: Debug: [h264_qsv @ 00000141d90cfb00] RepeatPPS: OFF; NumMbPerSlice: 0; LookAheadDS: 2x
[2024:02:05:00:13:17]: Debug: [h264_qsv @ 00000141d90cfb00] AdaptiveI: OFF; AdaptiveB: OFF; BRefType:off
[2024:02:05:00:13:17]: Debug: [h264_qsv @ 00000141d90cfb00] MinQPI: 0; MaxQPI: 0; MinQPP: 0; MaxQPP: 0; MinQPB: 0; MaxQPB: 0
[2024:02:05:00:13:17]: Debug: [h264_qsv @ 00000141d90cfb00] DisableDeblockingIdc: 0
[2024:02:05:00:13:17]: Debug: [h264_qsv @ 00000141d90cfb00] SkipFrame: no_skip
[2024:02:05:00:13:17]: Debug: [h264_qsv @ 00000141d90cfb00] PRefType: simple
[2024:02:05:00:13:17]: Debug: [h264_qsv @ 00000141d90cfb00] TransformSkip: unknown
[2024:02:05:00:13:17]: Debug: [h264_qsv @ 00000141d90cfb00] IntRefCycleDist: 0
[2024:02:05:00:13:17]: Debug: [h264_qsv @ 00000141d90cfb00] LowDelayBRC: ON
[2024:02:05:00:13:17]: Debug: [h264_qsv @ 00000141d90cfb00] MaxFrameSizeI: 0;
[2024:02:05:00:13:17]: Debug: MaxFrameSizeP: 0
[2024:02:05:00:13:17]: Debug: [h264_qsv @ 00000141d90cfb00] ScenarioInfo: 0
[2024:02:05:00:13:17]: Error: [h264_qsv @ 00000141d90cfb00] Invalid FrameType:0.
[2024:02:05:00:13:17]: Error: Could not send a frame for encoding: Invalid data found when processing input
[2024:02:05:00:13:17]: Info:
Device Description : Intel(R) Iris(R) Pro Graphics 580
Device Vendor ID : 0x00008086
Device Device ID : 0x0000193B
Device Video Mem : 128 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 2035 MiB
Feature Level : 0x0000B100
Capture size : 1920x1200
Offset : 0x0
Virtual Desktop : 1920x1200
[2024:02:05:00:13:17]: Info: Active GPU has HAGS disabled
[2024:02:05:00:13:17]: Info: Using realtime GPU priority
[2024:02:05:00:13:17]: Info: Desktop resolution [1920x1200]
[2024:02:05:00:13:17]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024:02:05:00:13:17]: Info: Display refresh rate [74.9985Hz]
[2024:02:05:00:13:17]: Info: Requested frame rate [60fps]
[2024:02:05:00:13:17]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.330078]
Green Primary : [0.299805,0.599609]
Blue Primary : [0.150391,0.0595703]
White Point : [0.3125,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2024:02:05:00:13:18]: Info: SDR color coding [Rec. 601]
[2024:02:05:00:13:18]: Info: Color depth: 8-bit
[2024:02:05:00:13:18]: Info: Color range: [JPEG]
[2024:02:05:00:13:18]: Debug: [AVHWDeviceContext @ 00000141d901d880] Use Intel(R) oneVPL to create MFX session, API version is 2.10, the required implementation version is 1.3
[2024:02:05:00:13:18]: Debug: [AVHWDeviceContext @ 00000141d901d880] Initialize MFX session: implementation version is 1.33
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] Encoder: input is video memory surface
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] Use Intel(R) oneVPL to create MFX session with the specified MFX loader
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] Using the video conferencing mode (VCM) ratecontrol method
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] profile: avc high; level: 42
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] GopPicSize: 65535; GopRefDist: 1; GopOptFlag: closed; IdrInterval: 0
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] TargetUsage: 4; RateControlMethod: VCM
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] BufferSizeInKB: 537; InitialDelayInKB: 268; TargetKbps: 2148; MaxKbps: 2148; BRCParamMultiplier: 1
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] NumSlice: 1; NumRefFrame: 2
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] RateDistortionOpt: OFF
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] RecoveryPointSEI: OFF
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] VDENC: ON
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] Entropy coding: CABAC; MaxDecFrameBuffering: 2
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] NalHrdConformance: OFF; SingleSeiNalUnit: ON; VuiVclHrdParameters: OFF VuiNalHrdParameters: OFF
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] FrameRateExtD: 1; FrameRateExtN: 60
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] IntRefType: 0; IntRefCycleSize: 0; IntRefQPDelta: 0
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] MaxFrameSize: 4475; MaxSliceSize: 0
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] BitrateLimit: ON; MBBRC: OFF; ExtBRC: OFF
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] Trellis: auto
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] RepeatPPS: OFF; NumMbPerSlice: 0; LookAheadDS: 2x
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] AdaptiveI: OFF; AdaptiveB: OFF; BRefType:off
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] MinQPI: 0; MaxQPI: 0; MinQPP: 0; MaxQPP: 0; MinQPB: 0; MaxQPB: 0
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] DisableDeblockingIdc: 0
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] SkipFrame: no_skip
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] PRefType: simple
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] TransformSkip: unknown
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] IntRefCycleDist: 0
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] LowDelayBRC: ON
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] MaxFrameSizeI: 0;
[2024:02:05:00:13:18]: Debug: MaxFrameSizeP: 0
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] ScenarioInfo: 0
[2024:02:05:00:13:18]: Error: [h264_qsv @ 00000141d9065480] Invalid FrameType:0.
[2024:02:05:00:13:18]: Error: Could not send a frame for encoding: Invalid data found when processing input
[2024:02:05:00:13:18]: Info:
Device Description : Intel(R) Iris(R) Pro Graphics 580
Device Vendor ID : 0x00008086
Device Device ID : 0x0000193B
Device Video Mem : 128 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 2035 MiB
Feature Level : 0x0000B100
Capture size : 1920x1200
Offset : 0x0
Virtual Desktop : 1920x1200
[2024:02:05:00:13:18]: Info: Active GPU has HAGS disabled
[2024:02:05:00:13:18]: Info: Using realtime GPU priority
[2024:02:05:00:13:18]: Info: Desktop resolution [1920x1200]
[2024:02:05:00:13:18]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024:02:05:00:13:18]: Info: Display refresh rate [74.9985Hz]
[2024:02:05:00:13:18]: Info: Requested frame rate [60fps]
[2024:02:05:00:13:18]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.330078]
Green Primary : [0.299805,0.599609]
Blue Primary : [0.150391,0.0595703]
White Point : [0.3125,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2024:02:05:00:13:18]: Info: SDR color coding [Rec. 601]
[2024:02:05:00:13:18]: Info: Color depth: 8-bit
[2024:02:05:00:13:18]: Info: Color range: [JPEG]
[2024:02:05:00:13:18]: Debug: [AVHWDeviceContext @ 00000141d901d180] Use Intel(R) oneVPL to create MFX session, API version is 2.10, the required implementation version is 1.3
[2024:02:05:00:13:18]: Debug: [AVHWDeviceContext @ 00000141d901d180] Initialize MFX session: implementation version is 1.33
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] Encoder: input is video memory surface
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] Use Intel(R) oneVPL to create MFX session with the specified MFX loader
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] Using the video conferencing mode (VCM) ratecontrol method
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] profile: avc high; level: 42
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] GopPicSize: 65535; GopRefDist: 1; GopOptFlag: closed; IdrInterval: 0
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] TargetUsage: 4; RateControlMethod: VCM
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] BufferSizeInKB: 805; InitialDelayInKB: 402; TargetKbps: 2148; MaxKbps: 3222; BRCParamMultiplier: 1
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] NumSlice: 1; NumRefFrame: 1
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] RateDistortionOpt: OFF
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] RecoveryPointSEI: OFF
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] VDENC: ON
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] Entropy coding: CABAC; MaxDecFrameBuffering: 1
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] NalHrdConformance: ON; SingleSeiNalUnit: ON; VuiVclHrdParameters: OFF VuiNalHrdParameters: ON
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] FrameRateExtD: 1; FrameRateExtN: 60
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] IntRefType: 0; IntRefCycleSize: 0; IntRefQPDelta: 0
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] MaxFrameSize: 4475; MaxSliceSize: 0
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] BitrateLimit: ON; MBBRC: OFF; ExtBRC: OFF
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] Trellis: auto
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] RepeatPPS: OFF; NumMbPerSlice: 0; LookAheadDS: 2x
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] AdaptiveI: OFF; AdaptiveB: OFF; BRefType:off
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] MinQPI: 0; MaxQPI: 0; MinQPP: 0; MaxQPP: 0; MinQPB: 0; MaxQPB: 0
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] DisableDeblockingIdc: 0
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] SkipFrame: no_skip
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] PRefType: simple
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] TransformSkip: unknown
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] IntRefCycleDist: 0
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] LowDelayBRC: ON
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] MaxFrameSizeI: 0;
[2024:02:05:00:13:18]: Debug: MaxFrameSizeP: 0
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] ScenarioInfo: 0
[2024:02:05:00:13:18]: Error: [h264_qsv @ 00000141d9065480] Invalid FrameType:0.
[2024:02:05:00:13:18]: Error: Could not send a frame for encoding: Invalid data found when processing input
[2024:02:05:00:13:18]: Info:
Device Description : Intel(R) Iris(R) Pro Graphics 580
Device Vendor ID : 0x00008086
Device Device ID : 0x0000193B
Device Video Mem : 128 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 2035 MiB
Feature Level : 0x0000B100
Capture size : 1920x1200
Offset : 0x0
Virtual Desktop : 1920x1200
[2024:02:05:00:13:18]: Info: Active GPU has HAGS disabled
[2024:02:05:00:13:18]: Info: Using realtime GPU priority
[2024:02:05:00:13:18]: Info: Desktop resolution [1920x1200]
[2024:02:05:00:13:18]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024:02:05:00:13:18]: Info: Display refresh rate [74.9985Hz]
[2024:02:05:00:13:18]: Info: Requested frame rate [60fps]
[2024:02:05:00:13:18]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.330078]
Green Primary : [0.299805,0.599609]
Blue Primary : [0.150391,0.0595703]
White Point : [0.3125,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2024:02:05:00:13:18]: Info: SDR color coding [Rec. 601]
[2024:02:05:00:13:18]: Info: Color depth: 8-bit
[2024:02:05:00:13:18]: Info: Color range: [JPEG]
[2024:02:05:00:13:18]: Debug: [AVHWDeviceContext @ 00000141d901d380] Use Intel(R) oneVPL to create MFX session, API version is 2.10, the required implementation version is 1.3
[2024:02:05:00:13:18]: Debug: [AVHWDeviceContext @ 00000141d901d380] Initialize MFX session: implementation version is 1.33
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] Encoder: input is video memory surface
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] Use Intel(R) oneVPL to create MFX session with the specified MFX loader
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] Using the video conferencing mode (VCM) ratecontrol method
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] profile: avc high; level: 42
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] GopPicSize: 65535; GopRefDist: 1; GopOptFlag: closed; IdrInterval: 0
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] TargetUsage: 4; RateControlMethod: VCM
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] BufferSizeInKB: 805; InitialDelayInKB: 402; TargetKbps: 2148; MaxKbps: 3222; BRCParamMultiplier: 1
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] NumSlice: 1; NumRefFrame: 2
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] RateDistortionOpt: OFF
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] RecoveryPointSEI: OFF
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] VDENC: ON
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] Entropy coding: CABAC; MaxDecFrameBuffering: 2
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] NalHrdConformance: ON; SingleSeiNalUnit: ON; VuiVclHrdParameters: OFF VuiNalHrdParameters: ON
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] FrameRateExtD: 1; FrameRateExtN: 60
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] IntRefType: 0; IntRefCycleSize: 0; IntRefQPDelta: 0
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] MaxFrameSize: 4475; MaxSliceSize: 0
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] BitrateLimit: ON; MBBRC: OFF; ExtBRC: OFF
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] Trellis: auto
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] RepeatPPS: OFF; NumMbPerSlice: 0; LookAheadDS: 2x
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] AdaptiveI: OFF; AdaptiveB: OFF; BRefType:off
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] MinQPI: 0; MaxQPI: 0; MinQPP: 0; MaxQPP: 0; MinQPB: 0; MaxQPB: 0
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] DisableDeblockingIdc: 0
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] SkipFrame: no_skip
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] PRefType: simple
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] TransformSkip: unknown
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] IntRefCycleDist: 0
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] LowDelayBRC: ON
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] MaxFrameSizeI: 0;
[2024:02:05:00:13:18]: Debug: MaxFrameSizeP: 0
[2024:02:05:00:13:18]: Debug: [h264_qsv @ 00000141d9065480] ScenarioInfo: 0
[2024:02:05:00:13:18]: Error: [h264_qsv @ 00000141d9065480] Invalid FrameType:0.
[2024:02:05:00:13:18]: Error: Could not send a frame for encoding: Invalid data found when processing input
[2024:02:05:00:13:18]: Info: Encoder [quicksync] failed
[2024:02:05:00:13:18]: Error: Couldn't find any working encoder matching [quicksync]
[2024:02:05:00:13:18]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024:02:05:00:13:18]: Info: Trying encoder [nvenc]
[2024:02:05:00:13:18]: Info:
Device Description : Intel(R) Iris(R) Pro Graphics 580
Device Vendor ID : 0x00008086
Device Device ID : 0x0000193B
Device Video Mem : 128 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 2035 MiB
Feature Level : 0x0000B100
Capture size : 1920x1200
Offset : 0x0
Virtual Desktop : 1920x1200
[2024:02:05:00:13:18]: Info: Active GPU has HAGS disabled
[2024:02:05:00:13:18]: Info: Using realtime GPU priority
[2024:02:05:00:13:18]: Info: Desktop resolution [1920x1200]
[2024:02:05:00:13:18]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024:02:05:00:13:18]: Info: Display refresh rate [74.9985Hz]
[2024:02:05:00:13:18]: Info: Requested frame rate [60fps]
[2024:02:05:00:13:18]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.330078]
Green Primary : [0.299805,0.599609]
Blue Primary : [0.150391,0.0595703]
White Point : [0.3125,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2024:02:05:00:13:18]: Info: Encoder [nvenc] is not supported on this GPU
[2024:02:05:00:13:18]: Info: Trying encoder [amdvce]
[2024:02:05:00:13:18]: Info:
Device Description : Intel(R) Iris(R) Pro Graphics 580
Device Vendor ID : 0x00008086
Device Device ID : 0x0000193B
Device Video Mem : 128 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 2035 MiB
Feature Level : 0x0000B100
Capture size : 1920x1200
Offset : 0x0
Virtual Desktop : 1920x1200
[2024:02:05:00:13:18]: Info: Active GPU has HAGS disabled
[2024:02:05:00:13:18]: Info: Using realtime GPU priority
[2024:02:05:00:13:18]: Info: Desktop resolution [1920x1200]
[2024:02:05:00:13:18]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024:02:05:00:13:18]: Info: Display refresh rate [74.9985Hz]
[2024:02:05:00:13:18]: Info: Requested frame rate [60fps]
[2024:02:05:00:13:18]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.330078]
Green Primary : [0.299805,0.599609]
Blue Primary : [0.150391,0.0595703]
White Point : [0.3125,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2024:02:05:00:13:18]: Info: Encoder [amdvce] is not supported on this GPU
[2024:02:05:00:13:18]: Info: Trying encoder [software]
[2024:02:05:00:13:18]: Info:
Device Description : Intel(R) Iris(R) Pro Graphics 580
Device Vendor ID : 0x00008086
Device Device ID : 0x0000193B
Device Video Mem : 128 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 2035 MiB
Feature Level : 0x0000B100
Capture size : 1920x1200
Offset : 0x0
Virtual Desktop : 1920x1200
[2024:02:05:00:13:18]: Info: Active GPU has HAGS disabled
[2024:02:05:00:13:18]: Info: Using realtime GPU priority
[2024:02:05:00:13:18]: Info: Desktop resolution [1920x1200]
[2024:02:05:00:13:18]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024:02:05:00:13:18]: Info: Display refresh rate [74.9985Hz]
[2024:02:05:00:13:18]: Info: Requested frame rate [60fps]
[2024:02:05:00:13:18]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.330078]
Green Primary : [0.299805,0.599609]
Blue Primary : [0.150391,0.0595703]
White Point : [0.3125,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2024:02:05:00:13:19]: Info:
Device Description : Intel(R) Iris(R) Pro Graphics 580
Device Vendor ID : 0x00008086
Device Device ID : 0x0000193B
Device Video Mem : 128 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 2035 MiB
Feature Level : 0x0000B100
Capture size : 1920x1200
Offset : 0x0
Virtual Desktop : 1920x1200
[2024:02:05:00:13:19]: Info: Active GPU has HAGS disabled
[2024:02:05:00:13:19]: Info: Using realtime GPU priority
[2024:02:05:00:13:19]: Info: Desktop resolution [1920x1200]
[2024:02:05:00:13:19]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024:02:05:00:13:19]: Info: Display refresh rate [74.9985Hz]
[2024:02:05:00:13:19]: Info: Requested frame rate [60fps]
[2024:02:05:00:13:19]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.330078]
Green Primary : [0.299805,0.599609]
Blue Primary : [0.150391,0.0595703]
White Point : [0.3125,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2024:02:05:00:13:19]: Info: SDR color coding [Rec. 601]
[2024:02:05:00:13:19]: Info: Color depth: 8-bit
[2024:02:05:00:13:19]: Info: Color range: [JPEG]
[2024:02:05:00:13:19]: Info: [libx264 @ 00000141d9065480] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[2024:02:05:00:13:19]: Info: [libx264 @ 00000141d9065480] profile High, level 4.2, 4:2:0, 8-bit
[2024:02:05:00:13:19]: Info: [libx264 @ 00000141d9065480] frame I:1 Avg QP:31.00 size: 1203
[2024:02:05:00:13:19]: Info: [libx264 @ 00000141d9065480] mb I I16..4: 99.9% 0.0% 0.0%
[2024:02:05:00:13:19]: Info: [libx264 @ 00000141d9065480] 8x8 transform intra:0.0%
[2024:02:05:00:13:19]: Info: [libx264 @ 00000141d9065480] coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0%
[2024:02:05:00:13:19]: Info: [libx264 @ 00000141d9065480] i16 v,h,dc,p: 97% 0% 3% 0%
[2024:02:05:00:13:19]: Info: [libx264 @ 00000141d9065480] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 75% 12% 0% 0% 0% 0% 12%
[2024:02:05:00:13:19]: Info: [libx264 @ 00000141d9065480] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 100% 0% 0% 0% 0% 0% 0%
[2024:02:05:00:13:19]: Info: [libx264 @ 00000141d9065480] i8c dc,h,v,p: 100% 0% 0% 0%
[2024:02:05:00:13:19]: Info: [libx264 @ 00000141d9065480] kb/s:577.44
[2024:02:05:00:13:19]: Info:
[2024:02:05:00:13:19]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2024:02:05:00:13:19]: Info:
[2024:02:05:00:13:19]: Debug: ------ h264 ------
[2024:02:05:00:13:19]: Debug: PASSED: supported
[2024:02:05:00:13:19]: Debug: REF_FRAMES_RESTRICT: supported
[2024:02:05:00:13:19]: Debug: CBR: supported
[2024:02:05:00:13:19]: Debug: DYNAMIC_RANGE: unsupported
[2024:02:05:00:13:19]: Debug: VUI_PARAMETERS: supported
[2024:02:05:00:13:19]: Debug: -------------------
[2024:02:05:00:13:19]: Info: Found H.264 encoder: libx264 [software]
[2024:02:05:00:13:19]: Info: Configuration UI available at [https://localhost:47990]
[2024:02:05:00:13:19]: Debug: TUNNEL :: NONE
[2024:02:05:00:13:19]: Debug: METHOD :: GET
[2024:02:05:00:13:19]: Debug: DESTINATION :: /serverinfo
[2024:02:05:00:13:19]: Debug: User-Agent -- Mozilla/5.0
[2024:02:05:00:13:19]: Debug: Accept-Language -- en-US,*
[2024:02:05:00:13:19]: Debug: Accept-Encoding -- gzip, deflate
[2024:02:05:00:13:19]: Debug: Connection -- Keep-Alive
[2024:02:05:00:13:19]: Debug: Host -- 10.0.4.160:47989
[2024:02:05:00:13:19]: Debug: [--]
[2024:02:05:00:13:19]: Debug: uuid -- 08a1a2ec88ff4d1286870680737eeda3
[2024:02:05:00:13:19]: Debug: uniqueid -- 0123456789ABCDEF
[2024:02:05:00:13:19]: Debug: [--]
[2024:02:05:00:13:19]: Debug: /CN=NVIDIA GameStream Client -- verified
[2024:02:05:00:13:19]: Debug: TUNNEL :: HTTPS
[2024:02:05:00:13:19]: Debug: METHOD :: GET
[2024:02:05:00:13:19]: Debug: DESTINATION :: /serverinfo
[2024:02:05:00:13:19]: Debug: User-Agent -- Mozilla/5.0
[2024:02:05:00:13:19]: Debug: Accept-Language -- en-US,*
[2024:02:05:00:13:19]: Debug: Accept-Encoding -- gzip, deflate
[2024:02:05:00:13:19]: Debug: Connection -- Keep-Alive
[2024:02:05:00:13:19]: Debug: Host -- 10.0.4.160:47984
[2024:02:05:00:13:19]: Debug: [--]
[2024:02:05:00:13:19]: Debug: uuid -- a96d9b887a09465d9a802a599b66af46
[2024:02:05:00:13:19]: Debug: uniqueid -- 0123456789ABCDEF
[2024:02:05:00:13:19]: Debug: [--]
[2024:02:05:00:13:19]: Debug: /CN=NVIDIA GameStream Client -- verified
[2024:02:05:00:13:19]: Debug: TUNNEL :: HTTPS
[2024:02:05:00:13:19]: Debug: METHOD :: GET
[2024:02:05:00:13:19]: Debug: DESTINATION :: /resume
[2024:02:05:00:13:19]: Debug: User-Agent -- Mozilla/5.0
[2024:02:05:00:13:19]: Debug: Accept-Language -- en-US,*
[2024:02:05:00:13:19]: Debug: Accept-Encoding -- gzip, deflate
[2024:02:05:00:13:19]: Debug: Connection -- Keep-Alive
[2024:02:05:00:13:19]: Debug: Host -- 10.0.4.160:47984
[2024:02:05:00:13:19]: Debug: [--]
[2024:02:05:00:13:19]: Debug: gcpersist -- 0
[2024:02:05:00:13:19]: Debug: localAudioPlayMode -- 0
[2024:02:05:00:13:19]: Debug: gcmap -- 0
[2024:02:05:00:13:19]: Debug: remoteControllersBitmap -- 0
[2024:02:05:00:13:19]: Debug: rikeyid -- 1092991634
( ... I cut the log here since I think it's got all the relevant parts )
```
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue on Windows 10 with the reported Iris Pro 580, GVT-g setup, configuration, and Sunshine logs, then compare the failing Quick Sync path with the successful ffmpeg command. Done means Sunshine detects and uses the supported Intel H.264 or HEVC hardware encoder without the reported encoding errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100