Jump to content

Hardware Acceleration not "sticky"


Recommended Posts

MindBullet
Posted (edited)

Hello everybody,

 

I'm a long-term Plex enthusiast, coming to Emby for its vast customization options (compared to Plex) and I'm loving every aspect of Emby. However, I just can't seem to get Hardware acceleration working, as it won't "stay" turned on.

 

I have a Windows 10 machine with an Intel i5-7400, 16GBs of RAM and an Nvidia Geforce GTX 1050.

 

As I would have thought the only to options for me to accelerate the hardware would therefore be: Nvidia NVENC or QuickSync. I tried both methods (would prefer quicksync tho, since Nvidia has limitations to 2 concurrents) and both are not persistant.

 

When I turn either on, I come back 15 minutes later to the transcode section et voilá - they're turned off! I tried it with multiple settings for the codecs, having them all switched on or only one or two switched on - makes no difference at all.

 

So my question is: What can I do to get the hardware acceleration? As I know from Plex my setup definately is capable in doing so, as almost every transcode on Plex was hardware accelerated. And I'd love to have the same for Emby.

 

Could anybody point me to a direction? Or maybe there's somebody out there with the same problem? Is my rudimental assumption of either QuickSync or NVENC wrong?

If anybody could help me solving this I'd be grateful af  :lol:

 

EDIT: To avoid missunderstandings: I mean the hardware decoding options like x264, x265 etc. are not persistant

Edited by GodOnEmby
Posted

Hi, welcome. Are you sure you actually saved it? We don't have anything that would actually change the setting on you. In other words, there's no part of the server that will change your configured value.

MindBullet
Posted

@@Luke you're pretty fast with answering, I like that :D

Yes! I saved it of course. The weird thing is the time. If I come back immediately after changing the settings, it's still there. When I come back 10+ minutes later - it's not.

 

Is there anything I could try from my windows system settings? I tried playing around with the NVIDIA settings. Maybe the problem has vanished already?

And by the way: Does it make a difference if I alter these settings eith from app.emby.media or localhost:8096? As I would've thought it doesn't matter from where I change it, amirite?

 

Kind regards and thanks for your helpful and quick replies  ^_^

Posted

 

 

And by the way: Does it make a difference if I alter these settings eith from app.emby.media or localhost:8096? As I would've thought it doesn't matter from where I change it, amirite?

For these two, no, it wouldn't matter.

MindBullet
Posted (edited)

Ok that's what I thought. But you're implying that it does matter for other settings? Which ones would that be?

Anyways I have no freaggin' idea how that's possible, but the settings are now persistant. I really have no idea how that's possible, as it was behaving like I said above since I had the server installed 3 days ago, but it seems to work now. Maybe I've ticked the right thing in the NVIDIA settings? I'm too unknowing about these things, but no matter how it's working.

 

@@Luke one more question: I'm about to update the server to the current beta and I've read in the changelog that hwacc is now using dxva2. Do I still have to select QuickSynd for my computer?

Last question. Have a great day/night ahead wherever you are :)

 

EDIT: Nope. Again it's gone...

 

EDIT 2: It appears that they're gone as soon as I have anybody playing something from outside of my network

Edited by GodOnEmby
Posted

No it doesn't matter for any setting. Are you sure someone isn't just changing it?

 

 

 

Do I still have to select QuickSync for my computer?

Yes you do, but just FYI all of this is in stable now.

MindBullet
Posted (edited)

As I'm the only one having administrator privileges I guess nobody could be able to change it. I have no idea. Just to clearify the point: Hardware acceleration is constantly switched on and set to QuickSync, so is hardware encoding. But I have no luck with switching on hardware decoding for specific codecs. It just keeps getting unticked over and over again. Or maybe it's just a displaying bug? I don't have a single clue :(

Edited by GodOnEmby
Posted

Have you tried to play content that will utilize the features?

MindBullet
Posted

Have you tried to play content that will utilize the features?

 

Yeah, definately. I only have content in x264, x265 and mpeg and I belive 4 movies in VC1. Nothing else. As I said as soon as somebody plays any video file from another network the settings for hardware decoding are/seem to be turned off again

Guest asrequested
Posted

So what happens if you set it, and play something that is being transcoded? Does it stay enabled?

MindBullet
Posted (edited)

So what happens if you set it, and play something that is being transcoded? Does it stay enabled?

 

