Jump to content

Some parts of dashboard not loading while NVENC stream


Recommended Posts

MindBullet
Posted

Hey guys!

I'm stumbling upon another problem. I use Nvidia Envenc for hardware acceleration and I'm also using decoding for almost all codecs. Everything is finally working great with simaltanous transcodes and I finally found my 'perfect' settings for now - I'm super happy.

 

Anyways what is more of a cosmetic problem: The transcoding section in the dashboard, as well as some parts of the overview don't seem to load/work, while a transcode(s) with this specific settings is (are) running.

 

It's really not a huge problem, but I thought I should let the devs know.

 

Have a day full of joy and nice people ahead of you :)

maegibbons
Posted

Hey guys!

 

I'm stumbling upon another problem. I use Nvidia Envenc for hardware acceleration and I'm also using decoding for almost all codecs. Everything is finally working great with simaltanous transcodes and I finally found my 'perfect' settings for now - I'm super happy.

 

Anyways what is more of a cosmetic problem: The transcoding section in the dashboard, as well as some parts of the overview don't seem to load/work, while a transcode(s) with this specific settings is (are) running.

 

It's really not a huge problem, but I thought I should let the devs know.

 

Have a day full of joy and nice people ahead of you :)

 

What settings are you actually using?

 

Krs

 

Mark

MindBullet
Posted

Hi there, please attach the information requested in how to report a problem. thanks !

 

I will asap!

 

 

What settings are you actually using?

 

Krs

 

Mark

 

I'm using Nvidia hw, encoding enabled and decoding enabled for everything except VC1. On a windows 10 machine with an intel chip and a GeForce GTX 1050.

 

________________________________________________________________________

 

Seems again like one of my 'older' problems is back. I enable it and it seems to be working fine until it gets disabled automatically at some point, which I cannot determine yet. (Thread located here) At least it seems to be disabled, when I come back to the transcoding tab they're all unticked - if I reboot server right afterwards it's ticked again  :wacko:

MindBullet
Posted (edited)

So these are the logs (MB Server 3.5.2.0) (concerning the problem I mentioned above). Transcoding section and and dashboard now working fine! I guess it was just a glitch yesterday, so that's not a problem anymore.

 

But the other problem I have is still, that Hardware Decoding section is unticked, when I go into the transcoding tab while transcodes are running. If I reboot the server they're ticked again.

 

What I did now is:

- enable decoding (NVIDIA) for everything except VC1

- let a transcode from a remote device start

- hardware decoding is unticked for everything in the transcode tab

 

Could anybody tell me (from the logs maybe), whether hw-decoding is still turned on, even tho it's showing it's not? @@Luke Maybe it's just a displaying bug or something.

Please see the photos attached:

 

5b5f394e8878d_display1.png   

 

 

5b5f39631c8e8_display2.png

 

 

If I'd reboot the server now, everything would be ticked again

 

EDIT: From what my noobish eye can see in the transcode logs, hw-acceleration and decoding is enabled, am I right?

embyserver.txt

ffmpeg-transcode Upload.txt

Edited by GodOnEmby
  • 2 weeks later...
Posted

@ are you able to reproduce this?

  • Like 1
Guest asrequested
Posted

I'll have to test it on my beta, when I get home.

  • Like 1
MindBullet
Posted

Thank you guys for investigating in this regard :):wub:

Guest asrequested
Posted

Ok, so I can't test these exact parameters. The only HWA I can test, is QS (don't know if that makes a difference). And that is on my Beta, which doesn't have an open port for me to test, remotely. So what I've tried, forcing transcode (LAN), with the settings that you've been using. I have not reproduced this.

 

If you force transcode in your LAN, do you get the same issue?

MindBullet
Posted

Ok, so I can't test these exact parameters. The only HWA I can test, is QS (don't know if that makes a difference). And that is on my Beta, which doesn't have an open port for me to test, remotely. So what I've tried, forcing transcode (LAN), with the settings that you've been using. I have not reproduced this.

 

If you force transcode in your LAN, do you get the same issue?

 

Thank you for taking your time! :) If you could tell me how I can force a transcode within my own LAN I'll gladly test this. I already tested from another computer with another network and from my mobile. I get the same behaviour as described above

Guest asrequested
Posted

Thank you for taking your time! :) If you could tell me how I can force a transcode within my own LAN I'll gladly test this. I already tested from another computer with another network and from my mobile. I get the same behaviour as described above

 

All you have to do is lower the in app bitrate to below your media bitrate, and play.

MindBullet
Posted (edited)

All you have to do is lower the in app bitrate to below your media bitrate, and play.

 

Oh yeah how stupid :D So I set it to 1MB/s and it transcoded it and yes, I do get the same behaviour like I stated earlier. I have no idea whether this is just a cosmetic problem, since I believe (from what my eyes can tell, please see my logs from my earlier post), that the hardware decoding is still enabled while transcoding, but I'm not sure about this. Anyways if I come back to the transcode tab HWA (NVENC) and encoding are still enabled, only the decoding options (x264, HEVC, etc.) are somehow unticked :(

 

Is there anything I can provide you with for you to comprehend this?

Edited by MindBullet
Guest asrequested
Posted

This is what's in that transcode log, that you posted earlier

Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_nvenc))
  Stream #0:1 -> #0:1 (copy)

