View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 44 posts ] 
Go to page Previous  1, 2, 3  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Feb 28, 2004 10:49 am 
Offline
Joined: Sat Feb 28, 2004 10:04 am
Posts: 173
Location: Canton, MI USA
Wrooster, could you please post you X config file? Every time I try to modify it, I get x server failed to start. I tried to follow the howto, but I'm not exactly piecing it all together. I have not tried the updates you mention yet, but I'll be doing this next. I'm curious how exactly your X config file looks to see if I'm not understanding some of the instructions.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 28, 2004 11:03 am 
Offline
Joined: Sat Feb 28, 2004 10:04 am
Posts: 173
Location: Canton, MI USA
MythTV - It's still a Myth for me :o

I'll comit to fully documenting my steps if I can get this to work. Lots of posts about it working, but I'm still no-go.

I installed KnoppMyth R4V2. I have the PVR-350. I'd like to get the thing setup to go to an NTSC TV. That's my end-goal. I'll use the vga monitor first,though, to make sure everything is working correctly first.


My first problem after the initial install is that I do not get a listing of providers when I'm setting up the video source. I know xmltv .0.5.19 is installed with KnoppMyth R4V2, but I have verified (in windows) that .0.5.29 does d/l the provider list correctly. Should I get this to work first before going any further?


Top
 Profile  
 
PostPosted: Sat Feb 28, 2004 12:33 pm 
Offline
Joined: Thu Feb 19, 2004 6:52 pm
Posts: 117
SnapperDragon wrote:
Wrooster, could you please post you X config file?


attached below is my complete XF86Config-4 file. a few of the gurus around here will probably point out that there is too much stuff in there. :)

a few notes first:
1) i have a "ServerLayout" section commented out so i can switch back and forth between X-on-VGA and X-on-TV (useful when debugging). as you can see there is only a one line difference, but i left both sections in place so you can see what's what.
2) in the device definition for my PVR350 it's important you realize why i have "ivtvdev" there. ordinarily one would use "fbdev" but i am using matthias's new ivtvdev driver which does X-on-PVR350-TV-out via the ivtv driver rather than the native X framebuffer (fbdev). i suggest that you get everything going with fbdev UNTIL you have problems with video freezing or overlay issues. so uncomment out the fbdev line and comment the ivtvdev line. then re-read my posts above regarding the "new, improved" ivtv versions from chris kennedy and matthias badaire. if you use chris's newest ivtv driver (here--> http://kmos.org/~ckennedy/ivtv/ -- note the version i'm using is -41 dated 26 feb 2004) to gain live TV stability, you will NOT get X the on TV output, and that will immediately drive you towards matthias's ivtvdev driver. see my post above for the details. for the latest info on the ivtvdev driver, scroll to the end of http://www.poptix.net/ivtv/Feb-2004/maillist.html
3) it is of course very useful to have both a VGA monitor and a TV hooked up for debugging your PVR350 installation. figure out a way to do so or you'll get pretty frustrated.
4) regarding your particular PVR350 PCI bus address, be sure to read http://www.poptix.net/ivtv/Feb-2004/msg00530.html because for example 0x11 != dec 11.


Code:
Section "ServerLayout"
         Identifier     "XFree86 Configured"
         Screen  0 "TV Screen"
         InputDevice    "PS/2 Mouse" "CorePointer"
         InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

# Section "ServerLayout"
#       Identifier     "XFree86 Configured"
#       Screen      0  "Screen0" 0 0
#       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  "dri"
        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

# Auto-generated by KNOPPIX mkxf86config

Section "Monitor"
        Identifier      "Monitor0"
        Option  "DPMS"  "true"
#       HorizSync    28.0 - 78.0 # Warning: This may fry very old Monitors
        HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
        VertRefresh  50.0 - 76.0 # Very conservative. May flicker.
