Author |
Message |
heapmaster
|
Posted: Thu Apr 14, 2005 6:03 pm |
|
Joined: Mon Apr 11, 2005 10:20 am
Posts: 18
Location:
Southern California
|
I really didnt want to post here, but i have been trying every night for a few hours for the last two weeks to get my knoppmyth box up and running. I have tried the 0.25 Perl script written on here on my R5A12 install and it freezes about the point when it looks like its doing a modprobe ivtv-fb. i can dd from video0 to video16 with sound and pic no problem, and view sound and vid in mythtv on my computer screen but when it comes down to me trying to figure out the tv-out im stuck. I have 1 PVR-350 in slot 1(closest to AGP) and a PVR-250 in the next slot. I have tried the ivtvdev driver and X says /dev/fb0 or /dev/fb1 no such error depending on which i choose and kicks me to init 3 at root login when using the XF86Config-4 tv-out version. If i do a modprobe ivtv-fb i get frozen and have to reboot. Then i downloaded a newer ivtv from ivtv.tv, version ivtv-0.2.0-rc3i and compiled. Now when X starts i get the errors: "ivtvdev : no matching device section for instance (BUSID PCI 00:02:00)" and the same but with "(BUSID PCI 00:02:02)" which are the pci ids reported from lspci. I also downloaded the latest ivtvdev_drv.o driver and installed it. Please help, someone, this has been driving me nuts for almost two weeks, i have reinstalled a bunch of times, i have been trying almost every posts' suggestions that mention 350 tv-out.
If i do dmesg | grep fb i get nothing for output. my /etc/mythtv/modules/ivtv looks like:
alias char-major-81 videodev
alias char-major-61 lirc_i2c
options ivtv debug=1
options tuner type=2
options saa7127 enable_output=1 output_select=1
options msp3400 once=1 simple=1
add below ivtv msp3400 saa7115 saa7127 tuner
add above ivtv lirc_dev lirc_i2c ivtv-fb
/etc/X11/XF86Config-4 (partial):
Section "Device"
Identifier "Happauge PVR 350 iTVC15 Framebuffer"
Driver "ivtvdev"
Option "ivtv" "/dev/fb1"
BusID "PCI:2:0x00:0"
EndSection
Should my BUSID look like "PCI:2:0:0" instead ??
What do you think could be causing that, how can i fix it or get around it?
Could anyone offer suggestion as to the problem.
Other PC specs:
KnoppMyth R5A12
Matsonic MS9087C MB
Intel Celeron D 2.5 GHz
256 DDR 333
40GB WD IDE HD
PVR-350 in Slot 1(Closest To AGP)
PVR-250 in Slot 2
Texas Instr. chipset Wireless WiFi 54MBPS Card in Slot 4
PCI Video Card in Slot 5
Last edited by heapmaster on Tue Apr 19, 2005 10:36 am, edited 1 time in total.
|
|
Top |
|
 |
linkman
|
Posted: Fri Apr 15, 2005 10:00 pm |
|
Joined: Thu Mar 31, 2005 10:51 pm
Posts: 6
Location:
Texas,USA
|
I had a similar problem. Mine was cured by using this line instead in the X86 config:
Option "fbdev" "/dev/fb1"
Getting the X configuration to work correctly is tough. I'd get the tv output on the PVR-350 first, then try to get the Mythtv GUI onto the 350 output.
_________________ AMD Duron 1.8 GHz
Hauppauge PVR-350
ABIT VA-20 motherboard
Seagate 160 GB SATA
512 MB RAM
|
|
Top |
|
 |
heapmaster
|
Posted: Sat Apr 16, 2005 12:35 am |
|
Joined: Mon Apr 11, 2005 10:20 am
Posts: 18
Location:
Southern California
|
Thanks for the reply...Yes it is tough. I did what you said and now i get the errors:
(EE) ivtvdev : No matching device section for instance (BUSID PCI 2:02:0)"
(WW) open /dev/fb1 : no such device
(WW) Screen 0 deleted because of no matching config section
(WW) Device detected, but non matching those in config file
I can get the TV from the input into the 350 back out to the tv-out on the 350 with sound, color and all using dd if=/dev/video0 of=/dev/video16 so i know its working somewhat, just need to figure out how to get X to get to the tv-out. I have both PCI PVR cards with correct PCI:2:2:0 & PCI:2:0:0 BusIDs along with different Option "fbdev" "/dev/fb1" & "fb2" in my XF86Config-4 (tv-out version) file, each with their own unique identifer Device section(of crouse X is going to the 350 device section cause it has the tv-out port). since i compiled a new version of ivtv 0.2.0-rc3i i can modprobe ivtv-fb but my PC monitor text goes all weird and my TV goes from just black to black and white horizontal lines 75%(white interlaced lines), of the tv and color horizontal lines the 25% rest. So im going to look though the board 2night to see if i can fix that, cause im not frozen after the modprobe cause i can type reboot and my PC does, but i just can see what im typing on my PC monitor or my TV. I just did a fresh install last night(4/15) and still get the same errors as above.
Anyone let me know if they can help with this, thanks..ill contribute my 2 cents on other posts in here as well for my finding so far with my mythtv.
|
|
Top |
|
 |
