View unanswered posts    View active topics

All times are UTC - 6 hours





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

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: HDPVR and R6.02.00
PostPosted: Thu Mar 04, 2010 9:23 am 
Offline
Joined: Tue Oct 11, 2005 11:55 am
Posts: 38
Hi

Just wondering if there is something I need to do to get the
HDPVR working with the lastest build. I did a new install from
the R6.02.00 ISO. When I go to myth setup I select the option for
h.264 I get a FAILED TO OPEN Message. Also is do I need to
update or do anything to the nvidia driver to get VDPAU working?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 05, 2010 9:31 am 
Offline
Joined: Thu Sep 07, 2006 11:20 am
Posts: 389
I believe you still have to install the latest V4L drivers to get the HD-PVR working.
Code:
sudo pacman -Sf v4l-dvb

As long as you have a supported nVidia card, you should be able to use VDPAU. You just need to setup MythTV to use VDPAU as the decode method.

For HD-PVR debug advice: http://www.mythtv.org/wiki/Hauppauge_HD-PVR

For VDPAU advice: http://www.mythtv.org/wiki/Vdpau


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 07, 2010 7:36 pm 
Offline
Joined: Fri Oct 20, 2006 12:04 pm
Posts: 905
Location: LA, CA
nharris wrote:
I believe you still have to install the latest V4L drivers to get the HD-PVR working.
Code:
sudo pacman -Sf v4l-dvb

As long as you have a supported nVidia card, you should be able to use VDPAU. You just need to setup MythTV to use VDPAU as the decode method.

For HD-PVR debug advice: http://www.mythtv.org/wiki/Hauppauge_HD-PVR

For VDPAU advice: http://www.mythtv.org/wiki/Vdpau


Thanks for this post. Perfect help to get my new HD-PVR working!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 24, 2010 11:29 am 
Offline
Joined: Wed Jan 04, 2006 10:20 am
Posts: 387
Location: South New Jersey, USA
Not sure where to start on this one.

I just got a HDPVR for my birthday (woo hoo). I "pacman"ed the v4l-dvb and rebooted. Plugged the HDPVR USB in and tried to add it as a tuner card but it shows "Failed to open".

dmesg | grep hdpvr shows
usbcore: registered new interface driver hdpvr

dmesg | grep video shows:
ivtv0: Registered device video 0 for encoder mpg (4096 kB)
ivtv0: Registered device video 32 for encoder yuv (2048 kB)
ivtv0: Registered device video 24 for encoder pcm (320 kB)
ivtv1: Registered device video 1 for encoder mpg (4096 kB)
ivtv1: Registered device video 33 for encoder yuv (2048 kB)
ivtv1: Registered device video 25 for encoder pcm (320 kB)

I think all of the above is for the two pvr150 cards. True?

Any suggestions on what to look at.
Also I have not updated to 6.03 but I could. Does that help with anything on the HDPVR?

_________________
LINHES 8.6.1 BE/FE - MSI K9N6SGM-V with AMD A64 X2 4600+, 4GB Ram. 1.5TB WD. HDHR Prime. Nvidia GT210. MCE remote.
FrontEnd - Dell Vostro 400 3.0GHz Core2Duo NVidia GeForce210. MCE Remote


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 24, 2010 8:21 pm 
Offline
Joined: Wed Jan 04, 2006 10:20 am
Posts: 387
Location: South New Jersey, USA
Still no joy and hoping for some advice.

I updated to 6.03 with no change to the problem.
I did a lsusb -v and it confirms:
Bus 001 Device 002: ID 2040:4903 Hauppauge
it also confirms that it is connectoed to bcdUSB 2.00

I next did a modprobe hdpvr -l and it gave a path to hdpvr.ko

Finally I disconnect the hdpvr and tried it on my windows machine and was able to see video streaming from it.

I saw an item in the mythtv wiki about adding a "hdpvr_debug=#" option to the kernel but am not sure how to do that.

Any ideas what to do next?

