Jump to content
XPEnology Community

ASRock J4105-ITX test, transcoding, etc. With ASRock J5005-ITX will be the same.


Olegin

Recommended Posts

Test stand: ASRock J4105-ITX, Crucial DDR4 so-DIMM RAM with 2400MHz CL17-CT4G4SFS824A 4GB, flash drive, 2.5 250GB hard drive.
Prepared the flash drive as described here, installed the memory, connected the HDD and turned on the power. It worked without the BIOS reconfiguration.

Скрытый текст

319993861_.png.fa9113e56d4a029c9fc19fead6926193.png

Power consumption 10 watts, the folder /dev/dri is in place, installed the Video station, the codecs was activated.

With transcoding 4K here is what I got:

Скрытый текст

823228875_.png.ce611a3c90d9223d7d47d4a019b98590.png

Скрытый текст

421753908_.png.5003b41cd4884b97a402c105c47738e2.png

Скрытый текст

2001847660_.png.d008c40202914c377992661a91f9d5db.png

Скрытый текст

2112834703_.png.1643658f8256fb19a33253cfa3fb8847.png

On four streams of transcoding consumption increased to 30 watts, the CPU radiator is noticeably hot, so who plans to use xpen in this mode-think about a good blowing the radiator.

Installed VMM, ubuntu and virtual DSM worked fine, but it is better to add up to 8 GB of memory.

Edited by Olegin
  • Like 2
Link to comment
Share on other sites

Folowed your tuturial, instaled on askock J5005-itx with 4gb ram(i need more i know), valid sn+mac from one rs model.
Migrate dsm from esxi(hdd raid 1 configuration in rdm mode), everithing went smooth.
/dev/dri is in place, and codecs is activated.
This combo is an amazing setup for dsm.

The only thing doesent work is reboot or shutdow.

I use bios 1.0 i think, its beter to upgrade or doesent mater?



Sent from my iPad using Tapatalk

Link to comment
Share on other sites

With j4105, works well reset and Shutdown, migrated ds3615, but i have a problem to activate  transcoding

 /dev/dri$ cat /usr/syno/etc/codec/activation.conf
{"success":false,"msg":"SN format is wrong."} I try with two Serial Numbers, without solution.

 any idea? Thanks!

Link to comment
Share on other sites

On 2/17/2019 at 5:14 PM, JMRR said:

Folowed your tuturial, instaled on askock J5005-itx with 4gb ram(i need more i know), valid sn+mac from one rs model.
Migrate dsm from esxi(hdd raid 1 configuration in rdm mode), everithing went smooth.
/dev/dri is in place, and codecs is activated.
This combo is an amazing setup for dsm.

The only thing doesent work is reboot or shutdow.

I use bios 1.0 i think, its beter to upgrade or doesent mater?



Sent from my iPad using Tapatalk

 

For me shutdown and reboots work fine.

Only Drives don't spin down for energy saving...

Link to comment
Share on other sites

Hi Olegin, thanks to your positive feedback I finally decided to go for the Asrock J4105 instead of a J4205, difference is, I bought the m-ATX model for its 3 pcie 2.0 x1 ports. That's a bit lame and I would have preferred they put at least one x8 or even x4, but this way I was able to add my 2 budget sata cards SI-PEX40064 and a dual nic HP nc360T.
Migrated from my previous build, Q1900-itx DS918+ without too much hassles, HW transcoding is working great, shutdown and reboot too and consumption is lower by 8 watts in idle, nice bonus :)
Installed your modified extra.lzma too, thanks again!

Regarding HW transcoding, be sure to disable VT-D in Bios or it won't work, just a black screen when you hit play button, I learned it the hard way.

Edited by pmchan
Link to comment
Share on other sites

@Olegin did you configured anything on bios about graphics?

 

On my instalation, codecs are active and /dev/dri as entries, but if i try to encode using vaapi, the output files are always only with sound.

 

root@nas:~# ls -al /dev/dri
total 0
drwxrwxrwx  2 root root       80 Feb 26 18:47 .
drwxr-xr-x 14 root root    18900 Mar  9 22:57 ..
crw-rw-rw-  1 root root 226,   0 Feb 26 18:47 card0
crw-rw-rw-  1 root root 226, 128 Feb 26 18:47 renderD128

 