# These are some Modelines that happen to work on many systems
# Especially the "1024x768" has been thoroughly tested, even on Laptops
        Modeline "640x480"     25.175 640  664  760  800   480  491  493  525 #60Hz
        Modeline "800x600"     40.12  800  848  968 1056   600  601  605  628 #60Hz
        Modeline "1024x768"    85    1024 1056 1152 1360   768  784  787  823
        Modeline "1152x864"    92    1152 1208 1368 1474   864  865  875  895
        Modeline "1152x864"   110    1152 1240 1324 1552   864  864  876  908
        Modeline "1152x864"   135    1152 1464 1592 1776   864  864  876  908
        Modeline "1152x864"   137.65 1152 1184 1312 1536   864  866  885  902 -HSync -VSync
        Modeline "1280x1024"   80    1280 1296 1512 1568  1024 1025 1037 1165 Interlace
        Modeline "1280x1024"  110    1280 1328 1512 1712  1024 1025 1028 1054
        Modeline "1280x1024"  126.5  1280 1312 1472 1696  1024 1032 1040 1068 -HSync -VSync
        Modeline "1280x1024"  135    1280 1312 1456 1712  1024 1027 1030 1064
        Modeline "1280x1024"  135    1280 1312 1416 1664  1024 1027 1030 1064
        Modeline "1280x1024"  157.5  1280 1344 1504 1728  1024 1025 1028 1072 +HSync +VSync
        Modeline "1280x1024"  181.75 1280 1312 1440 1696  1024 1031 1046 1072 -HSync -VSync
        Modeline "1600x1200"  162    1600 1664 1856 2160  1200 1201 1204 1250 +HSync +VSync
        Modeline "1600x1200"  189    1600 1664 1856 2160  1200 1201 1204 1250 -HSync -VSync
        Modeline "1600x1200"  202.5  1600 1664 1856 2160  1200 1201 1204 1250 +HSync +VSync
        Modeline "1600x1200"  220    1600 1616 1808 2080  1200 1204 1207 1244 +HSync +VSync
        ModeLine "1800x1440"  230    1800 1896 2088 2392  1440 1441 1444 1490 +HSync +VSync
        ModeLine "1800x1440"  250    1800 1896 2088 2392  1440 1441 1444 1490 +HSync +VSync
EndSection

Section "Device"
        ### Available Driver options are:-
# sw_cursor is needed for some ati and radeon cards
Option "sw_cursor"
        #Option     "hw_cursor"
        #Option     "NoAccel"
        #Option     "ShowCache"
        #Option     "ShadowFB"
        #Option     "UseFBDev"
        #Option     "Rotate"
        Identifier  "Card0"
# The following line is auto-generated by KNOPPIX mkxf86config
        Driver      "nv"
        VendorName  "All"
        BoardName   "All"
#       BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultColorDepth 16
        SubSection "Display"
                Depth     1
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     4
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     8
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     15
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     32
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "DRI"
        Mode 0666
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
        ### next line is the same whether using the fbdev OR ivtvdev driver
        Option      "fbdev" "/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 "2:0x09: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




regarding:
SnapperDragon wrote:
My first problem after the initial install is that I do not get a listing of providers when I'm setting up the video source. I know xmltv .0.5.19 is installed with KnoppMyth R4V2, but I have verified (in windows) that .0.5.29 does d/l the provider list correctly. Should I get this to work first before going any further?


are you sure that you have basic networking configured correctly?
can you ssh to your myth box?
can your myth box ping www.yahoo.com? (which checks both the DNS and default route configs)
what dialog pops up when you enter your zipcode?

jim


Last edited by wrooster on Mon Mar 01, 2004 6:59 am, edited 2 times in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 29, 2004 9:43 am 
Offline
Joined: Sun Feb 29, 2004 7:40 am
Posts: 6
Location: Bunnik, Holland
Thank you all for posting your experiences! I'm trying to use knoppmyth in a PAL environment with PVR-350 TV-out.

The system is running fine when I use vga as output, but the PVR-350's TV-out is giving me headaches. I am using KnoppMyth R4V2 + ivtv-0.1.9-ck-vbi-41-osdstream from chris kennedy + ivtvdev from matthias badaire.

I can get the OSD and video working by switching off 'Use PVR-350' under tv-setting -> playback. CPU usage gets so high, that the framerate drops significantly and I'm not getting audio from the PVR-350 (didn't check the soundcard). I don't believe this is the right way to do things, because this way I'm not using the MPEG decoder, right ?

