|
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 |
#21
|
||||
|
||||
not yet... i am afraid
__________________
AMD Ryzen 7 1700 w/ SageTV Server Linux V9.1.8.774 - Ubuntu 16.04LTS AMD64 -- 1x HDHomeRun Prime -- 1x HDHR-DT -- 1x HD-PVR 2x SageTV HD-300 Media Extenders 1x NVIDIA ShieldTV |
#22
|
|||
|
|||
Well..
Running the most recent driver code I plugged the device in. It threw off the naming of my PCI cards on reboot. I wrote a udev rule to set the name, but it doesn't change the value of the kernel number. I blacklisted hdpvr and am now modprobing it in rc.local. Upon first launch in SageTV I went to configure the device, and inputs are note selectable in the screen. Tailing the log, the only thing I see is: Quote:
v4l2-ctl --device=/dev/video3 -I --get-audio-input Video input : 0 (Component) Audio input : 0 (RCA back) Anyone have any thoughts? B
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#23
|
|||
|
|||
I see in your sig you are running 64 bit linux, In order to get sage running I'm sure you already went through the process of getting 32 bit java and the required libs for sage setup, you will need a one line patch to the hd-pvr driver to make it work with 32 bit apps when it is compiled for a 64 bit kernel,
add the following line: .compat_ioctl = v4l_compat_ioctl32, to the file linux/drivers/media/video/hdpvr/hdpvr-video.c to the bottom of the hdpvr_fops struct near line 611 and recompile/reload the hdpvr module Let me know if that works ( I wont be able to test the new sage support for hdpvr until the middle of next week ) and I'll try to get it added to the hd-pvr driver upstream source |
#24
|
|||
|
|||
Added it to:
Code:
static const struct file_operations hdpvr_fops = { .owner = THIS_MODULE, .open = hdpvr_open, .release = hdpvr_release, .flush = hdpvr_flush, .read = hdpvr_read, .poll = hdpvr_poll, .ioctl = hdpvr_ioctl, .compat_ioctl = v4l_compat_ioctl32, }; Thanks B
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#25
|
|||
|
|||
Partial success
The stream records and plays back on an HD Extender, but it isn't tuning channels. I think it is partially failing:
Quote:
Quote:
B
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT Last edited by bcjenkins; 08-11-2008 at 03:48 PM. |
#26
|
|||
|
|||
That actually does look like some more 32bit <-> 64 bit problems, i dont see VIDIOC_S_AUDIO or VIDIOC_S_EXT_CTRL in compat_ioctl32.c
but VIDIOC_ENCODER_CMD should definetely be working.. Would be so nice if the sage guys could just get sage for linux recompiled for 64 bit...... |
#27
|
|||
|
|||
as near as I can tell, VIDIOC_S_AUDIO, VIDIOC_S_EXT_CTRLS, VIDIOC_ENCODER_CMD need to be added to v4l_compat_ioctl32 in video/compat_ioctl32.c hd-pvr seems to be the first v4l2 driver that needs them which is why they havent been in there before. I will add them and test tonight
|
#28
|
|||
|
|||
cool, these are the same errors I see with using hvr-1600s
B
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#29
|
|||
|
|||
Hrm, i cant even get my sage server past the setup wizard with the hdpvr driver
after selecting component on the video0 device in the setup wizard, I get a "There was a Capture Error in playback. Details: ERROR (647,0x6e): There was a problem setting up software audio compression. and in the sage log: Mon 8/11 22:41:10.262 V4L: createEncoder /dev/video0 Mon 8/11 22:41:10.262 V4L: detected hdpvr Mon 8/11 22:41:10.262 V4L: getV4LCardType /dev/video0 Mon 8/11 22:41:10.262 V4L: getV4LInputName /dev/video0 0 Mon 8/11 22:41:10.262 V4L: setInput0 0 0 1 1 Mon 8/11 22:41:10.262 V4L: setting standard to 0x3000 Mon 8/11 22:41:20.260 V4L: Failed to set video standard to 12288. Mon 8/11 22:41:20.307 V4L: getV4LCardType /dev/video0 Mon 8/11 22:41:20.307 V4L: getV4LInputName /dev/video0 0 Mon 8/11 22:41:20.307 V4L: setInput0 0 0 1 1 Mon 8/11 22:41:20.307 V4L: setting standard to 0x3000 Mon 8/11 22:41:30.300 V4L: Failed to set video standard to 12288. Nothing in dmesg, kernel 2.6.24 x86_64 How did you get yours past the setup wizard? |
#30
|
|||
|
|||
OK, got it working, also squashed 2 of those missing 32 bit wrapper ioctls, still working on the last one
|
#31
|
|||
|
|||
It would seem that placeshifter cannot play the video output by the hd-pvr? I just get a black screen. Using the 6.4.7 placeshifter for mac...
Interestingly mplayer for mac crashes trying to play a sample file catted from the hddvr device, and I thought mplayer was used by placeshifter to actually display video.. |
#32
|
|||
|
|||
It is actually ffmpeg. I don't think FFMpeg is capable of playing this back yet, easily. The HD extender can play the files back without issue though.
B
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#33
|
|||
|
|||
Quote:
B
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#34
|
|||
|
|||
Quote:
Thanks, B
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#35
|
|||
|
|||
I'll send it along as soon as I figure out the last ioctl (which looks to be a huge PITA). Should be this evening..
|
#36
|
|||
|
|||
How in the heck do you get sagetv to use the spdif audio input (input 2 via v4l2-ctl --device=/dev/video0 --set-audio-input=2)
Sage seems to set it to Audio input : 0 (RCA back) on startup, and I don't see anything obvious in Sage.properties to override it.. ugh |
#37
|
|||
|
|||
I don't have access to my server right now, but take a look in the Sage.properties file at the mmc/encoders section.
B
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#38
|
|||
|
|||
OK, here is the patch that enables hdpvr to work fully under 64 bit kernels with SageTV, it will also silence anyone seeing dmesg errors about VIDIOC_S_AUDIO, VIDIOC_ENCODER_CMD, and VIDIOC_S_EXT_CTRLS
please test! Last edited by trueno; 01-28-2017 at 01:59 PM. |
#39
|
|||
|
|||
Patch applied and works on my HVR1600s. Will test HDPVR later. THANK YOU VERY MUCH.
B
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#40
|
|||
|
|||
Happy to help!
Quick question, My extenders seem to freeze (they still respond, but video is frozen and has to be restarted) when changing channels recorded via the hd-pvr, everything works fine if I hit stop, and then change channels via the guide, but If I just key in a new channel number while watching another, it seems to freeze a second after the channel change. Are you seeing anything like this? (Latest extender beta firmware) |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HD PVR and IR tuning? | Deacon Crusher | Hardware Support | 39 | 12-06-2009 11:17 AM |
Capture Devices Gone After Reboot | hchucky | Hardware Support | 6 | 11-14-2008 10:24 PM |
SageTV V6.4.2 Public Beta is Here! | Narflex | SageTV Beta Test Software | 3 | 05-13-2008 08:19 PM |
The Beginning of the End? | lobosrul | General Discussion | 76 | 05-01-2007 06:39 PM |