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

Falls to low resolution #3181

Closed
2 tasks done
skunk-funk opened this issue Sep 13, 2024 · 6 comments
Closed
2 tasks done

Falls to low resolution #3181

skunk-funk opened this issue Sep 13, 2024 · 6 comments

Comments

@skunk-funk
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

After playing a while, after a network hiccup if I were to speculate, the resolution takes a dump. It does not recover until you quit the stream and re-engage.

Expected Behavior

Stream should recover to correct resolution.

Additional Context

No response

Host Operating System

Linux

Operating System Version

Arch

Architecture

64 bit

Sunshine commit or version

v2024.910.123325

Package

Linux - flatpak

GPU Type

AMD

GPU Model

rx580

GPU Driver/Mesa Version

amdgpu

Capture Method

None

Config

Default

Apps

No response

Relevant log output

Can provide more if needed
@skunk-funk
Copy link
Author

skunk-funk commented Sep 13, 2024

Didn't realize I was not on the latest beta build.

Attempting to test on Steam Deck client, and if confirmed there, latest clients on another computer and android (which have both had the issue as well) - having some issues getting that to work right for some reason. Please hold on anything until I post that I've finished testing

@skunk-funk
Copy link
Author

Scratch that, it is still a problem in the latest beta. I had a bit less issue - takes longer to become a problem.

@skunk-funk skunk-funk reopened this Sep 13, 2024
@skunk-funk
Copy link
Author

Works fine with software encoding. It appears to be an error with VAAPI support for my rx580. Should this be over at mesa, then?