_________________
LINHES 8.6.1 BE/FE - MSI K9N6SGM-V with AMD A64 X2 4600+, 4GB Ram. 1.5TB WD. HDHR Prime. Nvidia GT210. MCE remote.
FrontEnd - Dell Vostro 400 3.0GHz Core2Duo NVidia GeForce210. MCE Remote


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 24, 2010 11:19 pm 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1343
Location: Orlando FL
just a poke in the dark but try pulling out the other tunners to simplify your system.

_________________
My System


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 25, 2010 4:42 pm 
Offline
Joined: Wed Jan 04, 2006 10:20 am
Posts: 387
Location: South New Jersey, USA
Before trying MB's suggestion, I stumbled onto a couple links discussing problems with the v4l-dvb driver and the HDPVR product number 4903. The current driver (at least as of October 2010) does not identifiy this product number and therefore does not load.

More details at
http://ubuntuforums.org/showthread.php?t=1590146

To solve the problem, he edits the driver files and recompiles them. I tried to follow him but LINHES doesnt seem to have any of the driver files that he modifies. I have never compiled anything before and am not sure where to start.

Help!

_________________
LINHES 8.6.1 BE/FE - MSI K9N6SGM-V with AMD A64 X2 4600+, 4GB Ram. 1.5TB WD. HDHR Prime. Nvidia GT210. MCE remote.
FrontEnd - Dell Vostro 400 3.0GHz Core2Duo NVidia GeForce210. MCE Remote


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 25, 2010 6:53 pm 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
cesman had this problem with his HD-PVR a while back as well. You may want to send him a PM or hop on #linhes at irc.freenode.net and ask him about it.

_________________
Mike
My Hardware Profile


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 26, 2010 7:28 am 
Offline
Joined: Wed Jan 04, 2006 10:20 am
Posts: 387
Location: South New Jersey, USA
mihanson, thanks for the suggestion, I sent him a PM.

To update my latest efforts:

I went to the link on the mythtv HDPVR wiki page entitled "Patched HDPVR and Lirc drivers" (www.themaillan.com) and downloaded the following files:
hdpvr.h, hdpvr-control.c, hdpvr-core.c, hdpvr-i2c.c, hdpvr-video.c, Makefile

I backed up the old hdpvr.ko file and deleted the original. I then edited the hdpvr.h and hdprv-core.c files to add the new code. I then typed make clean and make.

That seemed to go ok but when I typed install it gave me an error (no rule to make target install). I tried to locate the new hdpvr.ko file but didnt find anything.

Any suggestions?

_________________
LINHES 8.6.1 BE/FE - MSI K9N6SGM-V with AMD A64 X2 4600+, 4GB Ram. 1.5TB WD. HDHR Prime. Nvidia GT210. MCE remote.
FrontEnd - Dell Vostro 400 3.0GHz Core2Duo NVidia GeForce210. MCE Remote


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 26, 2010 7:23 pm 
Offline
Joined: Mon Dec 24, 2007 9:47 am
Posts: 535
Location: Ottawa, Canada
I noticed you had device 4903 as well but I was very sure that in the current repo 4903 has been added in to LinHES. In fact cesman made the change and I verified it with him.

Now that I do:
Code:
modinfo hdpvr

on my system I note the alias for 4903 is not in my driver. Not sure why not. it was in testing at one point.

I know cesman has a vested interested so best to wait for his reply rather than trying to do this yourself.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 27, 2010 8:07 am 
Offline
Joined: Wed Jan 04, 2006 10:20 am
Posts: 387
Location: South New Jersey, USA
The current driver in the v4l-dvb package in the linhes repos does not support 4903.

I had a great chat with mihanson on irc yesterday who provided some instructions on how to update the driver. I didnt have a chance to try it yet but will be giving it a go tonight. I also added a bug report in flyspray. I will let you know as soon as I am done.