linkman
|
Posted: Sat Apr 16, 2005 6:28 pm |
|
Joined: Thu Mar 31, 2005 10:51 pm
Posts: 6
Location:
Texas,USA
|
The busid entry for the pci card sounds very suspect. It's usually something like "PCI:0:08:0" and not "PCI:2:0x00:0".
There's a lot of debate over the need for the "x". You should probably post your entire /etc/X11/XF86Config-4. Also, are your entries for /dev/fb0 and fb1 correct? Mine look like this:
crw-rw-rw- 1 root video 29, 0 Nov 20 13:01 /dev/fb0
crw-rw-rw- 1 root video 29, 1 Nov 20 13:01 /dev/fb1
I'm probably a little overboard on the permissions for others, but I'm not paranoid about security.
|
|
Top |
|
 |
heapmaster
|
Posted: Sun Apr 17, 2005 12:02 am |
|
Joined: Mon Apr 11, 2005 10:20 am
Posts: 18
Location:
Southern California
|
thanks for the reply...could be. Heres the XF86Config-4 files' content:
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "TV Screen"
InputDevice "PS/2 Mouse" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "ServerFlags"
Option "AllowMouseOpenFail" "true"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
# FontPath "/usr/X11R6/lib/X11/fonts/latin2/75dpi"
# FontPath "/usr/X11R6/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/ttf/western"
FontPath "/usr/share/fonts/ttf/decoratives"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/share/fonts/truetype/openoffice"
FontPath "/usr/share/fonts/truetype/ttf-bitstream-vera"
FontPath "/usr/share/fonts/latex-ttf-fonts"
FontPath "/usr/X11R6/lib/X11/fonts/defoma/CID"
FontPath "/usr/X11R6/lib/X11/fonts/defoma/TrueType"
EndSection
Section "Module"
Load "ddc" # ddc probing of monitor
# Load "GLcore"
Load "dbe"
Load "v4l"
Load "extmod"
# Load "glx"
Load "bitmap" # bitmap-fonts
Load "speedo"
Load "type1"
Load "freetype"
Load "record"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Serial Mouse"
Driver "mouse"
Option "Protocol" "Microsoft"
Option "Device" "/dev/ttyS0"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection
Section "InputDevice"
Identifier "PS/2 Mouse"
Driver "mouse"
Option "Protocol" "auto"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection
Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "SendCoreEvents" "true"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection
Section "Monitor"
Identifier "NTSC Monitor"
HorizSync 30-68
VertRefresh 50-120
Mode "720x480"
# D: 34.563 MHz, H: 37.244 kHz, 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"
Driver "ivtvdev"
### change fb1 to whatever number you got in the previous section
#Option "fbdev" "/dev/fb1"
Option "ivtv" "/dev/fb1"
### change the busid to whatever is reported by lspci. Note that
### output of lspci is hex, so add a preceding "0x" to the BusID
BusID "PCI:2:0: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
Section "DRI"
Mode 0666
EndSection
The output of lspci:
0000:00:00.0 Host bridge: Intel Corp. 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
0000:00:01.0 PCI bridge: Intel Corp. 82865G/PE/P PCI to AGP Controller (rev 02)
0000:00:1d.0 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1 (rev 02)
0000:00:1d.1 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2 (rev 02)
0000:00:1d.2 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02)
0000:00:1d.3 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #4 (rev 02)
0000:00:1d.7 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev c2)
0000:00:1f.0 ISA bridge: Intel Corp. 82801EB/ER (ICH5/ICH5R) LPC Bridge (rev 02)
0000:00:1f.1 IDE interface: Intel Corp. 82801EB/ER (ICH5/ICH5R) Ultra ATA 100 Storage Controller (rev 02)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
0000:02:00.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2 Encoder (rev 01)
0000:02:02.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2 Encoder (rev 01)
0000:02:04.0 VGA compatible controller: S3 Inc. 86c988 [ViRGE/VX] (rev 02)
0000:02:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Output of ls -l /dev/fb*
crw-rw-rw- 1 mythtv root 29, 0 Apr 16 03:01 fb0
crw-rw-rw- 1 mythtv root 29, 1 Apr 16 02:46 fb1
crw-rw---- 1 root video 29, 2 Nov 20 19:01 fb2
crw-rw---- 1 root video 29, 3 Nov 20 19:01 fb3
crw-rw---- 1 root video 29, 4 Nov 20 19:01 fb4
crw-rw---- 1 root video 29, 5 Nov 20 19:01 fb5
crw-rw---- 1 root video 29, 6 Nov 20 19:01 fb6
crw-rw---- 1 root video 29, 7 Nov 20 19:01 fb7
Output when i type in startx:
(==) Using config file: "/etc/X11/XF86Config-4"
Skipping "/usr/X11R6/lib/modules/fonts/libspeedo.a:spencode.o": No symbols found
(WW) ivtvdev: No matching Device section for instance (BusID PCI:2:2:0) found
(EE) open /dev/fb0: No such device
(EE) Screen 0 deleted because of no matching config section.
(EE) Device(s) detected, but none match those in the config file.
Fatal server error:
no screens found
Output when i run /usr/local/bin/ivtvfbctl /dev/fb0 -globalalpha -nolocalalpha :
Failed to open /dev/fb0: No such device
Output when i run /usr/local/bin/ivtvfbctl /dev/fb1 -globalalpha -nolocalalpha :
Failed to open /dev/fb1: No such device
File content of /etc/mythtv/modules/ivtv:
#alias char-major-61 lirc_i2c
#alias char-major-81 videodev
#alias char-major-81-0 ivtv
#options ivtv debug=1
#options tuner type=2
#options saa7127 enable_output=1 output_select=0
#options msp3400 once=1 simple=1
#add below ivtv msp3400 saa7115 saa7127 tuner
#add above ivtv lirc_dev lirc_i2c ivtv-fb
#install ivtv /sbin/modprobe tuner; /sbin/modprobe msp3400; /sbin/modprobe saa71
15; /sbin/modprobe --ignore-install ivtv
#remove ivtv /sbin/modprobe -r --ignore-remove ivtv && /sbin/modprobe -r saa7115
&& /sbin/modprobe -r msp3400 && /sbin/modprobe -r tuner
File content of /etc/modutils/ivtv:
alias char-major-61 lirc_i2c
alias char-major-81 videodev
alias char-major-81-0 ivtv
options ivtv debug=1
options tuner type=2
options saa7127 enable_output=1 output_select=0
options msp3400 once=1 simple=1
add below ivtv msp3400 saa7115 saa7127 tuner
add above ivtv lirc_dev lirc_i2c ivtv-fb
I have run the following to try and redo the frame buffer file(which is why its date and perms are diff then the others),because it wasn't working with the org. files, but still no luck:
rm -f /dev/fb0autodetect
rm -f /dev/fb0
mknod /dev/fb0 c 29 0
chmod 666 /dev/fb0
chown mythtv /dev/fd0
And:
rm -f /dev/fb1autodetect
rm -f /dev/fb1
mknod /dev/fb1 c 29 1
chmod 666 /dev/fb1
chown mythtv /dev/fd1
|
|
Top |
|
 |
