Jump to content


Photo

Getting 4.4.0.40 Over the Line


  • Please log in to reply
37 replies to this topic

#1 solabc16 OFFLINE  

solabc16

    Advanced Member

  • ForumMod
  • 2017 posts
  • Local time: 07:15 PM

Posted 26 March 2020 - 01:10 PM

Hello Folks

 

I've started a new thread, so we can focus on getting this release wrapped up and out into the public domain.

 

For those of you who have been with us for the long haul, you'll know that everything for Synology/XPEnology is built from source and optimised for these platforms.

 

We don't often have the luxury of using pre-built libraries, as we actually need to provide updated system libraries in isolation from DSM in many cases.

 

So it's not always as straightforward as it may seem from the outside, but this is what we enjoy doing and it's part of the challenge/fun... and you get the best Emby Server experience on your system.

 

It's not a one way street and the work we do contributes back to the open source libraries we depend on.

 

We've just solved (I hope!), the last blocker which related to changing the SDK we use for h/w acceleration support on the Intel based platforms that have GPUs. An updated 4.4.0.30-beta is now available for 'apollolake' based systems and should be available in Package Center for those of you on the beta channel. I'll be rolling out builds for the other GPU enabled systems during the remainder of the day.

 

Please can anybody running the 4.4.0.30-2-beta beta, post their most recent server and detection logs here.

 

Best

- James

 

NOTE: If you stumble across any posts or queries about Emby Server on Synology/XPEnology, or queries about release availability, feel free to direct them to this post as a reference.

 


  • Abobader and FrostByte like this

#2 FrostByte OFFLINE  

FrostByte

    Advanced Member

  • ForumMod
  • 5045 posts
  • Local time: 02:15 PM
  • LocationThe UP

Posted 26 March 2020 - 01:24 PM

Here ya go,  

 

DS418play

 

Server

https://pastebin.com/E31K9spD

 

HW Detection

https://pastebin.com/0YEpeWV7



#3 solabc16 OFFLINE  

solabc16

    Advanced Member

  • ForumMod
  • 2017 posts
  • Local time: 07:15 PM

Posted 26 March 2020 - 01:40 PM

Thanks @FrostByte, brilliant.

 

If possible, can you run the following please from a shell and post the output here:-

sudo /var/packages/EmbyServer/target/ffmpeg/bin/vainfo

The H/W detection log is reporting the below, which doesn't look right.

       {
            "Level": 40,
            "Category": 0,
            "Message": "/dev/dri/renderD128: VA-API version: 1.6 (libva 1.6.0)"
        },

Best

- James



#4 FrostByte OFFLINE  

FrostByte

    Advanced Member

  • ForumMod
  • 5045 posts
  • Local time: 02:15 PM
  • LocationThe UP

Posted 26 March 2020 - 01:48 PM

/var/packages/EmbyServer/target/var/data/playlists/Rock Favorites [playlist]$ sudo /var/packages/EmbyServer/target/ffmpeg/bin/vainfo
libva info: VA-API version 1.6.0
libva info: Trying to open /var/packages/EmbyServer/target/ffmpeg/lib/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: Trying to open /var/packages/EmbyServer/target/ffmpeg/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_6
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.6 (libva 2.6.1)
vainfo: Driver version: Intel i965 driver for Intel(R) Broxton - 2.4.0
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSliceLP
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointEncSliceLP
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointEncSliceLP
      VAProfileH264MultiviewHigh      :	VAEntrypointVLD
      VAProfileH264MultiviewHigh      :	VAEntrypointEncSlice
      VAProfileH264StereoHigh         :	VAEntrypointVLD
      VAProfileH264StereoHigh         :	VAEntrypointEncSlice
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileJPEGBaseline           :	VAEntrypointEncPicture
      VAProfileVP8Version0_3          :	VAEntrypointVLD
      VAProfileVP8Version0_3          :	VAEntrypointEncSlice
      VAProfileHEVCMain               :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointEncSlice
      VAProfileHEVCMain10             :	VAEntrypointVLD
      VAProfileVP9Profile0            :	VAEntrypointVLD


#5 solabc16 OFFLINE  

solabc16

    Advanced Member

  • ForumMod
  • 2017 posts
  • Local time: 07:15 PM

Posted 26 March 2020 - 02:11 PM

Thanks @FrostByte

 

That's great and clears it up. How does the H/W transcoding screen look in the Emby Server dashboard?

 

And perhaps more importantly, is it behaving properly when you try to play something back with h/w assisted transcoding?

 

Best

- James



#6 FrostByte OFFLINE  

FrostByte

    Advanced Member

  • ForumMod
  • 5045 posts
  • Local time: 02:15 PM
  • LocationThe UP

Posted 26 March 2020 - 02:14 PM