So hwa decoding wasn't used, only encoding

MindBullet
Posted (edited)

This is what's in that transcode log, that you posted earlier

Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_nvenc))
  Stream #0:1 -> #0:1 (copy)

So hwa decoding wasn't used, only encoding

 

 

Oh okay. That's bad :( What might cause this?

 

Could this be hardware related? I have an intel i7 core chipset with an NVIDIA GTX 1050. As I read on the NVIDIA product page, the GTX 1050 indeed is capable of decoding. However, might this just not be the correct HWA and decoding settings for me?

 

Should I use QuickSync instead? (I've had problems with that also :/)

Edited by MindBullet
Guest asrequested
Posted

Oh okay. That's bad :( What might cause this?

 

Could this be hardware related? I have an intel i7 core chipset with a NVIDIA GTX 1050. As I read on the NVIDIA product page, the GTX 1050 indeed is capable of decoding. However, might this just not be the correct HWA and decoding settings for me?

 

ffmpeg is what is responsible for passing the instruction (that's putting it simply), so the issue may lay there. Let me get mister @@Waldonnis involved. He may have a thought or two :)

  • Like 1
MindBullet
Posted

ffmpeg is what is responsible for passing the instruction (that's putting it simply), so the issue may lay there. Let me get mister @@Waldonnis involved. He may have a thought or two :)

 

Okay sounds great! I'm curious as hell what the problem might be and I'll be glad as heaven, if somebody might be able to fix it :) Thank you for your efforts! <3

MindBullet
Posted (edited)

@ So I tried a few things among QuickSync. This is the output from the log. That seems to decode, am I right?

Stream mapping:
  Stream #0:0 -> #0:0 (h264 (h264_qsv) -> h264 (h264_qsv))
  Stream #0:1 -> #0:1 (dts (dca) -> mp3 (libmp3lame))

Maybe I should just stay with QuickSync? I was experiencing troubles with it too (same problem /sometimes/ as with NVENC), but this seems to do the job right?

 

EDIT 1: Okay, after I quit the stream using QuickSync the decoding options were disabled again and the log printed the following

EDIT 2: If Quicksync is enabled and decoding I also notice a lot of stuttering, like the picture pauses for 0,3 seconds sometimes and also the picture is flashing black from time to time :(

Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_qsv))
Edited by MindBullet
Guest asrequested
Posted

Your iGPU will be able to do more simultaneous transcodes than your Nvidia GPU, so if it's working (and it looks like it is), I'd say keep using it.

MindBullet
Posted

Your iGPU will be able to do more simultaneous transcodes than your Nvidia GPU, so if it's working (and it looks like it is), I'd say keep using it.

 

 

Please see my edit above  :wacko:

Guest asrequested
Posted

What were you trying to play?

MindBullet
Posted (edited)

What were you trying to play?

 

I tried to play an h264 and a VC1 movie, but please bear with me, as I think the problem might not be related to decoding at all, as I just installed a new Windows Developer Preview build, which is more likely to cause the problems with stuttering and black flashes. Windows, please...

 

 

Edited by MindBullet
MindBullet
Posted (edited)

@ so after rolling back to a previous windows build (yuck!) and testing a lot I've come to these conclusions.

 

- QuickSync is working!

- QuickSync is enabled 100%!

- QuickSync works very well with h264

- It doesn't work too well with VC1 (for me). It loads and decodes and hwa's, but when skipping a few minutes in the stream, the movie freezes forever, so I turned that off (Please see the attached logs. Maybe you can find something)

- It seems to be working with Hyper efficient video codec, but the logs print a few errors. Pease see the following code

 

Logs for HEVC decoding:

Stream mapping:
  Stream #0:0 -> #0:0 (hevc (hevc_qsv) -> h264 (h264_qsv))
  Stream #0:1 -> #0:1 (dts (dca) -> ac3 (native))
Press [q] to stop, [?] for help
[hevc_qsv @ 00000282f9ea4480] Could not load the requested plugin '15dd936825ad475ea34e35f3f54217a6': specified object was not found (-9)
[hevc_qsv @ 00000282f9ea4480] Error loading plugins
[hevc_qsv @ 00000282f9ea4480] Error initializing an MFX session
Error while decoding stream #0:0: Function not implemented
[hevc_qsv @ 00000282f9ea4480] Error initializing the MFX video decoder: invalid video parameters (-15)
Error while decoding stream #0:0: Invalid argument

Does that help a little?

 

 

Kind regards from germany :)

error VC 1.txt

Edited by MindBullet
Posted

@@Waldonnis do you think we should just use dxva as the decoder with quicksync as well? do you think that will help here?

MindBullet
Posted (edited)

@@Luke thanks for joining the discussion.

 

@ Same procedure as every year: When only enabling decoding for h264 and then playing a HEVC file, everything is unticked again (With QuickSync). Back to the roots I guess :/

 

EDIT: These are the logs for a HEVC file, with hevc disabled in emby dashboard settings. Should that be like that?  :huh:

 

Stream mapping:
  Stream #0:0 -> #0:0 (h264 (h264_qsv) -> h264 (h264_qsv))
  Stream #0:1 -> #0:1 (copy)

So far only h264 transcodes seem to work flawlessly (for me)

Edited by MindBullet

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...