x01015918

hw transcoding fix v1.04b DS918+

Recommended Posts

1 час назад, John RAZ сказал:

@Olegin even with only Plex it will be great to have the informations.

Try to use extra.lzma from this post and disconnect all displays from mb. Hope that Plex hw transcoding will work.

Share this post


Link to post
Share on other sites
Posted (edited)

@Olegin i use the extra.lzma from the russian post and i don't have an i915.ko module in /usr/lib/modules/update, so the /dev/dri is not created :(

In the russian post there a reference to another extra.lzma file of a person who have remove the optional modules and download the last i915 firmware. As i didn't speak russian, can you help me to find me the reference to the informations to use this ?

Edited by John RAZ

Share this post


Link to post
Share on other sites
11 минуту назад, John RAZ сказал:

i use the extra.lzma from the russian post and i don't have an i915.ko module in /usr/lib/modules/update, so the /dev/dri is not created

Because i915 was deleted from this extra.lzma. Install Plex and try hw transcoding

Share this post


Link to post
Share on other sites
Posted (edited)

Yes about i915.ko not in  /usr/lib/modules/update directory. But an lsmod show me that i915 module is not loaded at all (even the one from synology in /usr/lib/modules).

Currently i don't have a Plex Pass, because i don't want to spend money for nothing if it didn't work.
Do you have another solution to check hw transcoding.
For me if no /dev/dri exists no software can use the HW transcoding.

Edited by John RAZ

Share this post


Link to post
Share on other sites
18 минут назад, John RAZ сказал:

Thanks @Olegin but no hw transcoding: CPU at 90% and a lot of Plex Transcoder process 😟

 

Did you check the box in the Plex for hw?

Share this post


Link to post
Share on other sites
Posted (edited)

Ok now it's seem working 😃

I needed to delete all the modules in /usr/lib/modules/update and reboot. Now i have the /dev/dri device.

The HW transcoding is working on the first movie, but after i have playback errors.

Edited by John RAZ

Share this post


Link to post
Share on other sites
Posted (edited)

@Olegin the HW transcoding start but a KP appear then the transcoding is stop.

Révélation