The server screen looks good.  All the correct boxes are checked.  I'll test something transcoding now and get back



#7 FrostByte OFFLINE  

FrostByte

    Advanced Member

  • ForumMod
  • 5045 posts
  • Local time: 02:15 PM
  • LocationThe UP

Posted 26 March 2020 - 02:32 PM

I'm about 15 mins into watching a 4K movie in 1080p and transcoding is keeping ahead of playback.  No visible sign of buffering. 

 

Looking good.



#8 solabc16 OFFLINE  

solabc16

    Advanced Member

  • ForumMod
  • 2017 posts
  • Local time: 07:15 PM

Posted 27 March 2020 - 06:57 PM

Thanks @FrostByte.

 

----

 

Hello All

 

The updated beta package (4.4.0.30-2-beta) is now available for 'avoton', 'bromolow', 'cedarview' and 'xpenology (default arch)' as well as 'apollolake'.

 

Anybody running this update on their systems, please can you post your most recent 'embyserver' and 'hardware_detection' logs here.

 

----

 

@softworkz - a couple things I'd appreciate if you could crosscheck :-

 

1) vainfo is showing the expected output (see below)...

vainfo: VA-API version: 1.6 (libva 2.6.1)

... but we are seeing the following in the FFdetect output...

Message": "/dev/dri/renderD128: VA-API version: 1.6 (libva 1.6.0)"

...can you confirm this is just a cosmetic issue.

 

2) We are seeing 'phantom' QSV devices appearing on h/w that doesn't have a GPU available; this is since updating to the latest Emby Server version of FFmpeg. As a result transcoding starts slowly, as the h/w assisted transcode has to fail first, before reverting to the s/w implementation.

 

5e7e84bf2fd62_QSV_devices_appeared.jpg

 

----

 

Best

- James 

 

Attached File  hardware_detection-63720943362.txt   193.86KB   6 downloads


Edited by solabc16, 27 March 2020 - 07:00 PM.

  • FrostByte likes this

#9 inffy OFFLINE  

inffy

    Newbie

  • Members
  • 4 posts
  • Local time: 09:15 PM

Posted 28 March 2020 - 02:27 AM

Here are logs from DS918+

 

 

Attached Files



#10 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156686 posts
  • Local time: 02:15 PM

Posted 28 March 2020 - 12:34 PM

Hi James, the first one is just cosmetic and based on older server version logs, it looks like it's always been happening. We're looking into the quicksync entries.


  • solabc16 likes this

#11 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156686 posts
  • Local time: 02:15 PM

Posted 28 March 2020 - 12:58 PM

Hi James, the first one is just cosmetic and based on older server version logs, it looks like it's always been happening. We're looking into the quicksync entries.

 

@solabc16, regarding this, do you have a hardware detection log from 4.3 to compare to? Thanks.



#12 solabc16 OFFLINE  

solabc16

    Advanced Member

  • ForumMod
  • 2017 posts
  • Local time: 07:15 PM

Posted 28 March 2020 - 01:03 PM

@solabc16, regarding this, do you have a hardware detection log from 4.3 to compare to? Thanks.

 

I haven't got one to hand, but I can roll a system back and get one... give me a moment and I'll get this done.



#13 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156686 posts
  • Local time: 02:15 PM

Posted 28 March 2020 - 01:24 PM

That would be great, thanks.



#14 solabc16 OFFLINE  

solabc16

    Advanced Member

  • ForumMod
  • 2017 posts
  • Local time: 07:15 PM

Posted 28 March 2020 - 02:17 PM

Hello All

 

An updated beta (4.4.0.30-3-beta) is now available for 'apollolake', 'avoton', 'bromolow', 'cedarview' and 'xpenology (default arch)'.

 

We have the item above to work through, but once that is done, we should be in reasonably good shape.

 

If you are able to run this version, let us know how you get on by posting here. Thanks.

 

Best

- James

 

@Luke, going to get a system running an older version now to get a h/w detection log.



#15 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156686 posts
  • Local time: 02:15 PM

Posted 28 March 2020 - 02:18 PM

Another thing that would be great James, I notice from the log you're in a hyper-v session. Is it possible to do a quick install of our linux package to see if it produces the same result?



#16 solabc16 OFFLINE  

solabc16

    Advanced Member

  • ForumMod
  • 2017 posts
  • Local time: 07:15 PM

Posted 28 March 2020 - 02:29 PM

Another thing that would be great James, I notice from the log you're in a hyper-v session. Is it possible to do a quick install of our linux package to see if it produces the same result?

 

I used the Hyper-V test system as it was the closest thing to hand yesterday, the behaviour can also be seen on bare metal Synology machines that don't have a GPU.

 

The logs I'll post in a minute are from a DS1817+, which has an Intel Atom C2538 processor.

 

