View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 20 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: R5B7 and PVR-350 TV Out
PostPosted: Mon Mar 20, 2006 12:29 pm 
Offline
Joined: Tue Feb 14, 2006 9:04 am
Posts: 6
I upgraded my R5A22 install to R5B7 and it works pretty good, on my computer screen. To get the TV-Out working, I used to use the pvr script from http://dc1.snapperworld.net/files/mythtv/ , however, it doesn't have anything for this new version.

Is this still the way to enable TV-Out or is there a new procedure? If not, should we just sit tight till a R5B7 pvr script shows up?

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 20, 2006 2:02 pm 
Offline
Joined: Fri Aug 26, 2005 9:54 pm
Posts: 617
The procedure I wrote up on the wiki still works: link


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 20, 2006 7:55 pm 
Offline
Joined: Thu Feb 23, 2006 8:59 pm
Posts: 19
Hi Ryan,

I'm setting up according to your instructions and mythfrontend asks me,
under setup --> TV settings, for the "Video device for the PVR-350 decoder" and gives me a default of /dev/video16. How do I know this is the correct
value? Is it the same for the decoder and the encoder (both are on the same card)?

Thanks!

AL


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 20, 2006 8:07 pm 
Offline
Joined: Mon Nov 28, 2005 9:05 pm
Posts: 200
Video16 is the default and is correct you should not need to change it.


Top
 Profile  
 
 Post subject: thanks
PostPosted: Mon Mar 20, 2006 8:41 pm 
Offline
Joined: Tue Feb 14, 2006 9:04 am
Posts: 6
Thanks Ryan, the manual setup worked.

FYI for all PVR-350 ppl: Listen to tjc and remove the ivtv entry from /etc/modules.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 20, 2006 9:13 pm 
Offline
Joined: Thu Feb 23, 2006 8:59 pm
Posts: 19
I'm trying to do the manual setup. When I reboot afterwards it fails to run
X, saying "/dev/fb0: No such device". My XF86Config-4 contains

Option "ivtvdev" "/dev/fb0"
inside the Hauppauge device section.

$ less /var/log/XFree86.0.log
says

---------------------------------------------------------
(II) IVTVDEV_TST: driver for framebuffer: PVR-350
(II) Primary Device is: PCI 01:05:0
(WW) ivtvdev: No matching Device section for instance (BusID PCI:0:18:0)
(EE) No devices detected.

Fatal server error:
no screens found
-----------------------------------------------------------

$ lspci | grep MPEG
says
------------------------------------------------------------
0000:00:12.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2 Encoder (rev 01)
------------------------------------------------------------


Note that 12 hex is 18 decimal.

My /etc/X11/XF86Config-4 actually contains

BusID "PCI:0:0x12:0"

When I look in /var/log/messages I find
mythtv kernel: ivtv0: Initialized WinTV PVR 350, card#0

The final bit of relevant information is that when I run

$ grep osd /var/log/messages
I get (among other things):
-----------------------------------------------------------------
mythtv kernel: ivtv0-osd: fb0 cx23415 TV out frame buffer device
and earlier in the same file,
mythtv kernel: ivtv0-osd: Framebuffer module loaded (attached to ivtv card id 0)
------------------------------------------------------------------

Does anyone have any suggestions on what I could do next?

Thanks,

AL


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 21, 2006 7:02 am 
Offline
Joined: Fri Aug 26, 2005 9:54 pm
Posts: 617
kofila wrote:
My XF86Config-4 contains

Option "ivtvdev" "/dev/fb0"

inside the Hauppauge device section.

I beleave your XF86Config-4 should have both:
Code:
Option      "fbdev" "/dev/fb0"
Option      "ivtvdev" "/dev/fb0"

Do you have both lines? Other then that it looks like you have everything set correctly.

Go to /dev and use:
Code:
ls -l fb*

Just to make sure the fb0 device is there.

kofila wrote:
. . . gives me a default of /dev/video16. How do I know this is the correct
value?

Video16 is the first hauppauge framebuffer device in your system. Unless you have more then one pvr-350 video16 will always be the correct choice.
kofila wrote:
Is it the same for the decoder and the encoder (both are on the same card)?

The way the drivers work card #1 actually uses the following devices: video0, video16, video32, & video48. The other devices are for closed captioning and other stuff.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 21, 2006 7:36 am 
Offline
Joined: Thu Feb 23, 2006 8:59 pm
Posts: 19
Thanks Ryan, I do have both option lines, not just the one I mentioned earlier. And when I list /dev/fb* I see 8 devices /dev/fb0 through /dev/fb7.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 22, 2006 8:32 am 
Offline
Joined: Fri Aug 26, 2005 9:54 pm
Posts: 617
kofila wrote:
Thanks Ryan, I do have both option lines, not just the one I mentioned earlier. And when I list /dev/fb* I see 8 devices /dev/fb0 through /dev/fb7.

Well it looks like you have everything setup correctly.

When did you buy the card? Maybe it uses a newer chip that the ivytv driver doesn't support 100%. have you ever had the tvout working? On an older version of knoppmyth? Or in windows?

Next you should try compiling the newest version of the ivytv driver. There are instructions for that on wiki.knoppmyth.net. Also try different firmware versions (new and old).

Also remember when troubleshooting hauppauge cards always compleatly powerdown the system and disconnect the powercable for 20-30 seconds. Otherwise the card will "remember" settings from before a soft-reboot.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 22, 2006 9:22 am 
Offline
Joined: Thu Feb 23, 2006 8:59 pm
Posts: 19
I think the card is fine. It worked well with R5A30.2. At the time, the getpvr.pl and pvr.pl scripts did not work, so I just reused the R5A30.1 scripts and those worked fine.

