You are not logged in.

#26 2005-04-24 12:10:30

kleptophobiac
Member
From: Sunnyvale, CA
Registered: 2004-04-25
Posts: 488

Re: [new] [group=pvr] Personal video recording group + PKGBUILDs

I just started getting that too. I think it's the newer versions of ivtv... they suck.

I'm reverting to 0.3.2u.

Offline

#27 2005-04-27 14:24:17

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: [new] [group=pvr] Personal video recording group + PKGBUILDs

I think pacman just updated mythtv for me....

Now it doesn't work! It appears to be a problem with my mysql.txt file, but I'm not certain what it is. Anyone else have this issue?

If not... guess I'll just set up the database again :S

T

Offline

#28 2005-04-27 21:12:16

kleptophobiac
Member
From: Sunnyvale, CA
Registered: 2004-04-25
Posts: 488

Re: [new] [group=pvr] Personal video recording group + PKGBUILDs

you probably just got upgraded to the official mythtv package. It varies slightly from what I have done. My package isn't official. smile

Offline

#29 2005-04-28 10:43:45

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: [new] [group=pvr] Personal video recording group + PKGBUILDs

What's the difference?

Any ideas how to sort it out, or am I stuck with redoing the setup? Have you had the same issue after a recent pacman -Syu?

Offline

#30 2005-04-30 01:54:53

kleptophobiac
Member
From: Sunnyvale, CA
Registered: 2004-04-25
Posts: 488

Re: [new] [group=pvr] Personal video recording group + PKGBUILDs

I have mythtv on my ignore list.

