Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MythTV Setup Guide/HOWTO
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
ShockValue
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2003
Posts: 137

PostPosted: Thu Apr 08, 2004 11:49 pm    Post subject: Reply with quote

50cc:

Try running mythfrontend from a terminal. When you are playing livetv and getting a black screen, check the output in the terminal.

Coleslaw:

I couldn't get the ivtv ebuild to work until r3. It compiles fine and so far I have no complaints. (Just rebuilt my box last week)


Anyone else:

Where did all the patches go at http://dl.bytesex.org/patches/ ? All I see now is the patches for 2.6.5.
Back to top
View user's profile Send private message
ashtong
n00b
n00b


Joined: 23 Jan 2003
Posts: 44

PostPosted: Fri Apr 09, 2004 8:27 am    Post subject: Reply with quote

ShockValue wrote:

Where did all the patches go at http://dl.bytesex.org/patches/ ? All I see now is the patches for 2.6.5.


That's weird. I've got the 2.6.3 and 2.6.4 patches; I can send them to you if you like.
Back to top
View user's profile Send private message
ShockValue
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2003
Posts: 137

PostPosted: Fri Apr 09, 2004 5:25 pm    Post subject: Reply with quote

ashtong wrote:
ShockValue wrote:

Where did all the patches go at http://dl.bytesex.org/patches/ ? All I see now is the patches for 2.6.5.


That's weird. I've got the 2.6.3 and 2.6.4 patches; I can send them to you if you like.


Nope, I just got it all running with 2.6.5 last night :)
Back to top
View user's profile Send private message
ColeSlaw
Apprentice
Apprentice


Joined: 19 Sep 2003
Posts: 176
Location: Kearney, NE USA

PostPosted: Mon Apr 12, 2004 3:52 am    Post subject: Reply with quote

I tried emerging it, and I wanted to let everybody know, it didn't work for me. I used Chris Kennedy's IVTV Patches (ivtv-0.1.10-pre2-ck33.tgz in particular) and that got my video working for me when I watch live tv.

If Mythtv starts recording though, all it records is a blank screen and then afterwards when I try to watch live tv again I have to use the commands from the howto

Code:
test_ioctl -u 0x3000
test_ioctl -p 4
test_ioctl -f width=720,height=480
test_ioctl -v input=3,output=1


to get it working again. It's almost as if the backend server resets those settings... Any suggestions?
_________________
My Folding@home Stats!
Join the GLUE folding Team!
Back to top
View user's profile Send private message
drunkentiger
n00b
n00b


Joined: 23 Mar 2004
Posts: 14

PostPosted: Wed Apr 28, 2004 1:08 am    Post subject: Reply with quote

I've updated the guide to include MythWeb now. Also, I'm planning on upgrading the kernel/ivtv soon so watch for an update on that.
Back to top
View user's profile Send private message
lonegd
Apprentice
Apprentice


Joined: 07 Dec 2003
Posts: 185
Location: UK

PostPosted: Wed Apr 28, 2004 7:54 am    Post subject: Reply with quote

Great guide! :) I've added a link to it in the install guides section of the PVRHWDB, hope you don't mind :D
_________________
Mark Cooper
http://pvrhw.goldfish.org/ - Open Source PVR Hardware Database
Back to top
View user's profile Send private message
yoda34
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2003
Posts: 93

PostPosted: Tue May 11, 2004 10:46 pm    Post subject: 2.6.3 kraxel patch? Reply with quote

Does anyone have the 2.6.3 kraxel patch? It seems to have disappeared. I would like to use the kernel in the guide just to make sure I do not make any dumb mistakes.

Thanks
Back to top
View user's profile Send private message
rrrkkkttt
Tux's lil' helper
Tux's lil' helper


Joined: 02 Oct 2003
Posts: 96

PostPosted: Tue May 11, 2004 11:40 pm    Post subject: Reply with quote

Where can I get the ivtv patch for kernel version 2.6.5? (lison.com only has upto 2.6.3) and which ver of ivtv driver should I get?
Back to top
View user's profile Send private message
yoda34
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2003
Posts: 93

PostPosted: Tue May 11, 2004 11:51 pm    Post subject: Reply with quote

Did you get the kraxel patch to work for 2.6.5? When I patched it the BT846 option didn't appear under v4l
Back to top
View user's profile Send private message
dvh
Apprentice
Apprentice


