View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 155 posts ] 
Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 11  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Tue Apr 19, 2005 12:07 pm 
Offline
Joined: Sat Feb 28, 2004 10:04 am
Posts: 173
Location: Canton, MI USA
I have not had a chance to do any more work on the latest script.

What I can say is that I have no idea how it will behave with multiple PVR cards.

My recommendation, if you have more than 1 PVR card, is to start with only one installed initially, have a run at the script to see if it works for you, and if so, then install the second PVR card.

If I had access to multiple PVR cards I would probably try to put in some checks for this, but at the moment, I can't.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 22, 2005 12:38 pm 
Offline
Joined: Tue Sep 07, 2004 9:34 pm
Posts: 25
Location: Houston, TX
Lane, SnapperDragon and anybody that can help.

I tried adding those lines but I still got the Purple and Green Screen. I have decided to start from scratch.

I have TV on my monitor working, I have not run the script yet because once I run it , I get the green screen on TVOUT and the tv on monitor does not work.I have been trying all of the suggestions from the following post [http://mysettopbox.tv/phpBB2/viewtopic.php?t=2995&postdays=0&postorder=asc&start=0l]

My ivtv file is below

alias char-major-81 videodev
alias char-major-61 lirc_i2c
alias char-major-81-0 ivtv
options ivtv debug=1
options tuner type=39
options msp3400 once=1 simple=1
install ivtv /sbin/modprobe tuner; /sbin/modprobe msp3400; /sbin/modprobe saa2115; /sbin/modprobe --ignore-install ivtv
remove ivtv /sbin/modprobe -r --ignore-remove ivtv && /sbin/modprobe -r saa7115 && /sbin/modprobe -r msp3400 && /sbin/probe -r tuner

Is there anything I can do before running the script that can help fix the Purple and Green Screen? I have installed R5A12 about 10 times trying to get things working correctly but I just can't get past the Purple and Green TV-Out.

Thanks

Max


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 22, 2005 2:07 pm 
Offline
Joined: Sun Dec 05, 2004 2:20 pm
Posts: 83
Location: Michigan, USA
The script doesn't do anything to fix the green and purple problem from what I can tell. Your best bet is probally to run the script and then try to fix the green and purple thing afterwords.

I was stuck for a while until I ran the ivtvctl commands from a ssh on another computer. This worked and I then knew my problem was with where the command was executed.

What version of ivtv are you using, I try to stick to the 0.2 versions.

_________________
P3 500 Mhz, no fan | 256 MB PC100 RAM | PSU SEASONIC SUPERTORNADO-300W | HD 160GB SAMSUNG 7200 SP1604N 2MB | TV TUNER HAUPAUGE WINTV-PVR 350 (990) PCI


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 22, 2005 3:20 pm 
Offline
Joined: Tue Sep 07, 2004 9:34 pm
Posts: 25
Location: Houston, TX
I don't know what version of ivtv I have. How do I find that out?

Max


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 22, 2005 5:59 pm 
Offline
Joined: Tue Dec 07, 2004 12:04 pm
Posts: 369
Restart the box, get a shell and then:
Code:
dmesg|grep ivtv > ivtv_out.txt
more ivtv_out.txt


Should be near the top.

-brendan


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 06, 2005 6:45 am 
Offline
Joined: Fri May 06, 2005 6:31 am
Posts: 79
Location: Spain
*****************
* pvr.pl with R5A15 *
*****************

Yesterday, I installed R5A15 on my computer. I discovered that the script (pvr.pl) was distributed in this version. Here is what I have done :

root@pvr:~#cd /root
root@pvr:~#perl /usr/local/bin/pvr.pl -i

KnoppMythVersion detected=R5 Alpha 15
Backup directory /root/pvr350util exists...kipping file backup
insmod : can't read 'ivtv-fb' : no such file or directory
sorry, i could not find the /etcX11/XF86Config-4.pvr350-tvout.sample file that need to construct the XF86Config-4.file
Exiting

Anyone know what i'm doing wrong ?
I just installed R5A15 and CTRL-ALT-F1 to exit at the command line
log with root and execute script.

*****************
* pvr.pl with R5A12 *
*****************

Today, I decided to install R5A12 and execute pvr.pl in the root. The script ran with no error but when I reboot, my computer freeze in the boot with cascading text and my TV displays green/grey bars.

My pvr-350 is connected in input with a cable (coaxial)
and in output with S-VIDEO cable.

Anyone what should I do to resolve this problem ?


Last edited by aspain on Sun Jun 12, 2005 4:16 am, edited 6 times in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 08, 2005 4:49 pm 
Offline
Joined: Fri May 06, 2005 6:50 pm
Posts: 5
I am having the same problem as greenstalk.

R5A12 pvr 350
mythversion 0.17.20050130-1
Television signal received via S-video in. TV-out via (Yellow,White,Red) cables

Install runs OK
(TV is bright green)
Specify new capture card (pvr 250 / 350)
Create Video source
Configure Input so s-video uses video source
After front-end starts modify player so it uses pvr350 encoder /dev/video16 s-video0

Establish ssh connection from separate box as root
From ssh I backup all the files the script will modify

As root in /root I perform the following acts with little to no experience:

#wget http://dc1.snapperworld.net/files/mythtv/pvr.pl
#perl pvr.pl -i
(tv turns from green to grey-black bars)
#rmmod saa7127
(tv turns black)
#modprobe saa7127 test_image=1
(color bars appear on tv)
#rmmod saa7127
(tv goes black)
#modprobe saa7127
(tv turns from green to grey-black bars)
#cd /etc/mythtv/modules
#rmmod tveeprom
#modprobe tveeprom
#dmesg
(shows tuner type value as 47)
#nano ivtv (modify tuner type to 47 and change debug to 0)
#nano /etc/X11/XF86Config-4 (modify the resolution to 640x480 in
monitor and screen sections)
#ivtvctl -j reg=0x6c,val=0xfa -d /dev/video16
(screen changes to have grey green lines)
I switch back to the myth console and select "watch tv"
(monitor goes black, TV turns on and video is there looking great !!!
I don't have sound and my remote doesn't work.
If I hit esc the tv goes black and the monitor turns back on displaying the myth frontend.

(I try to stop and start gdm via ssh IT stops ok but restart makes the machine totally un-responsive and I have to hard-reboot) can't connect other ssh sessions

Upon reboot I receive the following (TV displays green/grey bars)
Monitor spits out cascading text as follows;
ivtv registerd v412 device, streamtype 7 minor 232
ivtv:create DMA stream 8
ivtv:Registered v412 device, streamtype 8 minor 48
ivtv:setting Tuner 47
ivtv:setting audio matrox to input3 output 1
ivtv:switching standard to NTSC
ivtv:ivtv_enc_thread:pid=2183,itv=0xd0c04920
Saa7115:decoder set norm NTSC
Saa7115:set audio:0x01
Saa7127:Setting encoder Video Standard
saa7127:Set NTSC Video Mode
saa7127:Selecting NTSC Video Standard
ivtv:Initialized Wintv pvr 350,card#0
======End Init IVTV =====
ivtv-osd:Framebuffer module loaded (attached to ivtv card id0
ivtv-osd:Framebuffer is at decoder-relative address 0x00510000 and has 1704960 bytes
ivtv-osd:screen coords:[0 0] -> [720 480]
ivtv-osd:original global alpha = 208
ivtv-osd:new global alpha = 2 08 (1 255 0)
ivtv-osd:framebuffer

How do I get this fixed? Any help is greatly appreciated as my wife is starting to get annoyed with the amount of time this is taking :)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 02, 2005 11:46 am 
Offline
Joined: Tue Mar 22, 2005 11:56 am
Posts: 110
Location: San Francisco
Yep, trying to get this going too running 15.1

I'm curious about some of the errors which come up while running snapperdragon's script. I'm getting:

Code:
Press ENTER to continue
cp: cannot stat `/home/mythtv/.xsession': No such file or directory
insmod: can't read 'ivtv-fb': No such file or directory
Creating new /etc/X11/XF86Config-4 file
Shall I fix the issue with /dev/fb1 on R4V5? (y/n)

Which should I choose?

Selecting yes or no yields the same result. Upon reboot X will not start and I'm getting the 'no screens found'. The TV is plugged into the s-video out of my PVR-350 and displays the zig zag banding others are reporting. During boot up I am getting lots of ivtv errors:
Code:
modprobe: WARNING: /etc/mythtv/modules/ivtv line 7: ignoring bad line starting with 'add'
modprobe: WARNING: /etc/mythtv/modules/ivtv line 8: ignoring bad line starting with 'add'
modprobe: WARNING: /etc/mythtv/modules/ivtv line 9: ignoring bad line starting with 'post-install'
modprobe: WARNING: /etc/mythtv/modules/ivtv line 10: ignoring bad line starting with 'post-install'
modprobe: WARNING: /etc/mythtv/modules/ivtv line 11: ignoring bad line starting with 'post-install'


And here is a copy of ivtv
Code:
alias char-major-81 videodev
alias char-major-61 lirc_i2c
options ivtv debug=1
options tuner type=42
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
post-install ivtv /usr/local/bin/ivtvctl -d /dev/video0 -u 0x3000
post-install ivtv /usr/local/bin/ivtvctl -d /dev/video16 -u 0x3000
post-install ivtv /usr/local/bin/ivtvctl -d /dev/video32 -u 0x3000
post-install ivtv /usr/local/bin/ivtvctl -d /dev/video224 -u 0x3000


lspci:
Code:
#lspci
0000:01:06.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2 Encoder (rev 01)


XFree86-4:
Code:
Section "ServerLayout"
        Identifier     "XFree86 Configured"
        Screen  0 "TV Screen"
        InputDevice    "PS/2 Mouse" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
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"

        ### change fb1 to whatever number you got in the previous section
        Option      "fbdev" "/dev/agpgart"

        ### 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:0x1:06"
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


Have I missed something? TIA


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 02, 2005 2:18 pm 
Offline
Joined: Fri May 06, 2005 6:31 am
Posts: 79
Location: Spain
Your error message come from your ivtv

try :
Code:
alias char-major-81 videodev
alias char-major-61 lirc_i2c
#options ivtv debug=1
#options tuner type=47
options msp3400 once=1 simple=1
install ivtv /sbin/modprobe tuner; /sbin/modprobe msp3400; /sbin/modprobe saa7115;  /sbin/modprobe --ignore-install  ivtv; /sbin/modprobe ivtv-fb; /sbin/modprobe lirc_i2c
remove ivtv /sbin/modprobe -r --ignore-remove ivtv && /sbin/modprobe -r saa7115 && /sbin/modprobe -r msp3400 && /sbin/modprobe -r tuner && /sbin/modprobe -r ivtv-fb && /sbin/modprobe -r lirc_i2c



Please, tell me if you find a solution with pvr.pl on R5A15, R5A15.1


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 03, 2005 10:04 am 
Offline
Joined: Tue Mar 22, 2005 11:56 am
Posts: 110
Location: San Francisco
Hi aspain~

thanks for the ivtv file, it does not produce any of the errors anymore with that code.

I'm still getting the 'no screens' error- X doesn't load.

I have a question about the perl script, when I perl pvr.pl -d I'm getting:
Code:
# perl pvr.pl -d
KnoppMythVersion detected=R5 Alpha 15.1
DEBUG: KnoppMyth Version = R5 Alpha 15.1
DEBUG: Tuner Typer=
DEBUG: Busid=PCI:0x0::0
insmod: can't read 'ivtv-fb': No such file or directory
DEBUG: fb=shpchp
DEBUG: creating /tmp/ivtv file.
DEBUG: Displaying ivtv file that would have been created
DEBUG: writing temp XF86Config-4 file to /tmp directory.
DEBUG: Displaying XF86Config file that would have been producted


Notice the Tuner type is empty, the Busid is not the same as lspci and the error 'can't read 'ivtv-fb' is also suggesting some problems.

Not sure what I should do about this. thanks again


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 04, 2005 4:34 am 
Offline
Joined: Fri May 06, 2005 6:31 am
Posts: 79
Location: Spain
pvr.pl is distributed in R5A15 &+ but he is designed for R4V5 and R5A12.

try that : http://mysettopbox.tv/phpBB2/viewtopic. ... a15+pvr350


Top
 Profile  
 
 Post subject: SUCCESS!
PostPosted: Sun Jun 05, 2005 4:37 pm 
Offline
Joined: Tue Mar 22, 2005 11:56 am
Posts: 110
Location: San Francisco
Finally got it.

XF86Config-4:
Code:
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  "ivtvdev"

        ### change fb1 to whatever number you got in the previous section
        Option      "fbdev" "/dev/fb0"


        ### 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:01:06:00"

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 ivtv file you provided works great!

Now I've just got to figure out the overscan problem. The picture is about 10% to the left. My TV does it with everything, I think it got dropped on it's side or something.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 30, 2005 10:14 pm 
Offline
Joined: Sat Feb 28, 2004 10:04 am
Posts: 173
Location: Canton, MI USA
Unfortunately, the new version of knoppmyth and ivtv drivers don't seem to wrok the same way when I query them, so I get garbage in for the "fb*" value. Basically, it borks the ivtv and XF86Config-4 files. The check for the Knoppmyth version should have caused the program to abort, but it did not. That part is my fault.

I've got the opportunity to fix this right now as I was able to unplug my box from the tv and work on this. The only problem is that as of right now, I have not got it to work yet, so without knowing exactly what needs to be in the files, I can't code it up. Hoping that after a bit more messing around I can get it straight and upgrade the script.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 31, 2005 3:05 pm 
Offline
Joined: Tue Mar 22, 2005 11:56 am
Posts: 110
Location: San Francisco
SnapperDragon wrote:
Unfortunately, the new version of knoppmyth and ivtv drivers don't seem to wrok the same way when I query them, so I get garbage in for the "fb*" value. Basically, it borks the ivtv and XF86Config-4 files. The check for the Knoppmyth version should have caused the program to abort, but it did not. That part is my fault.

I've got the opportunity to fix this right now as I was able to unplug my box from the tv and work on this. The only problem is that as of right now, I have not got it to work yet, so without knowing exactly what needs to be in the files, I can't code it up. Hoping that after a bit more messing around I can get it straight and upgrade the script.



Much Obliged Snap!

I've had the mythbox out in the living room for a couple of months now. Once I got the lircrc file ironed out, everything works flawlessly. I haven't SSH'd in for a few weeks- Thanks for the help!


Top
 Profile  
 
 Post subject: R5A16 - PAL UK
PostPosted: Tue Aug 02, 2005 5:06 pm 
Offline
Joined: Sun Jul 24, 2005 4:15 pm
Posts: 170
Hi,

Has anyone had any luck getting this to work on R5A16 using PAL UK?

I read that R5A16 was 'close' but didn't see anything about PAL UK compatibility.


----------------------
VIA EPIA MII, PVR-350, Knoppmyth R5A16


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 155 posts ] 
Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 11  Next



All times are UTC - 6 hours




Who is online

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