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

arc A380 fails to encode #2540

Open
3 tasks done
dave-online opened this issue May 18, 2024 · 5 comments
Open
3 tasks done

arc A380 fails to encode #2540

dave-online opened this issue May 18, 2024 · 5 comments

Comments

@dave-online
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 nightly release?

  • This issue is present in the nightly release

Describe the Bug

it doesn't seem to see the arc A380 GPU ? on a win10 r7 5700G
Info: Trying encoder [quicksync]
[2024:05:12:20:36:45]: Error: Failed to locate an output device
[2024:05:12:20:36:46]: Error: Failed to locate an output device
[2024:05:12:20:36:46]: Info: Encoder [quicksync] failed

please fix the bug &patch moonlight to use the ARC A380 encoder etc as currently it just skips passed the Intel gpu in an amd r7 5700G machine, so fails to start encoding

Expected Behavior

should see encoder [quicksync] & use the arc cards

Additional Context

none

Host Operating System

Windows

Operating System Version

win10

Architecture

64 bit

Sunshine commit or version

v0.23.1

Package

Windows - installer

GPU Type

Intel

GPU Model

arc A380

GPU Driver/Mesa Version

31.0.101.5448

Capture Method (Linux Only)

window10

Config

upnp = enabled
controller = disabled
sunshine_name = Sunshine
global_prep_cmd = [{"do":"","undo":"","elevated":false}]

Apps

{
    "env": "",
    "apps": [
        {
            "name": "Desktop",
            "image-path": "desktop.png",
            "exclude-global-prep-cmd": "",
            "elevated": "",
            "auto-detach": "true",
            "wait-all": "true",
            "exit-timeout": "5"
        },
        {
            "name": "Steam Big Picture",
            "cmd": "steam:\/\/open\/bigpicture",
            "auto-detach": "true",
            "wait-all": "true",
            "image-path": "steam.png"
        }
    ]
}

Relevant log output