_________________
LINHES 8.6.1 BE/FE - MSI K9N6SGM-V with AMD A64 X2 4600+, 4GB Ram. 1.5TB WD. HDHR Prime. Nvidia GT210. MCE remote.
FrontEnd - Dell Vostro 400 3.0GHz Core2Duo NVidia GeForce210. MCE Remote


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 27, 2010 7:35 pm 
Offline
Joined: Wed Jan 04, 2006 10:20 am
Posts: 387
Location: South New Jersey, USA
Success! i was able to compile the new v4l-dvb driver. I basically followed Greg Frosts instructions on
http://mysettopbox.tv/phpBB2/viewtopic.php?t=19849

For the source package I used
wget http://linhes.org/repo/src_packages/cor ... src.tar.gz

I also hit a bump as the MD5 checksum in the PKGBUILD did not match the file. I had to recalculate it and update the file to get makepkg to work.

_________________
LINHES 8.6.1 BE/FE - MSI K9N6SGM-V with AMD A64 X2 4600+, 4GB Ram. 1.5TB WD. HDHR Prime. Nvidia GT210. MCE remote.
FrontEnd - Dell Vostro 400 3.0GHz Core2Duo NVidia GeForce210. MCE Remote


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 03, 2011 8:55 am 
Offline
Joined: Sun Jul 24, 2005 4:16 pm
Posts: 508
Location: Ft. Worth TX
Well, I bought a Hauppauge 1212 preparatory to upgrading to Dish HD.
I was surprised when setting it up, that it failed to open. A little research turned out it's a 4903, so the above looks like my problem. Just checking to see if there's an easier fix than the packagebuild process above, now that it's a few months later.

This is going to be on a busy production machine & I don't want to skroo it up ! :D

You can't download the latest v4l driver and compile like the example, because it's Arch.. is that right ?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 04, 2011 12:34 pm 
Offline
Joined: Wed Jan 04, 2006 10:20 am
Posts: 387
Location: South New Jersey, USA
@Snap
I had opened a bug report and on it there is a download with the updated package that reportedly includes the 4903 ID.

http://linhes.org/bugs/issues/723

You should be able to wget it from there and then do a

pacman -U /path/to/package

to load it.

Then pickup with the mythtv wiki to make sure that it loaded and there is a /dev/video? for it.

_________________
LINHES 8.6.1 BE/FE - MSI K9N6SGM-V with AMD A64 X2 4600+, 4GB Ram. 1.5TB WD. HDHR Prime. Nvidia GT210. MCE remote.
FrontEnd - Dell Vostro 400 3.0GHz Core2Duo NVidia GeForce210. MCE Remote


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 04, 2011 12:45 pm 
Offline
Joined: Sun Jul 24, 2005 4:16 pm
Posts: 508
Location: Ft. Worth TX
Thanks, man ! I was messing with trying to modify the packagebuild without a lotta luck so far ..... :lol:

Ok that went off the tracks, but I'm not sure why ...


Code:
[root@mythbox60 v4l-dvb]# makepkg --asroot
==> Making package: v4l-dvb 1-17 i686 (Fri Feb  4 15:29:14 CST 2011)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Downloading tip.tar.gz...
--2011-02-04 15:29:15--  http://linuxtv.org/hg/v4l-dvb/archive/tip.tar.gz
Resolving linuxtv.org... 130.149.80.248
Connecting to linuxtv.org|130.149.80.248|:80... connected.
HTTP request sent, awaiting response... 200 Script output follows
Length: unspecified [application/x-tar]
Saving to: `tip.tar.gz.part'

    [             <=>                       ] 4,956,864    129K/s   in 38s

2011-02-04 15:29:57 (127 KB/s) - `tip.tar.gz.part' saved [4956864]

  -> Found hdpvr.diff in build dir
==> Validating source files with md5sums...
    tip.tar.gz ... Passed
    hdpvr.diff ... Passed
==> Extracting Sources...
  -> Extracting tip.tar.gz with bsdtar