As for differences, mine has ALSA support, dvb support, XVMC support. I think the official package might be FUBAR (from looking at the PKGBUILD, but I can't make solid claims to that) because the qmake line doesn't have a destination on it. I'll be your problem is that all the files are getting splatterd into heaven knows where.

In all honesty, I would suggest you remove the official package and install mine. Mine works. smile

I've also got CVS PKGBUILDS if you want them, they just don't follow the normal naming scheme so I don't bother posting them.

Offline

#31 2005-04-30 10:04:27

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: [new] [group=pvr] Personal video recording group + PKGBUILDs

Gaaaahhh!!

It's borked at the moment, absolutely gutted. No time to be fixing it either at the moment, got a big report in by Tuesday.

Cheers anyway, looks like I'm fecked for now tho. It'll be on my igore list from now on too big_smile

Offline

#32 2005-04-30 12:50:06

kleptophobiac
Member
From: Sunnyvale, CA
Registered: 2004-04-25
Posts: 488

Re: [new] [group=pvr] Personal video recording group + PKGBUILDs

Anyway, you should be OK if you remove the current package and reinstall the old one. Your database shouldn't be borked, and your settings shouldn't be either... I think.

Also, the mysql.txt file contains IP, username, and password information for the mysql backend server. This file resides in ~/.mythtv/mysql.txt or the system wide one in /.mythtv/mysql.txt.

Offline

#33 2005-05-05 11:26:28

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: [new] [group=pvr] Personal video recording group + PKGBUILDs

Gah, I tried to install your ivtv 3.2 version, and it seeemed to install, but now I get stuck with a 'FATAL: Module ivtv error not found' every time I try to modprobe ivtv.

If I remove the package I get this:

 

[root@suzy ivtv]# pacman -R ivtv
removing ivtv... mv: cannot stat `/var/ivtv/msp3400.ko': No such file or directory
done.

Now it's totally furcked again, with no way of reverting back to it's original black-lined status. And my interlacing doesn't work.... this software is a mess. Good when it works, but wholly useless for someone who just wants to watch TV.

Offline

#34 2005-05-07 17:39:57

kleptophobiac
Member
From: Sunnyvale, CA
Registered: 2004-04-25
Posts: 488

Re: [new] [group=pvr] Personal video recording group + PKGBUILDs

it's not meant for someone who just wants to watch TV. It is a far more comprehensive package than that.

Also, just force the file. The msp3400.ko file is you original bttv audio driver that comes with the linux kernel. It breaks ivtv, so my script moves it. As long as nothing deletes the file, everything should be golden.

Try this pkgbuild for a version that seems stable (for me):

# ivtv - Drivers for many types of PVR cards
# Maintained by Sasha Zbrozek
# kleptophobiac@gmail.com

pkgname=ivtv
pkgver=0.3.2s
pkgrel=1
pkgdesc="ivtv - Drivers for many types of PVR cards"
url="ivtv.sourceforge.net"
group=pvr
depends=('perlvideofrequencies' 'perlvideoivtv')
makedepends=('sed')
install="ivtv.install"
source=("http://www.ivtv.tv/releases/ivtv-0.3/OLD/$pkgname-$pkgver.tgz" 'ivtv-fw-dec.bin' 'ivtv-fw-enc.bin')
md5sums=(
         '4f0bb4ff8e775988022369498210ab45' 
         'd85cb08382395390dc95ac6ebc2205f9')

build() {
  cd $startdir/src/$pkgname-$pkgver/driver
  sed -i 's#<media/audiochip.h>#"audiochip.h"#' tuner.c
  make || return 1
  install -D -m 0644 ivtv-fb.ko $startdir/pkg/lib/modules/$(uname -r)/extra/ivtv-fb.ko
  install -D -m 0644 ivtv.ko $startdir/pkg/lib/modules/$(uname -r)/extra/ivtv.ko
  install -D -m 0644 msp3400.ko $startdir/pkg/lib/modules/$(uname -r)/extra/msp3400.ko
  install -D -m 0644 saa7115.ko $startdir/pkg/lib/modules/$(uname -r)/extra/saa7115.ko
  install -D -m 0644 saa7127.ko $startdir/pkg/lib/modules/$(uname -r)/extra/saa7127.ko
  install -D -m 0644 tveeprom.ko $startdir/pkg/lib/modules/$(uname -r)/extra/tveeprom.ko
  install -D -m 0644 ivtv.h $startdir/pkg/usr/include/linux/ivtv.h

  cd ../utils
  sed -i "s%/usr/local/bin%$startdir/pkg/usr/bin/%g" $startdir/src/$pkgname-$pkgver/utils/Makefile
  mkdir -p $startdir/pkg/usr/bin
  make || return 1
  make install

  install -m 0755 $startdir/src/$pkgname-$pkgver/utils/*.pl $startdir/pkg/usr/bin/

  install -m 0644 $startdir/ivtv-fw-dec.bin $startdir/pkg/lib/modules/ivtv-fw-dec.bin
  install -m 0644 $startdir/ivtv-fw-enc.bin $startdir/pkg/lib/modules/ivtv-fw-enc.bin
}

if you get errors, just force your way around them.

And what do you mean by non-functioning interlacing? The best solution you're likely to be able to get without a PVR-350 is using an nvidia card, turning on opengl vsync, and using bob2x deinterlacing.

Offline

#35 2005-05-08 11:05:07

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: [new] [group=pvr] Personal video recording group + PKGBUILDs

OK, I tried forcing the install of version 0.3.2. It gives the same error as above, and there is still no ivtv module produced.

If I try to use the new PKGBUILD you've kindly provided, I get errors about perl dependencies (even tho I think they're installed, but not as pacman pkgs - used that CPAN thingy). If I remove those dependencies from the PKGBUILD then I get this:

[root@suzy ivtv]# makepkg
==> Making package: ivtv  (Sun May  8 12:52:39 BST 2005)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==>     Downloading ivtv-0.3.2s.tgz
--12:52:39--  http://www.ivtv.tv/releases/ivtv-0.3/OLD/ivtv-0.3.2s.tgz
           => `ivtv-0.3.2s.tgz'
Resolving resicache.cf.ac.uk... 131.251.0.55
Connecting to resicache.cf.ac.uk[131.251.0.55]:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 620,054 [application/x-tar]

100%[====================================>] 620,054      517.01K/s

12:52:41 (515.67 KB/s) - `ivtv-0.3.2s.tgz' saved [620054/620054]

==>     Found ivtv-fw-dec.bin in build dir
==>     Found ivtv-fw-enc.bin in build dir
==> WARNING: MD5sums are missing or incomplete.  Cannot verify source integrity.
==> Extracting Sources...
==>     tar --use-compress-program=gzip -xf ivtv-0.3.2s.tgz
==> Starting build()...
make CONFIG_VIDEO_IVTV=m -C /lib/modules/2.6.11.7-ARCH/build M=/var/abs/local/ivtv/src/ivtv-0.3.2s/driver modules
make[1]: Entering directory `/usr/src/linux-2.6.11.7-ARCH'
  CC [M]  /var/abs/local/ivtv/src/ivtv-0.3.2s/driver/msp3400.o
In file included from /var/abs/local/ivtv/src/ivtv-0.3.2s/driver/msp3400.c:45:
include/linux/i2c.h:58: error: array type has incomplete element type
include/linux/i2c.h:197: error: array type has incomplete element type
/var/abs/local/ivtv/src/ivtv-0.3.2s/driver/msp3400.c: In function 'msp3400c_reset':
/var/abs/local/ivtv/src/ivtv-0.3.2s/driver/msp3400.c:184: error: type of formal parameter 2 is incomplete
/var/abs/local/ivtv/src/ivtv-0.3.2s/driver/msp3400.c:185: error: type of formal parameter 2 is incomplete
/var/abs/local/ivtv/src/ivtv-0.3.2s/driver/msp3400.c:186: error: type of formal parameter 2 is incomplete
/var/abs/local/ivtv/src/ivtv-0.3.2s/driver/msp3400.c: In function 'msp3400c_read':
/var/abs/local/ivtv/src/ivtv-0.3.2s/driver/msp3400.c:208: error: type of formal parameter 2 is incomplete
make[2]: *** [/var/abs/local/ivtv/src/ivtv-0.3.2s/driver/msp3400.o] Error 1
make[1]: *** [_module_/var/abs/local/ivtv/src/ivtv-0.3.2s/driver] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.11.7-ARCH'
make: *** [all] Error 2
==> ERROR: Build Failed.  Aborting...

So I can't really do anything at all at the moment. I can't even think how to get back to my original starting point. msp3400.ko doesn't appear to exist anymore, so I assume it got deleted at some point.

I notice that my msp3400.ko file used to reside in

 /lib/modules/2.6.11.3-ARCH/extra/msp3400.ko 

but the error shown looks for it in

mv: cannot stat `/lib/modules/2.6.11.7-ARCH/kernel/drivers/media/video/msp3400.ko': No such file or directory

...

I can't quite work out what's going on... the script is trying to move msp3400.ko out of the way, but can't find it as it's been deleted?

*sigh* it's getting just slightly tedious now neutral

Incidentally, the interlacing problem is: it doesn't work. Seemingly something to do with the fact that I couldn't change any options until I copied all of root's .mythtv (as mentioned earlier), if I turn on interlacing, the picture is still (very) lined. It was definitely working before (kernel interlacing) this awful mythtv upgrade, but now, though enabled, doesn't have any effect on the picture.

Cheers for all your help anyway, really appreciated.
Of course... there's no picture at the moment! Heh.

Offline

#36 2005-05-08 13:04:23

kleptophobiac
Member
From: Sunnyvale, CA
Registered: 2004-04-25
Posts: 488

Re: [new] [group=pvr] Personal video recording group + PKGBUILDs

if you want your original msp3400 back, your best bet is to just reinstall the stock kernel. The ivtv driver does not depend on the original msp3400 driver, so I don't see why it would be necessary. I certainly deleted mine for the sake of functioning audio. smile

pacman --upgrade kernel26
lilo

While you shouldn't have to run lilo, it's a good precaution.

I don't know why yours won't compile. I've got the stock 2.6.11-7-ARCH kernel, just like yourself. Sorry about the perl deps, I made those for a future ivtv AUR release, but didn't include the PKGBUILDs for those perl modules. Forgot about those...

So... I really don't understand why the PKGBUILD didn't work for you, because I just built it, just now, just to test it. It worked.

In any case, if you want the binary to try, here it is:
http://www.mstcforum.com/projects/arch/ … pkg.tar.gz

As for the deinterlacing:

- What video card do you have?
- What driver do you have installed?
- Do you have opengl functioning? (try glxgears, you should get a reasonably high framerate, ie, >500)

If you have a good xorg.conf, with functioning opengl, you should be able to turn on kerneldeint and get extremely good deinterlacing.

Trying running "mythfrontend --verbose playback" and look at the console when you start a video file. Paste what you get in here if you can. Hopefully you'll get some messages about initializing kerneldeint, sgi opengl vsync, etc etc. The high verbosity is excellent in debugging things.

Also, just in case you want them, I've got CVS versions, and I suggest using them over the official 0.18's because the mythtv devs put in a hailstorm of bugfixes the week after the 0.18 release. I'll post up the link to today's CVS binaries when they finish compiling.

EDIT:
If it gives an error about being unable to mv msp3400.ko, just ignore it. It has already been moved. I should probably rewrite that bit to stick the file in a more nonvolatile location, and put an if in there to warn users about it's absence - not that it matters.

EDIT:
MythTV is quite the linux adventure. It is not the simplest of systems to implement. If all you want to do is watch TV with your card, mplayer may be a better solution. I've got my mythtv frontend in the living room, with access to the backend and the fileserver. It isn't a simple system, but it sure is badass. tongue

EDIT:
Just override the deps on the ivtv binary. Just note that the perl tools may malfunction without them. If you've CPAN'd them, you should be fine.

Note that the plugins package includes the plugins I use: mythvideo, mythdvd, mythweather, mythnews, and mythbrowser. I didn't bother with mythgame, mythgallery, or mythphone. Those are more obscure, less useful, and undermaintained (read: buggy)

Offline

#37 2005-05-10 08:26:25

kleptophobiac
Member
From: Sunnyvale, CA
Registered: 2004-04-25
Posts: 488

Re: [new] [group=pvr] Personal video recording group + PKGBUILDs

Offline

#38 2005-05-10 18:59:15

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: [new] [group=pvr] Personal video recording group + PKGBUILDs

Sorry, haven't tried any of that yet. Busy a) stressing over coursework and exams, b) seeing my girlfriend and c) wasting hours and hours of my life playing Jade Empire, which I foolishly bought on Sunday, before my exams.

I'll post an update when I get time to sort it out.

Cheers
T

Offline

#39 2005-05-11 08:51:36

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: [new] [group=pvr] Personal video recording group + PKGBUILDs

Getting ridiculous now. Reinstalled my stock kernel, still get all the same errors.

I've tried several versions of ivtv, tried building them and installing binaries, but no luck. Binaries still appear to install OK but your newest one complains about perl (and can't be built from pkgbuild) and none of them actually provide the module. Any successful installation still gives a FATAL module error.

So... as far as I can see, there is no way to install this driver at all. Even the original is fucked. Any ideas where to go from here...?

Offline

#40 2005-05-11 09:07:15

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: [new] [group=pvr] Personal video recording group + PKGBUILDs

Ah, I can install the precompiled binary if I skip dependency checking.

However there is STILL no ivtv module??

*EDIT* depmod -a sorts that out... module's there, but just fuzz on screen atm... gonna reboot and see what happens

Offline

#41 2005-05-11 10:36:03

kleptophobiac
Member
From: Sunnyvale, CA
Registered: 2004-04-25
Posts: 488

Re: [new] [group=pvr] Personal video recording group + PKGBUILDs

Good to hear you got the module loading sorted.

Opps... I forgot the -a on my depmod line in ivtv.install.

I've posted a new ivtv binary, as well as a PKGBUILD in the aur. I commented out the deps for now, since nobody will have them.

0.3.4j seems to work ok for me, much better than the 0.3.3 series.

Offline

#42 2005-05-12 11:16:41

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: [new] [group=pvr] Personal video recording group + PKGBUILDs

Yer I commented out deps, got modules working (depmod -a !!!!!!) and the fuzz, was, of course, because the aerial wasn't plugged in..... idiot.

Still haven't got interlacing working, it's enabled but not active. That's something to do with the pacman mythv escapade. I'm gonna try the new cvs version today if I get time. Whats diferent with the new ivtv driver? 0.3.2 seems good, don't sem to be getting that black line anymore.

Cheers yet again,
T

Offline

#43 2005-05-12 19:14:53

kleptophobiac
Member
From: Sunnyvale, CA
Registered: 2004-04-25
Posts: 488

Re: [new] [group=pvr] Personal video recording group + PKGBUILDs

personal observations about 0.3.2x versus 0.3.4x:

- The encoding seems slightly smoother, fewer frame timing problems
- 0.3.2 had an occassional corrupt mpeg frame, or a black bar that showed up for exactly one frame while 0.3.4 doesn't seem to
- VBI timing seems to work better
- 0.3.4 seems to tune faster

I'm unsure of that last one, maybe it's just placebo effect... or a kernel upgrade. I don't know. smile

Offline

#44 2005-05-13 16:32:26

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: [new] [group=pvr] Personal video recording group + PKGBUILDs

Aha, this is what I get in the console...

2005-05-13 17:26:41.665 Using protocol version 15
2005-05-13 17:26:44.102 Opening audio device '/dev/dsp'.
2005-05-13 17:26:44.102 Opening OSS audio device '/dev/dsp'.
2005-05-13 17:26:44.126 Using XV port 171
2005-05-13 17:26:44.345 The realtime priority setting is not enabled.
2005-05-13 17:26:44.366 Changing from None to WatchingLiveTV
[b]2005-05-13 17:26:44.373 FilterManager: failed to load filter 'bobdeint', no such filter exists
2005-05-13 17:26:44.375 Couldn't load deinterlace filter bobdeint[/b]
2005-05-13 17:26:44.721 Video timing method: SGI OpenGL

So the interlacer isn't getting loaded at all. The same happens with the kerneldeint. I'm thinking this must be something to do with the way I copied my mythtv stuff across?

Any ideas what the easiest way to install the new mythtv-cvs is? I'd rather install one of your versions, but I don't want to lose all my settings, but also want to do it without my current issues.

If I can get a properly working mythtv installed, everything will be working perfectly big_smile

Offline

#45 2005-05-13 20:52:52

kleptophobiac
Member
From: Sunnyvale, CA
Registered: 2004-04-25
Posts: 488

Re: [new] [group=pvr] Personal video recording group + PKGBUILDs

You should be able to merely do a pacman --upgrade mythtv-cvs-2005.05.10-1.pkg.tar.gz

You may have to force your way past files that already exist.

Offline

#46 2005-05-15 12:30:04

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: [new] [group=pvr] Personal video recording group + PKGBUILDs

Argh, protocol version mismatch!

Seems mythtv-cvs doens't like my mythbackend.... is there a new version about?

Offline

#47 2005-05-15 13:00:09

kleptophobiac
Member
From: Sunnyvale, CA
Registered: 2004-04-25
Posts: 488

Re: [new] [group=pvr] Personal video recording group + PKGBUILDs

when using the cvs version, you must use it on both the frontend and the backend. As of May 1, there was a protocol change.

Offline

#48 2005-05-15 13:09:24

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: [new] [group=pvr] Personal video recording group + PKGBUILDs

Is there a mythbackend-cvs then?

Offline

#49 2005-05-15 13:10:52

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: [new] [group=pvr] Personal video recording group + PKGBUILDs

Ah, got it. Just needed to restart mythbackend.... heh

Offline

#50 2005-05-15 14:31:47

kleptophobiac
Member
From: Sunnyvale, CA
Registered: 2004-04-25
Posts: 488

Re: [new] [group=pvr] Personal video recording group + PKGBUILDs

I meant, if you have two different computers running myth. I have a backend in the basement, and a frontend in the living room.

I usually reboot after upgrading myth, just because I have several daemons running and I tend to upgrade ivtv at the same time. smile

Offline

Board footer

Powered by FluxBB