Joined: 31 Dec 2003
Posts: 179
Location: Chandler, AZ

PostPosted: Tue May 18, 2004 5:42 am    Post subject: Reply with quote

I have been struggling with 2.6.5 and mythtv for about 1 week. I can run the (mythtv 0.14-r1) mythbackend now (with an authorization error at the start) and I can start the frontend, but when I go to live TV, I get a message about Xv not being supported. I have a Hauppauge PVR-250 card with hardware encoding, and I think this is what is not being supported. I am assuming that this is due to the fact that I have not patched the IVTV 0.1.9-r3 source.

I cannot find a patch for the 2.6.5 kernel either. (www.lison.com/ivtv.patches) seems to have patches up to and including 2.6.4, but no 2.6.5.

any idea on where I can get a patch would be appreciated. And, of course, if anyone has another idea of what might be wrong, I would like to hear it.

lastly, I can run LIRC and using irw, I can get the correct codes for my remote. Problem is, when I run winfrontend, nothing (remotely) works. Please help.

-dvh
Back to top
View user's profile Send private message
JohnGalt00
n00b
n00b


Joined: 13 Jan 2004
Posts: 38

PostPosted: Tue May 25, 2004 3:27 am    Post subject: Reply with quote

Using some of the ck's ivtv patches, I haven't needed the lison patches. I used ivtv-0.1.10-pre2-ck26 and 2.6.1 for weeks with no trouble. I'm currently trying to get ivtv-0.1.10-pre2-ck67c working with 2.6.5.
Back to top
View user's profile Send private message
sklettke
Guru
Guru


Joined: 05 Nov 2002
Posts: 352
Location: Madison, WI

PostPosted: Tue May 25, 2004 9:53 pm    Post subject: Reply with quote

JohnGalt00 wrote:
Using some of the ck's ivtv patches, I haven't needed the lison patches. I used ivtv-0.1.10-pre2-ck26 and 2.6.1 for weeks with no trouble. I'm currently trying to get ivtv-0.1.10-pre2-ck67c working with 2.6.5.


I'm trying to get 2.6.5 and the ivtv patch to work also, have any luck yet?

Scott
_________________
Jab.ID: scottk@jabber.org

Kernel: 2.6.11-rc3-nitro0
KDE 3.3.2 with Xorg
MythBox: 2.6.5-gentoo-dev-r2 (LVMed 360GB in XFS; Athlon 2500+)
Back to top
View user's profile Send private message
JohnGalt00
n00b
n00b


Joined: 13 Jan 2004
Posts: 38

PostPosted: Tue May 25, 2004 10:02 pm    Post subject: Reply with quote

I guess that depends on your definition of work :-)

I just did a normal kernel compile, rebooted, then went to my ivtv/drivers/ directory and did a make && make install.

Everything works fine, except changing the channel has no effect. i.e. after myth pauses, records 2 seconds of video and starts playing back, you're on the same channel you were before.

Only certain ck patches are stable. You'd have to read the mailing list to find out which ones are. 67c is supposed to be one, 26 is another. I've found that 67c's hardware decoding doesn't look as good as 26's, so I went back to that one. There are a few other stable versions, but I didn't try them because 26 worked.

The channel change bug is in the kernel, not ivtv. I'm going to try a vanilla 2.6.5 instead of gentoo-dev tonight when I get home.
Back to top
View user's profile Send private message
sklettke
Guru
Guru


Joined: 05 Nov 2002
Posts: 352
Location: Madison, WI

PostPosted: Tue May 25, 2004 10:26 pm    Post subject: Reply with quote

What does the patch actually do? Will the later versions of ivtv work?

On a different note, would knoppmyth be any easier. ;-)

EDIT: Nope, got almost everything working with Gentoo and am glad that I didn't switch to knoppmyth. ;-)

Scott
_________________
Jab.ID: scottk@jabber.org

Kernel: 2.6.11-rc3-nitro0
KDE 3.3.2 with Xorg
MythBox: 2.6.5-gentoo-dev-r2 (LVMed 360GB in XFS; Athlon 2500+)


Last edited by sklettke on Tue Jun 01, 2004 3:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
sklettke
Guru
Guru


