[MPlayer-dev-eng] [PATCH] dfbmga update

Arpi arpi at thot.banki.hu
Thu May 1 23:18:16 CEST 2003


Hi,

> On Thu, May 01, 2003 at 10:38:27PM +0200, Arpi wrote:
> > (!) DirectFB/Core/layers: Reallocation of layer surface failed!
> > vo_dfbmga: CRTC2 configuration failed - Out of video memory!!
> > FATAL: Cannot initialize video driver.
> > 
> > idea? i have 32mb g400, it should be more than enough for such clip...
> 
> If this is with 0.9.17 then you may have hit the bug I mentioned.
> 
> If you haven't applied a patch to matroxfb you only get 16MB with a 32MB
> card. The patch is distributed with DirectFB. Note that the patch doesn't
> fix the matroxfb console accel code to behave with 32MB so if your vyres
> is too large you get console corruption.
> 
> Also the primary head takes up memory even though mplayer would be the
> only DirectFB app running. If you don't need the primary head you should
> specify some small mode in directfbrc to get more memory for crtc2.

i don't think it's really out-of-memory problem, as i said.
i have 32mb card (but even if it sees only 16mb it's a lot more than
needed). i have 640x400 console, so there should be at least 15MB free
memory for crtc2...

# fbset

mode "640x400-71"
    # D: 25.176 MHz, H: 31.469 kHz, V: 70.718 Hz
    geometry 640 400 640 400 24
    timings 39721 48 16 33 10 96 2
    hsync high
    accel true
    rgba 8/16,8/8,8/0,0/0
endmode


# cat /etc/directfbrc
matrox-crtc2
matrox-sgram
matrox-tv-standard=pal
mode=640x400


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list