==> Starting build()...
/home/greg/v4l-dvb/PKGBUILD: line 19: patch: command not found
/home/greg/v4l-dvb/PKGBUILD: line 20: make: command not found
==> ERROR: Build Failed.
    Aborting...
[root@mythbox60 v4l-dvb]#


OK, needed to get the tools:
To get the required development tools (gcc, make, fakeroot etc.):
Code:
pacman -Sy base-devel

Try again, compiled, what's the target name to install ?
OK...Got it:

Code:
[root@mythbox60 v4l-dvb]# dir
Adding       Generating  pkg         v4l-dvb-1-17-i686.pkg.tar.gz
Compressing  PKGBUILD    src         v4l-dvb.install
Creating     hdpvr.diff  tip.tar.gz
[root@mythbox60 v4l-dvb]# pacman -U v4l-dvb.install
loading package data...
error: error while reading package v4l-dvb.install: Unrecognized archive format
error: 'v4l-dvb.install': libarchive error
[root@mythbox60 v4l-dvb]# pacman -U v4l-dvb-1-17-i686.pkg.tar.gz
loading package data...
checking dependencies...
(1/1) checking for file conflicts                   [############################] 100%
(1/1) upgrading v4l-dvb                             [############################] 100%
[root@mythbox60 v4l-dvb]#



OK, The hdpvr is opening in setup now, but I'm trying to shut down blackscreen problems.

...Sorted out blackscreen problems... Needed exact form of '/usr/bin/change_channel.sh' command

Now the picture is stuttering, (3.2ghz hyperthreading P4) I'm looking at enabling the processing by the 8400 Nvidia card.

Playback setup 'high qual vdpau' fixed the stuttering, but the sound is gravelly, and it's frame-dropping...

Live TV plays underpowered...

Isn't this a pretty strange 'top' after implementing (hdpvr) ?
[Regarding the high cpus (hyperthreading on...) for mythfrontend and mythtv-setup (?) ... even when the box is idling ...] ..??

Code:
 7673 mythtv    20   0  450m 265m 7164 R   97 13.1 223:58.10 mythfrontend
 7558 root      20   0  407m 175m 8360 R   94  8.6 215:58.51 mythtv-setup
  423 root      15  -5     0    0    0 S    2  0.0   3:22.36 scsi_eh_1
 5856 root      20   0  237m 9880 8280 S    1  0.5   2:47.17 mythtv-setup
 7141 mythtv    20   0  402m  75m 4104 S    1  3.7   2:58.34 mythbackend
 6087 mythtv    20   0  504m  19m  14m R    1  1.0   5:56.36 mythfrontend
 6982 root      20   0  236m  11m 8280 S    1  0.6   4:39.91 mythtv-setup
 7000 mythtv    20   0  363m  15m  12m S    1  0.8   1:25.69 mythfrontend
 7352 mythtv    20   0  454m 122m  12m S    1  6.1   0:49.15 mythfrontend
 8349 greg      20   0  2176 1072  820 R    1  0.1   0:00.49 top
  415 root      15  -5     0    0    0 S    0  0.0   0:58.84 ata/0
 5203 mythtv    20   0  331m  13m  10m S    0  0.7   2:00.45 mythfrontend
 7464 mythtv    20   0  481m 109m  12m S    0  5.4   0:51.91 mythfrontend
 7513 mythtv    20   0  546m 110m  12m S    0  5.4   0:53.19 mythfrontend
 7575 mythtv    20   0  544m 162m  10m S    0  8.0   0:59.14 mythfrontend
 7622 mythtv    20   0  470m 206m  10m S    0 10.2   0:52.57 mythfrontend
    1 root      20   0   744   56   36 S    0  0.0   0:00.92 runit


Note:
The HD files out of the HDPVR play fine in a WD Media Player, but Mythbox frontend is struggling (garbled sound and frame dropping...)
Have an 8400 Nvidia card, think it's enabled, but doing more checking....


Top
 Profile  
 

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



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 7 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