Magnus, thanks for sharing your experience.

Magnus Einarsson wrote:
> I have the same problems as you, but i can not seem to find a directfb 
> and libsdl  combination that works for freevo.

On my epia M10K SDL CVS with DirectFB CVS (both from Jan 4) work like a 
charm together.  These problems I have encountered with the G400, that 
is I can't set the primary layer to CRTC2 and display normal directfb to 
it - it results in that unsupported pixelformat error.

> With lidsdl 1.2.6 i get unsupported pixelformat, with a cvs copy from 
> november i get crashes in pygame.

I found it odd that SDL 1.2.6 failed for me as well, even with an older 
DirectFB version.

> The latest cvs snapshot of sdl does not configure for me, the autogen.sh 
> script fails. Did you checkout the latest version from cvs or did you 
> use a cvs snapshot tar ball?

I used anonymous CVS.  I has a slight problem with autogen.sh as well (I 
think - try different versions of aclocal/automake/autoconf) and after 
configuring I had to chop 3 lines out of a near toplevel Makefile (for 
me was ~line 422).

I would like to help you get SDL working.  I'm on my way to the irc 
channel if you'd like to stop by - #freevo on irc.gnu.org.

> Mplayer works fine with any directfb version that i have tried.

Same here but with -vo dfbmga I (and others) are getting horrible jitter 
with the G400 (discussion on the DirectFB list).  Hopefully you can 
check this as well, I can provide a sample mpeg.

> I�m running Gentoo on an Atlon XP with a G400. Using kernel 2.2.20 and 
> alsa.

I am running Debian unstable, vanila 2.4.24 kernel with kraxel and 
matrox full mem and clock patches (I am unsure exactly what the clock 
patch does) on an Athlon XP 2100+ and a G400.

-Rob


