Jump to content

Emby Container Issues - Help Please


Go to solution Solved by guunter,

Recommended Posts

Posted

Hi,

I had my Nividia GPU p22000 working fine with Plex, using the Linuxserver docker. So,  I decided when I came back to Emby I would use the same docker brand. For the life of me I can't get  it to see my card, but the system shows the card is there(See attachment)., but Emby won't pick it up. I put all the required settings in from the guide that's out there. and rebooted.  I did go to Advanced settings, doesn't show card. The only thing I haven't tried is removing the drivers and putting them back in. They were working for Plex so I didn't see any need to. I'm using the Nvidia Driver plugin from Unraid. Tried downgrading the drivers one version. (I'm up to date)

I tried to switch to the official container,  I matched the Official template with mine, and copied the folders over. I couldn't get it  to connect. It could be because of one the following reasons, something not syncing properly.

I'm using a domain with Cloudflare (DNS Only} SSL being generated by Swag.
I have the container on it's own docker network, which shouldn't matter. 

If i copied the exact same folders over I don't see why it wouldn't work, using the same ports.

I'm just cautious about losing my data. It was a lot of work to set this up with the users. I wouldn't mined going to the official docker, it may solve my problems with the GPU. Not sure which direction to take. 

Any Suggestions?

Thank you.
 

 

2.jpg

Posted

Did you make sure to add the variables,

NVIDIA_VISIBLE_DEVICES = (your GPU. should be same as plex)

NVIDIA_DRIVER_CAPABILITIES = yes

 

and also in advanced extra parameters add, --runtime=nvidia

  • Agree 1
Posted
22 hours ago, guunter said:

Did you make sure to add the variables,

NVIDIA_VISIBLE_DEVICES = (your GPU. should be same as plex)

NVIDIA_DRIVER_CAPABILITIES = yes

 

and also in advanced extra parameters add, --runtime=nvidia

Yes, should it not be "all" and not yes? 

Posted
2 hours ago, Bigdog5000 said:

Yes, should it not be "all" and not yes? 

Oh yeah meant all lol

darkassassin07
Posted

A couple excerpts from my docker compose file:

 

 

runtime: nvidia

environment:

      - UID=1000

      - GID=1000

      - GIDLIST=1000,44,104

      - NVIDIA_VISIBLE_DEVICES=all

      - NVIDIA_DRIVER_CAPABILITIE S=all

devices:

      - /dev/dri:/dev/dri

 

 

 

The above GIDLIST is the user group emby runs under, the group id for /dev/dri/card0, and the group id for /dev/dri/renderD128

If I remember correctly, HW transcoding wasn't working for me until I got those right.

Posted
13 hours ago, darkassassin07 said:

A couple excerpts from my docker compose file:

 

 

runtime: nvidia

environment:

      - UID=1000

      - GID=1000

      - GIDLIST=1000,44,104

      - NVIDIA_VISIBLE_DEVICES=all

      - NVIDIA_DRIVER_CAPABILITIE S=all

devices:

      - /dev/dri:/dev/dri

 

 

 

The above GIDLIST is the user group emby runs under, the group id for /dev/dri/card0, and the group id for /dev/dri/renderD128

If I remember correctly, HW transcoding wasn't working for me until I got those right.

This is what I have in the lower part right now. Should I change all those out for your settings? I appreciate you sending feedback. This is driving me crazy. LOL

settings.jpg

darkassassin07
Posted

If you have an option to add a GIDLIST, probably via an environment variable, make sure it contains your emby gid (looks like its gid 100 from your screenshot) and the user groups for your card (ls -ln /dev/dri/).

 

If not, perhaps you can add user 99 to the usergroups your card is in. Tho I'm not very familiar with this part (linux permissions.... Really not my Forte). I'd welcome additional advice.

Posted
9 hours ago, Bigdog5000 said:

This is what I have in the lower part right now. Should I change all those out for your settings? I appreciate you sending feedback. This is driving me crazy. LOL

settings.jpg

My Emby works fine with those settings. Those are the root uid and gid that unraid uses so don’t change it… if you were doing docker compose in Linux you’d do what @darkassassin07did

Posted

Just to double check you have premier right? I’m not sure if that’s affecting your gpu to be seen.

Posted
13 hours ago, guunter said:

Just to double check you have premier right? I’m not sure if that’s affecting your gpu to be seen.

Yes, I do. I put those settings in and still won't see it. I might try pulling the drivers out, reinstalling.

Thanks

Posted
On 23/09/2024 at 01:08, darkassassin07 said:

A couple excerpts from my docker compose file:

 

 

runtime: nvidia

environment:

      - UID=1000

      - GID=1000

      - GIDLIST=1000,44,104

      - NVIDIA_VISIBLE_DEVICES=all

      - NVIDIA_DRIVER_CAPABILITIE S=all

devices:

      - /dev/dri:/dev/dri

 

 

 

The above GIDLIST is the user group emby runs under, the group id for /dev/dri/card0, and the group id for /dev/dri/renderD128

If I remember correctly, HW transcoding wasn't working for me until I got those right.

Here's some images

pic1.jpg

pic2.jpg

pic3.jpg

pic4.jpg

pic5.jpg

pic6.jpg

Posted
5 minutes ago, Bigdog5000 said:

Here's some images

pic1.jpg

pic2.jpg

pic3.jpg

pic4.jpg

pic5.jpg

pic6.jpg

I think I got it guys, I noticed a typo in pic 2 when I was putting them in. I have attached an image. Did it select everything i need? Thanks very very much for the assistance.

gotit.jpg

  • Like 1
  • Agree 1
Posted (edited)
22 hours ago, darkassassin07 said:

If you have an option to add a GIDLIST, probably via an environment variable, make sure it contains your emby gid (looks like its gid 100 from your screenshot) and the user groups for your card (ls -ln /dev/dri/).

 

If not, perhaps you can add user 99 to the usergroups your card is in. Tho I'm not very familiar with this part (linux permissions.... Really not my Forte). I'd welcome additional advice.

 

Edited by Bigdog5000
Posted
22 hours ago, darkassassin07 said:

If you have an option to add a GIDLIST, probably via an environment variable, make sure it contains your emby gid (looks like its gid 100 from your screenshot) and the user groups for your card (ls -ln /dev/dri/).

 

If not, perhaps you can add user 99 to the usergroups your card is in. Tho I'm not very familiar with this part (linux permissions.... Really not my Forte). I'd welcome additional advice.

Thanks very much, now just have to wait and see if it works. Don't see why not. Might have to adjust to your numbers maybe. It's progress.👍

 

  • Like 1
Posted
3 hours ago, Bigdog5000 said:

Thanks very much, now just have to wait and see if it works. Don't see why not. Might have to adjust to your numbers maybe. It's progress.👍

 

It's always something super easy lol. But i would change it back to 99,100. Unraid was intended to use 99 and 100 (nobody). You don't need the GIDLIST either for passthrough to work on unraid.

  • Agree 1
  • Thanks 1
Posted
18 hours ago, guunter said:

It's always something super easy lol. But i would change it back to 99,100. Unraid was intended to use 99 and 100 (nobody). You don't need the GIDLIST either for passthrough to work on unraid.

This is strange, the movie is showing transcode, but the gpu is showing it is not in use. The movie shouldn't even be transcoding, it's a newer Fire stick they are using.  My gpu always shows Processes: 1 no matter what. Something is still off a bit.  FYI: I have a 3 gig  Fiber line.

trans1.jpg

stats.jpg

Posted

Have you tried another HEVC video file? It looks like your Firetv couldnt play that format.

Happy2Play
Posted

Would need server and ffmpeg logs for that example but "recovering from playback error" suggest the play does not like something specific to the file.

  • Thanks 1
Bigdog5000
Posted
On 25/09/2024 at 16:14, guunter said:

Have you tried another HEVC video file? It looks like your Firetv couldnt play that format.

Sorry for the late response, notifications are not working for some reason. I think it has a lot to do with their tv, especially if it's a Roku tv. I'm going to try and switch to the Official Emby container again. I direct play over 90% of my media with remote users. I just make them all get newer Fire Tv devices🤣 If it's an older tv it isn't going to matter.

Thank you.

  • Thanks 1
Bigdog5000
Posted
On 25/09/2024 at 16:27, Happy2Play said:

Would need server and ffmpeg logs for that example but "recovering from playback error" suggest the play does not like something specific to the file.

I think I just have to accept the fact that it's their tv or the file.  Funny thing, a streamer with a new OLED tv and a newer Fire Stick had issues with a movie buffering in the last 15 minutes, nobody else did.  I replaced the file, and I think they were able to finish it. Never seen that before. Done a lot of movies. Most of all my users are using newer Fire Sticks. They are not the greatest thing, in general they work. I prefer the Nvidia Shield myself. Thanks for the response. Appreciate it.

Posted
14 hours ago, Bigdog5000 said:

Sorry for the late response, notifications are not working for some reason. I think it has a lot to do with their tv, especially if it's a Roku tv. I'm going to try and switch to the Official Emby container again. I direct play over 90% of my media with remote users. I just make them all get newer Fire Tv devices🤣 If it's an older tv it isn't going to matter.

Thank you.

I gave up that battle a long time ago. I am fortunate my hardware can handle what ever transcodes my family throws at me. Still hurts to see 4k hdr files transcoded to 1080p sdr but I just live with it.

  • Sad 1
Bigdog5000
Posted (edited)
11 hours ago, guunter said:

I gave up that battle a long time ago. I am fortunate my hardware can handle what ever transcodes my family throws at me. Still hurts to see 4k hdr files transcoded to 1080p sdr but I just live with it.

I hear you. I was thinking I would give some of my users a bonus, not working that way for everybody. I have a few people that might be able to direct stream 4ks. Emby doesn't play nice with HDR10+ & DV. I have to strip the HDR10+ on some of my files. Not a big deal, don't have that many with both. I can play it all fine, I guess that's all that matters🤣🤣🤣 I'm happy with my hardware as well, very seldom do I transcode. Mostly if someone is using something old. When I first started adding users I told them they had to have at least newer Fire Sticks. I figured it's free, they can spend a few bucks. LOL.

Have a question for you. How can I upgrade a Tv series without it readding it to the recently added section again?

Edited by Bigdog5000
  • Solution
Posted
20 minutes ago, Bigdog5000 said:

I hear you. I was thinking I would give some of my users a bonus, not working that way for everybody. I have a few people that might be able to direct stream 4ks. Emby doesn't play nice with HDR10+ & DV. I have to strip the HDR10+ on some of my files. Not a big deal, don't have that many with both. I can play it all fine, I guess that's all that matters🤣🤣🤣 I'm happy with my hardware as well, very seldom do I transcode. Mostly if someone is using something old. When I first started adding users I told them they had to have at least newer Fire Sticks. I figured it's free, they can spend a few bucks. LOL.

Have a question for you. How can I upgrade a Tv series without it readding it to the recently added section again?

It should be this setting here for your Library. image.png.b0e02af13c8627d0a63727e6d12beae5.png

Posted

Please note that changing this option won’t change date for content already imported, just new content going forward.

Bigdog5000
Posted
23 hours ago, guunter said:

It should be this setting here for your Library. image.png.b0e02af13c8627d0a63727e6d12beae5.png

Thank you!

  • Thanks 1

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