This time around, again the getpvr and pvr.pl scripts weren't there yet, so I tried reusing R5A30.1 scripts and it didn't work this time. After that I tried
following the procedure you described. To be completely sure I would have
to reinstall R5A30.2 to see if it works (that would mean I haven't blown anything on the card). The funny thing is the card has worked under R5B7 for recording to disk and then decoding in software to computer screen. But now it doesn't even do that. All I get when I try to watch TV is "Could not initialize video".

I will try compiling from scratch and see how that goes. And Thanks for the tip about the card's memory of previous settings !!!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 22, 2006 10:00 pm 
Offline
Joined: Sun Feb 05, 2006 10:57 am
Posts: 2
Ryan,

You say above that the procedure on the wiki still works with R5B7. I respectfully disagree.

The first problem I run into is in step 3, where the ivtvdev X11 driver is installed. First, the /usr/src/ivtv-0.2.0-rc3j.tgz file has been replaced with /usr/src/ivtv-0.4.3.tar.gz in R5B7. Worse, if I just substitue this new filename, then the tar works fine, but the install fails because ivtvdev_drv_o is not included in that tar file (ivtv-0.4.3).

OK, so I see the comment *after* step 3 to download the X driver from dl.ivtvdriver.org, should section A start with step 3, so that the tar/install isn't done for R5B7?

Also, this "Section A" and "Section B" thing is kind of weird. Why not just continue the section numbering and call out some steps to be skipped in the releases they're not relevant to? Having several steps named "step 3" causes some confusion, I think.

I'd be happy to make those changes to the wiki, but I'm not sure what to do with the first step 3. Add a download step for 0.2.0-rc3j for R5B7? Skip it? It looks like all that's taken is the X driver, so I guess skip, but I want to be sure before I screw it up!

Thanks. I'll check this thread later on for your reply.

Tim


Top
 Profile  
 
PostPosted: Thu Mar 23, 2006 12:25 am 
Offline
Joined: Thu Feb 23, 2006 8:59 pm
Posts: 19
I am writing this partly as a journal to myself (ie don't expect complete solutions here). I just implemented step 1 of the first section A (which is intended for R5A12 but as I understand it, was originally *not* for R5B7, except for a just-added comment that says that that comment appears to be required for R5B7 as well). I just added those modprobe lines into
/etc/mythtv/modules/ivtv.

Now my setup is in a weird state (unless R5B7/0.19 introduces some new features that I'm unaware of). I switched to tvout using the symlinks, and
only got a black screen on the TV. Then I switched back to monitor using the symlinks, and then I noticed that the menus are on the monitor, but the live TV is on the TV out. Sometimes only one of these works, but sometimes I can eg. use the program schedule menu on the monitor while the TV is showing live TV. Is this a new feature? How can I configure it so that everything related to mythTv appears on the TV through tvout, including the menus?

Long term, I would really like to do a proper dual-head arrangement with mythTV using the TV exclusively and my Computer monitor free to run other Linux programs interactively.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 23, 2006 9:04 am 
Offline
Joined: Fri Aug 26, 2005 9:54 pm
Posts: 617
tdstds wrote:
Ryan,

You say above that the procedure on the wiki still works with R5B7. I respectfully disagree.

The first problem I run into is in step 3, where the ivtvdev X11 driver is installed. . .

That section is for R5A12. This thread is about R5B7. Why are you following the steps for the wrong knoppmyth version? Use the part labled "For R5A22 and later". Notice the "later" included?

kofila wrote:
I just implemented step 1 of the first section A (which is intended for R5A12 but as I understand it, was originally *not* for R5B7, except for a just-added comment that says that that comment appears to be required for R5B7 as well). I just added those modprobe lines into
/etc/mythtv/modules/ivtv.

That is confusing. I deffently didn't have to perform that step. But depending on what version you are upgrading from you might.
"kofila wrote:
the menus are on the monitor, but the live TV is on the TV out.

You selected the "Use pvr-350 hardware" before you got the X pvr-350's framebuffer driver working. Before you say "But I disabled that", I have noticed that option in mythfrontend setup only takes effect when you restart mythfrontend/reboot. I don't know why.

I agree the instructions in the wiki are confusing. I see no reason to keep the sets for older knoppmyth versions.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 23, 2006 1:07 pm 
Offline
Joined: Thu Feb 23, 2006 8:59 pm
Posts: 19
Okay, I'd forgotten to revert the "Use PVR350 to display" setting in mythfrontend. So now I can get both TV and menus on the monitor, or I can get menus on the monitor and TV on TV out (using PVR350 to display).

I still can't get both menus and TV out on the PVR350, despite recompiling
the ivtv driver, and checking that I have the latest firmware. I've noticed
that the wiki has been changed to remove the multiple section As. Easier
to understand now. On the question of whether the new step 1 is really required, I need step 1 in order to get anything to show on my TV. Without step 1, I can't even get gdm to start successfully.
I have a few questions: when I do a lsmod, I see

ivtv
ivtv_fb
(and other things)

I don't see

ivtvdev_drv

-- Is that normal?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 23, 2006 1:37 pm 
Offline
Joined: Thu Feb 23, 2006 8:59 pm
Posts: 19
Also, if anyone doesn't mind sharing their hardware setup with which they are successfully running R5B7 together with TVout on a PVR350, I'd appreciate it. Don't know if I could get some hints from hardware details.

The only weird thing I'm doing is LVM to tie together two disks, and I think it should be completely independent of the TVout feature. I'm using an old Athlon (900Mhz) which is why I want to use hardware decoding.

Finally if anyone got the getpvr.pl or pvr.pl scripts (older versions of these) to work with R5B7, and you don't mind, you could please share your hardware configuration. Thanks!!!!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu