Closed tlivolsi closed 12 months ago
I have an nvidia rtx 3080 and upon upgrading to this version I also get this error in a big red banner saying it could not find av1 encoder. However unlike the OP, to my knowledge the rtx 3080 does not support av1 encoding, so I don't know why this is being shown to me in the first place.
Here are my logs
[2023:10:16:18:44:43]: Info: Sunshine version: v0.21.0
[2023:10:16:18:44:43]: Warning: Couldn't find app image at path [/var/lib/flatpak/app/com.valvesoftware.Steam/x86_64/stable/a4c6945dc1cb48472fae369277a4350c9592c5d26239243bd06afc183da3dd7c/export/share/icons/hicolor/256x256/apps/com.valvesoftware.Steam.png]
[2023:10:16:18:44:43]: Info: System tray created
[2023:10:16:18:44:43]: Error: Failed to create session: This hardware does not support NvFBC
[2023:10:16:18:44:43]: Error: Failed to gain CAP_SYS_ADMIN
[2023:10:16:18:44:43]: Error: Environment variable WAYLAND_DISPLAY has not been defined
[2023:10:16:18:44:43]: Info: Detecting monitors
[2023:10:16:18:44:43]: Info: Detected monitor 0: DP-0, connected: false
[2023:10:16:18:44:43]: Info: Detected monitor 1: DP-1, connected: false
[2023:10:16:18:44:43]: Info: Detected monitor 2: HDMI-0, connected: false
[2023:10:16:18:44:43]: Info: Detected monitor 3: DP-2, connected: true
[2023:10:16:18:44:43]: Info: Detected monitor 4: DP-3, connected: false
[2023:10:16:18:44:43]: Info: Detected monitor 5: DP-4, connected: true
[2023:10:16:18:44:43]: Info: Detected monitor 6: DP-5, connected: false
[2023:10:16:18:44:43]: Info: Detected monitor 7: HDMI-1, connected: false
[2023:10:16:18:44:43]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2023:10:16:18:44:43]: Info: Trying encoder [nvenc]
[2023:10:16:18:44:43]: Info: Screencasting with X11
[2023:10:16:18:44:43]: Info: Screencasting with X11
[2023:10:16:18:44:43]: Info: SDR color coding [Rec. 601]
[2023:10:16:18:44:43]: Info: Color depth: 8-bit
[2023:10:16:18:44:43]: Info: Color range: [JPEG]
[2023:10:16:18:44:43]: Info: Screencasting with X11
[2023:10:16:18:44:43]: Info: SDR color coding [Rec. 601]
[2023:10:16:18:44:43]: Info: Color depth: 8-bit
[2023:10:16:18:44:43]: Info: Color range: [JPEG]
[2023:10:16:18:44:43]: Info: Screencasting with X11
[2023:10:16:18:44:43]: Info: SDR color coding [Rec. 601]
[2023:10:16:18:44:43]: Info: Color depth: 8-bit
[2023:10:16:18:44:43]: Info: Color range: [JPEG]
[2023:10:16:18:44:43]: Warning: [av1_nvenc @ 0x55cf95c437c0] Codec not supported
[2023:10:16:18:44:43]: Fatal: [av1_nvenc @ 0x55cf95c437c0] Provided device doesn't support required NVENC features
[2023:10:16:18:44:43]: Error: Could not open codec [av1_nvenc]: Function not implemented
[2023:10:16:18:44:43]: Info: Screencasting with X11
[2023:10:16:18:44:43]: Info: SDR color coding [Rec. 601]
[2023:10:16:18:44:43]: Info: Color depth: 8-bit
[2023:10:16:18:44:43]: Info: Color range: [JPEG]
[2023:10:16:18:44:43]: Warning: [av1_nvenc @ 0x55cf95c437c0] Codec not supported
[2023:10:16:18:44:43]: Fatal: [av1_nvenc @ 0x55cf95c437c0] Provided device doesn't support required NVENC features
[2023:10:16:18:44:43]: Error: Could not open codec [av1_nvenc]: Function not implemented
[2023:10:16:18:44:43]: Info: Screencasting with X11
[2023:10:16:18:44:43]: Info: SDR color coding [Rec. 709]
[2023:10:16:18:44:43]: Info: Color depth: 10-bit
[2023:10:16:18:44:43]: Info: Color range: [JPEG]
[2023:10:16:18:44:43]: Error: cuda::cuda_t doesn't support any format other than AV_PIX_FMT_NV12
[2023:10:16:18:44:43]: Info:
[2023:10:16:18:44:43]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2023:10:16:18:44:43]: Info:
[2023:10:16:18:44:43]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2023:10:16:18:44:43]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2023:10:16:18:44:43]: Info: Adding avahi service Sunshine
[2023:10:16:18:44:43]: Info: Configuration UI available at [https://localhost:47990]
[2023:10:16:18:44:44]: Info: Avahi service Sunshine successfully established.
[2023:10:16:18:44:51]: Warning: Couldn't discover any IPv4 UPNP devices
[2023:10:16:18:45:45]: Info: Web UI: [127.0.0.1] -- not authorized
[2023:10:16:18:46:59]: Warning: Couldn't discover any IPv4 UPNP devices
[2023:10:16:18:49:07]: Warning: Couldn't discover any IPv4 UPNP devices
[2023:10:16:18:51:15]: Warning: Couldn't discover any IPv4 UPNP devices
[2023:10:16:18:53:23]: Warning: Couldn't discover any IPv4 UPNP devices
Banner looks like this: Service works fine despite the message though.
However unlike the OP, to my knowledge the rtx 3080 does not support av1 encoding, so I don't know why this is being shown to me in the first place.
Yeah, that's unfortunate. We probably shouldn't promote FFmpeg fatal "errors" like that to Fatal status to avoid them showing up there. It's not related to OP's issue though.
If a developer sees this, let me know if you'd like debugging logs or anything else. I'm happy to help fix this, presuming the problem isn't something quirky on my end.
This is resolved in Mesa 23.3.
Is there an existing issue for this?
Is your issue described in the documentation?
Is your issue present in the nightly release?
Describe the Bug
Sunshine fails during its test for an AV1 encoder.
Expected Behavior
No response
Additional Context
libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.14 (libva 2.12.0) vainfo: Driver version: Mesa Gallium driver 23.2.1 - kisak-mesa PPA for GFX1100 (gfx1100, LLVM 15.0.7, DRM 3.54, 6.5.6-060506-generic) vainfo: Supported profile and entrypoints VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSlice VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSlice VAProfileHEVCMain : VAEntrypointVLD VAProfileHEVCMain : VAEntrypointEncSlice VAProfileHEVCMain10 : VAEntrypointVLD VAProfileHEVCMain10 : VAEntrypointEncSlice VAProfileJPEGBaseline : VAEntrypointVLD VAProfileVP9Profile0 : VAEntrypointVLD VAProfileVP9Profile2 : VAEntrypointVLD VAProfileAV1Profile0 : VAEntrypointVLD VAProfileAV1Profile0 : VAEntrypointEncSlice VAProfileNone : VAEntrypointVideoProc
Host Operating System
Linux
Operating System Version
Linux Mint 21.2
Architecture
64 bit
Sunshine commit or version
0.21.0
Package
Linux - deb
GPU Type
AMD
GPU Model
AMD 7900 XTX
GPU Driver/Mesa Version
Mesa 23.2.1
Capture Method (Linux Only)
No response
Config
Apps
No response
Relevant log output