[mythtv-users] Still trying to fine tune my PVR350 TV-Out (long)

Marc Mosthav marc at mosthav.com
Thu Feb 5 14:27:41 EST 2004


Sorry for bringing this up again, but my PVR350 TV-Out is still wierd. When it first starts up the TV looks like it lost sync and the menu is "running through".
The X log reports the following:

(II) FBDEV: driver for framebuffer: fbdev, afb
(II) Primary Device is: PCI 01:00:0
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Reloading /usr/X11R6/lib/modules/linux/libfbdevhw.a
(II) FBDEV(0): using /dev/fb0
(II) Running in FRAMEBUFFER Mode
(**) FBDEV(0): Depth 24, (**) framebuffer bpp 32
(==) FBDEV(0): RGB weight 888
(==) FBDEV(0): Default visual is TrueColor
(==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
(II) FBDEV(0): Hardware: iTVC15 TV out (vidmem: 2818k)
(**) FBDEV(0): Option "fbdev" "/dev/fb0"
(II) FBDEV(0): Checking Modes against framebuffer device...
(II) FBDEV(0):  mode "720x576" test failed
(II) FBDEV(0): Checking Modes against monitor...
(--) FBDEV(0): Virtual size is 720x480 (pitch 720)
(**) FBDEV(0):  Built-in mode "current": 34.6 MHz, 37.2 kHz, 73.9 Hz
(II) FBDEV(0): Modeline "current"   34.56  720 752 840 928  480 484 488 504 -hsync -vsync -csync
(==) FBDEV(0): DPI set to (75, 75)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="The XFree86 Project"
        compiled for 4.3.0, module version = 1.0.0
        ABI class: XFree86 ANSI C Emulation, version 0.2
(**) FBDEV(0): Using "Shadow Framebuffer"
(II) Loading sub module "shadow"
(II) LoadModule: "shadow"
(II) Loading /usr/X11R6/lib/modules/libshadow.a
(II) Module shadow: vendor="The XFree86 Project"
        compiled for 4.3.0, module version = 1.0.0
        ABI class: XFree86 ANSI C Emulation, version 0.2
(--) Depth 24 pixmap format is 32 bpp
(==) FBDEV(0): Backing store disabled
(==) RandR enabled

During boot up the message log shows this:

Feb  5 18:28:01 mythbox kernel: ivtv-fb: Framebuffer module loaded (attached to ivtv card id 0)
Feb  5 18:28:01 mythbox kernel: ivtv-fb: screen coords: [0 0] -> [720 480]
Feb  5 18:28:01 mythbox kernel: ivtv-fb: original global alpha = 208
Feb  5 18:28:01 mythbox kernel: ivtv-fb: new global alpha = 208
Feb  5 18:28:02 mythbox kernel: ivtv-fb: current OSD state = 35
Feb  5 18:28:02 mythbox kernel: ivtv-fb: warning: cannot reserve video memory at 0xdd510000
Feb  5 18:28:02 mythbox kernel: ivtv-fb: framebuffer at 0xdd510000, mapped to 0xe09b6000, size 2818k
Feb  5 18:28:02 mythbox kernel: ivtv-fb: mode is 720x480x32, linelength=2880
Feb  5 18:28:02 mythbox kernel: Console: switching to colour frame buffer device 90x30
Feb  5 18:28:02 mythbox kernel: fb0: iTVC15 TV out frame buffer device

When X starts up the message log moans about the video mode change:

Feb  5 18:28:09 mythbox kernel: ivtvfb does not support changing the video mode
Feb  5 18:28:09 mythbox kernel: ivtv: ivtv-api.c: unknown ioctl 0x803c7601

Once I start watching Live TV or a recording the picture changes to be absoultely great and in the message log you see:

Feb  5 18:31:21 mythbox kernel: saa7115[0]: decoder set size
Feb  5 18:31:21 mythbox kernel: Setting full PAL width
Feb  5 18:31:21 mythbox kernel: Setting full PAL height
Feb  5 18:31:22 mythbox kernel: spurious 8259A interrupt: IRQ7.

The relevant part of my module conf is:

alias char-major-81 videodev
alias char-major-81-0 ivtv
options ivtv ivtv_debug=1 mpg_buffers=90 ivtv_pal=1 tuner=1
options ivtv dec_yuv_buffers=20
options saa7127 enable_output=1 output_select=1 pal=1
options tuner pal=1 type=1 # PAL tuner
options msp3400 once=1 simple=1
add below ivtv msp3400 saa7115 saa7127 tuner
add above ivtv ivtv-fb
add above ivtv lirc_dev lirc_i2c
post-install ivtv /usr/lib/ivtv/test_ioctl -d /dev/video0 -u 0xff -p 0

And the relevant part of my X conf is:

Section "Module"
        Load  "dbe"
        Load  "v4l"
        Load  "xtrap"
        Load  "speedo"
        Load  "extmod"
        Load  "fbdevhw"
        Load  "glx"
        Load  "record"
        Load  "freetype"
        Load  "type1"
        Load  "dri"
EndSection

Section "Monitor"
        Identifier   "PAL TV"
        VendorName   "Monitor Vendor"
        ModelName    "Sony"
        #DisplaySize  300       230
        HorizSync    30.0 - 68.0
        VertRefresh  50.0 - 120.0

         #Refresh Rate 60Hz
        #Mode "720x576"
        #       DotClock 42.6
        #       HTimings 720 760 832 944
        #       VTimings 576 577 580 602
        #       Flags "-HSync" "-VSync"
        #EndMode
          ModeLine "720x576" 41.5 720 752 840 928 576 580 584 600 -hsync -vsync
EndSection

Section "Device"
        Identifier  "PVR350fb"
        Driver      "fbdev"
        Option  "fbdev" "/dev/fb0"
        #BusID "0:0x13:0"
        BusID "0x13"
EndSection

Section "Screen"
        Identifier "TV Screen"
        Device     "PVR350fb"
        Monitor    "PAL TV"
        DefaultDepth     24
        DefaultFbbpp     32
        SubSection "Display"
                Depth     24
                FbBpp     32
                Modes    "720x576"
        EndSubSection
EndSection

Section "DRI"
        Group        0
        Mode         0666
EndSection

I really have no idea where to start. Any pointers would help. Let me know if there is any additional information I should post.

Cheers,
Marc


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20040205/3c9c0556/attachment.htm


More information about the mythtv-users mailing list