[  778.013554] BUG: unable to handle kernel NULL pointer dereference at 00000000000000f8
[  778.021805] IP: [<ffffffffa050fa6c>] send_vblank_event+0x2c/0x60 [drm]
[  778.028639] PGD 24f521067 PUD 24f528067 PMD 0
[  778.033331] Oops: 0000 [#1] PREEMPT SMP
[  778.037496] Modules linked in: snd_usb_hiface snd_pcm_oss snd_mixer_oss snd_usb_audio snd_pcm snd_timer snd_hwdep snd_usbmidi_lib snd_rawmidi snd_seq_device snd soundcore xt_ipvs ip_vs_rr ip_vs xt_mark iptable_mangle br_netfilter bridge stp aufs macvlan veth xt_conntrack xt_addrtype ipt_MASQUERADE xt_REDIRECT nf_nat_masquerade_ipv4 xt_nat iptable_nat nf_nat_ipv4 nf_nat_redirect nf_nat cifs udf isofs loop tcm_loop(O) iscsi_target_mod(O) target_core_ep(O) target_core_multi_file(O) target_core_file(O) target_core_iblock(O) target_core_mod(O) syno_extent_pool(PO) rodsp_ep(O) hid_generic usbhid hid usblp uhci_hcd ehci_pci ehci_hcd nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables xt_recent xt_iprange xt_limit xt_state xt_tcpudp xt_multiport xt_LOG nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack
[  778.112402]  iptable_filter ip_tables x_tables apollolake_synobios(PO) ax88179_178a(E) usbnet tg3(E) cnic(E) bnx2(E) vmxnet3(E) pcnet32(E) e1000(E) sfc(E) netxen_nic(E) qlge(E) qlcnic(E) qla3xxx(E) sky2(E) skge(E) jme(E) uio(E) alx(E) atl1c(E) atl1e(E) atl1(E) libphy(E) mii(E) exfat(O) btrfs i915 drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops cfbfillrect cfbcopyarea cfbimgblt drm fb fbdev intel_agp intel_gtt agpgart video backlight button synoacl_vfs(PO) hfsplus md4 hmac r8168(OE) ixgbe(E) igb(E) i2c_algo_bit e1000e(E) vxlan ip6_udp_tunnel udp_tunnel fuse vfat fat crc32c_intel aesni_intel glue_helper lrw gf128mul ablk_helper arc4 cryptd ecryptfs sha256_generic ecb aes_x86_64 authenc des_generic ansi_cprng cts md5 cbc cpufreq_powersave cpufreq_performance acpi_cpufreq processor cpufreq_stats
[  778.187298]  dm_snapshot dm_bufio crc_itu_t crc_ccitt quota_v2 quota_tree psnap p8022 llc sit tunnel4 ip_tunnel ipv6 zram sg etxhci_hcd rtc_cmos(E) mdio(E) mpt3sas(E) raid_class(E) scsi_transport_sas(E) megaraid_sas(E) megaraid(E) mptctl(E) mptspi(E) mptscsih(E) mptbase(E) scsi_transport_spi(E) megaraid_mbox(E) megaraid_mm(E) vmw_pvscsi(E) BusLogic(E) usb_storage xhci_pci xhci_hcd usbcore usb_common imwz(OE) [last unloaded: apollolake_synobios]
[  778.228276] CPU: 2 PID: 18760 Comm: Plex Media Serv Tainted: P           OE   4.4.59+ #23824
[  778.237143] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./J4205-ITX, BIOS P1.40 07/14/2017
[  778.247161] task: ffff880276f25200 ti: ffff8801d628c000 task.ti: ffff8801d628c000
[  778.255062] RIP: 0010:[<ffffffffa050fa6c>]  [<ffffffffa050fa6c>] send_vblank_event+0x2c/0x60 [drm]
[  778.264524] RSP: 0018:ffff8801d628fba0  EFLAGS: 00010006
[  778.270131] RAX: 00000000000000f0 RBX: ffff880271a80000 RCX: ffff8802234ed758
[  778.277589] RDX: 0000000000008cfd RSI: ffff8802234ed740 RDI: ffff880271a80000
[  778.285050] RBP: ffff8801d628fba0 R08: 0000000000000004 R09: 0000000000000002
[  778.292570] R10: ffff880271a80000 R11: 0000000000000003 R12: ffff8802234ed740
[  778.300012] R13: ffff8801d628fbb0 R14: 0000000000000000 R15: ffff88023b76f000
[  778.307499] FS:  00007f6520b43700(0000) GS:ffff88027fd00000(0000) knlGS:0000000000000000
[  778.315946] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  778.321930] CR2: 00000000000000f8 CR3: 000000024f53f000 CR4: 00000000003406f0
[  778.329406] Stack:
[  778.331492]  ffff8801d628fbe0 ffffffffa050faeb 0000000000000309 00000000000dac90
[  778.339270]  0000000000000000 ffff880271a801d8 ffff880036cff000 ffff880271a80000
[  778.347103]  ffff8801d628fbf0 ffffffffa050fb25 ffff8801d628fca8 ffffffffa0620b8b
[  778.354977] Call Trace:
[  778.357549]  [<ffffffffa050faeb>] drm_send_vblank_event+0x4b/0x70 [drm]
[  778.364459]  [<ffffffffa050fb25>] drm_crtc_send_vblank_event+0x15/0x20 [drm]
[  778.371868]  [<ffffffffa0620b8b>] intel_atomic_commit_tail+0x32b/0x10a0 [i915]
[  778.379427]  [<ffffffffa05887ab>] ? drm_atomic_helper_swap_state+0x14b/0x2f0 [drm_kms_helper]
[  778.388403]  [<ffffffffa0621cbe>] intel_atomic_commit+0x3be/0x4e0 [i915]
[  778.395496]  [<ffffffffa0527a85>] ? drm_atomic_add_affected_connectors+0x25/0xe0 [drm]
[  778.403808]  [<ffffffffa05274d2>] drm_atomic_commit+0x32/0x50 [drm]
[  778.410393]  [<ffffffffa058da76>] restore_fbdev_mode+0x156/0x280 [drm_kms_helper]
[  778.418191]  [<ffffffffa058f3ae>] drm_fb_helper_restore_fbdev_mode_unlocked+0x2e/0x80 [drm_kms_helper]
[  778.427978]  [<ffffffffa063dcc4>] intel_fbdev_restore_mode+0x34/0xb0 [i915]
[  778.435321]  [<ffffffffa05a6029>] i915_driver_lastclose+0x9/0x10 [i915]
[  778.442271]  [<ffffffffa050c209>] drm_lastclose+0x29/0x130 [drm]
[  778.448614]  [<ffffffffa050c576>] drm_release+0x266/0x390 [drm]
[  778.454872]  [<ffffffff81133f0a>] __fput+0xca/0x1d0
[  778.460042]  [<ffffffff81134079>] ____fput+0x9/0x10
[  778.465124]  [<ffffffff81060eb0>] task_work_run+0x80/0xa0
[  778.470772]  [<ffffffff810020e7>] exit_to_usermode_loop+0xa7/0xb0
[  778.477157]  [<ffffffff810023d3>] syscall_return_slowpath+0x63/0x70
[  778.483706]  [<ffffffff815675b6>] int_ret_from_sys_call+0x25/0x93
[  778.490019] Code: 87 d8 01 00 00 85 c0 74 53 55 89 56 68 48 8b 01 48 89 e5 89 46 60 48 8b 41 08 48 8d 4e 18 89 46 64 48 8b 46 38 48 05 f0 00 00 00 <48> 8b 50 08 48 89 48 08 48 89 56 20 48 89 46 18 48 89 0a 31 c9
[  778.511166] RIP  [<ffffffffa050fa6c>] send_vblank_event+0x2c/0x60 [drm]
[  778.518113]  RSP <ffff8801d628fba0>
[  778.521808] CR2: 00000000000000f8
[  778.525266] ---[ end trace ff6fd7bed36bee57 ]---
[  778.631568] note: Plex Media Serv[18760] exited with preempt_count 1

 

 

