refrain
-
Posts
12 -
Joined
-
Last visited
Posts posted by refrain
-
-
On 8/19/2018 at 2:03 AM, T-REX-XP said:
The same problem too. I try to fix synoinfo.conf. but it is still not working. How can i get debug logs?
you can show the process with ps aux | grep [VideoStation | Emby | Plex]
then you can find the process with VA API words as the process has been marked "D"
i think there were some bugs when playing the movies that frozen the iGPU process when second play time since last reboot.
-
5 minutes ago, Huberer said:
You have to check if you have a /dev/dri folder. Check with telnet or ssh. If you don‘t have this folder you won’t get hardware transcoding with Emby/Videostation. For Plex you need a Plex Pass membership and transcoding enabled under PMS. Plex uses Intel Quicksync of the CPU and not the GPU (/dev/dri)
Gesendet von iPhone mit Tapatalkcrw-rw---- 1 root video 226, 0 Aug 19 01:34 card0
crw-rw---- 1 root video 226, 64 Aug 19 01:34 controlD64
crw-rw---- 1 root video 226, 128 Aug 19 01:34 renderD128
and i have the Plex Pass and i am sure the Plex has also used VA-API and not Quicksync that can show in shell process list.
like i said, all the functions (incloude QuickConnect) was running correctly except hardware transcoding.
-
i have installed DSM 6.2 with 918+ loader.
and i have use valid SN and MAC to active all the functions except the hardware transcode.
i have try to use hardware transcode function by VideoStation / EMBY / Plex and none of them can do that normally.
the hardware transcode function could be run only once success before next reboot.
all other functions seens to be running normally.(like QuickConnect and PhotoStation)
so, where is the problem? loader?
my NAS info:
J3455
4G ram
1.03a2 loader + 918 DSM6.2
-
18 minutes ago, modboxx said:
No no I'm sorry that was just a copy and paste of the definitions of D and L forget those.
Explain what exactly happens when you play a movie in Plex with HW transcoding on? forget what you see in process just tell me what actually happens on the client or server? Does it crash or just says no?
i play the movie by using the web browser like chrome.
just i open the movie that play well as default codec(source codec)
then i have forced to change the codec level like 720p-3m to 480p-1m
the movie has been frozen that waitting for contiune to play , display a buffer logo like a ring
just waitting and waitting and no ending.
however, when i have change back the codec level to the default source codec, the movie has been played very well.
the server side and client side has not any crash or auto-close.
ps/
i can only play the MP4/MKV(H264) movie as well by default codec
some type like AVI(mpeg4)/RMVB/RM all can not be played as default codec when enable hw-transcode function .
i think that files need to transcoding by default.
-
11 minutes ago, modboxx said:
"D" uninterruptible sleep (usually IO) + "l" is multi-threaded (using CLONE_THREAD, like NPTL pthreads do)
What exactly is your issue?
i dont know. so i can only play the movie by using software transcoding by CPU resources.
if my HDD or CPU resource has I/O problem, the software transcode function can not be running correctly.
so i am confused.
-
41 minutes ago, Davidov said:
You can check whether the VideoStation does the transcoding
it looks also can use hw-transcoding by VideoStation in correctly.
-
On 8/14/2018 at 10:24 PM, modboxx said:
I just checked with Plex and it goes from Dl to Rl to Sl. Ending the movie exit the process.
plex 14761 22.4 0.4 498520 67548 ? Dl plex 14761 23.8 0.4 496448 67684 ? Rl plex 14761 25.0 0.4 500148 68400 ? Sl
Maybe I'm missing something? but with Plex what i see is that it encodes up to the 60 seconds (Throttle buffer) during this it's in Rl state, once it completes that chunk? the process briefly enters into the Dl state until it's able to send the client those packets? afterwards it goes into the sl state and exits. Then a new process repeats this.
DI RI process was correct by hw-transcode function.
my process has marked been "D" means (Uninterruptible sleep) , almost waitting for the resources like HDD,CPU and etc.
so my processes was running incorrectly that why i can not do hardware transcoding action.
-
On 8/14/2018 at 8:09 PM, modboxx said:
You guys should look over your bios settings, I have a j3455M with two extra ahci cards, two ports per a card(using 5 of the 6 ports) and I do not have of these issues.
Bios (1.80 spectre/meltdown)
CPU config:
Intel SpeedStep = disabled - No driver (Slows and crashes system)
CPU C States = disabled
intel vt-d = enabled
PowerGear = Sport (Buttery smooth Plex)
Chipset Configuration:
Adjust your memory speed and voltage, don't leave it on auto.
Share Memory = 64
Onboard HD Audio = Disabled
ACPI Configuration:
Suspend to RAM = disabled
RTC Alarm Power On = disabled (DSM can't read RTC Clock so doubt this would work, best to disable for now)
USB Configuration:
Legacy USB Support = UEFI only
Trusted Computing:
Disable all
Security Screen:
Secure Boot = Disabled
Intel(R) Platform Trust Technology = Disabled
Boot Screen:
CSM (Compatibility Support Module) = Disabled
Some additional notes.
Goto /etc.defaults/synoinfo.conf
support_led_brightness_adjustment="no" that should fix your ahci_led stuff
support_fan="no"
support_spectre_meltdown_mitigation="yes" (Check bottom) if your on bios 1.80(j3455m) or which ever version that fixes the spectre/meldown for the j3455*-itx model
Plex does hw transcoding every time I use it, never had to reboot it, do you guys have plex pass?
thank you for reply~
the hw-transcode function only can use once for me each reboot.
the first time play movie by using hw-transcode will fine.
the next time the movie has been forzen and can not play.
then i use putty to ssh the DSM machine, then i can find the play process has marked "D" like below:
root 20186 0.0 0.2 82864 9584 ? D 22:22 0:00 /var/packages/VideoStation/target/bin/ffmpeg -ss 0.000 -vaapi_device /dev/dri/renderD128 -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i /volume1/video/AAAA/Just Dance 2018 - Dj Got Us Fallin' In Love Again (Full Fanmade Fitted Gameplay).mp4 -vcodec h264_vaapi -vf format=nv12|vaapi,hwupload,setsar=sar=1,scale_vaapi=w=1280:h=720 -vsync 2 -bf 0 -vb 1000000 -acodec copy -f ssegment -segment_format mpegts -segment_list_type m3u8 -hls_seek_time 0 -segment_time 5 -segment_time_delta 0.000 -segment_start_number 00000 -avoid_negative_ts 0 -break_non_keyframes 1 -map 0:0 -map 0:1 /tmp/VideoStation/HLS/f1d75a150b0ddc68412cdf9d2f5a5c17_bL9Apy9s/slice-%05d.ts root 18421 0.0 0.2 82864 9356 ? D 22:20 0:00 /var/packages/VideoStation/target/bin/ffmpeg -ss 0.000 -vaapi_device /dev/dri/renderD128 -hwaccel vaapi -hwaccel_output_format vaapi -noautorotate -i /volume1/video/AAAA/Just Dance 2018 - Dj Got Us Fallin' In Love Again (Full Fanmade Fitted Gameplay).mp4 -vcodec h264_vaapi -vf format=nv12|vaapi,hwupload,setsar=sar=1,scale_vaapi=w=848:h=464 -vsync 2 -bf 0 -vb 500000 -acodec copy -f ssegment -segment_format mpegts -segment_list_type m3u8 -hls_seek_time 0 -segment_time 5 -segment_time_delta 0.000 -segment_start_number 00000 -avoid_negative_ts 0 -break_non_keyframes 1 -map 0:0 -map 0:1 /tmp/VideoStation/HLS/f1d75a150b0ddc68412cdf9d2f5a5c17_z3b6NxWg/slice-%05d.ts
each play time will do this action again then more and more process has been locked. (can not be killed)
i have the plex pass and i have try these apps(Video Station/ EMBY / Plex) and all the same problem has found.
i have change the bios setting like you except CSM setting because i made the loader-img burn to SSD disk. when i disable the CSM that the system can not be started normally.
-
On 7/14/2018 at 9:30 PM, ideasman69 said:
I picked up an Asrock J3455B-ITX motherboard and performed a bunch of tests. Here's what I've found:
- When a screen is plugged in (i was using VGA), the system was very unstable - rebooting every 5-10mins. Disconnecting VGA cable and USB keyboard helped. Used serial cable to monitor boot progress.
- Hardware transcoding worked in both Plex and Video station. I had 3 hardware transcoded streams (1 x video station, 2 x plex) running simultaneously without any problems. However - after a some time, hardware transcoding wouldn't work from either app until the system was restarted.
- When using the 2 onboard SATA ports only, the kernel would panic and reference something about activating the AHCI_LED. Adding in a 2 port AHCI SATA card seemed to get around it (although i need to do this anyway as 2 ports isn't enough!)
- Booting is pretty slow compared to 1.02b. Seems to hang at "Post init" for some time. Maybe due to the following "failed to send sync event, type resync, finish 0, interrupt 0?"
- Network speeds are pretty disappointing too.
So for me to get a working system i need to:
- Install a 2 port PCI-e SATA controller to get around the AHCI_LED panic
- Switch to CSM/BIOS boot mode. Otherwise the boot process doesn't always pickup the SATA controller
- Ensure no VGA cable plugged in
- Ensure boot USB stick is in USB2 port (only 1 on the back, the rest are USB3)
Need to investigate the transcoding issue and try speed up the network as it's terrible
Same to you.
there will be many transcoding process has been marked "D" by using console(ps aux | grep vavpi) command to show.
then the hw-transcoding function can not be useful before next roboot.
the hw-transcoding function only be use once or twice usually.
so confused.
-
- Outcome of the update: SUCCESSFUL
- DSM version prior update: DSM 6.2-23739
- Loader version and model: JUN'S LOADER v1.03a2 - DS918+
- Using custom extra.lzma: NO
- Installation type: BAREMETAL - ASROCK J3455-ITX
- Additional comments: hardware transcoding does not work(with vaild SN/MAC) and reboot process is very slow
-
Loader version and type (918+): 1.03a2 DS918+
DSM version in use (including critical update): DSM 6.2-23739 Update 2
Using custom modules/ramdisk? If yes which one?: None
Hardware details: Motherboard: ASRock J344-ITX; NIC: Realtek 8111GR
SN/Mac valid
PhotoStation work perfect
VideoStation/Plex/EMBY all only can do software transcode (without VAAPI), seens like some issue with igpu driver.
hope jun could update the loader soon.
how to enable the hardware transcoding function with model 918+ loader by DSM6.2
in General Post-Installation Questions/Discussions (non-hardware specific)
Posted
have you plug-in the monitor when using transcoding?
there has an issue with the loader 1.03a2 , and plz unplug the monitor when transcoding.