Re: [AD] wip 3.9.38 & graphics mode trouble: progress

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


On Thu, 11 Oct 2001, Hein Zelle wrote:

> - DGA2 modes work like a charm, except I have to be root. Is this
>   according to specification or should it be possible to use DGA2 as a
>   user? As a user I get an error like 'cannot access framebuffer'.

DGA2 is for root only. DGA1 too.

>   DGA2 no longer gives me 2 parallel screens (one left half, one right
>   half) with the same image with distorted colors.

This symptom is when you display a 8bpp picture in a 16bpp mode. The
nvidia drivers had such a bug a while back. The XFree version does not
have the bug.

> Remaining:
> - The Fullscreen X mode (not DGA) used to work for normal users. I now
>   get the following error (not literal, sorry I'm at work and can't
>   reproduce it here):
> 	error setting 8 bit graphics mode
>         cannot grab mouse
>   As root, the mode works ok.

I don't have this problem... 8bpp works fine, and the mouse too for
normal users.

> - The demo game works like a charm using DGA2, with (double buffer) a
>   steady frame rate of 43 fps (1400x1050x32). If I select triple
>   buffer it gets a bit strange though: the keyboard input is affected. A
>   key responds only after about 2 seconds (has to stay pressed), and the
>   effect lasts as if the key were pressed another 2 seconds afterwards.

I have similar problems but not reproduceable at will : sometimes events
go very slow when in a windowed mode... But quiting the program and
running it again fixes the problem, so I don't know...

> System: linux 2.4.4, X 4.003, Nvidia TNT with latest detonator
> drivers, allegro 3.9.39 cvs 10-oct-2001
> 
> Hein Zelle



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