Hardware Acceleration with Asrock j5005


Recommended Posts

On 12/17/2018 at 9:45 PM, Joly00 said:

So, to give this Thread a Solution:

Hardware Acceleration works for me with the j5005-ITX by Asrock when using the new 1.04b Jun Loader and install Emby (You have to enable VAAPI and not Intel Quick Sync).

The /dev/dri folder is also available.

 

Can you  help me to install DSM918+_23824 with jun's 1.04b loader  on Asrock J5005-ITX? I installed,but  when it boot again, synology assistant can't find it.

Link to post
Share on other sites
  • 4 weeks later...
  • 4 weeks later...
On 1/9/2019 at 2:19 PM, sergelhr said:

@Eduardo

Flash the Mac is not an issue, after contacting Asrock support, they gave me this tool (wMAC_v1.0.61.zip)

you must run this tool from windows 10 cmd line, i did a win 10 enterprise temp install then a run that tool as usua,l wMAC c XXXXXXXXXX /s

et voila

Did you actually try it yourself?

 

When I tried it did not quite work as expected, when trying to change the mac it will only let you change part of it, the rest is hardware manufacture specific.

 

Link to post
Share on other sites
On 1/9/2019 at 2:19 PM, sergelhr said:

@Eduardo

Flash the Mac is not an issue, after contacting Asrock support, they gave me this tool (wMAC_v1.0.61.zip)

you must run this tool from windows 10 cmd line, i did a win 10 enterprise temp install then a run that tool as usua,l wMAC c XXXXXXXXXX /s

et voila

Did you actually try it yourself?

 

When I tried it did not quite work as expected, when trying to change the mac it will only let you change part of it, the rest is hardware manufacture specific.

 

Link to post
Share on other sites
  • 2 months later...
On 11/10/2019 at 3:51 PM, adept said:

Did you actually try it yourself?

 

When I tried it did not quite work as expected, when trying to change the mac it will only let you change part of it, the rest is hardware manufacture specific.

 

I did. I started Hiren's BootCD PE from my USB, than i ran wMAC tool provided by @sergelhr using bellow command:

 

wMAC c 001122334455 /s

Asrock J5005 ITX works like a charm with this tool. Just don't forget the /s at the end of command which is related to "skip MAC OUI check".
 

 

Link to post
Share on other sites

Hi,

 

Can you guys be more specific about Mac flash? I really have no idea what to do. Correct me if I am wrong but to have hw and sw transcoding active I need real Synology SN and MAC and to be able to WOL I need MBs MAC?

Link to post
Share on other sites

I think, I can confirm that both HW and SW transcoding are working on Asrock J5005 ITX.

 

Original Jun 1.04b loader (no custom extra.lzma)

DSM 6.2-23739 (DS918+)

Real SN from my Synology DS918+ & MAC (onboard flashed)

 

 

obraz.thumb.png.0691980d8dc2b240c0afe0c99b5de4cb.png

 

Need to check if Power Off / Reboot is working (as it did not at DSM 6.2.2-24922 Update 4)

Edited by premiero
Link to post
Share on other sites
1 hour ago, premiero said:

I think, I can confirm that both HW and SW transcoding are working on Asrock J5005 ITX.

 

Original Jun 1.04b loader (no custom extra.lzma)

DSM 6.2-23739 (DS918+)

Real SN from my Synology DS918+ & MAC (onboard flashed)

 

 

obraz.thumb.png.0691980d8dc2b240c0afe0c99b5de4cb.png

 

Need to check if Power Off / Reboot is working (as it did not at DSM 6.2.2-24922 Update 4)

I have the asrock j4105. Do you think this will work in my case as well? Would I flash the Mac while still using 6.2.1 then update to 6.2.2?

Link to post
Share on other sites
1 hour ago, premiero said:

Need to check if Power Off / Reboot is working (as it did not at DSM 6.2.2-24922 Update 4)

 

from my experience thats because of a driver crashing on boot (kernel oops), by using a proper driver or removing the driver it should work

atm its very likely to happen with jun's original or my old 918+ extra.lzma, unreleased 0.7 or newer will get rid of that for most cases

so in case of shutdown problems check dmesg

