Bakers 1 Posted January 18, 2020 Share Posted January 18, 2020 I have an AMD GPU and I am running Ubuntu 19.10 with the open source AMD drivers. I have ffmpeg installed with the OS and the bundled one from emby. I am testing hardware transcoding from the commandline and I get two different results: Built in: ffmpeg -hwaccel vaapi -i /media/data_drive/No\ Backup/Spider-Man\ Far\ From\ Home\ \(2019\)\ \[BluRay\]\ \[1080p\]\ \[YTS.LT\]/Spider-Man.Far.From.Hom e.2019.1080p.BluRay.x264-\[YTS.LT\].mp4 -map 0:0 -c:v rawvideo -f null NULL ffmpeg version 4.1.4-1build2 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 9 (Ubuntu 9.2.1-4ubuntu1) configuration: --prefix=/usr --extra-version=1build2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl -- disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libb s2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enabl e-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libs hine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable- libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable -sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared WARNING: library configuration mismatch avcodec configuration: --prefix=/usr --extra-version=1build2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --e nable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray - -enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-li bgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband - -enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libv px --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-ope ngl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared --enable-version3 --disable-doc -- disable-programs --enable-liblensfun --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc libavutil 56. 22.100 / 56. 22.100 libavcodec 58. 35.100 / 58. 35.100 libavformat 58. 20.100 / 58. 20.100 libavdevice 58. 5.100 / 58. 5.100 libavfilter 7. 40.101 / 7. 40.101 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 3.100 / 5. 3.100 libswresample 3. 3.100 / 3. 3.100 libpostproc 55. 3.100 / 55. 3.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/media/data_drive/No Backup/Spider-Man Far From Home (2019) [BluRay] [1080p] [YTS.LT]/Spider-Man.Far.From.Home.2019.1080p.BluRay.x264-[YT S.LT].mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf58.2.103 Duration: 02:09:23.81, start: 0.000000, bitrate: 2247 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x800 [SAR 1:1 DAR 12:5], 2099 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default) Metadata: handler_name : VideoHandler Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 141 kb/s (default) Metadata: handler_name : SoundHandler Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native)) Press [q] to stop, [?] for help Output #0, null, to 'NULL': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf58.20.100 Stream #0:0(und): Video: rawvideo (NV12 / 0x3231564E), nv12, 1920x800 [SAR 1:1 DAR 12:5], q=2-31, 441926 kb/s, 23.98 fps, 23.98 tbn, 23.98 tbc (default) Metadata: handler_name : VideoHandler encoder : Lavc58.35.100 rawvideo frame= 1452 fps=150 q=-0.0 Lsize=N/A time=00:01:00.56 bitrate=N/A speed=6.25x Emby: /opt/emby-server/bin/ffmpeg -hwaccel vaapi -i /media/data_drive/No\ Backup/Spider-Man\ Far\ From\ Home\ \(2019\)\ \[BluRay\]\ \[1080p\]\ \[YTS.LT\]/Sp ider-Man.Far.From.Home.2019.1080p.BluRay.x264-\[YTS.LT\].mp4 -map 0:0 -c:v rawvideo -f null NULL ffmpeg version 4.3.0-emby_2019_11_09 Copyright (c) 2000-2019 the FFmpeg developers and softworkz for Emby LLC built with gcc 8.3.0 (crosstool-NG 1.24.0) WARNING: library configuration mismatch avutil configuration: --prefix=/usr --extra-version=1build2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --e nable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray - -enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-li bgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband - -enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libv px --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-ope ngl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared avcodec configuration: --prefix=/usr --extra-version=1build2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --e nable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray - -enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-li bgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband - -enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libv px --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-ope ngl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared --enable-version3 --disable-doc -- disable-programs --enable-liblensfun --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc avformat configuration: --prefix=/usr --extra-version=1build2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --e nable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray - -enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-li bgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband - -enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libv px --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-ope ngl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared avdevice configuration: --prefix=/usr --extra-version=1build2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --e nable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray - -enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-li bgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband - -enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libv px --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-ope ngl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared avfilter configuration: --prefix=/usr --extra-version=1build2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --e nable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray - -enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-li bgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband - -enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libv px --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-ope ngl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared swscale configuration: --prefix=/usr --extra-version=1build2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --e nable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray - -enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-li bgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband - -enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libv px --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-ope ngl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared swresample configuration: --prefix=/usr --extra-version=1build2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --e nable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray - -enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-li bgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband - -enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libv px --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-ope ngl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared postproc configuration: --prefix=/usr --extra-version=1build2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --e nable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray - -enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-li bgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband - -enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libv px --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-ope ngl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared Execution Date: 2020-01-17 19:22:42 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/media/data_drive/No Backup/Spider-Man Far From Home (2019) [BluRay] [1080p] [YTS.LT]/Spider-Man.Far.From.Home.2019.1080p.BluRay.x264-[YT S.LT].mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf58.2.103 Duration: 02:09:23.81, start: 0.000000, bitrate: 2247 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x800 [SAR 1:1 DAR 12:5], 2099 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default) Metadata: handler_name : VideoHandler Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 141 kb/s (default) Metadata: handler_name : SoundHandler Segmentation fault (core dumped) It looks like the GPU encoding is working great using the built in ffmpeg but it fails with a crash using the emby supplied ffmpeg. When I set my video format to something that forces transcoding (It says transcoding on the dashboard) the processor usage (measured with top on the command line) spikes to 436% (nothing else is running). As far as I can tell, emby is not detecting any hardware to use for transcoding. Am I missing something in the configuration that is preventing this from running? emby server information 020-01-17 18:47:24.567 Info Main: Application path: /opt/emby-server/system/EmbyServer.dll 2020-01-17 18:47:24.845 Info Main: Emby Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Unix 5.3.0.26 64-Bit OS: True 64-Bit Process: True User Interactive: True Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll System.Environment.Version: 3.1.0 Processor count: 8 Program data path: /var/lib/emby Application directory: /opt/emby-server/system 2020-01-17 18:47:24.885 Info App: Application version: 4.4.0.7 Link to comment Share on other sites More sharing options...
Bakers 1 Posted January 18, 2020 Author Share Posted January 18, 2020 I should also point out that on the transcode configuration page I have the following Enable hardware acceleration when available: Yes No Advanced Link to comment Share on other sites More sharing options...
Bakers 1 Posted January 18, 2020 Author Share Posted January 18, 2020 Captured ffdetect information LD_LIBRARY_PATH=/opt/emby-server/lib /opt/emby-server/bin/ffdetect -hide_banner -show_program_version -loglevel 48 -show_error -show_log 4 0 vaencdec -print_format json ffdetect version 4.3.0-emby_2019_11_09 Copyright (c) 2018-2019 softworkz for Emby LLC built with gcc 8.3.0 (crosstool-NG 1.24.0) configuration: --cc=x86_64-unknown-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enab le-fontconfig --enable-gnutls --enable-gpl --enable-iconv --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enabl e-libvorbis --enable-libwebp --enable-libx264 --enable-libx265 --enable-libzvbi --enable-version3 --enable-libsmbclient --enable-libdav1d --enable-libvpx --enable-cuda-llvm --ena ble-cuvid --enable-libmfx --enable-nvdec --enable-nvenc --enable-vaapi --enable-cross-compile --cross-prefix=x86_64-unknown-linux-gnu- --extra-libs='-lexpat -lfreetype -lfribidi -lfontconfig -liconv -lpng -lz -lvorbis -logg -lnettle -lhogweed -lgmp -laddns-samba4 -lasn1util-samba4 -lauthkrb5-samba4 -lCHARSET3-samba4 -lcliauth-samba4 -lcli-cldap-samba4 -l cli-ldap-common-samba4 -lcli-nbt-samba4 -lcli-smb-common-samba4 -lcom_err -lcommon-auth-samba4 -ldbwrap-samba4 -ldcerpc-binding -ldcerpc-samba-samba4 -ldl -lflag-mapping-samba4 - lgenrand-samba4 -lgensec-samba4 -lgse-samba4 -lgssapi_krb5 -llibcli-lsa3-samba4 -llibsmb-samba4 -linterfaces-samba4 -liov-buf-samba4 -lk5crypto -lkrb5 -lkrb5samba-samba4 -lkrb5su pport -lldb -lldbsamba-samba4 -lm -lmessages-dgm-samba4 -lmessages-util-samba4 -lmsghdr-samba4 -lmsrpc3-samba4 -lndr -lndr-krb5pac -lndr-nbt -lndr-samba-samba4 -lndr-standard -lr eplace-samba4 -lsamba-cluster-support-samba4 -lsamba-credentials -lsamba-debug-samba4 -lsamba-errors -lsamba-hostconfig -lsamba-modules-samba4 -lsamba-security-samba4 -lsamba-soc kets-samba4 -lsamba-util -lsamba3-util-samba4 -lsamdb -lsamdb-common-samba4 -lsecrets3-samba4 -lserver-id-db-samba4 -lserver-role-samba4 -lsmbconf -lsmbd-shim-samba4 -lsmb-transp ort-samba4 -lsocket-blocking-samba4 -lsys-rw-samba4 -ltalloc -ltalloc-report-samba4 -ltdb -ltdb-wrap-samba4 -ltevent -ltevent-util -ltime-basic-samba4 -lutil-cmdline-samba4 -luti l-reg-samba4 -lutil-setid-samba4 -lutil-tdb-samba4 -luuid -lwbclient -lwinbind-client-samba4 -ldrm' --arch=x86_64 --target-os=linux --pkg-config=pkg-config --enable-shared --disa ble-static libavutil 56. 34.100 / 56. 34.100 { "ProgramVersion": { "Version": "4.3.0-emby_2019_11_09", "Copyright": "Copyright (c) 2018-2019 softworkz for Emby Llc", "Compiler": "gcc 8.3.0 (crosstool-NG 1.24.0)", "Configuration": "--cc=x86_64-unknown-linux-gnu-gcc --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --disable-doc --disable-ffplay --disable-vdpau --disable-xl ib --enable-fontconfig --enable-gnutls --enable-gpl --enable-iconv --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheor a --enable-libvorbis --enable-libwebp --enable-libx264 --enable-libx265 --enable-libzvbi --enable-version3 --enable-libsmbclient --enable-libdav1d --enable-libvpx --enable-cuda-l lvm --enable-cuvid --enable-libmfx --enable-nvdec --enable-nvenc --enable-vaapi --enable-cross-compile --cross-prefix=x86_64-unknown-linux-gnu- --extra-libs='-lexpat -lfreetype - lfribidi -lfontconfig -liconv -lpng -lz -lvorbis -logg -lnettle -lhogweed -lgmp -laddns-samba4 -lasn1util-samba4 -lauthkrb5-samba4 -lCHARSET3-samba4 -lcliauth-samba4 -lcli-cldap- samba4 -lcli-ldap-common-samba4 -lcli-nbt-samba4 -lcli-smb-common-samba4 -lcom_err -lcommon-auth-samba4 -ldbwrap-samba4 -ldcerpc-binding -ldcerpc-samba-samba4 -ldl -lflag-mapping -samba4 -lgenrand-samba4 -lgensec-samba4 -lgse-samba4 -lgssapi_krb5 -llibcli-lsa3-samba4 -llibsmb-samba4 -linterfaces-samba4 -liov-buf-samba4 -lk5crypto -lkrb5 -lkrb5samba-samba4 -lkrb5support -lldb -lldbsamba-samba4 -lm -lmessages-dgm-samba4 -lmessages-util-samba4 -lmsghdr-samba4 -lmsrpc3-samba4 -lndr -lndr-krb5pac -lndr-nbt -lndr-samba-samba4 -lndr-sta ndard -lreplace-samba4 -lsamba-cluster-support-samba4 -lsamba-credentials -lsamba-debug-samba4 -lsamba-errors -lsamba-hostconfig -lsamba-modules-samba4 -lsamba-security-samba4 -l samba-sockets-samba4 -lsamba-util -lsamba3-util-samba4 -lsamdb -lsamdb-common-samba4 -lsecrets3-samba4 -lserver-id-db-samba4 -lserver-role-samba4 -lsmbconf -lsmbd-shim-samba4 -ls mb-transport-samba4 -lsocket-blocking-samba4 -lsys-rw-samba4 -ltalloc -ltalloc-report-samba4 -ltdb -ltdb-wrap-samba4 -ltevent -ltevent-util -ltime-basic-samba4 -lutil-cmdline-sam ba4 -lutil-reg-samba4 -lutil-setid-samba4 -lutil-tdb-samba4 -luuid -lwbclient -lwinbind-client-samba4 -ldrm' --arch=x86_64 --target-os=linux --pkg-config=pkg-config --enable-shar ed --disable-static" }, "Devices": [ Begin GetVaAdapterInfo Found 16 device entries Begin get_nodes Found 3 drm entries End GetVaAdapterInfo { "DeviceIndex": 0, "DeviceInfo": { "VendorName": "Advanced Micro Devices, Inc. [AMD/ATI]", "DeviceName": "Hawaii XT / Grenada XT [Radeon R9 290X/390X]", "SubsytemVendorName": "Micro-Star International Co., Ltd. [MSI]", "SubsytemDeviceName": "R9 290X Gaming", "VendorId": 4098, "DeviceId": 26544, "SubsytemVendorId": 5218, "SubsytemDeviceId": 12416, "DevPath": "/sys/bus/pci/devices/0000:01:00.0", "DrmCard": "/dev/dri/card0", "DrmRender": "/dev/dri/renderD128", "IsEnabled": 1, "IsBootVga": 1, "Error": { "Number": -1, "Message": "Failed to initialize VA /dev/dri/renderD128. Error -1" } } } ], "Log": [ { "Level": 40, "Category": 0, "Message": "Found 16 device entries" } ] } Link to comment Share on other sites More sharing options...
Luke 37064 Posted January 18, 2020 Share Posted January 18, 2020 Hi, at this time we only support the official drivers, not the open source ones. Details can be found in our hardware acceleration setup guide. @@softworkz Link to comment Share on other sites More sharing options...
softworkz 3335 Posted January 18, 2020 Share Posted January 18, 2020 Hi, at this time we only support the official drivers, not the open source ones. Details can be found in our hardware acceleration setup guide. @@softworkz Yes, please install the amdgpu driver from the AMD website. Link to comment Share on other sites More sharing options...
adamericson 0 Posted January 18, 2020 Share Posted January 18, 2020 Hello, I'm running Emby on OMV with a docker and a 3200g APU I'm struggling to get hardware transcoding to work and CPU only transcoding is to slow, I've looked at the links given here but sadly I’m a noob and can't get it to work. any help will be greatly appreciated. Link to comment Share on other sites More sharing options...
Luke 37064 Posted January 18, 2020 Share Posted January 18, 2020 Hi there, what have you tried? Link to comment Share on other sites More sharing options...
adamericson 0 Posted January 18, 2020 Share Posted January 18, 2020 Hello, Luke Sadly not a lot, Emby is running in docker and I have Emby premium, but I have no options in the Emby HW transcoding menu, when I went in to the links given here , it says that I need to download the drivers f from AMD's site but I only found the win 10 drivers which wont help me .. so a step by step like I'm 5 years old will help.. Am I right in assuming that the 3200g with HW transcode will suffice for 1 4k stream to an lg web OS 3.5 TV? Or should I just give up and put an R5 2600 in there instead? (trying to save some money) I have a very basic understanding of how to use Linux I'm not a complete noob but not far from it. Thank you for the help. Link to comment Share on other sites More sharing options...
Luke 37064 Posted January 19, 2020 Share Posted January 19, 2020 Right now hardware transcoding in Docker is something we're only considering experimental, so what that means is at this stage we won't have all of the answers of what needs to be done to get it to work. Running within a container such as Docker will bring additional complexity to the table. There's been a lot of community activity around Nvidia with Docker, so we have a fair amount of resources for that, but I haven't seen too much with AMD. Is running with Docker the only option? Link to comment Share on other sites More sharing options...
adamericson 0 Posted January 19, 2020 Share Posted January 19, 2020 hey, It's not , I'll try it on bare metal and see how it works, but sadly ill only have time in the weekend. Link to comment Share on other sites More sharing options...
adamericson 0 Posted January 19, 2020 Share Posted January 19, 2020 OK, Emby is installed without a docker but I still cant chose the GPU to transcode I guess I need to install drivers? Link to comment Share on other sites More sharing options...
softworkz 3335 Posted January 19, 2020 Share Posted January 19, 2020 OK, Emby is installed without a docker but I still cant chose the GPU to transcode I guess I need to install drivers? I would start here: https://www.amd.com/en/support And then also try this: https://www.amd.com/en/search?keyword=AMDGPU+Linux Go through the first 5 or 10 result pages and see if there's something newer than you get from the method above. Link to comment Share on other sites More sharing options...
adamericson 0 Posted January 20, 2020 Share Posted January 20, 2020 Thank you, checking it now. Link to comment Share on other sites More sharing options...
softworkz 3335 Posted January 20, 2020 Share Posted January 20, 2020 I just accidentally came across it - this should be the most recent driver: https://www.amd.com/en/support/kb/release-notes/rn-rad-lin-19-50-unified And here's the documentation: https://amdgpu-install.readthedocs.io/en/latest/install-installing.html#installing-the-pro-variant Link to comment Share on other sites More sharing options...
adamericson 0 Posted January 22, 2020 Share Posted January 22, 2020 I see, Thank you. Link to comment Share on other sites More sharing options...
Luke 37064 Posted January 22, 2020 Share Posted January 22, 2020 Has this helped? Link to comment Share on other sites More sharing options...
adamericson 0 Posted January 24, 2020 Share Posted January 24, 2020 I tried to install it a few days with no success , I'll try again tomorrow, I need to see if an 3200g with GPU transcoding will suffice or I should put a r5 2600/3600 in it, I have time to choose , I work in A big computer (mostly... we do sell diapers so..) store chain so I took the CPUS home for testing.. I'll pay after I decide Witch one to use. Link to comment Share on other sites More sharing options...
softworkz 3335 Posted January 24, 2020 Share Posted January 24, 2020 If you have a choice, choose an Intel CPU. For transcoding, this is a much better choice. Link to comment Share on other sites More sharing options...
adamericson 0 Posted January 25, 2020 Share Posted January 25, 2020 (edited) why is that? Because of the igpu? I have a choice I don't want to support Intel or NVIDIA.. Edit: grammar Edited January 25, 2020 by adamericson Link to comment Share on other sites More sharing options...
adamericson 0 Posted January 25, 2020 Share Posted January 25, 2020 So... which of the drivers should I download? I tried the Ubuntu drivers only to learn what I should have known.. Ubuntu is not Debian.. and OMV is. Again thank you very much for the help.. while I'm close to give up and just put a stronger CPU in the server, I'd like to succeed and from the little I understand it shouldn't be difficult. Link to comment Share on other sites More sharing options...
Luke 37064 Posted January 25, 2020 Share Posted January 25, 2020 So... which of the drivers should I download? I tried the Ubuntu drivers only to learn what I should have known.. Ubuntu is not Debian.. and OMV is. Again thank you very much for the help.. while I'm close to give up and just put a stronger CPU in the server, I'd like to succeed and from the little I understand it shouldn't be difficult. Hi there, have you read our hardware acceleration setup guide? https://github.com/MediaBrowser/Wiki/wiki/Hardware-Acceleration-Overview Thanks! Link to comment Share on other sites More sharing options...
softworkz 3335 Posted January 26, 2020 Share Posted January 26, 2020 why is that? Because of the igpu? I have a choice I don't want to support Intel or NVIDIA.. Edit: grammar There are several reasons, but I'll name only one today: AMD does not support hardware video processing (scaling, deinterlacing, overlay). All these things need to be done by the CPU and the video data needs to be copied back and forth between system and GPU memory. Link to comment Share on other sites More sharing options...
softworkz 3335 Posted January 26, 2020 Share Posted January 26, 2020 So... which of the drivers should I download? I tried the Ubuntu drivers only to learn what I should have known.. Ubuntu is not Debian.. The AMD drivers indicate which OS versions are supported and which are not. PS: You could install Windows and it will just work Link to comment Share on other sites More sharing options...
Bakers 1 Posted February 12, 2020 Author Share Posted February 12, 2020 (edited) Yes, please install the amdgpu driver from the AMD website. Does this mean I have to use Ubuntu 16.04 in order to enable hardware transcoding on AMD GPU? edit: I found the driver for 18.04 and was able to get hardware transcoding working in Linux. Only trouble was realizing that I had to enable 386 libraries in order for the amdgpu-pro driver to install. Edited February 15, 2020 by Bakers Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now