Jump to content

Unraid Docker hardware transcoding not working.


Go to solution Solved by my95z34,

Recommended Posts

Posted

So, a few months ago, for whatever reason, I disabled hardware transcoding.  I was running into bottlenecks with TDARR and Emby both trying to use the GPU for transcoding and it not being able to keep up.  So, in my infinite wisdom decided to keep TDARR with the GPU, and Emby on the CPU.  (I know... dumb...)  But for the last few weeks I've been trying to switch it the other way around, and now Emby refuses to work with hardware.  I keep getting the "No compatible streams are available" error.  When I disabled it, I don't think I changed anything in the Unraid docker config.  I just disabled it in the transcode settings in Emby itself.  I've attached logs.  

 

I've tried two different versions of the drivers.  As well as the official docker, and binhex.  Both with the same results.  IDFK what else to do...

 

Any help would be greatly appreciated.

embyserver.txt ffmpeg-transcode-5941a232-18d4-4b0c-863a-84dd71b5a166_1.txt ffmpeg-transcode-caaad69e-9807-445c-abb4-21dd27bc0e89_1.txt hardware_detection-63864919519.txt ffmpeg-transcode-f434a280-9fcb-4692-ac03-109b2c0fe87d_1.txt ffmpeg-transcode-fbc7aefb-0f66-4b5a-b74b-70eca438b182_1.txt

Posted

Only tried with that one file? Might be the file that's bad.

Posted
6 minutes ago, yocker said:

Only tried with that one file? Might be the file that's bad.

In regards to the logs, yes. But it's every single file. 

Posted
6 hours ago, my95z34 said:

In regards to the logs, yes. But it's every single file. 

Okay sorry then, mainly asked because i'm sure more knowledgeable people would ask the same.

Only thing i can think of is it might be path problems, i'm sure the Emby team has a much better idea whats wrong.

  • Like 1
Posted
20 hours ago, yocker said:

Okay sorry then, mainly asked because i'm sure more knowledgeable people would ask the same.

Only thing i can think of is it might be path problems, i'm sure the Emby team has a much better idea whats wrong.

Path problems? Like to the video file? Cpu software transcoding works fine. But gpu hardware transcoding doesn't. So Idk what to do, lol

Posted
10 minutes ago, my95z34 said:

Path problems? Like to the video file? Cpu software transcoding works fine. But gpu hardware transcoding doesn't. So Idk what to do, lol

Can you screenshot your unraid settings? Be sure to check advanced settings and redact important info.

Posted
3 hours ago, my95z34 said:

Path problems? Like to the video file? Cpu software transcoding works fine. But gpu hardware transcoding doesn't. So Idk what to do, lol

I meant throttle, don't know where the path came from.

The transcode logs says ">> ThrottleBySegmentRequest: Latest request position unknown"
I've had that happen once before and when it did the server kind of went to town on that file and transcoded the whole file in one go at full blast. It was only on one specific file and it never worked right with that file.

Posted
On 10/20/2024 at 12:47 PM, guunter said:

Can you screenshot your unraid settings? Be sure to check advanced settings and redact important info.

Attached.  Sorry for the taskbar going through the middle.  I had to stretch the window across my two monitors to get it all on one screen and still legible, lol

unraid-emby.png

Posted
7 hours ago, my95z34 said:

Attached.  Sorry for the taskbar going through the middle.  I had to stretch the window across my two monitors to get it all on one screen and still legible, lol

unraid-emby.png

Hmm. Looks good to me. Did you try transcoding on different devices and the web browser?

  • 3 weeks later...
Posted
On 10/22/2024 at 11:48 PM, guunter said:

Hmm. Looks good to me. Did you try transcoding on different devices and the web browser?

Yep, mobile and Android.

Posted
1 hour ago, my95z34 said:

Yep, mobile and Android.

Can't seem to edit my comment.  But I mistyped.  Web and Android is what I meant.

  • 4 weeks later...
Posted

Did you try changing your transcode folder? Maybe try RAM. Add a path on the container: /transcode and host: /dev/shm

Posted (edited)
21 hours ago, guunter said:

Did you try changing your transcode folder? Maybe try RAM. Add a path on the container: /transcode and host: /dev/shm