Link to post
Share on other sites
2 minutes ago, IG-88 said:

 

from my experience thats because of a driver crashing on boot (kernel oops), by using a proper driver or removing the driver it should work

atm its very likely to happen with jun's original or my old 918+ extra.lzma, unreleased 0.7 or newer will get rid of that for most cases

so in case of shutdown problems check dmesg

Yeah, I saw Your posts in other topic. But can't test it ATM because of HDD parity check.

dmesg - no erros, so there is a little chance it is working with this older DSM verision.

Link to post
Share on other sites
41 minutes ago, toyanucci said:

I have the asrock j4105. Do you think this will work in my case as well?

There is a good chance it will work. There is minor difference in CPU (same architecture, lower CPU and GPU clock, less -4 execution units).


 

Quote

Would I flash the Mac while still using 6.2.1 then update to 6.2.2?

Flashing MAC in not an issue, You can do it whenever You want. Just don't forget to edit grub.conf.
But I can't confirm that everyting will be working after upgrade. When I did first install of DSM 6.2.2-24922 Update 4, i had no dev/dri and shutodown/reboot was not working at all. Thats why i downgraded to 6.2-23739. Maybe instaling first 6.2 and than upgrading to 6.2.2-24922 Update 4 is the solution, but I haven't test it yet.

Link to post
Share on other sites

Read this topic mate. You have all in it 😁. In case You didn't notice:


First of all, You can't use DOS version of mactool, because this is UEFI only motherboard and do not support LEGACY mode.

1. Prepare pendrive. Write HirensBoot CD PE on it using ISO2USB

2. Next unpack and copy MAC change tool: https://1drv.ms/u/s!Ap4vsEUrPToyh2746hR4GRDPPocn to this pendrive.

3. Boot from pendrive to Windows PE. Browse start menu and mount pendrive as C harddrive.

4. Type cmd. Go to the folder where You copied wMAC tool.

5. At commandline type:

wMAC c YOUR_NEW_MAC_ADDRESS /s

6. Done.
 

 

Edited by premiero
Link to post
Share on other sites
1 hour ago, premiero said:
2 hours ago, toyanucci said:

I have the asrock j4105. Do you think this will work in my case as well?

There is a good chance it will work. There is minor difference in CPU (same architecture, lower CPU and GPU clock, less -4 execution units).

 

both are Gemini Lake (Goldmont Plus), J4105 is Intel UHD Graphics 600, the J5005 is Intel UHD Graphics 605

Intel GPU Gen 9.5: Kaby Lake, Coffee Lake, Gemini Lake

 

afaik its using/needs different firmware (and driver support) then the original 918+ Apollo Lake cpu

bxt* firmware for Apollo Lake (Goldmont line)

glk* firmware for Geminilake (Goldmont Plus line)

the i915 driver from synology does not have support for glk* firmware, only jun's new driver in 1.04b loader does support it

Link to post
Share on other sites
[Fri Jan 24 22:43:15 2020] [drm] GuC: No firmware known for this platform!
[Fri Jan 24 22:43:15 2020] [drm] HuC: No firmware known for this platform!
[Fri Jan 24 22:43:15 2020] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[Fri Jan 24 22:43:15 2020] [drm] Driver supports precise vblank timestamp query.
[Fri Jan 24 22:43:15 2020] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[Fri Jan 24 22:43:15 2020] [drm] Finished loading DMC firmware i915/glk_dmc_ver1_04.bin (v1.4)
[Fri Jan 24 22:43:15 2020] systemd-udevd[5868]: starting version 204
[Fri Jan 24 22:43:16 2020] [drm] failed to retrieve link info, disabling eDP
[Fri Jan 24 22:43:16 2020] [drm] Initialized i915 1.6.0 20180514 for 0000:00:02.0 on minor 0

Thats how it is looking on J5005-ITX and juns 1.04b loader.

Link to post
Share on other sites
48 minutes ago, premiero said:

Read this topic mate. You have all in it 😁. In case You didn't notice:


First of all, You can't use DOS version of mactool, because this is UEFI only motherboard and do not support LEGACY mode.

1. Prepare pendrive. Write HirensBoot CD PE on it using ISO2USB