I'll see if I can spin-up a Linux system to run the Linux package later on if it will help.

 

We've updated / switched to the Intel Media SDK for this release, so it could well be an artefact of this MFX library.

 

Best

- James



#17 solabc16 OFFLINE  

solabc16

    Advanced Member

  • ForumMod
  • 2017 posts
  • Local time: 07:15 PM

Posted 28 March 2020 - 02:37 PM

Here are logs from DS918+

 

Thanks @inffy, appreciated.

 

Best

- James



#18 solabc16 OFFLINE  

solabc16

    Advanced Member

  • ForumMod
  • 2017 posts
  • Local time: 07:15 PM

Posted 28 March 2020 - 02:52 PM

@Luke - here are the logs from 4.4.0.30-1-beta and 4.4.0.30-3-beta on a DS1817+.

 

The first beta was running the same FFmpeg released with the last stable.

 

Here's the UI, no h/w accelerators listed (as expected) :-

 

5e7f9ccb77758_decencbeta1.jpg

 

Best

- James

 

Attached File  4.4.0.30-1-beta_hardware_detection-63721017045.txt   110.84KB   0 downloadsAttached File  4.4.0.30-3-beta_hardware_detection-63721017045.txt   192.63KB   0 downloads


Edited by solabc16, 28 March 2020 - 02:52 PM.


#19 FrostByte OFFLINE  

FrostByte

    Advanced Member

  • ForumMod
  • 5045 posts
  • Local time: 02:15 PM
  • LocationThe UP

Posted 28 March 2020 - 03:38 PM

4.4.0.30-3-beta

 

DS418play Apollolake

 

Server

https://pastebin.com/rxTayimh

 

HW

https://pastebin.com/x8RapgQU

/$ sudo /var/packages/EmbyServer/target/ffmpeg/bin/vainfo
libva info: VA-API version 1.6.0
libva info: Trying to open /var/packages/EmbyServer/target/ffmpeg/lib/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: Trying to open /var/packages/EmbyServer/target/ffmpeg/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_6
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.6 (libva 2.6.1)
vainfo: Driver version: Intel i965 driver for Intel(R) Broxton - 2.4.0
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSliceLP
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointEncSliceLP
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointEncSliceLP
      VAProfileH264MultiviewHigh      :	VAEntrypointVLD
      VAProfileH264MultiviewHigh      :	VAEntrypointEncSlice
      VAProfileH264StereoHigh         :	VAEntrypointVLD
      VAProfileH264StereoHigh         :	VAEntrypointEncSlice
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileJPEGBaseline           :	VAEntrypointEncPicture
      VAProfileVP8Version0_3          :	VAEntrypointVLD
      VAProfileVP8Version0_3          :	VAEntrypointEncSlice
      VAProfileHEVCMain               :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointEncSlice
      VAProfileHEVCMain10             :	VAEntrypointVLD
      VAProfileVP9Profile0            :	VAEntrypointVLD

Transcoding 4K to 1080p still seems to be running smoothly and staying ahead of playback with no pausing to buffer.


  • solabc16 likes this

#20 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 156686 posts
  • Local time: 02:15 PM

Posted 28 March 2020 - 03:40 PM

4.4.0.30-3-beta

 

DS418play Apollolake

 

Server

https://pastebin.com/rxTayimh

 

HW

https://pastebin.com/x8RapgQU

/$ sudo /var/packages/EmbyServer/target/ffmpeg/bin/vainfo
libva info: VA-API version 1.6.0
libva info: Trying to open /var/packages/EmbyServer/target/ffmpeg/lib/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: Trying to open /var/packages/EmbyServer/target/ffmpeg/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_6
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.6 (libva 2.6.1)
vainfo: Driver version: Intel i965 driver for Intel(R) Broxton - 2.4.0
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSliceLP
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointEncSliceLP
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointEncSliceLP
      VAProfileH264MultiviewHigh      :	VAEntrypointVLD
      VAProfileH264MultiviewHigh      :	VAEntrypointEncSlice
      VAProfileH264StereoHigh         :	VAEntrypointVLD
      VAProfileH264StereoHigh         :	VAEntrypointEncSlice
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileJPEGBaseline           :	VAEntrypointEncPicture
      VAProfileVP8Version0_3          :	VAEntrypointVLD
      VAProfileVP8Version0_3          :	VAEntrypointEncSlice
      VAProfileHEVCMain               :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointEncSlice
      VAProfileHEVCMain10             :	VAEntrypointVLD
      VAProfileVP9Profile0            :	VAEntrypointVLD

Transcoding 4K to 1080p still seems to be running smoothly and staying ahead of playback with no pausing to buffer.

 

Are the fake qsv entries still showing up?






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users