Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sunshine can't call iGPU in Win 10 VM (GVT-g) / Sunshine 在 Win 10 VM 中无法调用iGPU(GVT-g) #3771

Closed
2 tasks done
Asukaaa648 opened this issue Mar 30, 2025 · 0 comments

Comments

@Asukaaa648
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Is your issue described in the documentation?

  • I have read the documentation

Is your issue present in the latest beta/pre-release?

This issue is present in the latest pre-release

Describe the Bug

宿主机:
系统:unriad7.0.0
CPU:i5-8400
GPU:UHD630
使用GVT-g_V5_8模式虚拟化显卡,win10 VM虚拟机内FFmpeg使用h264_qsv方式编码视频一切正常,GPU占用率100%,使用parsec/rustdesk也能调用显卡,可是parsec没有IOS客户端,rustdesk不支持触屏。但是当我使用sunshine时无法调用显卡,最后退回软件编码,GPU的占用率为0%。

Host Machine:
System: Unraid 7.0.0
CPU: i5-8400
GPU: UHD630
Using the GVT-g_V5_8 mode for GPU virtualization, the Windows 10 VM runs FFmpeg with h264_qsv encoding normally, utilizing 100% of the GPU. Both Parsec and RustDesk can also utilize the GPU. However, Parsec lacks an iOS client, and RustDesk does not support touchscreen input.

When using Sunshine, the GPU cannot be utilized, forcing a fallback to software encoding, resulting in 0% GPU usage.

Expected Behavior

sunshine能够正常调用GPU
Sunshine can call the GPU normally.

Additional Context

No response

Host Operating System

Windows

Operating System Version

Win10 企业版 LTSC/Windows 10 Enterprise LTSC

Architecture

amd64/x86_64

Sunshine commit or version

2025.327.14417

Package

Windows - installer (recommended)

GPU Type

Intel

GPU Model

Intel(R) UHD Graphics 630

GPU Driver/Mesa Version

24.20.100.6345

Capture Method

None

Config

Apps

Relevant log output

