|
SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Sage 9 on Ubuntu 16.04 w/OpenDCT
I successfully installed v9 on Ubuntu 16.04 using the install script, which also set up OpenDCT for me as well. But I ran into a few problems, including the fact that currently I cannot see any video from within Sage .
I understand from other posts that getting everything to work on 16.04 is problematic. I'll downrev to 14 if necessary, but before I do I thought I'd check in and see if anyone else has gotten 16.04 to work. Questions: 1) My setup involves two HdHomeRun Primes. When OpenDCT gets set up, either by the Sage installation script or manually (I've done it both ways), it only seems to detect one of the Primes. At least, there's only one dct_hdhomerun.properties file in /etc/opendct/conf/lineups, and all its http references are to a single Prime. Does OpenDCT support multiple Primes? If so, how do I configure the additional Primes? 2) When I say I can't see any video, I suspect the problem is that Sage can't "find" the channels. I let Sage do a channel scan, in the course of setting up one of the Prime tuners (on the Prime which OpenDCT had found), but it found only a very small number of channels (26, after getting halfway through the scan, at which point I aborted it). I know the Prime can "see" hundreds of channels, because it serves my older Sage v7 setup. Also, when I go to the Prime's webpage, it lists hundreds of channels. So I think the problem is somewhere in how Sage is interacting with the Prime via OpenDCT. This surfaced vague memories of having to do something involving copying a Prime-generated channel scan into v7 of Sage for it to work...but I don't remember the details. But I do remember that the default Sage options, during tuner configuration, of "basic cable" and 'extended basic cable' (I'm on Comcast in the Bay Area) weren't quite right. Are there additional steps I need to go through to configure Sage to recognize Comcast's channel lineup? - Mark |
#2
|
||||
|
||||
Quote:
My machine is updating to 16.04 as I type..... Edit: No issues running OpenDCT with 16.04
__________________
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. Last edited by tmiranda; 11-19-2016 at 03:40 PM. |
#3
|
||||
|
||||
Did you do anything unusual to get Sage's channel scan to work?
|
#4
|
||||
|
||||
Quote:
Quote:
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#5
|
||||
|
||||
Thanx, I'll post them later tonight or tomorrow after doing another channel scan.
Can you tell me where the sage logs are stored? |
#6
|
||||
|
||||
I didn't do a scan. I had it working before the upgrade.
__________________
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. |
#7
|
||||
|
||||
I ran a complete channel scan, and it discovered a small fraction of the available channels. Interestingly, it took a very long time (probably about 20 or 25 minutes), and the channels it found didn't look anything like normal channels (e.g., their names looked like the raw channel IDs I seem to recall seeing while messing around with the HDHomeRun config software).
Here are the logs. Let me know what else I can do to help figure this out. - Mark |
#8
|
||||
|
||||
Quote:
DCT-HDHomeRun Prime Tuner 131F5955-1 on 10.0.0.34:9000
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#9
|
||||
|
||||
I played around some more with trying to get opendct and sage to talk to each other. In the course of that I re-installed opendct and re-configured opendct based on the instructions on its github page (I used the latest stable version).
Along the way I noticed one of the problems I had, I think: I was using pre-systemd commands to start, stop, and set for launch on boot...which is why neither opendct nor sage launched on boot. Using the right commands for Ubuntu 16.04 got me a different set of messages in the opendct log file when I ran console-only. In particular, it no longer complained about not having anything in the uPNP registry (or some such). Unfortunately, the channel scan in Sage is still taking forever, and not finding any channels I've attached the latest log files, as well as Sage.properties (it's in the zip archive). I've also attached a screen shot of what I'm seeing in Sage when I select what I think is an opendct-provided tuner. - Mark |
#10
|
||||
|
||||
Quote:
__________________
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 |
#11
|
||||
|
||||
+1. I've never done a scan. OpenDCT gets the complete lineup and enables all channels by default. All I had to do was disable the channels I wasn't interested in.
__________________
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. |
#12
|
||||
|
||||
Quote:
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#13
|
||||
|
||||
Quote:
This reminds me of something, though: when I look at the screen, in Sage, for a tuner after I've added it, the parameter "network encoder" shows as false. Which seemed odd, since these are HDHomeRuns we're talking about. What else is involved in the discovery process? Is there a way to set a more detailed logging level in Sage so I can see what it's doing, or not doing? |
#14
|
||||
|
||||
How do you do that?
|
#15
|
||||
|
||||
The EPG gets the channel list for my area, I just to in and ensure that only the channels that I want and are available are enabled (all done in sage). an actually channel scan is not required for cablecard, as the map of logical channels to actual tuning is handled by the cablecard/tuning adapter itself, not by sage or opendct.
__________________
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 |
#16
|
||||
|
||||
You had a unique situation whereby the ID of your HDHomeRun was being converted into an IP address by some logic I was unaware of in the Java API itself. The IP addresses should now be resolving correctly and you should be able to do normal channel scans.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#17
|
||||
|
||||
This morning I tried blowing away sage and re-installing it directly from the bintray deb file.
Still no luck. It's still taking forever to do a channel scan, and the resulting "channels" aren't really channels. Has anyone gotten this setup -- opendct and sagetv on Ubuntu 16.04 -- to work? What next steps can I try to figure out what's wrong? |
#18
|
||||
|
||||
A thought: is it possible that my HDHomeRun Primes are "locked" to my v7 Sage server, which runs on a different computer?
I'm just puzzled why my v9 Sage server is "seeing" Prime tuners that OpenDCT isn't making visible, and not seeing the ones that OpenDCT is supposedly making visible. |
#19
|
|||
|
|||
For what its worth I am in the process of moving to V9 on an Ubuntu 16.04 VM running in unRaid. I just finished installing my server and all tuners were detected even though my Win7 server was still online and mapped to those tuners.
What you show in your screenshot I also saw when I initially installed 16.04 while testing. My issue was that I did not stop Opendct after installation and run console-only from the CLI. I went into the Sage.properties file deleted all the mmc/enconder lines ran console-only and all my tuners including those on an adjacent 14.04 test VM were detected. Make sure you run console-only with opendct stopped and as has been mentioned no channel scan is needed. |
#20
|
||||
|
||||
I could've sworn I had opendct not running when I ran console-only...but maybe not.
So I redid everything, starting with deleting all the tuners from Sage.properties. I made absolutely positively sure that opendct wasn't running. Nor was sage. And then ran console-only. It appeared to run fine...but the same old same old: same "unusual" tuners listed in Sage, same too long channel scan, and no video. I'm beginning to think I'm trapped in hell, where even when you follow the instructions nothing works Other thoughts? Is there an alternative to opendct that runs on Linux? I'm about ready to throw in the towel on this experiment, 'cause nothing seems to work. Or provide any information on why it isn't working, either |
Tags |
16.04, opendct, ubuntu |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Moving sage install to Ubuntu 11.10 amd64. | kbyrd | SageTV Linux | 5 | 11-14-2011 08:43 AM |
Ubuntu 10.4 sage doesn't see one nova-t-500 tuner | steve909 | SageTV Linux | 3 | 09-03-2011 06:50 AM |
Sage 6.4 Server Hangs on Ubuntu | LittleTinkyWink | SageTV Linux | 5 | 09-27-2008 01:21 PM |
Placeshifter sage.playbackexception after few hours on Ubuntu | taylormadearmy | SageTV Linux | 6 | 03-29-2008 11:57 AM |
Install Sage on 64bit Ubuntu (7.10) | uggie | SageTV Linux | 2 | 11-13-2007 06:04 AM |