Sorry for the delay guys. I'm busy with setting up Emby and figuring things out :(

 

Well it doesn't matter whether it's a transcode or not - it doesn't stay enabled (thanks for that word :D) either way. Direct Streams included.

 

As I said earlier I was a long-term Plex user, decided to go to Emby, installed the Emby server, decided to go back to Plex and afterwards I came back to Emby again, for the last time :D Might that have something to do with it?! And to be more precise: If I, myself, play anything in my local network it stays enabled, yes

Edited by GodOnEmby
MindBullet
Posted

I think I give up on this one. As I was playing around with settings it turns out, that hardware acceleration is always enabled, just not the de-/encodings. I also read a recommendation on another thread that Intel Core PCs should leave the de-/ and endcodings untouched, so I think that's just fine for now :) Anyways thank you so much for supporting me as a bit of a noob. Have a good night or day ahead :) Love

Guest asrequested
Posted

So encoding is working but not decoding? There some adjustments being made on that. It would be helpful if you could post transcode logs with encoding and decoding, enabled. And probably with decoding, disabled.

Posted

Thanks that's good feedback. I'm going to redesign that selection UI in the near future.

MindBullet
Posted

So encoding is working but not decoding? There some adjustments being made on that. It would be helpful if you could post transcode logs with encoding and decoding, enabled. And probably with decoding, disabled.

 

 

Yeah I will, sure. But atm I have some huge traffic on my server and if I enable these settings all the streams are going to crash.

 

Thanks that's good feedback. I'm going to redesign that selection UI in the near future.

 

 

I have no idea what's wrong, even tho I think a redesign might be helpful for many users :) Maybe with some further explanations. Sorry for this entire thread. A very good thing about Emby is the high level of customization, which was the reason for me to leave Plex. But it might also be a high-level of error sources. So it can be both for noobs like me: Curse and blessing at once :D Have a great day ahead

Posted

Thanks for the feedback.

  • 2 months later...
Posted (edited)

I'm having the same issues, intel quick sync

 

I just check the last log

C:\Users\Snake98\AppData\Roaming\Emby-Server\system\ffmpeg.exe -re -i file:"\\SERVER\embytv\9-1-1\9-1-1 2018_09_23_17_00_00 - Under Pressure.ts" -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_qsv -force_key_frames "expr:gte(t,n_forced*5)" -vf "yadif=0:-1:0,scale=trunc(min(max(iw\,ih*dar)\,min(1920\,1080*dar))/2)*2:trunc(min(max(iw/dar\,ih)\,min(1920/dar\,1080))/2)*2" -preset veryslow -look_ahead 0 -b:v 9632734 -maxrate 9632734 -bufsize 19265468 -r 30 -profile:v high -level 4.1 -vsync -1 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 aac -strict experimental -ac 2 -ab 384000 -ar 44100  -y "C:\Users\Snake98\AppData\Roaming\Emby-Server\programdata\sync\d8eadf9b5cbf44eea15ddac87b0a578a\567a23647d67413b92ec4f4121cdc563\a9400f07-e62b-4b81-8da3-ea60725aa704.mp4"

I thought I was going crazy, but this has been happening for months.  Just thought I was doing something, or if hardware decode failed, it would disable it-self.  I knew it fail on mpeg2 decode with Intel quicksync, known problem, but they have it fixed in the new nightly build, which I'm using.

 

 

Using Windows version, and configuring with Firefox.

 

.

Edited by snake98
Posted

It's resolved for Emby Server 3.6. Thanks.

  • 2 months later...
Posted (edited)

I've just realised this is happening for me too. As soon as I switch to another section of the server dashboard and come back it's off again.

 

Is 3.6 coming soon? Is the beta pretty stable?

 

@@Luke

Edited by KarlDag
Posted

Yes should be soon. Thanks.

Posted

I've just realised this is happening for me too. As soon as I switch to another section of the server dashboard and come back it's off again.

 

Is 3.6 coming soon? Is the beta pretty stable?

 

@@Luke

As for the beta it's extremely stable.

I run it on both my local server and remote dedi without issue.

 

Sent from my SM-G935F using Tapatalk

  • Like 1
Posted

As for the beta it's extremely stable.

I run it on both my local server and remote dedi without issue.

 

Sent from my SM-G935F using Tapatalk

Great, thanks. 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...