heapmaster
|
Posted: Sun Apr 17, 2005 9:57 am |
|
Joined: Mon Apr 11, 2005 10:20 am
Posts: 18
Location:
Southern California
|
I figured it out! I made sure the /etc/mythtv/modules/ivtv lines were all commented out because when it would boot i would see it complaining about the last two lines in the file. I have the same lines in the /etc/modutils/ivtv so its all good. I added to /etc/modutils/ivtv to the end:
post-install ivtv-fb /usr/bin/ivtvfbctl dev/fb1 -globalalpha -nolocalalpha -alpha 0
but i think its causing a line error at that line when it boots, I heard that it was used to get rid of the 20 white interlaced lines(maybe the same lines i was getting in my previous posts)...i left it in there just in case and let it error out.
But what i think worked was added ivtv-fb and saa7127 to the /etc/modules file. Most likly just adding ivtv-fb was it but i added saa7127 just in case too. Then ran update-modules. I also added modprobe lirc_i2c and /usr/bin/local/lircd to the /etc/init.d/bootmisc.sh file because i was having remote control issues and it wasnt working, but that fixed that. The only problem i am having now is when i watch tv, some times it will get pixelly at the top of the picture, so im going to scour the forums for a fix, because right now i have to either reboot or stop and start live tv a bunch of times, but mostly reboot, which bugs. I got some other little issues too, but they can be fixed by the fourms here. Thanks for your input and your help and these forums!!!!
|
|
Top |
|
 |
