|
SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
HD recording with HDPVR is sporadic and unreliable.
I have notice over the past 2 weeks that I have problems with recordings were they tend to crash randomly.
I'm running sagetv with a hdpvr under linux. I think my problems come from recording HD. I have a comcast 6200 box right now. Something is halting the recordings and I'm really unable to verify what the problem may be. The sagetv recording eventually seems to start recording again for whatever reason after having slept for a random period of time. For instance "Trust Me" from last Monday looks like this for me TrustMe-AuCourant-149112-1.ts ~ 900MB TrustMe-AuCourant-149112-0.ts ~ 1.9GB Attached you will find the debug output from the sagetv server during the recording of the show. There are parts missing to the show in between those recordings as my recording settings should have an hour of video at 3.7GB. Before I contacted support directly I wanted to see if anyone else was having a similar problem with an hdpvr. Unfortunately this doesn't seem to happen with any pattern that I can tell. I'm so close to having this setup work perfectly if only I could get entire recordings before adding more STB's and HDPVR's! Last edited by fract4l; 02-26-2009 at 06:27 PM. |
#2
|
||||
|
||||
Have you ever been able to record files that were greater than 2GB?
I assume your problem is related to your version of Linux. Many 32-bit linux versions have 2GB file limits. You might be able to run a different type of filesystem to get around the limit. Check the support site of the version of Linux you are running for the details. |
#3
|
|||
|
|||
Thanks for the reply. I guess I should have mentioned I am using ubuntu 8.10 which by default uses a kernel > 2.4 and glibc > 2.2 both of which, if I'm not mistaken, eradicated the annoyance of not allowing files to being grater than 2GB. I'm using also using ext3 which worst case has a 16GB file limit with the details mentioned in the previous sentence.
To answer in a much easier way. Yes I do have a number of full complete hour recordings at ~4GB. I even have a few complete 2hr movies that weigh in at almost 8GB. |
#4
|
|||
|
|||
Care to post a dmesg output too? Might not hurt to post your fstab as well.
B
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#5
|
|||
|
|||
I know it's been a while since starting this, and I still haven't come up with any good information or possible reasons. In fact 15 minutes ago I noticed the red light light up on my hdpvr in the middle of when it should have been recording "Two and Half Men". I checked the logfile and results were pretty much the same as the the show I attached a log file above. I wonder why sagetv doesn't recognize right away the thread died and try to restart it instead of sleeping away for x number of minutes.
I checked my kernel.log and there were no new for the past 3 days, so that won't be much help there. I thought it might have been problems with the optical audio, but I have updated the newest firmware as of the 15th of march, that didn't help. I also started using the rca audio yesterday in hopes that it would solve my problem but obviously that is not the case. Below you will find the fstab from my machine. Code:
# /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # /dev/sda1 UUID=463d12b8-5e55-4fd9-9676-64634f069b39 / ext3 relatime,errors=remount-ro 0 1 # /dev/sda5 UUID=f0ba715a-8c90-4368-8a31-863b100bf8d6 none swap sw 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0 |
#6
|
|||
|
|||
So I think I've narrowed down why the recordings stop. I am able to reproduce the error each and every time now.
I recorded with my comcast stb dvr an episode of TV a few days ago as I normally do since my hd-pvr doesn't always work, due to the problem listed above. I watched the episode on my dvr and noticed there was a pop in the audio feed once a local news/weather commercial started. I assume the feed changed audio sources or maybe how it was broadcasting the audio changing from 5.1 to stereo or visa versa. I went and checked the outputs from my sagetv recording and the recording died as soon as the this local news commercial started. Now I'm not sure this is a problem with sagetv per se because if I play back this recorded hour while doing a manual recording Code:
cat /dev/video > ~/test.ts |
#7
|
|||
|
|||
Do you have a windows box to attach the hdpvr to for a driver/firmware update? I am on version 0xf I think. Also, I am recording analog stereo because of issues with FiOS boxes. Lastly, have you compiled a driver from source yet?
B
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#8
|
|||
|
|||
Based on your fstab it looks like you have a single hard drive / partittion.
Personally, I would use a separate hard drive for the recording device. If that is not possible, at a minimum a different partition. Also, I would use an xfs filesystem instead of ext3. fyi, I have also noticed lock-ups with the HD-PVR on audio changes; I am using XP though.
__________________
[size=1]-MrD ============= Linux Server 7.1.9 (1)HD300 (1) HD200 (1) HD100 (2) PC Clients Intel Xeon L? 32Gb CetonTV cable card /FIOS |
#9
|
|||
|
|||
For the recording device I mean
__________________
[size=1]-MrD ============= Linux Server 7.1.9 (1)HD300 (1) HD200 (1) HD100 (2) PC Clients Intel Xeon L? 32Gb CetonTV cable card /FIOS |
#10
|
|||
|
|||
So I've let the hd-pvr run for a week now using rca for audio instead of spdif without touching anything. I'm happy to say that at this point I haven't had a fragmented recording. I guess I will have to leave it this way for the time being.
The only problem I'm finding now is the that audio levels from the RCA are too low to listen to via passthrough or streaming the recording with placeshifter. The only way I have been able to hear the audio is after encoding it again with ffmpeg using a -vol 4000. Obviously this isn't the best solution as encoding video takes a number of hours. So I guess I need to see if there is a way that I can get sagetv to increase the volume at recording time. Initial searches didn't return anything fruitful but I'll continue looking. Almost there! |
#11
|
|||
|
|||
This is a bit of a hack, but maybe you could feed the RCA into a old receiver (with a tape monitor) then feed the HD-PVR with the tape monitor outputs.
__________________
[size=1]-MrD ============= Linux Server 7.1.9 (1)HD300 (1) HD200 (1) HD100 (2) PC Clients Intel Xeon L? 32Gb CetonTV cable card /FIOS |
#12
|
|||
|
|||
Quote:
In my case it's the local Comcast low-quality commercials that seem to kill the HDPVR stream. The moment the commercial is over, the recorder stops. As in your case, Sage detects this and restarts the recorder each time. But I don't recall ever seeing this when I was using Sage under Windows so it's making me think it's a Linux driver issue.
__________________
Server: HP DL380 G6, VMware ESXi 5.0 with HW passthrough for USB and Firewire, 4 x HD-PVR, ZFS storage SageTV: Production: 7.1.9+Java 1.6.0_32 on XP, Test: 9.0.4.291+Java 1.8.0_72 on Linux 64-bit Clients: 2 x Sage HD200 Extender, 1 x Sage HD100 Extender Sources: 4 x Motorola DCH-3200 (firewire channel changing), HD Homerun Prime, OpenDCT 0.5.7 |
#13
|
||||
|
||||
This is a known issue with the chip used in the HD-PVR. I've blogged about it, as well as posted my findings here on the forums. The actual issue normally traces back to a single channel switching from stereo to 5.1, which requires the HD-PVR's chip to stop and restart to change the audio format.
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT Software: SageTV 7 |
#14
|
|||
|
|||
What's strange to me is that I was running this same HDPVR under Windows for at least six months using SPDIF. While I had occasional lockups like many others, I didn't notice this behavior with it stopping due to apparent audio stream changes. I typically record sporting events and they were always one file without breaks. Now I end up with 10 to 20 files for a single game under Linux.
So far in Linux the HDPVR does not seem to lock up, but now I have this "new" problem.
__________________
Server: HP DL380 G6, VMware ESXi 5.0 with HW passthrough for USB and Firewire, 4 x HD-PVR, ZFS storage SageTV: Production: 7.1.9+Java 1.6.0_32 on XP, Test: 9.0.4.291+Java 1.8.0_72 on Linux 64-bit Clients: 2 x Sage HD200 Extender, 1 x Sage HD100 Extender Sources: 4 x Motorola DCH-3200 (firewire channel changing), HD Homerun Prime, OpenDCT 0.5.7 |
#15
|
||||
|
||||
You may have had other issues which were masking the "simple" audio switch issue. That was also the last "issue" I identified because it was finally the ONLY thing that was going wrong. Sadly, it's not one that anyone can fix. Thankfully, this is not a major issue and doesn't prevent the HD-PVR from recording the show or from recording the next show. But, it does cause the multi-file issue which Sage happens to handle quite elegantly. TBH, I don't even consider it an issue anymore.
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT Software: SageTV 7 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Firewire recording + HDPVR on one cable box | Endymion | Hardware Support | 1 | 04-01-2009 02:15 PM |
Slow/Sporadic Remote response on SD200 | ace007 | SageTV Media Extender | 2 | 02-02-2009 10:50 AM |
Sporadic success logging on remotely | ace007 | SageTV Placeshifter | 2 | 09-29-2008 07:50 AM |
Sporadic Freeview EPG Data Missing.... | Flatstanly | SageTV United Kingdom | 4 | 07-21-2008 04:14 AM |
My MVP is unreliable, anything I can do? | stux | SageTV Media Extender | 3 | 07-09-2008 07:32 AM |