moonlight-qt
moonlight-qt copied to clipboard
[L4T] Fedora 39 - HW decoder reported missing
Describe the bug On L4T Fedora 39, moonlight-qt fails to recognize the presence of a hardware decoder.
Sources: Moonlight package source FFmpeg-static package source FFmpeg sources - branch n6.0.1-nvv4l2 (the default one)
You can check the *.spec file in the package sources to see how FFmpeg and moonlight are compiled.
Nothing looks out of the ordinary in either Moonlight or FFmpeg build logs.
Can you post the log output from Moonlight?
Hmm, are you certain that this Moonlight build ended up linking to the FFmpeg build that you posted there? The lack of any HEVC decoder and the missing libopenh264.so warning makes me suspicious...
Edit: Actually I can tell it didn't, because I see FFmpeg shared libraries (libavcodec.so.60, libavutil.so.58) here in the build log:
[ 92s] Requires: libEGL.so.1()(64bit) libGLX.so.0()(64bit) libOpenGL.so.0()(64bit) libQt6Core.so.6()(64bit) libQt6Core.so.6(Qt_6)(64bit) libQt6Core.so.6(Qt_6.6)(64bit) libQt6Core.so.6(Qt_6.6_PRIVATE_API)(64bit) libQt6Gui.so.6()(64bit) libQt6Gui.so.6(Qt_6)(64bit) libQt6Network.so.6()(64bit) libQt6Network.so.6(Qt_6)(64bit) libQt6OpenGL.so.6()(64bit) libQt6Qml.so.6()(64bit) libQt6Qml.so.6(Qt_6)(64bit) libQt6QmlModels.so.6()(64bit) libQt6Quick.so.6()(64bit) libQt6QuickControls2.so.6()(64bit) libQt6QuickControls2.so.6(Qt_6)(64bit) libQt6Svg.so.6()(64bit) libQt6Svg.so.6(Qt_6)(64bit) libSDL2-2.0.so.0()(64bit) libSDL2_ttf-2.0.so.0()(64bit) libX11.so.6()(64bit) libavcodec.so.60()(64bit) libavcodec.so.60(LIBAVCODEC_60)(64bit) libavutil.so.58()(64bit) libavutil.so.58(LIBAVUTIL_58)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libm.so.6(GLIBC_2.29)(64bit) libopus.so.0()(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libva-drm.so.2()(64bit) libva-wayland.so.2()(64bit) libva-x11.so.2()(64bit) libva.so.2()(64bit) libva.so.2(VA_API_0.33.0)(64bit) libwayland-client.so.0()(64bit) rtld(GNU_HASH)
Closing because this is a problem with the build process, not Moonlight.
The shared FFmpeg libs is also l4t one, so the error should not happen ?
Trying to build against ffmpeg static build doesn't work either and reports error: #error No video decoding libraries available!
despite reproducing your packaging script for l4t
@cgutman I fixed the linking issues. It now correctly link against the static version of ffmpeg I wanted to use but SDL fails to handle the decoders. I am using fedora 39's SDL2-static and my own SDL2_ttf-static. See the attached pastebin log