[2024:05:18:03:35:00]: Info: Sunshine version: v0.23.1
[2024:05:18:03:35:00]: Error: nvprefs: NvAPI error: NVAPI_API_NOT_INITIALIZED
[2024:05:18:03:35:00]: Error: nvprefs: NvAPI_DRS_CreateSession() failed
[2024:05:18:03:35:00]: Info: Compiling shaders...
[2024:05:18:03:35:00]: Info: Compiled shaders
[2024:05:18:03:35:00]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024:05:18:03:35:00]: Info: Trying encoder [nvenc]
[2024:05:18:03:35:01]: Info: ddprobe.exe [1] [] returned: 0x887A0004
[2024:05:18:03:35:01]: Info: ddprobe.exe [2] [] returned: 0x00000000
[2024:05:18:03:35:01]: Info: Set GPU preference: 2
[2024:05:18:03:35:01]: Info: 
Device Description : Intel(R) Arc(TM) A380 Graphics
Device Vendor ID   : 0x00008086
Device Device ID   : 0x000056A5
Device Video Mem   : 6056 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 16062 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:05:18:03:35:01]: Info: Active GPU has HAGS disabled
[2024:05:18:03:35:01]: Info: Using realtime GPU priority
[2024:05:18:03:35:01]: Info: Desktop resolution [1920x1080]
[2024:05:18:03:35:01]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024:05:18:03:35:01]: Info: Display refresh rate [60Hz]
[2024:05:18:03:35:01]: Info: Requested frame rate [60fps]
[2024:05:18:03:35:01]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.654297,0.333008]
Green Primary      : [0.324219,0.576172]
Blue Primary       : [0.157227,0.0751953]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2024:05:18:03:35:01]: Info: Encoder [nvenc] is not supported on this GPU
[2024:05:18:03:35:01]: Info: Trying encoder [quicksync]
[2024:05:18:03:35:01]: Info: 
Device Description : Intel(R) Arc(TM) A380 Graphics
Device Vendor ID   : 0x00008086
Device Device ID   : 0x000056A5
Device Video Mem   : 6056 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 16062 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:05:18:03:35:01]: Info: Active GPU has HAGS disabled
[2024:05:18:03:35:01]: Info: Using realtime GPU priority
[2024:05:18:03:35:01]: Info: Desktop resolution [1920x1080]
[2024:05:18:03:35:01]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024:05:18:03:35:01]: Info: Display refresh rate [60Hz]
[2024:05:18:03:35:01]: Info: Requested frame rate [60fps]
[2024:05:18:03:35:01]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.654297,0.333008]
Green Primary      : [0.324219,0.576172]
Blue Primary       : [0.157227,0.0751953]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2024:05:18:03:35:01]: Info: SDR color coding [Rec. 601]
[2024:05:18:03:35:01]: Info: Color depth: 8-bit
[2024:05:18:03:35:01]: Info: Color range: [JPEG]
[2024:05:18:03:35:01]: Info: SDR color coding [Rec. 601]
[2024:05:18:03:35:01]: Info: Color depth: 8-bit
[2024:05:18:03:35:01]: Info: Color range: [JPEG]
[2024:05:18:03:35:01]: Info: SDR color coding [Rec. 601]
[2024:05:18:03:35:01]: Info: Color depth: 8-bit
[2024:05:18:03:35:01]: Info: Color range: [JPEG]
[2024:05:18:03:35:01]: Info: 
Device Description : Intel(R) Arc(TM) A380 Graphics
Device Vendor ID   : 0x00008086
Device Device ID   : 0x000056A5
Device Video Mem   : 6056 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 16062 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:05:18:03:35:01]: Info: Active GPU has HAGS disabled
[2024:05:18:03:35:01]: Info: Using realtime GPU priority
[2024:05:18:03:35:01]: Info: Desktop resolution [1920x1080]
[2024:05:18:03:35:01]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024:05:18:03:35:01]: Info: Display refresh rate [60Hz]
[2024:05:18:03:35:01]: Info: Requested frame rate [60fps]
[2024:05:18:03:35:01]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.654297,0.333008]
Green Primary      : [0.324219,0.576172]
Blue Primary       : [0.157227,0.0751953]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2024:05:18:03:35:01]: Info: SDR color coding [Rec. 709]
[2024:05:18:03:35:01]: Info: Color depth: 10-bit
[2024:05:18:03:35:01]: Info: Color range: [JPEG]
[2024:05:18:03:35:02]: Info: SDR color coding [Rec. 709]
[2024:05:18:03:35:02]: Info: Color depth: 10-bit
[2024:05:18:03:35:02]: Info: Color range: [JPEG]
[2024:05:18:03:35:02]: Info: 
[2024:05:18:03:35:02]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2024:05:18:03:35:02]: Info: 
[2024:05:18:03:35:02]: Info: Found H.264 encoder: h264_qsv [quicksync]
[2024:05:18:03:35:02]: Info: Found HEVC encoder: hevc_qsv [quicksync]
[2024:05:18:03:35:02]: Info: Found AV1 encoder: av1_qsv [quicksync]
[2024:05:18:03:35:02]: Info: Configuration UI available at [https://localhost:47990]
[2024:05:18:03:35:03]: Info: Registered Sunshine mDNS service
[2024:05:18:03:35:06]: Info: Completed UPnP port mappings to 192.168.0.12 via http:https://192.168.0.1:49153/IGDdevicedesc_brlan0.xml
@ReenigneArcher
Copy link
Member

Is your display connected directly to that GPU?

@dave-online
Copy link
Author

dave-online commented May 19, 2024

yes...
& also through a 'nomachine' connection, nothing connected in the motherboard 5700G hdmi port.

as an aside, ffmpeg encoding works fine with the av1_qsv option

@ReenigneArcher
Copy link
Member

ffmpeg encoding works fine with the av1_qsv option

encoding and screen capture are not synonymous

@gschintgen
Copy link
Contributor

I'm not following. In the report you quote Info: Encoder [quicksync] failed but in the actual log there is no such error but rather: Found HEVC encoder: hevc_qsv [quicksync].

The log has been captured 6 days after the quote in the report.

@dave-online
Copy link
Author

dave-online commented May 20, 2024

the log entry just repeated the same error for days of retesting etc, I just give up.
moved on.

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

3 participants