# "Flicker" in Linux frame buffer

**URL:** <https://discourse.libsdl.org/t/flicker-in-linux-frame-buffer/4485>\
**Category:** SDL Development\
**Created:** [May 28, 2001, 5:17pm UTC](https://discourse.libsdl.org/t/flicker-in-linux-frame-buffer/4485 "2001-05-28T17:17:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sam\_Hart](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/s/d26b3c/32.png) [@Sam\_Hart](https://discourse.libsdl.org/u/Sam_Hart)\
**Post date:** [May 28, 2001, 5:17pm UTC](https://discourse.libsdl.org/t/flicker-in-linux-frame-buffer/4485/1 "2001-05-28T17:17:27Z")

</div>

I have a quick question. I’m sure it’s a question I could have answered myself,  
but I am going to be so busy this upcoming week I figured it would be easier to  
just ask it on this list 😉

When I run Tux Typing (my game), which was designed under X but runs fine under  
BeOS (and should run fine under other OSes, but we don’t have any other OS  
developers ;-), under the Linux framebuffer, I get quite a bit of flicker in the  
graphics.

I was just wondering what I need to do to reduce this flicker under the  
framebuffer? Should I be locking my surfaces between screen updates?–  
Sam “Criswell” Hart \<@Sam\_Hart\> AIM, Yahoo!:   
Homepage: \< [http://www.geekcomix.com/snh/](http://www.geekcomix.com/snh/) \>  
PGP Info: \< [http://www.geekcomix.com/snh/contact/](http://www.geekcomix.com/snh/contact/) \>  
Advogato: \< [http://advogato.org/person/criswell/](http://advogato.org/person/criswell/) \>
