Author |
Message |
nharris
|
Posted: Tue Jul 15, 2008 3:08 pm |
|
Joined: Thu Sep 07, 2006 11:20 am
Posts: 389
|
While waiting for my new HD-PVR to arrive, I tried compiling the v4l driver under R5.5. After installing mercurial (apt-get install mercurial), everything compiles and installs cleanly (gotta love KnoppMyth) using the guide at:
http://www.mythtv.org/wiki/index.php/Hauppauge_HD-PVR
Unfortunately, that is as far as I can get without the actual hardware.
Does anyone have an HD-PVR who is willing to do some experimentation? When mine arrives, I'll provide more feedback.
UPDATE - Hauppauge tells me that my unit should ship by the 18th.
Last edited by nharris on Wed Jul 16, 2008 1:48 pm, edited 1 time in total.
|
|
Top |
|
|
Liv2Cod
|
Posted: Tue Jul 15, 2008 6:42 pm |
|
Joined: Fri May 21, 2004 11:55 pm
Posts: 1206
Location:
Silicon Valley, CA
|
|
Top |
|
|
nharris
|
Posted: Wed Jul 16, 2008 6:06 am |
|
Joined: Thu Sep 07, 2006 11:20 am
Posts: 389
|
I sold my OLPC laptop on eBay to get money to buy the HD-PVR. I know it will be a while before it is supported (much less stable) in MythTV and it would be smarter to wait... but it's the missing piece of my current setup. Once I get DirecTV HD captured, I can go totally MythTV and dump the horrible DirecTV PVR.
|
|
Top |
|
|
snaproll
|
Posted: Wed Jul 16, 2008 8:02 am |
|
Joined: Sun Jul 24, 2005 4:16 pm
Posts: 508
Location:
Ft. Worth TX
|
Those of us living vicariously, await with baited breath your groundbreaking report on 'how this is done'.....
|
|
Top |
|
|
nharris
|
Posted: Thu Jul 17, 2008 11:32 am |
|
Joined: Thu Sep 07, 2006 11:20 am
Posts: 389
|
The MythTV trunk looks pretty scary right now. There are a lot of warnings that it will be broken for a while (UI changes). Also, it appears that I will need Qt 4.3 to compile. Are these libraries present in R5.5?
Suggestions and/or help from anyone who has experience building SVN under R5.5 would be very welcome.
UPDATE - Yep... R5.5 is missing Qt4. Anyone know the packages I will need to apt-get to do a build?
UPDATE - I have managed to install enough Qt4 to start building. Here is my apt-get line which probably has some non-necessary stuff.
Code: apt-get install libqt4-core libqt4-dbg libqt4-gui libqt4-qt3support libqt4-sql qt4-qtconfig qt4-doc qt4-designer qt4-dev-tools libqt4-dev libqt4-opengl-dev libqt4-opengl libqt4-sql-mysql
rm /usr/bin/qmake
ln -s /usr/bin/qmake-qt4 /usr/bin/qmake
NOTE: Additional packages merged into code above.
Last edited by nharris on Thu Jul 24, 2008 7:37 am, edited 3 times in total.
|
|
Top |
|
|
nharris
|
Posted: Mon Jul 21, 2008 6:19 pm |
|
Joined: Thu Sep 07, 2006 11:20 am
Posts: 389
|
Good news: The driver seems to work. I can capture video with audio as a .ts file.
Bad news: My compile of mythtv from SVN does not seem to have mysql support and will not connect to the database. Once again... any help building from SVN would be appreciated!
UPDATE: I reinstalled R5.5 after the SVN build had problems. Both R5.5 mythtv and included VLC crash when trying to playback the HD-PVR capture file. Obviously there is something extra needed to decode the HD-PVR files, but I'm surprised that it leads to a segfault (bad code somewhere... maybe ffmpeg stuff). My Vista box can playback the files but uses 50% of each core on a Core2Duo E6400 with the Arcsoft decoder (which is reported to be the most CPU efficient out there). I'm going to concentrate on SVN building... hopefully all I need are some extra Qt4 libraries for the mysql support.
|
|
Top |
|
|
nharris
|
Posted: Tue Jul 22, 2008 2:33 pm |
|
Joined: Thu Sep 07, 2006 11:20 am
Posts: 389
|
After getting the extra Qt4 packages, I can compile and install SVN now. Myth setup now has the HD-PVR listed. I can add it and hook it up to a lineup. All is good so far.
I start the myth backend and everything seems fine. Checking the mythbackend.log and all looks good.
I run mythfilldatabase. It does the whole lineup download fine, then at the very end where it is notifying the backend it dies. Here is the dump.
Code: =============================================================== | Attempting to contact the master backend for rescheduling. | | If the master is not running, rescheduling will happen when | | the master backend is restarted. | =============================================================== 2008-07-22 16:29:53.436 Connecting to backend server: 192.168.1.12:6543 (try 1 of 5) 2008-07-22 16:29:53.437 Using protocol version 40 2008-07-22 16:29:57.008 Received a remote 'Clear Cache' request QMutex::lock: mutex lock failure: *** glibc detected *** mythfilldatabase: corrupted double-linked list: 0x0817b698 *** ======= Backtrace: ========= /lib/libc.so.6[0xb523d0ea] /lib/libc.so.6[0xb523e8ce] /lib/libc.so.6(cfree+0x90)[0xb5242570] /usr/lib/libmysqlclient_r.so.15(my_once_free+0x2e)[0xb3eb9c2e] /usr/lib/libmysqlclient_r.so.15(my_end+0x57)[0xb3eb2727] /usr/lib/libmysqlclient_r.so.15(mysql_server_end+0x31)[0xb3eb1241] /usr/lib/qt4/plugins/sqldrivers/libqsqlmysql.so[0xb4065085] /usr/lib/libQtSql.so.4[0xb6123c33] /usr/lib/libQtSql.so.4(_ZN12QSqlDatabaseD1Ev+0x46)[0xb6123df6] /usr/lib/libQtSql.so.4[0xb61249bc] /usr/lib/libmythdb-0.22.so.0(_ZN12MSqlDatabaseD1Ev+0x61)[0xb6599471] ======= Memory map: ======== 08048000-08097000 r-xp 00000000 08:01 356872 /usr/bin/mythfilldatabase 08097000-08098000 rw-p 0004f000 08:01 356872 /usr/bin/mythfilldatabase 08098000-08262000 rw-p 08098000 00:00 0 [heap] b3500000-b3521000 rw-p b3500000 00:00 0 b3521000-b3600000 ---p b3521000 00:00 0 b361b000-b361c000 ---p b361b000 00:00 0 b361c000-b3e1b000 rwxp b361c000 00:00 0 b3e1b000-b3e24000 r-xp 00000000 08:01 105733 /lib/libnss_files-2.7.so b3e24000-b3e26000 rw-p 00008000 08:01 105733 /lib/libnss_files-2.7.so b3e26000-b3e3a000 r-xp 00000000 08:01 105727 /lib/libnsl-2.7.so b3e3a000-b3e3c000 rw-p 00013000 08:01 105727 /lib/libnsl-2.7.so b3e3c000-b3e3e000 rw-p b3e3c000 00:00 0 b3e3e000-b3e47000 r-xp 00000000 08:01 105698 /lib/libcrypt-2.7.so b3e47000-b3e49000 rw-p 00008000 08:01 105698 /lib/libcrypt-2.7.so b3e49000-b3e70000 rw-p b3e49000 00:00 0 b3e70000-b4007000 r-xp 00000000 08:01 412548 /usr/lib/libmysqlclient_r.so.15.0.0 b4007000-b404b000 rw-p 00196000 08:01 412548 /usr/lib/libmysqlclient_r.so.15.0.0 b404b000-b404c000 rw-p b404b000 00:00 0 b4060000-b406e000 r-xp 00000000 08:01 479479 /usr/lib/qt4/plugins/sqldrivers/libqsqlmysql.so b406e000-b406f000 rw-p 0000d000 08:01 479479 /usr/lib/qt4/plugins/sqldrivers/libqsqlmysql.so b406f000-b4070000 rw-p b406f000 00:00 0 b4070000-b4076000 r--s 00000000 08:01 316448 /var/cache/fontconfig/945677eb7aeaf62f1d50efc3fb3ec7d8-x86.cache-2 b4076000-b407c000 r--s 00000000 08:01 316443 /var/cache/fontconfig/6d41288fd70b0be22e8c3a91e032eec0-x86.cache-2 b407c000-b407e000 r--s 00000000 08:01 316457 /var/cache/fontconfig/de156ccd2eddbdc19d37a45b8b2aac9c-x86.cache-2 b407e000-b4080000 r--s 00000000 08:01 316458 /var/cache/fontconfig/de9486f0b47a4d768a594cb4198cb1c6-x86.cache-2 b4080000-b4086000 r--s 00000000 08:01 316455 /var/cache/fontconfig/d52a8644073d54c13679302ca1180695-x86.cache-2 b4086000-b4096000 r--s 00000000 08:01 316454 /var/cache/fontconfig/cabbd14511b9e8a55e92af97fb3a0461-x86.cache-2 b4096000-b4098000 r--s 00000000 08:01 316459 /var/cache/fontconfig/e13b20fdb08344e0e664864cc2ede53d-x86.cache-2 b4098000-b40d8000 r--s 00000000 08:01 316460 /var/cache/fontconfig/eeebfc908bd29a90773fd860017aada4-x86.cache-2 b40d8000-b4118000 r--s 00000000 08:01 316438 /var/cache/fontconfig/21a99156bb11811cef641abeda519a45-x86.cache-2 b4118000-b411b000 r--s 00000000 08:01 316450 /var/cache/fontconfig/b21a91cee725896328b8cee8091cf747-x86.cache-2 b411b000-b411c000 r--s 00000000 08:01 316436 /var/cache/fontconfig/059138ec877db160474b4d5de1248d14-x86.cache-2 b411c000-b411f000 r--s 00000000 08:01 316446 /var/cache/fontconfig/8ab5f685cd6d8ba67c37c908faf08172-x86.cache-2 b411f000-b4121000 r--s 00000000 08:01 316441 /var/cache/fontconfig/61c830dfac3fd78a12654da5e9ba3f56-x86.cache-2 b4121000-b4127000 r--s 00000000 08:01 316437 /var/cache/fontconfig/102e5142c2e9e50c5e8ece26694a2dad-x86.cache-2 b4127000-b412d000 r--s 00000000 08:01 316449 /var/cache/fontconfig/a960c40fc9306f090224a04585f8a963-x86.cache-2 b412d000-b4194000 rw-p b412d000 00:00 0 b4194000-b41b2000 r-xp 00000000 08:01 411836 /usr/lib/libexpat.so.1.0.0 b41b2000-b41b4000 rw-p 0001d000 08:01 411836 /usr/lib/libexpat.so.1.0.0 b41b4000-b41b5000 rw-p b41b4000 00:00 0 b41b5000-b4200000 r-xp 00000000 08:01 411448 /usr/lib/lAborted
Myth frontend runs, does the theme scaling stuff and then segfaults. No error messages are reported or anything useful before the segfault... in fact everything looks very good and normal. Maybe something to do with the new UI code in SVN?
HELP!
|
|
Top |
|
|
nharris
|
Posted: Wed Jul 23, 2008 7:27 am |
|
Joined: Thu Sep 07, 2006 11:20 am
Posts: 389
|
I'm stuck for now. It looks like some people out there are successfully running the trunk builds under Mythbuntu with the HD-PVR. The Mythbuntu team appears to have trunk packages (daily builds?), although they recently reported a pause in their builds until the trunk stabilizes. I'm going to give it a shot and see what happens. Last time I tried Mythbuntu, my experience was that it was quite far behind KnoppMyth in polish... but it's worth a go.
UPDATE: I think the Mythbuntu trunk builds are still stalled. I'm continuing with KnoppMyth for now.
Last edited by nharris on Wed Jul 23, 2008 12:47 pm, edited 1 time in total.
|
|
Top |
|
|
nharris
|
Posted: Wed Jul 23, 2008 12:45 pm |
|
Joined: Thu Sep 07, 2006 11:20 am
Posts: 389
|
Ok... I got some help in the #hdpvr chat at FreeNode (thanks iamlindoro!) and I'm now unstuck. I have the HD-PVR recording shows in the backend now. To get the frontend running, I need to wipe the machine and start from square one by removing all the mythtv packages BEFORE I build and install the new ones. I am told that this is my problem (artifacts of the older mythtv are causing problems). I would like to build the debian packages instead of installing with "make install". So, I might do some research on how to do that instead. More to come...
Last edited by nharris on Wed Jul 23, 2008 3:02 pm, edited 1 time in total.
|
|
Top |
|
|
cesman
|
Posted: Wed Jul 23, 2008 1:44 pm |
|
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location:
Fontana, Ca
|
Code: checkinstall -D --pkgname mythtv --maintainer nharris@foo.bar Do that after 'make' and it will build you a package...
_________________ cesman
When the source is open, the possibilities are endless!
|
|
Top |
|
|
nharris
|
Posted: Wed Jul 23, 2008 3:01 pm |
|
Joined: Thu Sep 07, 2006 11:20 am
Posts: 389
|
Thanks cesman! I'll try that.
|
|
Top |
|
|
nharris
|
Posted: Thu Jul 24, 2008 8:40 am |
|
Joined: Thu Sep 07, 2006 11:20 am
Posts: 389
|
Removing R5.5 stock MythTV:
Code: apt-get remove mythtv mythplugins mythstream
Cecil & Cesman, will this get rid of everything?
|
|
Top |
|
|
nharris
|
Posted: Thu Jul 24, 2008 9:31 am |
|
Joined: Thu Sep 07, 2006 11:20 am
Posts: 389
|
Compiled from SVN and made/installed the packages. Everything is now working... backend & frontend with the HDHomeRun. HD-PVR is capturing on the command line just fine (video and audio are perfect in my test capture files when played back on a Windows machine). Next step is to add in the HD-PVR capture device to MythTV.
|
|
Top |
|
|
Liv2Cod
|
Posted: Thu Jul 24, 2008 11:05 am |
|
Joined: Fri May 21, 2004 11:55 pm
Posts: 1206
Location:
Silicon Valley, CA
|
We are experiencing the struggle vicariously. I can't wait for the next exciting installment! It's better than "Ice Road Truckers!"
_________________ Do you code to live, or live to code? Search LinHES forum through Google
|
|
Top |
|
|
nharris
|
Posted: Thu Jul 24, 2008 11:13 am |
|
Joined: Thu Sep 07, 2006 11:20 am
Posts: 389
|
Liv2Cod wrote: We are experiencing the struggle vicariously. I can't wait for the next exciting installment! It's better than "Ice Road Truckers!"
Ok... I get the sarcasm... I'll try to not post until I have more results to report.
|
|
Top |
|
|