|
SageTV for unRAID/Docker Discussion related to SageTV for unRAID/Docker. Questions, issues, problems, suggestions, etc. relating to SageTV for unRAID/Docker should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#221
|
||||
|
||||
Quote:
https://github.com/stuckless/sagetv-...v-base/comskip I'll updating the docker containers later this week (maybe tomorrow), and this version of comskip is a version an unRAID user (saarg) informed me about, which is used in his tv container, and I think kodi as well, since the build instructions were from the kodi site.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#222
|
|||
|
|||
Quote:
I think the issue with comskip must have something to do with unRAID's disk subsystem. XFS works fine with Ubuntu. I also added a 100GB vdisk to my unRAID Ubuntu vm and formatted it ext4. Recording to it and doing live comskip worked fine.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#223
|
|||
|
|||
Quote:
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#224
|
||||
|
||||
There is a new set of unRAID docker images that have been uploaded. The changes are...
- Both Java 7 and Java 8 images use Oracle Java. This should fix the TimeZone issue in Java 7. - Comskip has been updated to latest build + ffmpeg 3.1 I've also included an alternate comskip binary, comskip.xilka, which appears to be an older comskip with ffmpeg2... this appears to be what some kodi users are using. I think in the sagetv properties you can set the location to Code:
cd/comskip_location=/opt/sagetv/comskip/comskip.xilka
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#225
|
||||
|
||||
You'll be good to go. I'll send you the manifest in a few days. Sorry for the delay.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#226
|
|||
|
|||
Saw another thread about modifying the sagesettings file to increase the heap size. This doesn't seem to work with the docker image. If I stop SageTV, modify the file, then start it again then Docker will overwrite my changes and it gets set back to 768MB.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#227
|
|||
|
|||
In my testing I've also noticed that I get quite a few halts from my HDHR's vs my current main Windows system using the same tuners. Not sure why that would be?
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#228
|
|||
|
|||
Another observation is that comskip seems to have finished the scan (e.g. all the breaks are present) but the tasks seem to be taking an inordinate amount of time to complete. Looking at TOP I see the comskip tasks as moderately active but the stats plugin I got shows no notable disk throughput. I've not seen this happen under Windows/WINE or native Linux running manually.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#229
|
||||
|
||||
Quote:
The only way that I could see this happening is if the /opt/sagetv/ mapping was not pointing to a valid share, and in which case the files would then get mapped internal to the docker container... but that would mean your wiz.bin would be deleted as well during a docker update, etc.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#230
|
|||
|
|||
Quote:
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#231
|
|||
|
|||
Can't you just edit the Environmental Variable for JAVA_MEM_MB in the Docker Container settings? (or is that what you're doing and I'm just confused)
__________________
Server: SageTV v9 on unRAID Docker; i5-2400; 16GB RAM; 9TB storage array; SiliconDust HDHR3 Client: Windows10; Intel Core2Duo; 4GB RAM; NVIDIA GeForce GT 1030 Client: NVIDIA ShieldTV Client: Fire TV Stick 4K |
#232
|
|||
|
|||
Oh, well, I swear I looked at those options. My brain didn't see it.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#233
|
|||
|
|||
Quote:
This latest version of Comskip in the Docker seems to be a bit better for me for live_tv. In my limited (and unscientific testing), comskip did not crash for 4 out of 5 recordings that were processed live. In the previous version, it seemed to crash consistently in the first 5-10 minutes. I was not able to get comskip.xilka to work at all. I tried renaming/replacing the comskip file with the comskip.xilka file...but the comskip process would not start up after doing this. Then I tried using the method you described (editing the sage.properties file with the location of the comskip.xilka file with the Docker stopped)...but the comskip process still would not start when I started a recording. (I put the path to the comskip file back to what it was, and then the comskip process fired up when I started a recording as expected.) I didn't spend very long on this so it could have just been me doing something wrong... Also, I am not able to edit the sage.properties file (from my Windows workstation) file without going into MidnightCommander and adjusting the permissions.
__________________
Server: SageTV v9 on unRAID Docker; i5-2400; 16GB RAM; 9TB storage array; SiliconDust HDHR3 Client: Windows10; Intel Core2Duo; 4GB RAM; NVIDIA GeForce GT 1030 Client: NVIDIA ShieldTV Client: Fire TV Stick 4K |
#234
|
||||
|
||||
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#235
|
|||
|
|||
I have a "bare metal" Ubuntu 16.04.1 64-bit system with the latest native comskip that I've been testing on with help from tmiranda. All my comskip live tv tests have been successful. Not sure how we can go about troubleshooting this on unRAID. I guess my next step would be to install Docker along with the SageTV docker image and see if that makes a difference. That way it rules out anything Docker specific.
Unfortunately, that won't be happening today. Apparently one of my kids powered that system off at some point so I don't currently have access to it.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#236
|
|||
|
|||
Ok, I just keep on plugging away at this. I have some positive news. My suspicions about uNRAID's disk subsystem being the problem seem to have been confirmed. I started digging into the disk settings. Particularly the tuning settings. I found some information indicating that the default md_num_stripes, md_write_limit, & md_sync_window settings are set to be optimized for systems with only 512MB of RAM.
My system has 24GB so I don't have such limited constraints. I decided to double the values to 2560, 1536, & 768 respectively and so far have my most successful test with live comskip detection. I just started the test so it might be a little early to tell but so far it's been running for almost 30 minutes without any of the comskip processes dropping out. I may continue to try and tweak those values as out of the 4 recordings that I started one of them finished already and the UI still shows it's processing. However, the fact that I'm only using 2 drives to do these tests may be limiting read performance while it's trying do the writes. I'll post again later but so far these results are looking very positive. BTW, the md_write_limit setting cannot be modified through the web interface. I had to ssh in and modify the /boot/config/disk.cfg file to get at that setting. Information about them can be had here: http://lime-technology.com/forum/ind...2767#msg142767
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#237
|
|||
|
|||
I've recorded another full hour with live detection and it all completed successfully. None of the comskip processes failed.
I also determined the reason for comskip taking so long to complete. In my troubleshooting I had set live_tv_retries=600. So when it got to the end of the file it was retrying 600 times before deciding to fail. Put it back to 8 and it works normally now. I'm not sure what the optimal settings would be. In that forum post there's a mention of the risk of saturating the PCI or PCIe bus if md_sync_window is set too high.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#238
|
|||
|
|||
Quote:
__________________
"Keep your goals away from the trolls" |
#239
|
|||
|
|||
Quote:
I understand why under limited resources you would set lower limits. However, my system is a dual quad core Xeon server with 24GB RAM. Increasing the amount of RAM needed for the pool pipeline shouldn't impact things a whole lot. It can only really increase performance.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#240
|
||||
|
||||
My newly commissioned unraid system has it recording to the pool (user/Recordings), no cache, but honestly I haven't watched it enough to actually monitor the performance. That said, I think I may set it up to individual disks instead (disk1/Recordings, disk2/Recordings, etc.) and let sage spread out the load with it's bandwidth management.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SageTV on Unraid server | JonL | SageTV Linux | 11 | 10-27-2019 02:48 PM |
Docker Image for unRaid | ChaOConnor | SageTV Linux | 73 | 05-28-2017 11:57 AM |
Interactive Docker Container for building SageTV (Linux) | stuckless | SageTV Github Development | 4 | 09-04-2016 03:14 PM |
Another esxi unraid thread - questions | jdc | Hardware Support | 16 | 11-14-2012 12:08 PM |
New Server - SageTV+unRAID under ESXi 4.1 | stanger89 | Hardware Support | 211 | 01-07-2012 10:38 PM |