So I switched 'Use PVR-350' on and behold, sound!, video!, FLUENT video even. And I can pause and unpause livetv! So it's almost perfect, but... I can't use any mythtv functionality after I started watching TV, except for the pausing/unpausing. I can't go back to the menu by pressing escape, I can't switch channels, can't display the OSD etcetera.

Switching from ivtvdev to fbdev as X-driver disables GUI-output from mythtv, but I can still watch tv by pressing enter 2 times.

Any ideas, suggestions etc. are more than welcome!

(of course, getting no GUI when switching from ivtvdev to fbdev is logical, because my ivtv-fb is incompatible with it)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 29, 2004 11:56 am 
Offline
Joined: Thu Feb 19, 2004 6:52 pm
Posts: 117
Hans wrote:
The system is running fine when I use vga as output, but the PVR-350's TV-out is giving me headaches. I am using KnoppMyth R4V2 + ivtv-0.1.9-ck-vbi-41-osdstream from chris kennedy + ivtvdev from matthias badaire.

I can get the OSD and video working by switching off 'Use PVR-350' under tv-setting -> playback. CPU usage gets so high, that the framerate drops significantly and I'm not getting audio from the PVR-350 (didn't check the soundcard). I don't believe this is the right way to do things, because this way I'm not using the MPEG decoder, right ?

So I switched 'Use PVR-350' on and behold, sound!, video!, FLUENT video even. And I can pause and unpause livetv! So it's almost perfect, but... I can't use any mythtv functionality after I started watching TV, except for the pausing/unpausing. I can't go back to the menu by pressing escape, I can't switch channels, can't display the OSD etcetera.

Switching from ivtvdev to fbdev as X-driver disables GUI-output from mythtv, but I can still watch tv by pressing enter 2 times.

Any ideas, suggestions etc. are more than welcome!

(of course, getting no GUI when switching from ivtvdev to fbdev is logical, because my ivtv-fb is incompatible with it)


hans,

this is good news -- i was at the same place as you, no X output just video, a few posts back. :)

couple of questions:

0) you downloaded and installed chris's -41 ivitv driver
http://kmos.org/~ckennedy/ivtv/
and put it in the right place in /usr/local/lib/ivtv?
one way to do it:
$ cd /usr/local/lib
$ mv ivtv ivtv.ORIG
$ wget http://kmos.org/~ckennedy/ivtv/ivtv-0.1 ... stream.tgz
$ gzip -d ivtv-0.1.9-ck-vbi-41-osdstream.tgz; tar xf ivtv-0.1.9-ck-vbi-41-osdstream.tar
$ mv ivtv-0.1.9-ck-vbi-41-osdstream ivtv
$ cd ivtv/driver
$ make
(***NOTE*** problems compiling? see http://www.poptix.net/ivtv/Feb-2004/msg00461.html )
$ make install
$ cd ../utils
$ make
(***NOTE*** DO NOT "make install" AT THIS STEP -- there are symlinks in /usr/local/bin which point here already!!!)
$ root@mythtv:/tmp# ls -ls /usr/local/bin/iv* /usr/local/bin/test*
0 lrwxrwxrwx 1 root root 35 Feb 27 01:42 /usr/local/bin/ivtvfbctl -> /usr/local/lib/ivtv/utils/ivtvfbctl
0 lrwxrwxrwx 1 root root 42 Feb 27 01:42 /usr/local/bin/ivtvfwextract.pl -> /usr/local/lib/ivtv/utils/ivtvfwextract.pl
0 lrwxrwxrwx 1 root root 34 Feb 27 01:42 /usr/local/bin/ivtvplay -> /usr/local/lib/ivtv/utils/ivtvplay
0 lrwxrwxrwx 1 root root 36 Feb 27 01:42 /usr/local/bin/test_ioctl -> /usr/local/lib/ivtv/utils/test_ioctl
$ reboot

1) you downloaded mattias's ivtvdev driver?
http://www.poptix.net/ivtv/Feb-2004/msg00419.html
and put it in the right place in your X11 tree?
$ root@mythtv:/tmp# find / -name "ivtvdev*" -print
/usr/X11R6/lib/modules/drivers/ivtvdev_drv.o

2) you made this change in your XFree config to call the right driver:
# Driver "fbdev"
Driver "ivtvdev"

3) have you checked permissions etc on /dev/video16? (post your $ ls -ls output)