Edited by John RAZ

Share this post


Link to post
Share on other sites

hi,

 

don't assume all issue are related, could be just a faulty plex install or upgrade, I prefer in between testing iterations to format the drive just to get a consistent behavior. 

Share this post


Link to post
Share on other sites
2 hours ago, x01015918 said:

hi,

 

don't assume all issue are related, could be just a faulty plex install or upgrade, I prefer in between testing iterations to format the drive just to get a consistent behavior. 

Hello,

Is the hw transcoding useful in the plex for a long time? I can use hw transcoding for  several minutes in plex, and then the nas automatic reboot.And when I play movies by hw transcoding, it stops from time to time.

Could you share your full setting in BIOS?

And what  is your plex version?

Thank you!

Share this post


Link to post
Share on other sites

Hello guys, just for your info.


In last weekend I have tested extra.lzma from this topic on the MB Asrock j3455.

 

Here are my steps for reproducing:

  1. Update extra.lzma file on the USB flash(use it from this topic)
  2. Set correct key and mac in the loader
  3. Fresh install of DSM


As a result, I have got:

  1. The power button is work correctly(use powerbutton.spk addon from the forum)
  2. The files in /dev/dri folders are presented
  3. Transcoding via Videostation and Multimedia Server are not: buffering every 10/20 sec.
     

P.S. Looks not bad. But the HW transcoding still doesn't work on this MB.

Share this post


Link to post
Share on other sites

Great

 

If dev/dri folder is created Plex should hw transcode. 

 

Please could you  share dsm version and bios parameter ? Do you have additional card installed? Which j3455 motherboard do you have? 

Share this post


Link to post
Share on other sites

@x01015918 coud you share your version of DSM & plex.

Also the bios version of your j4205-itx.

Also can you share the extra.lzma file and the grub.cfg files you use to boot ?

Thanks in advance.

Share this post


Link to post
Share on other sites
Posted (edited)

It seems that the hw transcoding is successful in Video Station and Plex.

ASRock J3455-itx,DS918+,6.2.1,jun's1.04b,x01015918's extra.lzma

The screenshot is about using hw transcoding in Video Station.video_station_HW(6).thumb.gif.f02cc6904cff484bbd441bc3a178dabf.gif

Edited by crazi

Share this post


Link to post
Share on other sites
Posted (edited)

The name of this thread is not good, this thread is about ASRock J4205-ITX, all j3455 or j4015  have a working HW transcoding, no need of a custom lzma, it work with only the jun's1.04b.

(video station need a real serial, plex dont, but need a plex pass)

Edited by real3x

Share this post


Link to post
Share on other sites
On 6/7/2019 at 7:12 PM, crazi said:

It seems that the hw transcoding is successful in Video Station and Plex.

ASRock J3455-itx,DS918+,6.2.1,jun's1.04b,x01015918's extra.lzma

The screenshot is about using hw transcoding in Video Station.

 Dear @crazi,

Do you have an intel NIC card or do you use onboard one? I've made many test in december without succes with onboard NIC card?

my PCI port is used with a 2 sata part card

 

regards,

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.