Using ffmpeg from repo:

 /var/packages/ffmpeg/target/bin/ffmpeg -vaapi_device /dev/dri/renderD128 -i /volume1/downloads/twd.ts -vf 'format=nv12,hwupload,scale_vaapi=w=1920:h=1080' -sn -c:v h264_vaapi -qp 20 -bf 2 -c:a aac -tune zerolatency -f matroska /volume1/downloads/test3.mkv

 

Using VideoStation ffmpeg

  /var/packages/VideoStation/target/bin/ffmpeg -vaapi_device /dev/dri/renderD128 -i /volume1/downloads/twd.ts -vf 'format=nv12,hwupload,scale_vaapi=w=1920:h=1080' -sn -c:v h264_vaapi -qp 20 -bf 2 -c:a aac -tune zerolatency -f matroska /volume1/downloads/test3.mkv

 

 

Output in any case:

Input #0, mpegts, from '/volume1/downloads/twd.ts':
  Duration: 00:42:00.56, start: 43931.504333, bitrate: 4841 kb/s
  Program 1
    Metadata:
      service_name    : FOX HD
      service_provider: SID FOX HD
    Stream #0:0[0x192d]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x192e](por): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s

Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_vaapi))
  Stream #0:1 -> #0:1 (mp2 (native) -> aac (native))

Output #0, matroska, to '/volume1/downloads/test3.mkv':
  Metadata:
    encoder         : Lavf58.20.100
    Stream #0:0: Video: h264 (h264_vaapi) (High) (H264 / 0x34363248), vaapi_vld, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 1k tbn, 25 tbc
    Metadata:
      encoder         : Lavc58.35.100 h264_vaapi
    Stream #0:1(por): Audio: aac (LC) ([255][0][0][0] / 0x00FF), 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc58.35.100 aac
frame= 2134 fps=142 q=-0.0 Lsize=    1395kB time=00:01:26.76 bitrate= 131.7kbits/s speed=5.76x
video:0kB audio:1353kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.088716%


I think the device is present but not acessible.

Do you have any idea?

 

Ps: i did not upgraded bios on Asrock J5005-itx

 

 

Link to comment
Share on other sites

39 минут назад, JMRR сказал:

did you configured anything on bios about graphics?

Nothing.

39 минут назад, JMRR сказал:

Do you have any idea?

May be mistakes in your commands or DSM didn't understand them. Try to encode from Videostation web gui.

Link to comment
Share on other sites

  • 5 months later...

Can someone be so kind and confirm if  HW transcoding is still enabled on J4105/j5005 with DSM 6.2.2, Jun 1.04b and DS918+ ?

Just check if there is something in /dev/dri

 

For me, the i915 driver crashes during the boot so I had to use real3x extra.lzma which removes it, but then I don't have hw transcoding.

 

@Olegin does not specify which version of DSM he was testing with, but I suspect it was an earlier version of DSM.

 

Thank you

Edited by bibicu
Link to comment
Share on other sites

@reworks:

 

after many many hours spent trying stuff, I came to conclusion that HW transcoding only works in 6.2.1 with the original extra.lzma.

In 6.2.2 it does not work. We may need to wait for Synology to release a Gemini Lake box to grab a newer i915 driver.

 

@reworks: do you see Health disk information for the  disks in STorage manager?

I can't see (Access error) it with DS918

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 months later...

I ordered some parts to make a build using the Asrock J4105.  Just waiting on the motherboard now which comes friday.  I've made the usb so just to do the setup and I should be good to go.

 

My question is this...is HW transcoding working with 6.2.2 with the 918+ serial number and mac addresses or should I just stick to 6.2.1?  Just checking if there was any update on this.

 

Thanks in advance!

Link to comment
Share on other sites

9 hours ago, toyanucci said:

I ordered some parts to make a build using the Asrock J4105.  Just waiting on the motherboard now which comes friday.  I've made the usb so just to do the setup and I should be good to go.

 

My question is this...is HW transcoding working with 6.2.2 with the 918+ serial number and mac addresses or should I just stick to 6.2.1?  Just checking if there was any update on this.

 

Thanks in advance!

 

If you don't use Intel ethernet adapter ( mother board net card is Realtek)   and update to 6.2.2 you lost HW Transcoding and SW Transcoding.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...