Joined: 05 Nov 2002
Posts: 352
Location: Madison, WI

PostPosted: Tue May 25, 2004 11:19 pm    Post subject: Reply with quote

JohnGalt00 wrote:
I guess that depends on your definition of work :-)

I just did a normal kernel compile, rebooted, then went to my ivtv/drivers/ directory and did a make && make install.

Everything works fine, except changing the channel has no effect. i.e. after myth pauses, records 2 seconds of video and starts playing back, you're on the same channel you were before.

Only certain ck patches are stable. You'd have to read the mailing list to find out which ones are. 67c is supposed to be one, 26 is another. I've found that 67c's hardware decoding doesn't look as good as 26's, so I went back to that one. There are a few other stable versions, but I didn't try them because 26 worked.

The channel change bug is in the kernel, not ivtv. I'm going to try a vanilla 2.6.5 instead of gentoo-dev tonight when I get home.


When you say "normal kernel compile" do you mean with 2.6.5? I've gotten an unpatched ivtv to emerge but when I run modprobe ivtv I get some errors (forgot to record right now).

Scott
_________________
Jab.ID: scottk@jabber.org

Kernel: 2.6.11-rc3-nitro0
KDE 3.3.2 with Xorg
MythBox: 2.6.5-gentoo-dev-r2 (LVMed 360GB in XFS; Athlon 2500+)
Back to top
View user's profile Send private message
JeffBlair
Apprentice
Apprentice


Joined: 23 May 2003
Posts: 175
Location: USA, Lone star state

PostPosted: Wed May 26, 2004 1:28 pm    Post subject: compile problems Reply with quote

ok, I am trying to compile the CVS version of MythTV. I keep getting the following error:
Code:

g++ -c -pipe `artsc-config --cflags` -Wall -W -O3 -fomit-frame-pointer `freetype-config --cflags` -D_REENTRANT -fPIC  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DUSING_IVTV -DUSING_XV -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I../libmyth -I.. -Idvbdev -I../libavcodec -I/usr/qt/3/include -o osdsurface.o osdsurface.cpp
osdsurface.cpp:619: error: syntax error before `=' token
osdsurface.cpp:620: error: syntax error before `=' token
osdsurface.cpp: In function `void (* blendtoyv12_8_init(OSDSurface*))(unsigned
   char*, unsigned char*, unsigned char*, bool)':
osdsurface.cpp:369: warning: unused parameter `OSDSurface*surface'
osdsurface.cpp: In function `void (*
   blendtoargb_8_init(OSDSurface*))(OSDSurface*, unsigned char*, unsigned
   char*, unsigned char*, unsigned char*, unsigned char*)':
osdsurface.cpp:495: warning: unused parameter `OSDSurface*surface'
make[2]: *** [osdsurface.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/mythtv-cvs-20040505/work/mythtv/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/var/tmp/portage/mythtv-cvs-20040505/work/mythtv/libs'
make: *** [sub-libs] Error 2

!!! ERROR: media-tv/mythtv-cvs-20040505 failed.
!!! Function src_compile, Line 135, Exitcode 2
!!! compile problem

I have an AMD64 chip. I got it to at least accept that. I am useing the ebuild that I found at bugs.gentoo.org Thanks for any help.
Back to top
View user's profile Send private message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Wed May 26, 2004 9:40 pm    Post subject: Question about kernel numbers.. Reply with quote

Hello,
I'm about to get started on this project...I see in gentoo-dev-sources there is available:

gentoo-dev-sources-2.6.5-r1.ebuild
gentoo-dev-sources-2.6.5.ebuild

At the bytesex site for the patches they list:
2.6.5-1/

Does it matter if I use the -r1 kernel available for Gentoo..or do I stay with the 2.6.5 version? I'm a little confused on the numbering systems for the patch and kernel, and I've read they need to match exactly....

Thanks in advance for help!!

cayenne
:D
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Back to top
View user's profile Send private message
sklettke
Guru
Guru


Joined: 05 Nov 2002
Posts: 352
Location: Madison, WI

PostPosted: Thu May 27, 2004 1:12 am    Post subject: Re: Question about kernel numbers.. Reply with quote

cayenne wrote:
Hello,
I'm about to get started on this project...I see in gentoo-dev-sources there is available:

gentoo-dev-sources-2.6.5-r1.ebuild
gentoo-dev-sources-2.6.5.ebuild

At the bytesex site for the patches they list:
2.6.5-1/

Does it matter if I use the -r1 kernel available for Gentoo..or do I stay with the 2.6.5 version? I'm a little confused on the numbering systems for the patch and kernel, and I've read they need to match exactly....

Thanks in advance for help!!

cayenne
:D


Sounds like you are right where I was a little while ago. I used the 2.6.5-r1 and the patch worked perfectly.

Scott
_________________
Jab.ID: scottk@jabber.org

Kernel: 2.6.11-rc3-nitro0
KDE 3.3.2 with Xorg
MythBox: 2.6.5-gentoo-dev-r2 (LVMed 360GB in XFS; Athlon 2500+)
Back to top
View user's profile Send private message
mbonig
Tux's lil' helper
Tux's lil' helper


Joined: 27 Aug 2003
Posts: 102
Location: Rocky Mountains

PostPosted: Thu May 27, 2004 3:07 am    Post subject: Reply with quote

hey everybody

I've been pouring through the forums and all the documentation and I think I'm almost there in settuing up my PVR box, but I could use some help (btw, it's in an Xbox BOX, ,I'll post pictures when I'm done =-}

I'm running 2.6.5-gentoo-r1. I emerged everything that's needed and I can get the mythbackend to run and the mythfrontend as well. For the most part things seem fine. I've emerged the ivtv ebuild and lirc (I just put in a hau. pvr-350 card). Two things though:

1. When I run "mythfilldatabase" I keep getting: (sorry, silly question, I guess everybody has been getting this, right?)
Code:

zap2it page format looks okay, but no programs found (no available data yet ?)
unretry-able error reading schedule for 2004-5-27 for station 63 KMASLP

over and over for each station. Is this a problem on my end?

2. When I go to watch TV I just get a black screen and everything becomes uncontrollable. I can't exit mythtv and have to ctrl-alt-backspace back to a prompt. When I check /var/log/messages I get:
Code:

May 26 20:56:18 babelfish ivtv: Timeout waiting for data!
(lots of those)
as well as some:
Code:

May 26 20:57:04 babelfish atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
May 26 20:57:04 babelfish atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.


any help or ideas would be greatly appreciated. Also, if you need me to post something about my setup (minus my IP and root password =-} ) please let me know..
_________________
Just say "here", and let's consider the word "here" to be short for "here I am, rock you like a hurricane".
Back to top
View user's profile Send private message
yoda34
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2003
Posts: 93

PostPosted: Thu May 27, 2004 3:25 am    Post subject: Reply with quote

The zap2it error on mythfill is a known problem and should be fixed with version .15 (which came out like an hour ago on mythtv.org). so hopefully we will get an ebuild pretty quickly.

As for the other problem of blank screen and myth locking up I had the same problem with my pvr 350 card. A few things

1. Make sure you can capture video/audio by cat /dev/video0 > test.mpg

2. in the mythfrontend go to setup->tv->playback(i think) and make sure you have the box that says use pvr 350 tv out checked.

3. I have to set the pvr 350 tv out device every time I boot or myth wont' work(i put it in a boot script)
test_ioctl -d /dev/video16 -u 0x3000

also make sure your frambuffer is working also.

Hopefully I helped a little

Andy
Back to top
View user's profile Send private message
mbonig
Tux's lil' helper
Tux's lil' helper


Joined: 27 Aug 2003
Posts: 102
Location: Rocky Mountains

PostPosted: Thu May 27, 2004 3:28 am    Post subject: Reply with quote

yoda34 wrote:

also make sure your frambuffer is working also.



Ok, I'll admit I'm still somewhat new to linux, and I understand WHAT the framebuffer is, but how can I test it?

Thanks
_________________
Just say "here", and let's consider the word "here" to be short for "here I am, rock you like a hurricane".
Back to top
View user's profile Send private message
yoda34
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2003
Posts: 93

PostPosted: Thu May 27, 2004 3:32 am    Post subject: Reply with quote

Make sure you have you actually have a /dev/fb0

if so you need to configure your X Free config file to use the ivtv framebuffer.

once you do that hook up your 350 out to your tv and start X. Your X session

should show up on your tv. If your desktop is there then you know the

framebuffer is working. Have you gotten that far? I can post my ivtv module

file and my X free config file if it would help


Andy
Back to top
View user's profile Send private message
mbonig
Tux's lil' helper
Tux's lil' helper


Joined: 27 Aug 2003
Posts: 102
Location: Rocky Mountains

PostPosted: Thu May 27, 2004 3:34 am    Post subject: Reply with quote

yoda34 wrote:
I can post my ivtv module
file and my X free config file if it would help


that would be awesome, thanks!
_________________
Just say "here", and let's consider the word "here" to be short for "here I am, rock you like a hurricane".
Back to top
View user's profile Send private message
yoda34
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2003
Posts: 93

PostPosted: Thu May 27, 2004 3:48 am    Post subject: Reply with quote

Quote:
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "TV Screen"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
EndSection

Section "Monitor"
#DisplaySize 260 200 # mm
Identifier "NTSC Monitor"
HorizSync 30-68
VertRefresh 50-120
Mode "720x480"
#D: 34.563 MHz, H: 37.244, V: 73.897 Hz
DotClock 34.564
HTimings 720 752 840 928
VTimings 480 484 488 504
Flags "-HSync" "-VSync"
EndMode
EndSection

Section "Device"
Identifier "Hauppauge PVR 350 iTVC15 Framebuffer"
Driver "fbdev"
Option "fbdev" "/dev/fb0"
BusID "0:0d:0"
EndSection

Section "Screen"
Identifier "TV Screen"
Device "Hauppauge PVR 350 iTVC15 Framebuffer"
Monitor "NTSC Monitor"
DefaultDepth 24
DefaultFbBpp 32
SubSection "Display"
Depth 24
FbBpp 32
Modes "720x480"
EndSubsection
EndSection



The bus id could be different for you, you need to find it using the pciutils in portage

Quote:
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-61 lirc_i2c
options ivtv ivtv-debug=0 mpg_buffers=90
options tuner type=2
options saa7127 enable_output=1 output_select=0
options msp3400 once=1 simple=1
add below ivtv msp3400 saa7115 tuner saa7127
add above ivtv lirc_dev lirc_i2c ivtv-fb



Thats pretty much standard. The only thing that could change is your output to your card. I am using composite so my output_select is 0

Finally here is my lsmod output

Quote:
Module Size Used by
snd_ens1371 20964 0
snd_rawmidi 21248 1 snd_ens1371
snd_ac97_codec 61476 1 snd_ens1371
snd_pcm_oss 51268 0
snd_pcm 93504 2 snd_ens1371,snd_pcm_oss
snd_page_alloc 9764 1 snd_pcm
snd_timer 23972 1 snd_pcm
snd_mixer_oss 18432 1 snd_pcm_oss
snd 50756 7 snd_ens1371,snd_rawmidi,snd_ac97_codec,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
ivtv_fb 12632 0
bttv 147596 0
video_buf 18340 1 bttv
v4l2_common 5056 1 bttv
btcx_risc 4072 1 bttv
lirc_i2c 6632 0
lirc_dev 11624 2 lirc_i2c
ivtv 95848 1 ivtv_fb
saa7127 7920 0
tuner 17388 0
saa7115 10084 0
msp3400 22788 0
videodev 8032 2 bttv,ivtv
dm_mod 38272 5
3c59x 35848 0


The important ones here are the ivtv_fb, video_buf,v4l2_common,ivtv,saa7127, tuner, videodev,and msp3400(for sound)

the saa7127 controls the tv out of the 350. Another quick way to test the framebuffer without setting up X is to do the following

rmmod saa7127
modprobe saa7217 output_enable=1 output_select=0 test_image=1

Even without X setup this should put a color pattern on your tv, IF the ivtv stuff is correct.

Like I said, what got me on this was having to set video16 to NTSC myself.
Back to top
View user's profile Send private message
mbonig
Tux's lil' helper
Tux's lil' helper


Joined: 27 Aug 2003
Posts: 102
Location: Rocky Mountains

PostPosted: Thu May 27, 2004 3:49 am    Post subject: Reply with quote

thanks man!
_________________
Just say "here", and let's consider the word "here" to be short for "here I am, rock you like a hurricane".
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 2 of 7

 
Jump to:  
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 vote in polls in this forum