Jump to content


Photo

OMV DOCKER EMBY problem with VAAPI

OMV Emby Vaapi Transcode

  • Please log in to reply
33 replies to this topic

#1 ZiemaF OFFLINE  

ZiemaF

    Member

  • Members
  • 18 posts
  • Local time: 05:19 PM
  • LocationPoland

Posted 07 January 2019 - 01:08 PM

Hi,

I can not run VAAPI on my server.
My server is on an i5-8600K processor, OMV 0.4 4.1.17-1 installed.
EMBY is placed on DOCKER
EMBY works great except for VAAPI.

Please help me how to run it.

Attached Files



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 124107 posts
  • Local time: 12:19 PM

Posted 07 January 2019 - 01:20 PM

Hi, can you please describe the problem? thanks !



#3 ZiemaF OFFLINE  

ZiemaF

    Member

  • Members
  • 18 posts
  • Local time: 05:19 PM
  • LocationPoland

Posted 07 January 2019 - 02:32 PM

GPU video transcoding in the Intel processor does not work.
Generally emby works well, but the GPU transcoding does not work.
I have the OpenMediaVault system installed on the server.
Docker is running on the server.
And on Docker is running EMBY.
Installations I made according to
https://hub.docker.c...mby/embyserver/
The user "emby" is created with id: 1000, and I added it to the "video" group (id: 44)
All transcoding goes through all 6 processor cores.
I do not know what I did wrong.

#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 124107 posts
  • Local time: 12:19 PM

Posted 07 January 2019 - 02:38 PM

Ok, this has all been revamped in the upcoming new release. I would try that once available. Thanks !



#5 ZiemaF OFFLINE  

ZiemaF

    Member

  • Members
  • 18 posts
  • Local time: 05:19 PM
  • LocationPoland

Posted 07 January 2019 - 02:50 PM

When will it be?

Do you think it's EMBY fault?
I am afraid that I have set something wrong. :-)

#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 124107 posts
  • Local time: 12:19 PM

Posted 07 January 2019 - 03:01 PM

Soon. You can learn more about all of the great new development here:

https://emby.media/c...ation-settings/

 

Thanks.



#7 ZiemaF OFFLINE  

ZiemaF

    Member

  • Members
  • 18 posts
  • Local time: 05:19 PM
  • LocationPoland

Posted 17 January 2019 - 04:42 AM

Hi,

 

I have a new version of EMBY 4.0.0.2 installed.
I still have a problem with hardware transcoding.
What can I do now?
 

Attached Files



#8 matty87a OFFLINE  

matty87a

    Advanced Member

  • Members
  • 35 posts
  • Local time: 05:19 PM

Posted 17 January 2019 - 05:49 AM

Did you specify the below in your docker run?

--device /dev/dri/renderD128

My docker-compose file is below which works with Vaapi in case it helps (obviously the ports,mounts and uid/gid will be different)

version: '2'
services:
  emby:
    image: emby/embyserver:beta
    restart: unless-stopped
    environment:
      - PUID=112
      - GID=114
      - VIRTUAL_HOST=watch.domain.name
      - LETSENCRYPT_HOST=watch.domain.name
      - LETSENCRYPT_EMAIL=test@example.com
      - GIDLIST=44
      - VIRTUAL_PORT=8096
    ports:
      - "9096:8096"
    expose:
      - "8096"
    volumes:
      - emby_config:/config:rw
      - /media/:/media:rw
    devices:
      - /dev/dri/renderD128

volumes:
  emby_config:
    external: true

networks:
  default:
    external:
      name: Backend


#9 ZiemaF OFFLINE  

ZiemaF

    Member

  • Members
  • 18 posts
  • Local time: 05:19 PM
  • LocationPoland

Posted 17 January 2019 - 09:06 AM

I have everything well set up.
What else do you suggest?

Attached Files

  • Attached File  dev.jpg   24.82KB   2 downloads
  • Attached File  dev2.jpg   92.17KB   2 downloads
  • Attached File  id.jpg   16.76KB   2 downloads
  • Attached File  id2.jpg   18.64KB   2 downloads


