NattyMan0007 0 Posted March 17, 2018 Posted March 17, 2018 Hi all, I've recently upgraded my media server/personal PC's hardware, specifically to a GTX 1080 Ti and a Ryzen 7 1700X. When enabling nvidia nvenc decoding in emby settings there isn't a change to the system at all. My CPU is the only active device during transcoding while my GPU just sits at 1% usage. This is while using the web player also. I have uploaded my ffmpeg log here: https://pastebin.com/bxR4xM4X Any help would be greatly appreciated Thanks Nathaniel
Luke 42085 Posted March 17, 2018 Posted March 17, 2018 Hi, according to the above log it appears to be working just fine.
NattyMan0007 0 Posted March 17, 2018 Author Posted March 17, 2018 Hi, according to the above log it appears to be working just fine. Does FFMPEG exclusively use the GPU for decoding? That would be my ideal scenario where the GPU is used for all the decoding work. Or does it use the CPU and when it can't get any more power it switched to the GPU? That would explain why there's no GPU usage. Is there any way to force it to use the GPU exclusively?
Luke 42085 Posted March 17, 2018 Posted March 17, 2018 Actually I was wrong, i took another look. It looks like it tried to use the gpu, which then failed without an error message unfortunately. Then, in order to ensure that it just works, we automatically switched to cpu. To help narrow down the issue, what you could do is go back to the server transcoding settings, and disable either hardware decoding or hardware encoding. Try one or the other, see if one of them works by themselves. And of course i would make sure that windows updates are up to date as well as graphics drivers.
NattyMan0007 0 Posted March 18, 2018 Author Posted March 18, 2018 Actually I was wrong, i took another look. It looks like it tried to use the gpu, which then failed without an error message unfortunately. Then, in order to ensure that it just works, we automatically switched to cpu. To help narrow down the issue, what you could do is go back to the server transcoding settings, and disable either hardware decoding or hardware encoding. Try one or the other, see if one of them works by themselves. And of course i would make sure that windows updates are up to date as well as graphics drivers. Okay I finally had time to tinker. I disabled the HEVC checkbox under hardware decoding and left the "Enable hadrware encoding" checkbox checked and my Video Engine usage went straight up to 94% when I opened a HEVC file. Do I need hardware decoding turned on? I'm not aware of the difference between encoding and decoding.
Luke 42085 Posted March 18, 2018 Posted March 18, 2018 You don't need it. Just having one of them on can help. Decoding is the stage where the source file is read. Encoding is where it is converted.
NattyMan0007 0 Posted March 18, 2018 Author Posted March 18, 2018 You don't need it. Just having one of them on can help. Decoding is the stage where the source file is read. Encoding is where it is converted. That makes sense. I don't need hardware acceleration for that. My CPU can handle it. The main reason I want to leave it to the GPU is so that while I'm working in Visual Studio I don't have to deal with CPU hangs while someone requests a file. Thanks for your help
Luke 42085 Posted March 30, 2018 Posted March 30, 2018 The next release of Emby Server for Linux x64 will include NVENC support out of the box so all you need to do is enable it. Nvidia Cuda and OpenCL drivers will need to be installed first. These cannot be freely distributed by us so you will need to refer to your respective distro to learn how to install them. 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