-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Milestone
Description
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
I regularly update master git version of sunshine. The latest updates (probably this 38c13c8 ) introduced stream quality regression for VAAPI encoding (RX 580 GPU). The visual quality is much worse. The changed pixels update to achive good visual quality like with 1 second delay. At 25 Mb/s bitrate 1080p 60fps it shows very noticeable compression effects, it stutters, it looks like 5 Mbit bitrate before updates.
Expected Behavior
Nice looking stream at 25 Mbit
Additional Context
No response
Host Operating System
Linux
Operating System Version
Arch linux latest
Architecture
64 bit
Sunshine commit or version
sunshine-git-2024.713.205505.r0.g18e7dfb-1-x86_64.pkg.tar.zst
Package
Linux - AUR (Third Party)
GPU Type
AMD
GPU Model
RX 580
GPU Driver/Mesa Version
latest mesa-git
Capture Method
KMX (Linux)
Config
wan_encryption_mode = 2
cert = x
pkey = x
output_name = 0
amd_quality = default
external_ip = x
nv_rc = auto
channels = 3
address_family = both
resolutions = [
1280x720,
1920x1080
]
upnp = enabled
nv_preset = default
fps = [60]
qp = -1
encoder = vaapi
lan_encryption_mode = 2
amd_rc = auto
file_state = xApps
All, desktopRelevant log output
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Trying encoder [vaapi]
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Screencasting with KMS
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: /dev/dri/card1 -> amdgpu
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Found monitor for DRM screencasting
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Found connector ID [94]
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Found cursor plane [60]
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: SDR color coding [Rec. 601]
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Color depth: 8-bit
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Color range: [JPEG]
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: vaapi vendor: Mesa Gallium driver 24.2.0-devel for AMD Radeon RX 580 Series (radeonsi, po
laris10, LLVM 19.0.0, DRM 3.57, 6.9.9-arch1-1)
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Error: [h264_vaapi @ 0x7240ec18a840] No usable encoding entrypoint found for profile VAProfileH
264High (7).
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Retrying with fallback configuration options for [h264_vaapi] after error: Nie zaimplemen
towana funkcja
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: vaapi vendor: Mesa Gallium driver 24.2.0-devel for AMD Radeon RX 580 Series (radeonsi, po
laris10, LLVM 19.0.0, DRM 3.57, 6.9.9-arch1-1)
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Warning: [h264_vaapi @ 0x7240ec38bf40] Driver does not support some wanted packed headers (want
ed 0xd, found 0x1).
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Error: Invalid value at rbsp_stop_one_bit: bitstream ended.
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Error: Failed to read unit 3 (type 12).
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Error: Couldn't read packet: Invalid data found when processing input
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: SDR color coding [Rec. 601]
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Color depth: 8-bit
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Color range: [JPEG]
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: vaapi vendor: Mesa Gallium driver 24.2.0-devel for AMD Radeon RX 580 Series (radeonsi, po
laris10, LLVM 19.0.0, DRM 3.57, 6.9.9-arch1-1)
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Error: [hevc_vaapi @ 0x7240ec38bf40] No usable encoding entrypoint found for profile VAProfileH
EVCMain (17).
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Retrying with fallback configuration options for [hevc_vaapi] after error: Nie zaimplemen
towana funkcja
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: vaapi vendor: Mesa Gallium driver 24.2.0-devel for AMD Radeon RX 580 Series (radeonsi, po
laris10, LLVM 19.0.0, DRM 3.57, 6.9.9-arch1-1)
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Warning: [hevc_vaapi @ 0x7240ec18a840] Driver does not advertise encoder features, using guesse
d defaults.
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Warning: [hevc_vaapi @ 0x7240ec18a840] Driver does not advertise encoder block size, using gues
sed defaults.
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Warning: [hevc_vaapi @ 0x7240ec18a840] Driver does not support some wanted packed headers (want
ed 0xd, found 0x1).
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: SDR color coding [Rec. 601]
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Color depth: 8-bit
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Color range: [JPEG]
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: vaapi vendor: Mesa Gallium driver 24.2.0-devel for AMD Radeon RX 580 Series (radeonsi, po
laris10, LLVM 19.0.0, DRM 3.57, 6.9.9-arch1-1)
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Error: [av1_vaapi @ 0x7240ec18a840] No usable encoding profile found.
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Retrying with fallback configuration options for [av1_vaapi] after error: Nie zaimplement
owana funkcja
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: vaapi vendor: Mesa Gallium driver 24.2.0-devel for AMD Radeon RX 580 Series (radeonsi, po
laris10, LLVM 19.0.0, DRM 3.57, 6.9.9-arch1-1)
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Error: [av1_vaapi @ 0x7240ec38bf40] No usable encoding profile found.
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Error: Could not open codec [av1_vaapi]: Nie zaimplementowana funkcja
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: SDR color coding [Rec. 601]
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Color depth: 8-bit
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Color range: [JPEG]
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: vaapi vendor: Mesa Gallium driver 24.2.0-devel for AMD Radeon RX 580 Series (radeonsi, po
laris10, LLVM 19.0.0, DRM 3.57, 6.9.9-arch1-1)
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Error: [av1_vaapi @ 0x7240ec0eec80] No usable encoding profile found.
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Retrying with fallback configuration options for [av1_vaapi] after error: Nie zaimplement
owana funkcja
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: vaapi vendor: Mesa Gallium driver 24.2.0-devel for AMD Radeon RX 580 Series (radeonsi, po
laris10, LLVM 19.0.0, DRM 3.57, 6.9.9-arch1-1)
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Error: [av1_vaapi @ 0x7240ec38bf40] No usable encoding profile found.
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Error: Could not open codec [av1_vaapi]: Nie zaimplementowana funkcja
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Screencasting with KMS
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: /dev/dri/card1 -> amdgpu
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Found monitor for DRM screencasting
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Found connector ID [94]
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Found cursor plane [60]
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: SDR color coding [Rec. 709]
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Color depth: 10-bit
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Color range: [JPEG]
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: vaapi vendor: Mesa Gallium driver 24.2.0-devel for AMD Radeon RX 580 Series (radeonsi, po
laris10, LLVM 19.0.0, DRM 3.57, 6.9.9-arch1-1)
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Error: [hevc_vaapi @ 0x7240ec38bf40] No usable encoding entrypoint found for profile VAProfileH
EVCMain10 (18).
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Retrying with fallback configuration options for [hevc_vaapi] after error: Nie zaimplemen
towana funkcja
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: vaapi vendor: Mesa Gallium driver 24.2.0-devel for AMD Radeon RX 580 Series (radeonsi, po
laris10, LLVM 19.0.0, DRM 3.57, 6.9.9-arch1-1)
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Error: [hevc_vaapi @ 0x7240ec0eec80] No usable encoding entrypoint found for profile VAProfileH
EVCMain10 (18).
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Error: Could not open codec [hevc_vaapi]: Nie zaimplementowana funkcja
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Warning: vaapi: h264 missing sps->vui parameters
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those
errors. //
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info:
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: // Ignore any errors mentioned above, they are not relevant. //
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info:
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Found H.264 encoder: h264_vaapi [vaapi]
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Found HEVC encoder: hevc_vaapi [vaapi]
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Executing [Desktop]
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Video encryption enabled
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: CLIENT CONNECTED
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: /dev/dri/card1 -> amdgpu
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Found display [wayland-0]
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Found interface: zxdg_output_manager_v1(31) version 3
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Found interface: wl_output(63) version 4
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Resolution: 1920x1080
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Offset: 0x0
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Logical size: 1280x720
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Name: HDMI-A-2
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Found monitor: Philips Consumer Electronics Company Philips FTV/0x01010101
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: -------- Start of KMS monitor list --------
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Monitor 0 is HDMI-A-2: Philips Consumer Electronics Company Philips FTV/0x01010101
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: --------- End of KMS monitor list ---------
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Screencasting with KMS
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: /dev/dri/card1 -> amdgpu
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Found monitor for DRM screencasting
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Found connector ID [94]
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Found cursor plane [60]
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: SDR color coding [Rec. 601]
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Color depth: 8-bit
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Color range: [MPEG]
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: vaapi vendor: Mesa Gallium driver 24.2.0-devel for AMD Radeon RX 580 Series (radeonsi, po
laris10, LLVM 19.0.0, DRM 3.57, 6.9.9-arch1-1)
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Error: [h264_vaapi @ 0x7240dc2f6380] No usable encoding entrypoint found for profile VAProfileH
264High (7).
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: Retrying with fallback configuration options for [h264_vaapi] after error: Nie zaimplemen
towana funkcja
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Info: vaapi vendor: Mesa Gallium driver 24.2.0-devel for AMD Radeon RX 580 Series (radeonsi, po
laris10, LLVM 19.0.0, DRM 3.57, 6.9.9-arch1-1)
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Warning: [h264_vaapi @ 0x7240dc34cb80] Driver does not support some wanted packed headers (want
ed 0xd, found 0x1).
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Error: Invalid value at rbsp_stop_one_bit: bitstream ended.
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Error: Failed to read unit 3 (type 12).
lip 15 14:00:52 tm-stc sunshine[1294]: [2024:07:15:14:00:52]: Error: Couldn't read packet: Invalid data found when processing input
lip 15 14:00:53 tm-stc sunshine[1294]: connect: Przekroczony czas oczekiwania na połączenie
lip 15 14:00:53 tm-stc sunshine[1294]: [2024:07:15:14:00:53]: Error: A UPnP device has been found, but it wasn't recognized as an IGD
lip 15 14:00:53 tm-stc sunshine[1294]: [2024:07:15:14:00:53]: Info: Found default monitor by name: alsa_output.pci-0000_00_14.2.iec958-stereo.monitor
lip 15 14:00:53 tm-stc sunshine[1294]: [2024:07:15:14:00:53]: Info: Opus initialized: 48 kHz, 2 channels, 512 kbps (total), LOWDELAY
lip 15 14:03:12 tm-stc sunshine[1294]: connect: Przekroczony czas oczekiwania na połączenie
lip 15 14:03:12 tm-stc sunshine[1294]: [2024:07:15:14:03:12]: Error: A UPnP device has been found, but it wasn't recognized as an IGD
lip 15 14:05:22 tm-stc sunshine[1294]: connect: Przekroczony czas oczekiwania na połączenie
lip 15 14:05:22 tm-stc sunshine[1294]: [2024:07:15:14:05:22]: Error: A UPnP device has been found, but it wasn't recognized as an IGD
lip 15 14:07:30 tm-stc sunshine[1294]: connect: Przekroczony czas oczekiwania na połączenie
lip 15 14:07:30 tm-stc sunshine[1294]: [2024:07:15:14:07:30]: Error: A UPnP device has been found, but it wasn't recognized as an IGD
lip 15 14:09:40 tm-stc sunshine[1294]: connect: Przekroczony czas oczekiwania na połączenie
lip 15 14:09:40 tm-stc sunshine[1294]: [2024:07:15:14:09:40]: Error: A UPnP device has been found, but it wasn't recognized as an IGD
lip 15 14:11:50 tm-stc sunshine[1294]: connect: Przekroczony czas oczekiwania na połączenie
lip 15 14:11:50 tm-stc sunshine[1294]: [2024:07:15:14:11:50]: Error: A UPnP device has been found, but it wasn't recognized as an IGD
lip 15 14:13:58 tm-stc sunshine[1294]: connect: Przekroczony czas oczekiwania na połączenie
lip 15 14:13:58 tm-stc sunshine[1294]: [2024:07:15:14:13:58]: Error: A UPnP device has been found, but it wasn't recognized as an IGDReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels