From: Shawn D. <sha...@gm...> - 2004-10-07 23:37:49
|
After much trial and error I have been successful getting Freevo working properly with this hardware. Freevo and mplayer work properly, I followed the howtos at http://www.sci.fi/%7Esyrjala/directfb/matrox-tv-out-howto and http://68.44.117.181/matrox.html Anyhow, everything works great except I can't get any other software to work properly. Zsnes and fceu both segfault when run. Here's my setup: /etc/directfbrc: matrox-crtc2 matrox-tv-standard=ntsc primary-layer=2 It doesn't matter what I do with these environment variables (except I need the first one for the emulators to use DirectFB), but these are what I've tried: export SDL_VIDEODRIVER=directfb unset SDL_VIDEO_YUV_DIRECT export SDL_VIDEO_YUV_HWACCEL=1 export SDL_DIRECTFB_MGA_CRTC2=1 export SDL_DIRECTFB_MGA_STRETCH=1 export SDL_DIRECTFB_MGA_OVERSCAN=1 If I don't set any of these variables then I can run both Zsnes and fceu (I can hear sound but DirectFB is not initialized so all I see is flickering, but changing flickering) If I set: export SDL_VIDEODRIVER=directfb unset SDL_VIDEO_YUV_DIRECT export SDL_VIDEO_YUV_HWACCEL=1 export SDL_DIRECTFB_MGA_CRTC2=1 then nothing works except mplayer. But freevo won't start properly. I'm using Freevo 1.5.1, SDL 1.2.7, kernel 2.4.26, DirectFB 0.9.20 I followed all of the directions for patching everything. Here's the output of Zsnes when it doesn't work: (*) parsing config file '/etc/directfbrc'. ---------------------- DirectFB v0.9.20 --------------------- (c) 2000-2002 convergence integrated media GmbH (c) 2002-2003 convergence GmbH ----------------------------------------------------------- (*) Multi Application Core. (with MMX support) (2004-10-06 23:02) (*) DirectFB/core: doing sync()... (*) DirectFB/misc/memcpy: using SSE optimized memcpy() (*) DirectFB/InputDevice: PS/2 Mouse (1) 0.9 (convergence integrated media GmbH) (*) DirectFB/InputDevice: IMPS/2 Mouse (2) 0.9 (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'. (*) DirectFB/Layer: Enabled 'Matrox CRTC2'. SDL_DirectFB: Unsupported pixelformat (0x00201007)! You are running in 8 bpp, but ZSNES is forcing 16 bpp. You may experience poor performance and/or crashing. SDL DirectFB_SetVideoMode: 512x448@16, flags: 0x40000001 SDL_DirectFB: Unsupported pixelformat (0x00201007)! (!) [ 1255: 0.685] --> Caught signal 8 (at 0x400455b0, invalid address) <-- (!!!) *** CAUTION [setting window->stack = NULL] *** windows.c (251) Segmentation fault And from fceu: it works, but displays either a blue or green screen depending on the depth I run it at (blue for 8 and 32 bit, green for 16 bit) I know this may belong more in the directfb boards, but I know many people here have been successful getting these to work, so I was hoping someone here might be able to help. I thank you for any help you may be able to give me. Shawn Dowler -- "Human infants are quite good (admittedly not perfect) at not dying when left alone when sleeping." -- troon from slashdot.com |