4) any interesting errors in /var/log/messages or /var/log/daemon.log ?

one other suggestion is to go to the very end of http://www.poptix.net/ivtv/Feb-2004/maillist.html and read all of the threads entitled "[ivtv-devel] X Driver for ivtv" -- here chris and mattias et al provide some insight on diagnosing problems with both ivtv and the ivtvdev drivers for X.

hope all that helps some.

jim


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 29, 2004 12:40 pm 
Offline
Joined: Thu Feb 19, 2004 6:52 pm
Posts: 117
Hans wrote:
I can't go back to the menu by pressing escape, I can't switch channels, can't display the OSD etcetera.


i just thought of one other thing.

the fact that you can't ESC back out of live TV is a clue.

if you press ALT-F1 so you can display info on the "normal" fb (VGA-out), MythTV will no longer operate properly. i'm not sure of the exact reason but you have basically swapped the X server (the display end) at this point over to another client (namely the console output). so, if you are having problems with getting MythTV output (Menu, OSD, etc) *DO NOT ALT-F1* to get the console on the default fb. if you need to go back and forth, you can ALT-F1 to get console, then ALT-F7 (i think it was F7, myabe F8?) to shift the X server back to the TV-out device.

jim


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 29, 2004 2:44 pm 
Offline
Joined: Mon Feb 23, 2004 1:08 am
Posts: 91
Location: Switzerland
Some comments, as I have gone through all this (see above), pulled my hair for a while, and finally arrived to something working decently.

Quote:
The system is running fine when I use vga as output, but the PVR-350's TV-out is giving me headaches. I am using KnoppMyth R4V2 + ivtv-0.1.9-ck-vbi-41-osdstream from chris kennedy + ivtvdev from matthias badaire.


Following up on this... I have NOT been able to get this to work.I just get a black screen on tvout.

So, I am currently running ivtv0.1.9 plain vanilla + ivtvdev from matthias badaire. This seems to take care of the osd overlay lockup problem.

One more comment: things as I have experienced them are still pretty finicky... You may have to reboot twice before a change will actually take place. I don't understand why, but it's the case. So, my advice, if you make a change, and things have not moved: try first to reboot again to see if anything changes.

Laurent


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 29, 2004 2:55 pm 
Offline
Joined: Mon Feb 23, 2004 1:08 am
Posts: 91
Location: Switzerland
Another thing, probably mostly for European users: don't even try to watch anything before you are all done settting up your channels properly. You will thrash around with things in ivtv when in fact, you probably need to enter the freqid to complete the channel setup.

The best way I have found to do this was to use mythweb, under "settings"->"channels" (or something like this).

You will have to find out what frequency is used for each channel, as provided by your TV cable operator. For example, in my case, I get from my operator:
Name Frequency Channel
CNN 126.25 SE4

so, I will look CNN up in mythweb, and enter "SE4" as freqid. You should probably also complete the channel number (for example:"1") and call sign (for example: "CNN") fields.

It's a bit tedious to do by hand, but maybe someone will post a database script to do it in "batch" mode (which would *really* help for subsequent reinstalls from scratch).

Hope this helps. This is something I didn't quite understand at first. Maybe I rushed into things a bit.

Laurent


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 29, 2004 4:11 pm 
Offline
Joined: Sun Feb 29, 2004 7:40 am
Posts: 6
Location: Bunnik, Holland
Thank you both for your replies.

I have tried both ivtv-0.1.9-ck-vbi-41-osdstream and the vanilla 0.1.9 ivtv software.

I have tried ivtvdev_drv.o from http://www.poptix.net/ivtv/Feb-2004/msg00419.html and from http://membres.lycos.fr/badzzzz/

Permissions on /dev/video16 are crw-rw---- 1 root video and mythtv is in the video group, so that's fine.

I have tried both the ivtvdev and the fbdev driver for X11, but I can't get the OSD to work. I found out that I can ESC back from live tv in the first few seconds from starting it. If I don't press ESC in those first seconds, the only functionality I have is rew, ff and (un)pause.

And could you tell me if you have enabled the 'Use PVR350' option in mythtv ? I assume you do, but I'd like to be certain :]

