[AD] Problems (bugs?) with video memory

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


I notice strange behaviours on allocating video memory.

Under X (windowed or not) i can allocate *any* virtual screen size, even
more than the amount of video memory i have, and gfx_driver->vid_mem
will report *that* amount.

Under DGA2 the only option i have is a 1024x768 phisical with 1024x1279
virtual, for a total of 2558k vram... Too few! Why?

Using FrameBuffer instead, will give me *exactly* 640x480 phisical with
640x13104 virtual, for a total of 16380k vram, that is the total amount
of memory my video card have. But it can't be all free memory, since
there are other apps running, such as X, that i suppose they use vram...

What's wrong?

-- 
"Just because you're paranoid, it doesn't mean they are not after you"
                                . /\ °
Real Name: Lorenzo Petrone       <* >
Web: digilander.iol.it/lano666    \/ ·



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/