[2024-09-26 11:05:47.086]: Info: Trying encoder [vaapi]
[2024-09-26 11:05:47.097]: Info: Creating encoder [h264_vaapi]
[2024-09-26 11:05:47.112]: Info: vaapi vendor: Mesa Gallium driver 24.2.3-arch1.1 for AMD Radeon RX 580 Series (radeonsi, polaris10, LLVM 18.1.8, DRM 3.57, 6.10.10-arch1-1)
[2024-09-26 11:05:47.115]: Error: [h264_vaapi @ 0x629478556f80] No usable encoding entrypoint found for profile VAProfileH264High (7).
[2024-09-26 11:05:47.115]: Info: Retrying with fallback configuration options for [h264_vaapi] after error: Function not implemented
[2024-09-26 11:05:47.117]: Info: vaapi vendor: Mesa Gallium driver 24.2.3-arch1.1 for AMD Radeon RX 580 Series (radeonsi, polaris10, LLVM 18.1.8, DRM 3.57, 6.10.10-arch1-1)
[2024-09-26 11:05:47.118]: Warning: [h264_vaapi @ 0x6294785ad200] Driver does not support some wanted packed headers (wanted 0xd, found 0x1).
[2024-09-26 11:05:47.246]: Info: Creating encoder [hevc_vaapi]
[2024-09-26 11:05:47.260]: Info: vaapi vendor: Mesa Gallium driver 24.2.3-arch1.1 for AMD Radeon RX 580 Series (radeonsi, polaris10, LLVM 18.1.8, DRM 3.57, 6.10.10-arch1-1)
[2024-09-26 11:05:47.262]: Error: [hevc_vaapi @ 0x6294785ad200] No usable encoding entrypoint found for profile VAProfileHEVCMain (17).
[2024-09-26 11:05:47.262]: Info: Retrying with fallback configuration options for [hevc_vaapi] after error: Function not implemented
[2024-09-26 11:05:47.266]: Info: vaapi vendor: Mesa Gallium driver 24.2.3-arch1.1 for AMD Radeon RX 580 Series (radeonsi, polaris10, LLVM 18.1.8, DRM 3.57, 6.10.10-arch1-1)
[2024-09-26 11:05:47.266]: Warning: [hevc_vaapi @ 0x629478556f80] Driver does not advertise encoder features, using guessed defaults.
[2024-09-26 11:05:47.266]: Warning: [hevc_vaapi @ 0x629478556f80] Driver does not advertise encoder block size, using guessed defaults.
[2024-09-26 11:05:47.266]: Warning: [hevc_vaapi @ 0x629478556f80] Driver does not support some wanted packed headers (wanted 0xd, found 0x1).
[2024-09-26 11:05:47.330]: Info: Creating encoder [hevc_vaapi]
[2024-09-26 11:05:47.343]: Info: vaapi vendor: Mesa Gallium driver 24.2.3-arch1.1 for AMD Radeon RX 580 Series (radeonsi, polaris10, LLVM 18.1.8, DRM 3.57, 6.10.10-arch1-1)
[2024-09-26 11:05:47.345]: Error: [hevc_vaapi @ 0x629478556f80] No usable encoding entrypoint found for profile VAProfileHEVCMain10 (18).
[2024-09-26 11:05:47.345]: Info: Retrying with fallback configuration options for [hevc_vaapi] after error: Function not implemented
[2024-09-26 11:05:47.349]: Info: vaapi vendor: Mesa Gallium driver 24.2.3-arch1.1 for AMD Radeon RX 580 Series (radeonsi, polaris10, LLVM 18.1.8, DRM 3.57, 6.10.10-arch1-1)
[2024-09-26 11:05:47.349]: Error: [hevc_vaapi @ 0x6294785ad200] No usable encoding entrypoint found for profile VAProfileHEVCMain10 (18).
[2024-09-26 11:05:47.349]: Error: Could not open codec [hevc_vaapi]: Function not implemented
[2024-09-26 11:05:47.352]: Warning: vaapi: h264 missing sps->vui parameters
[2024-09-26 11:05:47.352]: Info: Found H.264 encoder: h264_vaapi [vaapi]
[2024-09-26 11:05:47.352]: Info: Found HEVC encoder: hevc_vaapi [vaapi]
[2024-09-26 11:05:50.553]: Info: Trying encoder [vaapi]
[2024-09-26 11:05:50.567]: Info: Creating encoder [h264_vaapi]
[2024-09-26 11:05:50.580]: Info: vaapi vendor: Mesa Gallium driver 24.2.3-arch1.1 for AMD Radeon RX 580 Series (radeonsi, polaris10, LLVM 18.1.8, DRM 3.57, 6.10.10-arch1-1)
[2024-09-26 11:05:50.582]: Error: [h264_vaapi @ 0x70a5a453adc0] No usable encoding entrypoint found for profile VAProfileH264High (7).
[2024-09-26 11:05:50.582]: Info: Retrying with fallback configuration options for [h264_vaapi] after error: Function not implemented
[2024-09-26 11:05:50.585]: Info: vaapi vendor: Mesa Gallium driver 24.2.3-arch1.1 for AMD Radeon RX 580 Series (radeonsi, polaris10, LLVM 18.1.8, DRM 3.57, 6.10.10-arch1-1)
[2024-09-26 11:05:50.585]: Warning: [h264_vaapi @ 0x70a5a453ddc0] Driver does not support some wanted packed headers (wanted 0xd, found 0x1).
[2024-09-26 11:05:50.720]: Info: Creating encoder [hevc_vaapi]
[2024-09-26 11:05:50.736]: Info: vaapi vendor: Mesa Gallium driver 24.2.3-arch1.1 for AMD Radeon RX 580 Series (radeonsi, polaris10, LLVM 18.1.8, DRM 3.57, 6.10.10-arch1-1)
[2024-09-26 11:05:50.739]: Error: [hevc_vaapi @ 0x70a56407f300] No usable encoding entrypoint found for profile VAProfileHEVCMain (17).
[2024-09-26 11:05:50.739]: Info: Retrying with fallback configuration options for [hevc_vaapi] after error: Function not implemented
[2024-09-26 11:05:50.741]: Info: vaapi vendor: Mesa Gallium driver 24.2.3-arch1.1 for AMD Radeon RX 580 Series (radeonsi, polaris10, LLVM 18.1.8, DRM 3.57, 6.10.10-arch1-1)
[2024-09-26 11:05:50.742]: Warning: [hevc_vaapi @ 0x70a5a453ddc0] Driver does not advertise encoder features, using guessed defaults.
[2024-09-26 11:05:50.742]: Warning: [hevc_vaapi @ 0x70a5a453ddc0] Driver does not advertise encoder block size, using guessed defaults.
[2024-09-26 11:05:50.742]: Warning: [hevc_vaapi @ 0x70a5a453ddc0] Driver does not support some wanted packed headers (wanted 0xd, found 0x1).
[2024-09-26 11:05:50.836]: Info: Creating encoder [hevc_vaapi]
[2024-09-26 11:05:50.858]: Info: vaapi vendor: Mesa Gallium driver 24.2.3-arch1.1 for AMD Radeon RX 580 Series (radeonsi, polaris10, LLVM 18.1.8, DRM 3.57, 6.10.10-arch1-1)
[2024-09-26 11:05:50.860]: Error: [hevc_vaapi @ 0x70a5a453ddc0] No usable encoding entrypoint found for profile VAProfileHEVCMain10 (18).
[2024-09-26 11:05:50.860]: Info: Retrying with fallback configuration options for [hevc_vaapi] after error: Function not implemented
[2024-09-26 11:05:50.863]: Info: vaapi vendor: Mesa Gallium driver 24.2.3-arch1.1 for AMD Radeon RX 580 Series (radeonsi, polaris10, LLVM 18.1.8, DRM 3.57, 6.10.10-arch1-1)
[2024-09-26 11:05:50.864]: Error: [hevc_vaapi @ 0x70a56407f300] No usable encoding entrypoint found for profile VAProfileHEVCMain10 (18).
[2024-09-26 11:05:50.864]: Error: Could not open codec [hevc_vaapi]: Function not implemented
[2024-09-26 11:05:50.866]: Warning: vaapi: h264 missing sps->vui parameters
[2024-09-26 11:05:50.866]: Info: Found H.264 encoder: h264_vaapi [vaapi]
[2024-09-26 11:05:50.866]: Info: Found HEVC encoder: hevc_vaapi [vaapi]
[2024-09-26 11:05:51.633]: Info: Creating encoder [h264_vaapi]
[2024-09-26 11:05:51.654]: Info: vaapi vendor: Mesa Gallium driver 24.2.3-arch1.1 for AMD Radeon RX 580 Series (radeonsi, polaris10, LLVM 18.1.8, DRM 3.57, 6.10.10-arch1-1)
[2024-09-26 11:05:51.656]: Error: [h264_vaapi @ 0x70a5944fe240] No usable encoding entrypoint found for profile VAProfileH264High (7).
[2024-09-26 11:05:51.657]: Info: Retrying with fallback configuration options for [h264_vaapi] after error: Function not implemented
[2024-09-26 11:05:51.659]: Info: vaapi vendor: Mesa Gallium driver 24.2.3-arch1.1 for AMD Radeon RX 580 Series (radeonsi, polaris10, LLVM 18.1.8, DRM 3.57, 6.10.10-arch1-1)
[2024-09-26 11:05:51.660]: Warning: [h264_vaapi @ 0x70a594554680] Driver does not support some wanted packed headers (wanted 0xd, found 0x1).

@skunk-funk
Copy link
Author

I tested this with bg3 with both the amd dGPU and the intel iGPU. Using the iGPU (i5-8600k) it occasionally degraded to low resolution, but quickly recovered to look pretty good.

The AMD GPU degrades, and never recovers to an acceptable resolution until you quit out of moonlight and restart the stream.

There are no vaapi errors in the log with the iGPU.

@skunk-funk
Copy link
Author

skunk-funk commented Sep 27, 2024

Apparently the same issue as this - I don't know how to merge them - #2864

@ReenigneArcher
Copy link
Member

@skunk-funk thanks for the extra information. I can close this one. And you can add any relevant details to the other one.

@ReenigneArcher ReenigneArcher closed this as not planned Won't fix, can't repro, duplicate, stale Sep 27, 2024
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