BEFamilyMedia 0 Posted December 1, 2020 Posted December 1, 2020 (edited) Under the hardware acceleration options in Emby's Transcoding settings, I have only "VAAPI". Nvidia options are NOT showing. I have a GTX 1060 and GTX 1070 Ti installed. When using the emby-provided 'ffmpeg' to do a sample transcode, everything looks fine and it works on CUDA as seen below: LD_LIBRARY_PATH=/opt/emby-server/lib:/opt/emby-server/lib/samba bin/ffmpeg -hwaccel cuda -i /tmp/hevc_10bit_1080p_dd5.1_h265_bluray_sample.mkv /tmp/test_output.avi nvidia-smi displays: +-----------------------------------------------------------------------------+ | NVIDIA-SMI 455.45.01 Driver Version: 455.45.01 CUDA Version: 11.1 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |===============================+======================+======================| | 0 GeForce GTX 107... Off | 00000000:01:00.0 Off | N/A | | 0% 43C P2 43W / 180W | 268MiB / 8119MiB | 13% Default | | | | N/A | +-------------------------------+----------------------+----------------------+ | 1 GeForce GTX 106... Off | 00000000:06:00.0 Off | N/A | | 0% 29C P2 24W / 180W | 2MiB / 6078MiB | 0% Default | | | | N/A | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=============================================================================| | 0 N/A N/A 20054 C bin/ffmpeg 266MiB | | 1 N/A N/A 20054 C bin/ffmpeg 0MiB | +-----------------------------------------------------------------------------+ Any idea why the CUDA isn't showing up in Emby? Thank you! hardware_detection-63742385371.txt Edited December 1, 2020 by BEFamilyMedia Attached my hardware log
Luke 42078 Posted December 1, 2020 Posted December 1, 2020 Hi there, did you follow our hardware acceleration setup guide? https://support.emby.media/support/solutions/articles/44001160148-hardware-acceleration-overview
BEFamilyMedia 0 Posted December 2, 2020 Author Posted December 2, 2020 Yes. I know you all are very busy and I see this is the same response you give everyone; however I have read it back and forth and it doesn't really contain much trouble shooting information. Your pre-compiled release version of ffmpeg's 'cuda' option works (see above) but the Transcoding option does NOT show NVidia/Cuda; it shows VAAPI, of which your pre-compiled ffmpeg VAAPI does not work (says it cannot connect) but the system installed ffmpeg (Debian package) can use VAAPI, but not Cuda. So what in the software detects CUDA and how do I force Emby to use the cuda nvenc/nvdec? (Please take a look at my full submit above for all the details) Thanks
Luke 42078 Posted December 2, 2020 Posted December 2, 2020 Please attach the emby server log as well. thanks.
softworkz 5066 Posted December 11, 2020 Posted December 11, 2020 On 12/2/2020 at 3:19 AM, BEFamilyMedia said: Yes. I know you all are very busy and I see this is the same response you give everyone; however I have read it back and forth and it doesn't really contain much trouble shooting information. Your pre-compiled release version of ffmpeg's 'cuda' option works (see above) but the Transcoding option does NOT show NVidia/Cuda; it shows VAAPI, of which your pre-compiled ffmpeg VAAPI does not work (says it cannot connect) but the system installed ffmpeg (Debian package) can use VAAPI, but not Cuda. So what in the software detects CUDA and how do I force Emby to use the cuda nvenc/nvdec? Emby performs hw detection during startup and your hw detection log doesn't include any detection result. To find out what's happening here, we'd need to have a look at the Emby Server log, as @Luke has already pointed out.
BEFamilyMedia 0 Posted February 4, 2021 Author Posted February 4, 2021 Sorry I didn't realize I did not reply- I got this working by way of running the Emby docker image under nvidia-docker. When I wrote this post I had manually installed Emby in a non-virtualized Ubuntu Linux environment and was having problems with the hardware detection despite having compiled the Intel VAAPI and installing the latest NVidia drivers etc. Using nvidia-docker and the Docker image for the latest Emby has provided a much more consistent setup and allows me to upgrade or downgrade and bring the service back up in mere minutes. I haven't had any problems, for the most part, since. There is one issue I cannot rectify and that is live TV recording. I have a live TV feed via M3U playlist files and have a TV guide setup provided. The guide shows what programs are playing when and I can click one at either a future time or in the present and click 'Record' but nothing gets recorded. There are no files in the recording directory. I verified permissions on it and all seems well. Is there something I'm missing re: recording? I have followed the directions as provided. Thanks
Luke 42078 Posted February 5, 2021 Posted February 5, 2021 We'd have to look at the server log from the time when the recording was supposed to happen. thanks.
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