[mythtv-users] mythfrontend to PVR350 output

Tim - DZ iceburn at dangerzone.com
Sat Dec 20 15:06:59 EST 2003


I'm getting closer, at boot sometimes I get a single static frame to the
screen, mostly just a blank screen on the TV.  I always get my desktop on
the monitor, but nothing on the TV. 

If I start mythfronted on the monitor and watch a recording, the recording
appears on the TV fine.

In /var/log/XFree86.0.log there is an error (EE) line:

(II) LoadModule: "fbdevhw"
(II) Loading /usr/X11R6/lib/modules/linux/libfbdevhw.a
(II) Module fbdevhw: vendor="The XFree86 Project"
        compiled for 4.3.0, module version = 0.0.2
        ABI class: XFree86 Video Driver, version 0.6
(EE) open /dev/fb1: No such file or directory
(II) resource ranges after probing:
        [0] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [1] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)

	<more snipped here>

        [22] 0  0       0x000003b0 - 0x000003bb (0xc) IS[B]
        [23] 0  0       0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(II) Loading sub module "vbe"
(II) LoadModule: "vbe"

Also if you try to do:
  $ export DISPLAY=:0.1
  $ mythfrontend

You get
  Xlib: connection to ":0.1" refused by server
  Xlib: Invalid MIT-MAGIC-COOKIE-1 key
  mythfrontend: cannot connect to X server :0.1

So I'm thinking that /dev/fb1 isn't loaded until after XFree loads...but I'm
not sure how to fix it...
The fb1 device is created with the saa7127 module right?  All of this is
setup in /etc/modules.conf...

I modprobe ivtv in /etc/rc.local

My default runlevel in inittab is 5

Attached is my XFree86Config-4

-t 



-----Original Message-----
From: mythtv-users-bounces at mythtv.org
[mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Isaac Richards
Sent: Saturday, December 20, 2003 10:10 AM
To: Discussion about mythtv
Subject: Re: [mythtv-users] mythfrontend to PVR350 output

On Saturday 20 December 2003 10:26 am, David Beccue wrote:
> I am also having problems getting the PVR350 tv-out going.  I'm almost
> there though.
>
> I have my X desktop appearing on the tv just fine, and I can
> successfully run...
> mplayer -fs -vo x11 something.mpg
>
> My problem is that I can't use -zoom in mplayer because the CPU is not
> fast enough to do the scaling.  When I played to the monitor, I used xv
> successfully.
>
> Any ideas?

This isn't related in any way to mythtv, so ask on the appropriate list.

Isaac
_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
-------------- next part --------------

Section "Files"
    # Multiple FontPath entries are allowed (they are concatenated together)
    # By default, Mandrake 6.0 and later now use a font server independent of
    # the X server to render fonts.
    FontPath "unix/:-1"
EndSection

Section "ServerFlags"
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
    AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
    Option "NoPM" "true"
    Option "BlankTime" "0"
    #tmvadded
    Option "Xinerama" "false"
    #DontZap # disable <Crtl><Alt><BS> (server abort)
EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "Keyboard"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "en_US"
    Option "XkbOptions" ""
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "MouseManPlusPS/2"
    Option "Device" "/dev/psaux"
    Option "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
    Identifier "monitor1"
    VendorName "Plug'n Play"
    ModelName "Gateway CM751"
    HorizSync 30-95
    VertRefresh 50-160

    # Sony Vaio C1(X,XS,VE,VN)?
    # 1024x480 @ 85.6 Hz, 48 kHz hsync                                              
    ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494  563 -hsync -vsync

    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630

    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

# added
Section "Monitor"
    Identifier  "NTSC Monitor"
    HorizSync  30-68
    VertRefresh 50-120
  #tried with and without this line
  #  DisplaySize 200 100 # This works for me.  Play with other values
    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 "device1"
    Driver "vesa"
    #Option "DPMS"
EndSection

# added
Section "Device"
    Identifier  "Hauppauge PVR 350 iTVC15 Framebuffer"
    Driver      "fbdev"
    Option      "fbdev" "/dev/fb1" # Make sure this is correct
    BusID "0:09:0" # Make sure this is correct - it's 9 for me
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24

    Subsection "Display"
        Depth 8
        Virtual 1024 768
    EndSubsection

    Subsection "Display"
        Depth 15
        Virtual 1024 768
    EndSubsection

    Subsection "Display"
        Depth 16
        Virtual 1024 768
    EndSubsection

    Subsection "Display"
        Depth 24
        Virtual 1024 768
    EndSubsection
EndSection

#added
Section "Screen"
  Identifier  "screen2"
  Device      "Hauppauge PVR 350 iTVC15 Framebuffer"
  Monitor     "NTSC Monitor"
  DefaultDepth 24
  DefaultFbbpp 32
  Subsection "Display"
    Depth 24
    FbBpp 32
    Modes "720x480"
  EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    Screen 0 "screen1"
    Screen 1 "screen2" RightOf "screen1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
EndSection



More information about the mythtv-users mailing list