I've never seen the OSD on my TV so far :( And it looks so cool on my monitor :( And I don't understand why I can pause, unpause, ff and rew, but am unable to switch channels, go back to the menu's etcetera.

Hope you can give me some more pointers, because I'm pretty much stuck here :(


Edit: Oh, and I couldn't find anything useful in messages or daemon.log.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 29, 2004 4:22 pm 
Offline
Joined: Thu Feb 19, 2004 6:52 pm
Posts: 117
hans,

> could you tell me if you have enabled the 'Use PVR350' option in mythtv ?
yes, of course. that's the only way HW-accelerated MPEG decoding happens.

check following:

1)
root@mythtv:/tmp# cksum /usr/X11R6/lib/modules/drivers/ivtvdev_drv.o
298458997 11897 /usr/X11R6/lib/modules/drivers/ivtvdev_drv.o

2)
post your XFree config file.

3)
post the output of $ dmesg | tail -50


by the way, my /etc/modules.conf includes the following:

Code:
.../snip/...

### update-modules: start processing /etc/modutils/ivtv-jim
# saa7127 --> output_select ... 1=S-video, 0=composite

# This is for WinTV PVR-350 IVTV
# KM alias char-major-61 lirc_i2c
alias char-major-81     videodev
alias char-major-81-0   ivtv
alias char-major-81-1   bttv

options ivtv ivtv_debug=1
#type=2 for NTSC only
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
post-install ivtv /usr/local/bin/test_ioctl -d /dev/video0 -u 0x3000

### update-modules: end processing /etc/modutils/ivtv-jim

.../snip/...



jim


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 01, 2004 2:51 am 
Offline
Joined: Sun Feb 29, 2004 7:40 am
Posts: 6
Location: Bunnik, Holland
Jim, thanks so much for your reply.

wrooster wrote:
<snip>
check following:

1)
root@mythtv:/tmp# cksum /usr/X11R6/lib/modules/drivers/ivtvdev_drv.o
298458997 11897 /usr/X11R6/lib/modules/drivers/ivtvdev_drv.o


Gives the same output here.

Quote:
2)
post your XFree config file.


Code:
Section "Device"
       Identifier  "Hauppauge PVR350"
       Driver      "ivtvdev"
       Option      "fbdev" "/dev/fb0"
       BusID "2:0x0a:0"
EndSection

Section "Monitor"
       Identifier  "PAL TV"
       HorizSync  30-68
       VertRefresh 50-120
       Mode "720x576"
         DotClock 41.476
         HTimings 720 752 840 928
         VTimings 576 580 584 600
         Flags    "-HSync" "-VSync"
       EndMode
EndSection

Section "Screen"
       Identifier  "TV"
       Device      "Hauppauge PVR350"
       Monitor     "PAL TV"
       DefaultDepth 24
       DefaultFbbpp 32
       Subsection "Display"
         Depth 24
         FbBpp 32
         Modes "720x576"
       EndSubsection
EndSection


Quote:
3)
post the output of $ dmesg | tail -50


