Jump to content

Transcoding Linux GPU


Recommended Posts

intranetsnob
Posted

Hi there,

 

How do you know if your container is being transcoded on the WEB UI (dashboard) using GPU instead of CPU.

 

also, how do you enable GPU transcode

 

Thank you.

Happy2Play
Posted

What do you see on the Dashboard Active Devices?  As you can see in my test it is using GPU for decoding and encode, otherwise it would show software for both.

 

5de311655500c_trans.jpg

 

What is Dashboard-Transcoding "Enable hardware acceleration when available" set to?

intranetsnob
Posted

Hi,

 

See attached what mine shows. 

 

Definitely nothing like yours plus no blue icon on the side either. + screenshot attached for dashboard settings.

post-535248-0-61938900-1575171537_thumb.png

post-535248-0-94007400-1575171547_thumb.png

post-535248-0-22454600-1575171563_thumb.png

Happy2Play
Posted

Hi,

 

See attached what mine shows. 

 

Definitely nothing like yours plus no blue icon on the side either. + screenshot attached for dashboard settings.

 

Have you looked through the Wiki for Linux?  If you have the devs will probably need the hardware_detection and maybe server log.

 

https://github.com/MediaBrowser/Wiki/wiki/Hardware-Acceleration-on-Linux

intranetsnob
Posted

Thanks, I will look through it again.

 

Was there anything you did on the dashboard to enable your GPU?

Happy2Play
Posted

I am on Windows, but I only enabled transcoding to yes via the dashboard.  Selecting Advanced allows further tweaking, but since you don't see any decoders or encoders it is more then likely one of the requirements via that wiki page.

Posted

Yes please make sure to step through that and then let us know how you get on. Thanks.

  • 2 weeks later...
intranetsnob
Posted

Hi Luke, 

 

So been going through the steps.

 

My system has an integrated igpu instead of an external gpu. 

 

Does that mean emby premium would still utilize the igpu for transcode or does it only work with external 

Posted

Hi Luke, 

 

So been going through the steps.

 

My system has an integrated igpu instead of an external gpu. 

 

Does that mean emby premium would still utilize the igpu for transcode or does it only work with external 

 

Embedded gpus are supported.

intranetsnob
Posted

Thanks.

 

I can not figure out if my igpu actually works with transcode.

 

Is there a way to identify this?

 

Slightly lost here as would like to see it running to take the load of cpu

intranetsnob
Posted

What processor is it? Does it support Quick Sync?

 

You can typically look it up here:

 

https://ark.intel.com/content/www/us/en/ark/products/126684/intel-core-i7-8700k-processor-12m-cache-up-to-4-70-ghz.html

 

Hi mate, 

 

this is the processor https://ark.intel.com/content/www/us/en/ark/products/186605/intel-core-i9-9900k-processor-16m-cache-up-to-5-00-ghz.html

 

so definitely supports Quicksync but I can not get igpu showing up on the emby option within panel, wondering if it is because it is installed via docker

intranetsnob
Posted

Hi,

 

I have enabled it through pgblitz but enabled.

 

What is the correct command to ensure it enabled?

 

I still don't get it recognized inside emby under transcode, advanced, preferred hardware

Posted

I still don't get it recognized inside emby under transcode, advanced, preferred hardware

 

We don't officially support this inside Docker yet, so right now we don't have all the answers about how to set it up. But others have done it, so it can work, it just requires some user setup on your part.

intranetsnob
Posted

Ok Luke,

 

Thank you for that. It's a far stretched and does not make sense why it doesn't show under the advance options.

Posted (edited)

Is there a way to confirm from the CLI debug output that hardware decoding is actually being used?

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Tutuapp9appsShowbox

Edited by clarc
D34DC3N73R
Posted

Your docker run command or docker-compose would help diagnose the issue. Are you adding `--device=/dev/dri` ?

intranetsnob
Posted

All I want is the Emby via docker to recognize the igpu, it is enabled however for some reason not passing through the docker.

 

I also want to avoid sideloading it as that seems to be the only way if docker does not recognize the igpu

D34DC3N73R
Posted

All I want is the Emby via docker to recognize the igpu, it is enabled however for some reason not passing through the docker.

I also want to avoid sideloading it as that seems to be the only way if docker does not recognize the igpu

Not sure what you mean by sideloading. This is the docker-compose I use with an igpu

  emby:
    image: emby/embyserver
    container_name: emby
    restart: unless-stopped
    ports:
      - 8096:8096
      - 8920:8920
    environment:
      - TZ=$TZ
      - UID=$PUID
      - GID=$GUID
      - GIDLIST=$VIDEOGID
    volumes:
      - /home/admin/.config/emby:/config
      - /data/media/Video:/data/media/Video
      - /data/media/Music:/data/media/Music
      - /dev/shm:/transcode
    devices:
      - /dev/dri:dev/dri

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