> Rob Shortt wrote:
> 
>>
>> Well, I have managed to solve my own problem.
>>
>> I am now using DirectFB-0.9.20 with SDL cvs.  I had to use rev 1.13 of 
>> src/video/directfb/SDL_DirectFB_video.c though.  Rev 1.14 has 
>> someone's DirectFB cursor patch which breaks against 0.9.20 and 
>> current cvs, my guess is that it must have works somewhere in between.
>>
>> So, since the last release of SDL someone added MGA CRTC2 support for 
>> directfb based on dfbmga in mplayer.  He even forwarded this info to 
>> our mailing list (Thomas Jarosch).  I remembered this and decided to 
>> give it a try.  After recompiling SDL (SDL_DirectFB_video.c r1.13) I 
>> set the two new environment variables, SDL_DIRECTFB_MGA_CRTC2=1 and 
>> SDL_DIRECTFB_MGA_STRETCH=1.
>>
>> My first try bombed so I started messing with my directfbrc.  It turns 
>> out I had to remove mode=720x480, primary-layer=02, and depth=16.  So 
>> it now reads:
>>
>> matrox-crtc2
>> matrox-tv-standard=ntsc
>> disable-module=joystick
>> disable-module=ps2mouse
>> disable-module=lirc
>>
>> Also just for the record on another machine I have Freevo running 
>> against SDL cvs (same rev SDL_DirectFB_video.c) and ~week old directfb 
>> cvs.  There have been a few changes in really recent dfb cvs that 
>> broke mplayer support.  This machine is an epia M10000 with cle266 so 
>> there's no dfbmga issues.
>>
>> I would still like to hear more of other people's directfb experiences 
>> bad or good and any issues you may be facing.
>>
>> -Rob
>>
>> Rob Shortt wrote:
>>
>>>
>>> Ok, so it is my turn to ask for help!
>>>
>>> I pulled my geforce card and decided that it was time to use my G400 
>>> again.  I have successfully used this for fbdev/mga_vid and DirectFB 
>>> use with Freevo in the past.
>>>
>>> I can get mplayer to display on CRTC2 fine using dfbmga but when it 
>>> comes to SDL and therefore Freevo I am having some pretty bad luck.
>>>
>>> The end result is that I start Freevo and I get a pretty light blue 
>>> screen on my TV.  I also get the message:
>>>
>>> SDL_DirectFB: Unsupported pixelformat (0x00201007)!
>>>
>>> If I start Freevo with the monitor as the primary layer I don't get 
>>> this message and it displays there fine.
>>>
>>> In the past I was using DirectFB-0.9.19 and SDL cvs.  This time 
>>> around I have tried all sorts of combinations with 
>>> Directfb-0.9.19,20,21,cvs and SDL-1.2.6, cvs.
>>>
>>> Now, I know there are lots of you guys using DirectFB (mga) with 
>>> Freevo, in NTSC land.  Which versions of DirectFB, SDL, Linux kernel 
>>> / patches are you having success with?
>>>
>>> I am beginning to suspect my matrox kernel drivers and will examine 
>>> those next.
>>>
>>> Here is some of my configuration information:
>>>
>>> /etc/directfbrc:
>>> matrox-crtc2
>>> matrox-tv-standard=ntsc
>>> mode=640x480
>>> primary-layer=02
>>> disable-module=joystick
>>> disable-module=ps2mouse
>>> disable-module=lirc
>>> depth=16
>>>
>>> Output of dfbinfo:
>>> (*) parsing config file '/etc/directfbrc'.
>>>
>>>        ---------------------- DirectFB v0.9.19 ---------------------
>>>              (c) 2000-2002  convergence integrated media GmbH
>>>              (c) 2002       convergence GmbH
>>>         -----------------------------------------------------------
>>>
>>> (*) Multi Application Core. (with MMX support) (2004-01-11 23:08)
>>> (*) DirectFB/misc/memcpy: using MMXEXT optimized memcpy()
>>> (*) DirectFB/Core: suppress module 'joystick'
>>> (*) DirectFB/Core: suppress module 'lirc'
>>> (*) DirectFB/Core: suppress module 'ps2mouse'
>>> (*) 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'.
>>> (*) DirectFB/Layer: Enabled 'Matrox CRTC2'.
>>>
>>> Display Layers
>>>
>>> (02) FBDev 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
>>>
>>> (00) Matrox CRTC2                    (primary layer)
>>>         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
>>>
>>> (00) Keyboard                        (primary keyboard)
>>>         Type: keyboard
>>>         Caps: keys
>>>
>>>
>>> Kernel version 2.4.23, with patches 
>>> matroxfb-full-memory-linux-2.4.21-rc2.patch and 
>>> matroxfb-g400-clock-2.4.22.patch from DirectFB cvs, with fusion 
>>> device from DirectFB cvs.
>>>
>>> I have all matrox kernel support as modules and am not loading maven 
>>> or crtc2.  lsmod output is:
>>>
>>> Module                  Size  Used by    Not tainted
>>> dvb-ttpci             301396   0  (unused)
>>> alps_bsrv2              3476   0
>>> alps_tdmb7              3340   0
>>> alps_tdlb7              3852   0
>>> grundig_29504-401       3624   0
>>> grundig_29504-491       3252   0
>>> stv0299                 6584   0  (unused)
>>> ves1820                 4168   0
>>> dvb-core               38052   3  [dvb-ttpci alps_bsrv2 alps_tdmb7 
>>> alps_tdlb7 grundig_29504-401 grundig_29504-491 stv0299 ves1820]
>>> joydev                  6944   0  (unused)
>>> evdev                   4128   0  (unused)
>>> serial                 42500   0
>>> lirc_i2c                3488   1
>>> lirc_dev                8432   1  [lirc_i2c]
>>> tuner                  11072   1
>>> msp3400                15916   1
>>> hid                    14152   0  (unused)
>>> mod_quickcam           39696   0  (unused)
>>> saa7115                 5980   0  (unused)
>>> ivtv                   73380   2
>>> videodev                5856   5  [dvb-ttpci mod_quickcam ivtv]
>>> fusion                 22144   0
>>> ide-cd                 29024   0
>>> cdrom                  28960   0  [ide-cd]
>>> i2c-matroxfb            2196   0
>>> matroxfb_base          19972  63  [i2c-matroxfb]
>>> matroxfb_g450           4356   0  [matroxfb_base]
>>> matroxfb_DAC1064        7612   0  [matroxfb_base]
>>> g450_pll                3440   0  [matroxfb_g450 matroxfb_DAC1064]
>>> matroxfb_accel          8968   0  [matroxfb_base matroxfb_DAC1064]
>>> matroxfb_misc          15036   0  [i2c-matroxfb matroxfb_base 
>>> matroxfb_g450 matroxfb_DAC1064 g450_pll matroxfb_accel]
>>> i2c-proc                6256   0  (unused)
>>> i2c-dev                 3748   0
>>> i2c-algo-bit            7112   3  [ivtv i2c-matroxfb]
>>> i2c-core               12868   0  [lirc_i2c tuner msp3400 saa7115 
>>> ivtv i2c-proc i2c-dev i2c-algo-bit]
>>> usb-uhci               21580   0  (unused)
>>> usbcore                56928   1  [hid mod_quickcam usb-uhci]
>>> via82cxxx_audio        18840   0
>>> ac97_codec             12236   0  [via82cxxx_audio]
>>> soundcore               3524   2  [via82cxxx_audio]
>>>
>>>
>>> I also have Freevo running at 640x480.
>>>
>>>
>>> I would appreciate any help anyone can provide me.
>>>
>>> -Rob



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to