Code:
i2c-core.o: client [saa7115[0]] registered to adapter [ivtv i2c driver #0](pos. 2).
msp34xx: init: chip=MSP3418W-A2, has NICAM support
msp3410: daemon started
i2c-core.o: client [MSP3418W-A2] registered to adapter [ivtv i2c driver #0](pos. 3).
i2c-core.o: adapter ivtv i2c driver #0 registered as adapter 0.
ivtv: Encoder revision: 0x02040011
ivtv: Decoder revision: 0x02020023
ivtv: Registered v4l2 device, minor 0
ivtv: Registered v4l2 device, minor 32
ivtv: Registered v4l2 device, minor 224
ivtv: Registered v4l2 device, minor 16
ivtv: loaded
lirc_dev: IR Remote Control driver registered, at major 61
bttv: driver version 0.7.104 loaded
bttv: using 4 buffers with 2080k (8320k total) for capture
bttv: Host bridge is Intel Corp. 82815 815 Chipset Host Bridge and Memory Controller Hub
i2c-core.o: driver i2c ir driver registered.
lirc_i2c: chip found @ 0x18 (Hauppauge IR)
i2c-core.o: client [Hauppauge IR] registered to adapter [ivtv i2c driver #0](pos. 4).
lirc_dev: lirc_register_plugin:sample_rate: 10
saa7115[0]: decoder set norm PAL
saa7115[0] set audio: 0x02
saa7115[0]: decoder set size
Setting full PAL width
Setting full PAL height
saa7115[0]: decoder set norm PAL
saa7115[0] set audio: 0x02
saa7115[0]: decoder set picture bright=128 contrast=63 saturation=64 hue=0
saa7115[0]: decoder set picture bright=128 contrast=63 saturation=63 hue=0
saa7115[0]: decoder set picture bright=127 contrast=63 saturation=63 hue=0
saa7115[0]: decoder set picture bright=127 contrast=63 saturation=63 hue=0
ivtv-fb: Framebuffer module loaded (attached to ivtv card id 0)
ivtv-fb: screen coords: [0 0] -> [720 576]
ivtv-fb: original global alpha = 208
ivtv-fb: new global alpha = 208
ivtv-fb: current OSD state = 35
ivtv-fb: warning: cannot reserve video memory at 0x45510000
ivtv-fb: framebuffer at 0x45510000, mapped to 0xca96b000, size 2818k
ivtv-fb: mode is 720x576x32, linelength=2880
Console: switching to colour frame buffer device 90x36
fb0: iTVC15 TV out frame buffer device
ivtvfb does not support changing the video mode
saa7115[0]: decoder set size
Setting full PAL width
Setting full PAL height
saa7115[0]: decoder disable output
saa7115[0]: decoder enable output
ivtv: ivtv-api.c: unknown ioctl 0x80084001
ivtv: DMA read error. Result=0x00000002
ivtv: DMA read error. Result=0x00000002
[saa7127.c: INFO]: SAA7127 video encoder driver unloaded
i2c-core.o: client [saa7127[0]] unregistered.
i2c-core.o: driver unregistered: saa7127
[saa7127.c: INFO]: SAA7127 video encoder driver loaded
i2c-core.o: driver saa7127 registered.
saa7127: Configuring encoder...i2c-core.o: client [saa7127[0]] registered to adapter [ivtv i2c driver #0](pos. 1).
[saa7127.c: INFO]: SAA7127 video encoder driver unloaded
i2c-core.o: client [saa7127[0]] unregistered.
i2c-core.o: driver unregistered: saa7127
[saa7127.c: INFO]: SAA7127 video encoder driver loaded
i2c-core.o: driver saa7127 registered.
saa7127: Configuring encoder...i2c-core.o: client [saa7127[0]] registered to adapter [ivtv i2c driver #0](pos. 1).
[saa7127.c: INFO]: SAA7127 video encoder driver unloaded
i2c-core.o: client [saa7127[0]] unregistered.
i2c-core.o: driver unregistered: saa7127
[saa7127.c: INFO]: SAA7127 video encoder driver loaded
i2c-core.o: driver saa7127 registered.
saa7127: Configuring encoder...i2c-core.o: client [saa7127[0]] registered to adapter [ivtv i2c driver #0](pos. 1).
saa7115[0]: decoder set size
Setting full PAL width
Setting full PAL height
saa7115[0]: decoder disable output
saa7115[0]: decoder enable output
saa7115[0]: decoder set size


Quote:
by the way, my /etc/modules.conf includes the following:

Code:
.../snip/...

### update-modules: start processing /etc/modutils/ivtv-jim
# saa7127 --> output_select ... 1=S-video, 0=composite

# This is for WinTV PVR-350 IVTV
# KM alias char-major-61 lirc_i2c
alias char-major-81     videodev
alias char-major-81-0   ivtv
alias char-major-81-1   bttv

options ivtv ivtv_debug=1
#type=2 for NTSC only
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
post-install ivtv /usr/local/bin/test_ioctl -d /dev/video0 -u 0x3000

### update-modules: end processing /etc/modutils/ivtv-jim

.../snip/...



jim


My modules.conf looks the same, except for the fact that test_ioctl sets a PAL resolution and PAL mode (0xff).

I've gotta run to college now, sorry I can't post more info, will be back in a couple of hours :)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 01, 2004 3:48 pm 
Offline
Joined: Sun Feb 29, 2004 7:40 am
Posts: 6
Location: Bunnik, Holland
Okay, after reading some posts on the ivtv-devel mailing list I got this feeling that the framebuffer system's causing me trouble. Laurent and Jim, you're both using another framebuffer for your console, right ? That would be fb0 and the PVR's tv-out is fb1.

The thing is I'm not using a framebuffer for my console and as soon as I load the ivtv-fb and saa7127 modules, my tv-out shows me my console and my monitor stops responding. I have this feeling that my console, X-server and mythtv-output are fighting over the same framebuffer and that this is causing me trouble. I'm gonna try to make my console not appear on the tv-out, hope that helps a bit.

Oh and by the way, could you post a dump from your mythconverg.settings table ?

Code:
mysqldump mythconverg settings | more


Maybe it's just something stupid like the deinterlace setting or so, so I'd rather just take your settings, which are guaranteed to be O.K. :) Too bad we're in such different timezones; makes communication much harder :(


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 01, 2004 4:02 pm 
Offline
Joined: Mon Feb 23, 2004 1:08 am
Posts: 91
Location: Switzerland
Quote:
Laurent and Jim, you're both using another framebuffer for your console, right ? That would be fb0 and the PVR's tv-out is fb1.

Correct in my case.

Quote:
The thing is I'm not using a framebuffer for my console and as soon as I load the ivtv-fb and saa7127 modules, my tv-out shows me my console and my monitor stops responding. I have this feeling that my console, X-server and mythtv-output are fighting over the same framebuffer and that this is causing me trouble.

Never had that happen. The console *always* shows up on the monitor, the rest on the TV. This is a bit over my head, this fb stuff, so I can't be much help here...
One stupid thing: ARE YOU SURE that you have the correct fb? At one point, I took the wrong one... I saw "fb0: something" and I thought "oh, here it is, let's plug it into my XF86Config-4 file" (it was probably in the middle of the night). Well, this was my monitor, not my TV-out, and everything got screwed up. To get the TV-out's fb, you have to use "modprobe tveeprom". Needless to say, it threw me off for a while...
But, you're probably too smart for this, so just checking... :)

Code:
Oh and by the way, could you post a dump from your mythconverg.settings table ?
mysqldump mythconverg settings | more
Maybe it's just something stupid like the deinterlace setting or so, so I'd rather just take your settings, which are guaranteed to be O.K.

Gladly, except my box is currently set up in the living room (to see if it will survive after a few days on), and off the network. I will probably get it back in my office, all hooked up sometime soon, because I have to do some mods to the grabber anyway.

Laurent


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 01, 2004 4:46 pm 
Offline
Joined: Sun Feb 29, 2004 7:40 am
Posts: 6
Location: Bunnik, Holland
I found it !!!! It's so simple that I'm almost ashamed of myself :D I finally found a message somewhere that mythtv is unable to open /dev/fbX and that OSD will be unavailable !

Running mythtv as root solves the problem for now and I guess I'm just gonna enjoy watching TV the next couple o'days ;)

Thank you both so much for your help and sorry for wasting your time with such a simple problem :D


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 02, 2004 9:33 am 
Offline
Joined: Thu Feb 19, 2004 6:52 pm
Posts: 117
Hans wrote:
I finally found a message somewhere that mythtv is unable to open /dev/fbX [...]
Running mythtv as root solves the problem [...].


/dev/fb0 or /dev/fb1 permissions problem perhaps?

my fb0 (VGA monitor) and fb1 (PVR350 TV-out) look like:

Code:
root@mythtv:/tmp# ls -sl /dev/fb[0-1]*
   0 crw--w--w-    1 root     tty       29,   0 Apr 14  2001 /dev/fb0
   0 crw--w--w-    1 root     tty       29,   0 Apr 14  2001 /dev/fb0current
   0 crw-rw-rw-    1 root     tty       29,   1 Feb 27 02:07 /dev/fb1
   0 crw--w--w-    1 root     tty       29,  33 Apr 14  2001 /dev/fb1autodetect
   0 crw--w--w-    1 root     tty       29,  32 Apr 14  2001 /dev/fb1current
root@mythtv:/tmp#


ps
see also the last post in http://mysettopbox.tv/phpBB2/viewtopic.php?t=697

jim


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 44 posts ] 
Go to page Previous  1, 2, 3  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: Bing [Bot] and 15 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