I can try.  Regular CPU transcodes work properly, so I'm not sure that's the issue.  But I'll give it a shot once people aren't watching anything, lol.  I'd hate to kill the server in the middle of a movie. XD

 

//edit// I used to have it transcode to ram, but I started having issues with Emby not clearing space.  So my ram would slowly fill up.  It's currently going to /.../emby-cache, a share on the cache drive

Edited by my95z34
Posted (edited)

Can you try with the official emby docker.

emby/embyserver:latest

Edited by Neminem
Posted

Switched to the official Emby docker and now I'm not getting anything.  Docker logs show:

 

text  error  warn  system  array  login  

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.

 

But the webui never becomes available.

Posted

And now it's just dying instantly after starting.

 

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

** Press ANY KEY to close this window ** 

 

Posted

Ok.  I got that figured out.  Apparently it couldn't write to the /tmp/emby folder I had set up for ram transcoding.  That was causing it to hang up while starting.  Changed it to just /tmp/ and it's up and running now.  Though, still no hardware transcoding.  Getting the same "No streams available" message.

Posted
33 minutes ago, my95z34 said:

Ok.  I got that figured out.  Apparently it couldn't write to the /tmp/emby folder I had set up for ram transcoding.  That was causing it to hang up while starting.  Changed it to just /tmp/ and it's up and running now.  Though, still no hardware transcoding.  Getting the same "No streams available" message.

Did you recently update to Unraid Beta 7?
If so it might have uninstalled the Nvidia driver plugin as part of making sure everything was compatible before update.

Check and see if the plugin is install in Unraid.

Posted
8 hours ago, yocker said:

Did you recently update to Unraid Beta 7?
If so it might have uninstalled the Nvidia driver plugin as part of making sure everything was compatible before update.

Check and see if the plugin is install in Unraid.

I have not messed with the beta. But I will try to fiddle with drivers. Upgrade or downgrade. See if it makes a difference. I'm at work right now, but I'll try to mess with it tomorrow. 

Posted
On 12/9/2024 at 3:38 PM, yocker said:

Did you recently update to Unraid Beta 7?
If so it might have uninstalled the Nvidia driver plugin as part of making sure everything was compatible before update.

Check and see if the plugin is install in Unraid.

Currently have 550.120 driver installed.  Updating to 550.135, unless there's a different one you think I should try.

Posted
42 minutes ago, my95z34 said:

Currently have 550.120 driver installed.  Updating to 550.135, unless there's a different one you think I should try.

Was just wondering if any driver you had installed would have been uninstalled in case you had updated Unraid.
When updating Unraid it sometimes uninstalls plugins that it deems as outdated or no longer supported to ensure everything will run as it should.

Try asking in the official Unraid forum, the devs might be able to help.

Posted
2 minutes ago, yocker said:

Was just wondering if any driver you had installed would have been uninstalled in case you had updated Unraid.
When updating Unraid it sometimes uninstalls plugins that it deems as outdated or no longer supported to ensure everything will run as it should.

Try asking in the official Unraid forum, the devs might be able to help.

Gotcha, yeah I get what you're saying.  It appears the plugin and drivers were still installed.

 

And, in my entirely unprofessional opinion, it does seem to be an Emby issue, not an Unraid one.  Because drivers are installed.  GPU is passed to Emby.  Emby sees GPU but just doesn't want to use it.  If I open transcoding, advanced, it sees everything that the GPU is capable of.  So IDFK.

Posted
4 hours ago, my95z34 said:

Gotcha, yeah I get what you're saying.  It appears the plugin and drivers were still installed.

 

And, in my entirely unprofessional opinion, it does seem to be an Emby issue, not an Unraid one.  Because drivers are installed.  GPU is passed to Emby.  Emby sees GPU but just doesn't want to use it.  If I open transcoding, advanced, it sees everything that the GPU is capable of.  So IDFK.

Yeah, the people on the Unraid forum gets a lot of posts about media servers so some one might know the answer there from experience or Linux magic. :)

Anyway.
Try and disable all subtitles with the "
Emby Diagnostics" plugin.
Found a post or two where people had a similar problem that got fixed by doing that.

Don't worry if that's the problem, there are ways around it, specially when running Unraid.

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