#10 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 124107 posts
  • Local time: 12:19 PM

Posted 17 January 2019 - 01:29 PM

Can you please attach the emby server and hardware detect log? thanks.



#11 ZiemaF OFFLINE  

ZiemaF

    Member

  • Members
  • 18 posts
  • Local time: 05:19 PM
  • LocationPoland

Posted 17 January 2019 - 02:26 PM

The files you asked for are in the attachment.

Attached Files



#12 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 124107 posts
  • Local time: 12:19 PM

Posted 17 January 2019 - 03:14 PM

@softworkz



#13 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 124107 posts
  • Local time: 12:19 PM

Posted 17 January 2019 - 03:16 PM

Docker is a bit  more difficult and will require setup on your part, for example see @zeimaf's post #9.

 

Did you also map the device, for example:

--device=/dev/dri/card1:/dev/dri/card0 --device /dev/dri/renderD129:/dev/dri/renderD128

This is just an example and may not work for you.



#14 ZiemaF OFFLINE  

ZiemaF

    Member

  • Members
  • 18 posts
  • Local time: 05:19 PM
  • LocationPoland

Posted 18 January 2019 - 03:51 AM

How do I check "vainfo" then return it to me (vainfo.jpg)
Something is wrong
 
Maybe somehow I need to install graphics card drivers (intel)

Attached Files



#15 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 124107 posts
  • Local time: 12:19 PM

Posted 19 January 2019 - 12:50 AM

 

Maybe somehow I need to install graphics card drivers (intel)

 

 

Yes this is very possible. Can you do that? 



#16 ZiemaF OFFLINE  

ZiemaF

    Member

  • Members
  • 18 posts
  • Local time: 05:19 PM
  • LocationPoland

Posted 12 February 2019 - 03:08 AM

I managed to find out more about this problem.
Debian 9 "stretch" does not have a driver for Intel's 8th generation "Coffee Lake" processors. i965-va-driver version (1.7.3-1)
Only in Debian 10 "buster" is the driver for new Intel processors. i965-va-driver version (2.2.0 + dfsg1-2)
OMV 4 is based on Debian 9.
I added drivers for graphics from Debian 10 to Debian 9 (OMV).
 
vainfo after installing drivers from Buster
root@OMV:~# vainfo
error: XDG_RUNTIME_DIR not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.4.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_4
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.4 (libva 2.2.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Coffee Lake - 2.3.0
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Simple            : VAEntrypointEncSlice
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointEncSliceLP
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointEncSliceLP
      VAProfileH264MultiviewHigh      : VAEntrypointVLD
      VAProfileH264StereoHigh         : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD

It looks like everything is ok.
 
But hardware transcode in EMBY still does not work.
I attach the EMBA logs in the attachments.
 
It is not easy to run EMBY on Docker on OMV :)
 

Attached Files



#17 bigverm23 OFFLINE  

bigverm23

    Advanced Member

  • Members
  • 57 posts
  • Local time: 05:19 PM

Posted 14 February 2019 - 12:17 PM

you might have already realized this but you need to install any graphics drivers, including VAAPI inside of Docker.



#18 ZiemaF OFFLINE  

ZiemaF

    Member

  • Members
  • 18 posts
  • Local time: 05:19 PM
  • LocationPoland

Posted 14 February 2019 - 03:12 PM

I did not come up with this idea.
Do you know how to install these gpu drivers in the docker?

Wysłane z mojego LG-H870 przy użyciu Tapatalka

#19 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 124107 posts
  • Local time: 12:19 PM

Posted 17 February 2019 - 03:05 PM

our official docker already ships a vaapi driver. Perhaps the container isn't being granted access to the gpu?



#20 ZiemaF OFFLINE  

ZiemaF

    Member

  • Members
  • 18 posts
  • Local time: 05:19 PM
  • LocationPoland

Posted 17 February 2019 - 05:03 PM

How can I check it?

Wysłane z mojego LG-H870 przy użyciu Tapatalka





Also tagged with one or more of these keywords: OMV, Emby, Vaapi, Transcode

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users