[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pygame] Hardware acceleration in linux
I too can't get it working on linux. I have nvidia
cards, anyone have any tips for those?
--- campbell barton <ideasman@linuxmail.org> wrote: >
Hi, My names Campbell, Im new here,
> I have been trying to get hardware blitting working
> on Xfree86 4.2, and would like to know which
> graphics cards are good for 2D acceleration in
> linux.
>
> I have found out that the DGA video driver that SDL
> can use, supports some hardware blitting depending
> on your graphics card
> I have tried an NVIDIA TNT2 and a Voodoo Banshee,
> both support DGA but when I ask pygame for the list
> of graphics features it returns
>
> <VideoInfo(hw = 1, wm = 0,video_mem = 16384
> blit_hw = 1, blit_hw_CC = 0, blit_hw_A = 0,
> blit_sw = 0, blit_sw_CC = 0, blit_sw_A = 0,
> bitsize = 16, bytesize = 2,
> masks = (63488, 2016, 31, 0),
> shifts = (11, 5, 0, 0),
> losses = (3, 2, 3, 8)>
>
> Also, all of the surfaces show up as SW.
>
> Also has anyone tried SDL's other video drivers-
> X11, svgalib and DGA, it you want to try one just
> add these lines in your ~/bashrc
>
> set SDL_VIDEODRIVER="dga"
> export SDL_VIDEODRIVER="dga"
>
> I think the first line is not needed... anyway it
> works.
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org