2. Next unpack and copy MAC change tool: https://1drv.ms/u/s!Ap4vsEUrPToyh2746hR4GRDPPocn to this pendrive.

3. Boot from pendrive to Windows PE. Browse start menu and mount pendrive as C harddrive.

4. Type cmd. Go to the folder where You copied wMAC tool.

5. At commandline type:


wMAC c YOUR_NEW_MAC_ADDRESS /s

6. Done.
 

 

I'm gonna give it a whirl later when I get home. 

Link to post
Share on other sites
15 minutes ago, premiero said:

[Fri Jan 24 22:43:15 2020] [drm] GuC: No firmware known for this platform!

[Fri Jan 24 22:43:15 2020] [drm] HuC: No firmware known for this platform!

 

that might have been true when the driver jun used was recent

actually there is "glk_guc_32.0.3.bin, glk_guc_33.0.0.bin, glk_huc_ver03_01_2893.bin, glk_huc_4.0.0.bin" in the linux kernel firmware archive, but when it's not used/loaded from the driver the its no use

 

the rest is as expected after reading about intel gpu's and doing some summery (like the glk firmware usage for J5005)

 

dmc -> Display Microcontroller, provides additional graphics low-power idle states
guc -> Graphics micro (µ) Controlle, designed to perform graphics workload scheduling on the various graphics parallel engines
huc -> HEVC/H.265 micro (µ) Controller, designed to offload some of the media functions from the CPU to GPU

synology only packs dmc firmware with its dsm release, interestingly they also have the "glk_dmc_ver1_04.bin" in 918+ DSM but no support for it in the i915.ko they deliver with 6.2.2

Link to post
Share on other sites
58 minutes ago, premiero said:

[Fri Jan 24 22:43:15 2020] [drm] GuC: No firmware known for this platform!
[Fri Jan 24 22:43:15 2020] [drm] HuC: No firmware known for this platform!
[Fri Jan 24 22:43:15 2020] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[Fri Jan 24 22:43:15 2020] [drm] Driver supports precise vblank timestamp query.
[Fri Jan 24 22:43:15 2020] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[Fri Jan 24 22:43:15 2020] [drm] Finished loading DMC firmware i915/glk_dmc_ver1_04.bin (v1.4)
[Fri Jan 24 22:43:15 2020] systemd-udevd[5868]: starting version 204
[Fri Jan 24 22:43:16 2020] [drm] failed to retrieve link info, disabling eDP
[Fri Jan 24 22:43:16 2020] [drm] Initialized i915 1.6.0 20180514 for 0000:00:02.0 on minor 0

Thats how it is looking on J5005-ITX and juns 1.04b loader.

HW transcoding is working with just juns 1.04b loader and 6.2.2 after flashing the Mac? 

Link to post
Share on other sites
3 minutes ago, toyanucci said:

HW transcoding is working with just juns 1.04b loader and 6.2.2 after flashing the Mac? 

 

the part of the log has nothing to do with that, its just about the "base", the kernel driver and firmware creating /dev/dri devices in the system that have to be present when using the proprietary synology implementation (that you want to cheat)

Link to post
Share on other sites
12 minutes ago, IG-88 said:

 

the part of the log has nothing to do with that, its just about the "base", the kernel driver and firmware creating /dev/dri devices in the system that have to be present when using the proprietary synology implementation (that you want to cheat)

Yh, but does it work is alls I'm asking. That's the only reason j4105 users haven't updated to 6.2.2 as you know. Those that don't care about hw transcoding have updated though so I'm just curious if this will allow that to work. 

Link to post
Share on other sites
17 hours ago, toyanucci said:

Yh, but does it work is alls I'm asking. That's the only reason j4105 users haven't updated to 6.2.2 as you know. Those that don't care about hw transcoding have updated though so I'm just curious if this will allow that to work. 

I just checked - no it's not working. Tried with 6.2.2-24922 Update 4, and 6.2.2-24922 Update 5. There was no dev/dri, and reboot / shutdown was not working.
I have also tried @IG-88 0.6 driver extra test package, but still no succes - not able to power off/restart too and no HW transcoding.

Edited by premiero
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.