[mythtv-users] Problem with Mythtv & QTE

Juha Pahkala juhis at trinity.is-a-geek.com
Sun May 30 09:28:20 EDT 2004


hi,

you're right about the fact that it's obviously a problem with qt/e.
don't know how to solve that one. anyhow, i'm using my g400 so that it's
only connected to a tv. this is what I do:

matroxset -f /dev/fb0 -m 5
matroxset -f /dev/fb0 -m 2
matroxset -f /dev/fb0 -o 1 1

as i understand, the first line disconnects fb0, the second one connects
fb0 to secondary output of the card (tvout) and the third line tells the
kernel to use that (secondary) output, and use it in pal mode. or
something similar to that.

in addition, i set the resolution of fb0 to match my pal tv
(720x576 at 32). I user the following modelines, work fine for me.

mode "tvout"
    geometry 720 576 720 576 32
    timings 34404 24 0 82 63 48 13
    vsync high
    bcast true
    accel true
    rgba 8/16,8/8,8/0,8/24
endmode

after that, everything works pretty well. in addition to mythtv, i can
run pretty much anything on the tv, and the quality of g400 tvout is
excellent. there are some bugs in the qt/e mode of mythtv (most
annoyingly the epg while watching live-tv doesn't seem to work), but
it's certainly usable.

good luck, juhis


On Sun, 2004-05-30 at 17:55, Michael Haas wrote:
> Hello Juhka,
> thanks for you reply :).
> I dont think that my problem is directfb-related. QT embedded is 
> responsible for the GUI, not directfb ;). (IMHO)
> I tried it with the fbdev=/dev/fb1, but it doesn't work.
> Anyway, I can use /dev/fb0 for mythtv because only the TV is connected 
> to the card.
> Did you have to setup the correct resolution on the first head, and is 
> TV-OUT even possible with the first head?
> 
> laga
> 
> Juha Pahkala wrote:
> 
> >Hi,
> >
> >Just a quick one, don't know if it helps. I'm using a similar setup, but
> >my tv is on fb0. You could try adding 'fbdev=/dev/fb1' to your
> >directfbrc if it helps. Also, I don't use the 'matrox-crtc2' option in
> >directfbrc, you could try if disabling that will help.
> >
> >juhis
> >
> >On Sun, 2004-05-30 at 15:57, Michael Haas wrote:
> >  
> >
> >>Hello!
> >>I'm currently trying to use Mythtv with QT embedded on a Matrox G400.
> >>It built fine, and now I'm stuck. My TV is connected to /dev/fb1, so I 
> >>have to setup $QWS_DISPLAY properly. I did, but my TV stays dark. No 
> >>Picture.
> >>When QWS_DISPLAY is set to /dev/fb0, where an old CRT is connected to, I 
> >>get an picture on my CRT. It doesnt look good (8 bit maybe), but hey, I 
> >>can see something ;).
> >>I simply loaded some matroxfb modules into the kernel, linked mplayer 
> >>1.0.pre3try2 against directfb 0.9.20 and got a perfect picture on the tv 
> >>using mplayer -vo dfbmga.
> >>My version of QTE is 3.3.2.
> >>
> >>If anyone has any suggestions, please let me know! I'm becoming 
> >>desperate :(.
> >>
> >>Here is some debugging information, I don't know if it matters, but it 
> >>won't hurt ;):
> >>
> >>lsmod:
> >>================================================
> >>Module                  Size  Used by    Not tainted
> >>input                   3200   0  (autoclean)
> >>i2c-dev                 4356   0
> >>matroxfb_proc           1704   0  (unused)
> >>matroxfb_crtc2          8116   1
> >>i2c-matroxfb            2356   0
> >>matroxfb_base          20996  62  [matroxfb_proc matroxfb_crtc2 
> >>i2c-matroxfb]
> >>matroxfb_Ti3026         5752   0  [matroxfb_base]
> >>matroxfb_g450           4548   0  [matroxfb_base]
> >>matroxfb_DAC1064        9328   0  [matroxfb_crtc2 matroxfb_base]
> >>g450_pll                3248   0  [matroxfb_g450 matroxfb_DAC1064]
> >>matroxfb_accel         10184   0  [matroxfb_base matroxfb_Ti3026 
> >>matroxfb_DAC1064]
> >>fbcon-cfb4              2280   0  [matroxfb_accel]
> >>matroxfb_misc           8512   0  [matroxfb_crtc2 i2c-matroxfb 
> >>matroxfb_base matroxfb_Ti3026 matroxfb_g450 matroxfb_DAC1064 g450_pll 
> >>matroxfb_accel]
> >>snd-pcm-oss            37860   1
> >>snd-mixer-oss          12536   0  [snd-pcm-oss]
> >>nfsd                   67536   8
> >>parport_pc             14820   0  (unused)
> >>parport                23400   0  [parport_pc]
> >>uhci                   24508   0  (unused)
> >>usbcore                59436   1  [uhci]
> >>snd-bt87x               5284   0
> >>snd-ens1371            11456   1
> >>gameport                1420   0  [snd-ens1371]
> >>snd-pcm                55880   0  [snd-pcm-oss snd-bt87x snd-ens1371]
> >>snd-timer              13572   0  [snd-pcm]
> >>snd-page-alloc          6324   0  [snd-bt87x snd-pcm]
> >>snd-rawmidi            12736   0  [snd-ens1371]
> >>snd-seq-device          3872   0  [snd-rawmidi]
> >>snd-ac97-codec         44476   0  [snd-ens1371]
> >>snd                    30340   0  [snd-pcm-oss snd-mixer-oss snd-bt87x 
> >>snd-ens1371 snd-pcm snd-timer snd-rawmidi snd-seq-device snd-ac97-codec]
> >>3c59x                  25648   1
> >>bttv                   94816   0  (autoclean) (unused)
> >>soundcore               3396  10  (autoclean) [snd bttv]
> >>lirc_i2c                4416   0
> >>lirc_dev                8592   1  [lirc_i2c]
> >>ivtv                   79300   1
> >>msp3400                16448   1
> >>saa7115                 5888   0  (unused)
> >>tuner                  10248   2
> >>i2c-algo-bit            7144   5  [i2c-matroxfb bttv ivtv]
> >>i2c-core               12836   0  [i2c-dev bttv lirc_i2c ivtv msp3400 
> >>saa7115 tuner i2c-algo-bit]
> >>videodev                5952   5  [bttv ivtv]
> >>ide-scsi                9360   0
> >>agpgart                44036   0  (unused)
> >>========================================================
> >>
> >>dfbinfo:
> >>
> >>==============================
> >>(*) parsing config file '/etc/directfbrc'.
> >>
> >>       ---------------------- DirectFB v0.9.20 ---------------------
> >>             (c) 2000-2002  convergence integrated media GmbH
> >>             (c) 2002-2003  convergence GmbH
> >>        -----------------------------------------------------------
> >>
> >>(*) Single Application Core. (with MMX support) (2004-05-28 11:46)
> >>(*) DirectFB/misc/memcpy: using MMXEXT optimized memcpy()
> >>(*) DirectFB/InputDevice: LIRC Device 0.2 (convergence integrated media 
> >>GmbH)
> >>(*) DirectFB/InputDevice: Keyboard 0.9 (convergence integrated media GmbH)
> >>(*) MMX detected and enabled
> >>(*) DirectFB/GraphicsDevice: Matrox G400/G450/G550 0.6 (convergence 
> >>integrated media GmbH)
> >>(*) DirectFB/Layer: Enabled 'FBDev Primary Layer'.
> >>
> >>Display Layers
> >>
> >>(00) FBDev Primary Layer             (primary layer)
> >>        Type: graphics
> >>        Caps: brightness contrast saturation surface
> >>
> >>(01) Matrox Backend Scaler
> >>        Type: graphics picture video
> >>        Caps: brightness contrast deinterlacing dst_colorkey 
> >>screen_location surface
> >>
> >>(02) Matrox CRTC2
> >>        Type: graphics picture video
> >>        Caps: brightness contrast flicker_filtering hue saturation surface
> >>
> >>(03) Matrox CRTC2 Sub-Picture
> >>        Type: graphics picture video
> >>        Caps: alphachannel opacity surface
> >>
> >>
> >>Input Devices
> >>
> >>(03) LIRC Device                     (primary remote control)
> >>        Type: remote
> >>        Caps: keys
> >>
> >>(00) Keyboard                        (primary keyboard)
> >>        Type: keyboard
> >>        Caps: keys
> >>==============================================
> >>
> >>cat /etc/directfb
> >>
> >> ============================================
> >>matrox-crtc2
> >>matrox-tv-standard=pal
> >>==========================================
> >>
> >>
> >>cat /proc/fb
> >>
> >>=============================================
> >>0 MATROX VGA
> >>1 MATROX CRTC2
> >>=============================================
> >>_______________________________________________
> >>mythtv-users mailing list
> >>mythtv-users at mythtv.org
> >>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >>    
> >>
> >
> >  
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >mythtv-users mailing list
> >mythtv-users at mythtv.org
> >http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >  
> >
> 
> 
> ______________________________________________________________________
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



More information about the mythtv-users mailing list