linkman
|
Posted: Sun Apr 17, 2005 2:09 pm |
|
Joined: Thu Mar 31, 2005 10:51 pm
Posts: 6
Location:
Texas,USA
|
Good work! It sounds like you are well on your way to getting it to run the way you want to. A dual tuner setup seems like a difficult setup, but has great capabilities. Your pixel problem at the top is the first I've heard of, but then again I haven't looked for that sort of problem.
|
|
Top |
|
 |
heapmaster
|
Posted: Tue Apr 19, 2005 10:25 am |
|
Joined: Mon Apr 11, 2005 10:20 am
Posts: 18
Location:
Southern California
|
I found out that the pixel problem was becuase of an incorrect tuner number. i was using the default 2 but i ran the tuner command for tuner number detection and found that it was suppose to be 8 so i changed it and that fixed that problem. Now the only issues im having is trying to compile a second lirc for an IR Blaster. And a transcoding error after myth records a program and i set the recording to transcode after recording. Would anyone know how to fix the transcoding error or where should i look to figure out why its failing to transcode after it runs the commercial detection job on the recorded program? As far as the LIRC comiple error i get is when i do a modprobe ledxmit_serial. I was getting a error about libtool: unrecognized option `--tag=CC' but then i ran libtoolize --force and actools in the lirc-0.7.0 directory(untared from /usr/src directory) and that fixed that problem. the error i get during modprobe is something about it can't install because of an error on line 2 "nstall" in the ledxmit ko module in the kernel source dir. I also tried to use a CVS lirc-0.7.1 snapshot but only pre1 will not error out when i run myth-ledxmit.sh, pre2 throug pre4 wil give a file error. Can anyone help ??? please?
|
|
Top |
|
 |
rkremser
|
Posted: Wed Apr 20, 2005 11:10 pm |
|
Joined: Wed Sep 08, 2004 10:15 pm
Posts: 82
|
I actually had the same problem you had before and i tried what you did but resulted in big issues. I"m now stuck having myth freeze solid durring boot and it won't let me ssh into it and keyboard is unresponsive after it freezes. It seems it locks just after it loads ivtv-fb. Any ideas?
|
|
Top |
|
 |
heapmaster
|
Posted: Thu Apr 21, 2005 12:14 am |
|
Joined: Mon Apr 11, 2005 10:20 am
Posts: 18
Location:
Southern California
|
Ya i can help...which of the problems are you referring to??
|
|
Top |
|
 |
rkremser
|
Posted: Thu Apr 21, 2005 12:18 am |
|
Joined: Wed Sep 08, 2004 10:15 pm
Posts: 82
|
upon running ivtv-fb computer seems to lock showing the lines in the console shifted and wrap around. I tried exactly what you did (modutils and modules changing (include ivtv-fb and saa7127)) and it left me with a completely frozen computer again with the shifted lines in the console and I am unable to do anything from that point.
|
|
Top |
|
 |
heapmaster
|
Posted: Thu Apr 21, 2005 9:03 am |
|
Joined: Mon Apr 11, 2005 10:20 am
Posts: 18
Location:
Southern California
|
Was your computer freezing before you put saa7127 and ivtv-fb into the /etc/modules file or before?? And when did you get the lines wrapping around, because that is a good sign at least for me, before you put those two into /etc/modules or after??? I had the freezing problem too. But it was only once and i re-installed because i couldnt get back into the machine. Try ssh'ing into the machines' IP using putty(if your on windows) and see if you can get into it from there. I have re-installed knoppmyth about a dozen or more times just to get where im at; just cause i want to start fresh. If you can ssh into the machine or can figure out how to boot without the modules loading(usually i just re-installed) then i would check out your /etc/X11/XF86Config-4 file and see if its correct. My section for Device for my PVR-350 reads:
Section "Device"
Identifier "Hauppauge PVR 350 iTVC15 Framebuffer"
#Driver "fbdev"
Driver "ivtvdev"
### change fb1 to whatever number you got in the previous section
#Option "fbdev" "/dev/fb1"
Option "ivtv" "/dev/fb1"
### change the busid to whatever is reported by lspci. Note that
### output of lspci is hex, so add a preceding "0x" to the BusID
BusID "PCI:2:0:0"
EndSection
Make sure the /dev/fb1 is there and its correct using and ls -l /dev/fb* which gave me:
crw-rw-rw- 1 mythtv root 29, 0 Apr 15 20:01 /dev/fb0
crw-rw-rw- 1 mythtv root 29, 1 Apr 15 19:46 /dev/fb1
And that the BusID is also correct from the lspci | grep video command which gave me:
0000:02:00.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2 Encoder (rev 01)
0000:02:02.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2 Encoder (rev 01)
|
|
Top |
|
 |