Olegin

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

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 1

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

@JMRR Try a clean install on another HDD, it seems to me that the problems with the shutdown & reboot is not in 5005, but in 1.04. On 4105 all works fine after clean install. I tried to switch the hdd and flash drive from a working system and also got the problem with shutting down.

Share this post


Link to post
Share on other sites

I did one clean install on one brand new ssd, and shutdown and reboot didnt work either.

The migration was the last think i did, but the problem came from clean install too.


Sent from my iPad using Tapatalk

Share this post


Link to post
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!

Share this post


Link to post
Share on other sites

I'm using Asrock J4105-ITX, 32GB Kingston DDR4 2400, 4* 480GB SSD.

It's run DSM 6.1.7 fine.

But have issue on DSM+VMM+Win10. Cannot run/install win10. Anyone have same issue?

Share this post


Link to post
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...

Share this post


Link to post
Share on other sites
12 часа назад, chemistry сказал:

 

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

Try this , may be help 😉

Share this post


Link to post
Share on other sites
Posted (edited)

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

Share this post


Link to post
Share on other sites

i have a problem now with my Xpenology... SurveillanceStation does not work properely. When opening different Menu options they load indefinetly.

Now i am thinking about reinstalling everything from the scratch.

But how do i do this without loosing the data stored?

 

Share this post


Link to post
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

 

 

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

i remember i left active.

im going to disable it and try.

 

Thanks.

Share this post


Link to post
Share on other sites

VT-D has to be disabled on those motherboards or HW transcoding won't work, at least on my J4105m.

Share this post


Link to post
Share on other sites

Thanks guys, its working.




Sent from my iPad using Tapatalk

Share this post


Link to post
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.