[2025-03-30 09:01:21.277]: Info: Trying encoder [quicksync]
[2025-03-30 09:01:21.324]: Info: 
Device Description : Intel(R) UHD Graphics 630
Device Vendor ID   : 0x00008086
Device Device ID   : 0x00003E92
Device Video Mem   : 128 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 2045 MiB
Feature Level      : 0x0000B100
Capture size       : 1280x720
Offset             : 0x0
Virtual Desktop    : 1280x720
[2025-03-30 09:01:21.325]: Warning: D3DKMTQueryAdapterInfo() failed while trying to determine GPU HAGS status
[2025-03-30 09:01:21.325]: Info: Active GPU has HAGS disabled
[2025-03-30 09:01:21.325]: Info: Using realtime GPU priority
[2025-03-30 09:01:21.325]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0,0]
Green Primary      : [0,0]
Blue Primary       : [0,0]
White Point        : [0,0]
Min Luminance      : 0 nits
Max Luminance      : 0 nits
Max Full Luminance : 0 nits
[2025-03-30 09:01:21.326]: Info: Desktop resolution [1280x720]
[2025-03-30 09:01:21.326]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2025-03-30 09:01:21.326]: Info: Display refresh rate [60.0003Hz]
[2025-03-30 09:01:21.326]: Info: Requested frame rate [60fps]
[2025-03-30 09:01:21.326]: Info: Creating encoder [h264_qsv]
[2025-03-30 09:01:21.326]: Info: Color coding: SDR (Rec. 601)
[2025-03-30 09:01:21.326]: Info: Color depth: 8-bit
[2025-03-30 09:01:21.326]: Info: Color range: JPEG
[2025-03-30 09:01:21.344]: Debug: [AVHWDeviceContext @ 0000016a860bd100] Use Intel(R) oneVPL to create MFX session, API version is 2.14, the required implementation version is 1.3
[2025-03-30 09:01:21.361]: Debug: [AVHWDeviceContext @ 0000016a860bd100] Initialize MFX session: implementation version is 1.35
[2025-03-30 09:01:21.362]: Info: Streaming bitrate is 1000000
[2025-03-30 09:01:21.362]: Debug: [h264_qsv @ 0000016a85c24580] Encoder: input is video memory surface
[2025-03-30 09:01:21.362]: Debug: [h264_qsv @ 0000016a85c24580] Use Intel(R) oneVPL to create MFX session with the specified MFX loader
[2025-03-30 09:01:21.362]: Debug: [h264_qsv @ 0000016a85c24580] Using the video conferencing mode (VCM) ratecontrol method
[2025-03-30 09:01:21.384]: Debug: [h264_qsv @ 0000016a85c24580] profile: avc high; level: 42
[2025-03-30 09:01:21.384]: Debug: [h264_qsv @ 0000016a85c24580] GopPicSize: 65535; GopRefDist: 1; GopOptFlag: closed; IdrInterval: 0
[2025-03-30 09:01:21.384]: Debug: [h264_qsv @ 0000016a85c24580] TargetUsage: 4; RateControlMethod: VCM
[2025-03-30 09:01:21.384]: Debug: [h264_qsv @ 0000016a85c24580] BufferSizeInKB: 537; InitialDelayInKB: 268; TargetKbps: 2148; MaxKbps: 2148; BRCParamMultiplier: 1
[2025-03-30 09:01:21.384]: Debug: [h264_qsv @ 0000016a85c24580] NumSlice: 1; NumRefFrame: 1
[2025-03-30 09:01:21.384]: Debug: [h264_qsv @ 0000016a85c24580] RateDistortionOpt: OFF
[2025-03-30 09:01:21.384]: Debug: [h264_qsv @ 0000016a85c24580] RecoveryPointSEI: OFF
[2025-03-30 09:01:21.384]: Debug: [h264_qsv @ 0000016a85c24580] VDENC: ON
[2025-03-30 09:01:21.384]: Debug: [h264_qsv @ 0000016a85c24580] Entropy coding: CABAC; MaxDecFrameBuffering: 1
[2025-03-30 09:01:21.384]: Debug: [h264_qsv @ 0000016a85c24580] NalHrdConformance: OFF; SingleSeiNalUnit: ON; VuiVclHrdParameters: OFF VuiNalHrdParameters: OFF
[2025-03-30 09:01:21.385]: Debug: [h264_qsv @ 0000016a85c24580] FrameRateExtD: 1; FrameRateExtN: 60 
[2025-03-30 09:01:21.385]: Debug: [h264_qsv @ 0000016a85c24580] IntRefType: 0; IntRefCycleSize: 0; IntRefQPDelta: 0
[2025-03-30 09:01:21.385]: Debug: [h264_qsv @ 0000016a85c24580] MaxFrameSize: 4475; MaxSliceSize: 0
[2025-03-30 09:01:21.385]: Debug: [h264_qsv @ 0000016a85c24580] BitrateLimit: ON; MBBRC: OFF; ExtBRC: OFF
[2025-03-30 09:01:21.385]: Debug: [h264_qsv @ 0000016a85c24580] Trellis: auto
[2025-03-30 09:01:21.385]: Debug: [h264_qsv @ 0000016a85c24580] RepeatPPS: OFF; NumMbPerSlice: 0; LookAheadDS: 2x
[2025-03-30 09:01:21.385]: Debug: [h264_qsv @ 0000016a85c24580] AdaptiveI: OFF; AdaptiveB: OFF; BRefType:off
[2025-03-30 09:01:21.385]: Debug: [h264_qsv @ 0000016a85c24580] MinQPI: 0; MaxQPI: 0; MinQPP: 0; MaxQPP: 0; MinQPB: 0; MaxQPB: 0
[2025-03-30 09:01:21.385]: Debug: [h264_qsv @ 0000016a85c24580] DisableDeblockingIdc: 0 
[2025-03-30 09:01:21.385]: Debug: [h264_qsv @ 0000016a85c24580] SkipFrame: no_skip
[2025-03-30 09:01:21.385]: Debug: [h264_qsv @ 0000016a85c24580] PRefType: simple
[2025-03-30 09:01:21.385]: Debug: [h264_qsv @ 0000016a85c24580] TransformSkip: unknown 
[2025-03-30 09:01:21.385]: Debug: [h264_qsv @ 0000016a85c24580] IntRefCycleDist: 0
[2025-03-30 09:01:21.385]: Debug: [h264_qsv @ 0000016a85c24580] LowDelayBRC: ON
[2025-03-30 09:01:21.385]: Debug: [h264_qsv @ 0000016a85c24580] MaxFrameSizeI: 0; 
[2025-03-30 09:01:21.385]: Debug: MaxFrameSizeP: 0
[2025-03-30 09:01:21.385]: Debug: [h264_qsv @ 0000016a85c24580] ScenarioInfo: 0
[2025-03-30 09:01:21.386]: Error: [h264_qsv @ 0000016a85c24580] Invalid FrameType:0.
[2025-03-30 09:01:21.386]: Error: Could not send a frame for encoding: Invalid data found when processing input
[2025-03-30 09:01:21.397]: Info: Creating encoder [h264_qsv]
[2025-03-30 09:01:21.397]: Info: Color coding: SDR (Rec. 601)
[2025-03-30 09:01:21.397]: Info: Color depth: 8-bit
[2025-03-30 09:01:21.397]: Info: Color range: JPEG
[2025-03-30 09:01:21.404]: Debug: [AVHWDeviceContext @ 0000016a860bd1c0] Use Intel(R) oneVPL to create MFX session, API version is 2.14, the required implementation version is 1.3
[2025-03-30 09:01:21.423]: Debug: [AVHWDeviceContext @ 0000016a860bd1c0] Initialize MFX session: implementation version is 1.35
[2025-03-30 09:01:21.423]: Info: Streaming bitrate is 1000000
[2025-03-30 09:01:21.423]: Debug: [h264_qsv @ 0000016a85dcea00] Encoder: input is video memory surface
[2025-03-30 09:01:21.423]: Debug: [h264_qsv @ 0000016a85dcea00] Use Intel(R) oneVPL to create MFX session with the specified MFX loader
[2025-03-30 09:01:21.424]: Debug: [h264_qsv @ 0000016a85dcea00] Using the video conferencing mode (VCM) ratecontrol method
[2025-03-30 09:01:21.435]: Debug: [h264_qsv @ 0000016a85dcea00] profile: avc high; level: 42
[2025-03-30 09:01:21.435]: Debug: [h264_qsv @ 0000016a85dcea00] GopPicSize: 65535; GopRefDist: 1; GopOptFlag: closed; IdrInterval: 0
[2025-03-30 09:01:21.435]: Debug: [h264_qsv @ 0000016a85dcea00] TargetUsage: 4; RateControlMethod: VCM
[2025-03-30 09:01:21.435]: Debug: [h264_qsv @ 0000016a85dcea00] BufferSizeInKB: 537; InitialDelayInKB: 268; TargetKbps: 2148; MaxKbps: 2148; BRCParamMultiplier: 1
[2025-03-30 09:01:21.435]: Debug: [h264_qsv @ 0000016a85dcea00] NumSlice: 1; NumRefFrame: 2
[2025-03-30 09:01:21.435]: Debug: [h264_qsv @ 0000016a85dcea00] RateDistortionOpt: OFF
[2025-03-30 09:01:21.435]: Debug: [h264_qsv @ 0000016a85dcea00] RecoveryPointSEI: OFF
[2025-03-30 09:01:21.435]: Debug: [h264_qsv @ 0000016a85dcea00] VDENC: ON
[2025-03-30 09:01:21.435]: Debug: [h264_qsv @ 0000016a85dcea00] Entropy coding: CABAC; MaxDecFrameBuffering: 2
[2025-03-30 09:01:21.435]: Debug: [h264_qsv @ 0000016a85dcea00] NalHrdConformance: OFF; SingleSeiNalUnit: ON; VuiVclHrdParameters: OFF VuiNalHrdParameters: OFF
[2025-03-30 09:01:21.435]: Debug: [h264_qsv @ 0000016a85dcea00] FrameRateExtD: 1; FrameRateExtN: 60 
[2025-03-30 09:01:21.436]: Debug: [h264_qsv @ 0000016a85dcea00] IntRefType: 0; IntRefCycleSize: 0; IntRefQPDelta: 0
[2025-03-30 09:01:21.436]: Debug: [h264_qsv @ 0000016a85dcea00] MaxFrameSize: 4475; MaxSliceSize: 0
[2025-03-30 09:01:21.436]: Debug: [h264_qsv @ 0000016a85dcea00] BitrateLimit: ON; MBBRC: OFF; ExtBRC: OFF
[2025-03-30 09:01:21.436]: Debug: [h264_qsv @ 0000016a85dcea00] Trellis: auto
[2025-03-30 09:01:21.436]: Debug: [h264_qsv @ 0000016a85dcea00] RepeatPPS: OFF; NumMbPerSlice: 0; LookAheadDS: 2x
[2025-03-30 09:01:21.436]: Debug: [h264_qsv @ 0000016a85dcea00] AdaptiveI: OFF; AdaptiveB: OFF; BRefType:off
[2025-03-30 09:01:21.436]: Debug: [h264_qsv @ 0000016a85dcea00] MinQPI: 0; MaxQPI: 0; MinQPP: 0; MaxQPP: 0; MinQPB: 0; MaxQPB: 0
[2025-03-30 09:01:21.436]: Debug: [h264_qsv @ 0000016a85dcea00] DisableDeblockingIdc: 0 
[2025-03-30 09:01:21.436]: Debug: [h264_qsv @ 0000016a85dcea00] SkipFrame: no_skip
[2025-03-30 09:01:21.436]: Debug: [h264_qsv @ 0000016a85dcea00] PRefType: simple
[2025-03-30 09:01:21.436]: Debug: [h264_qsv @ 0000016a85dcea00] TransformSkip: unknown 
[2025-03-30 09:01:21.436]: Debug: [h264_qsv @ 0000016a85dcea00] IntRefCycleDist: 0
[2025-03-30 09:01:21.436]: Debug: [h264_qsv @ 0000016a85dcea00] LowDelayBRC: ON
[2025-03-30 09:01:21.436]: Debug: [h264_qsv @ 0000016a85dcea00] MaxFrameSizeI: 0; 
[2025-03-30 09:01:21.436]: Debug: MaxFrameSizeP: 0
[2025-03-30 09:01:21.436]: Debug: [h264_qsv @ 0000016a85dcea00] ScenarioInfo: 0
[2025-03-30 09:01:21.437]: Error: [h264_qsv @ 0000016a85dcea00] Invalid FrameType:0.
[2025-03-30 09:01:21.437]: Error: Could not send a frame for encoding: Invalid data found when processing input
[2025-03-30 09:01:21.448]: Info: Encoder [quicksync] failed
[2025-03-30 09:01:21.455]: Error: Couldn't find any working encoder matching [quicksync]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants