Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 03-09-2005, 06:40 AM   #1
LQ Newbie
Registered: Jul 2004
Distribution: Slackware 13.37
Posts: 29

Rep: Reputation: Disabled
OpenGL screensaver screen tearing

Hi, I am using

kde 3.3.0
slackware 10.1
Xorg 6.8.2 with latest radeon snapshot for radeon 7500
kernel 2.4.29

and when I have an opengl screensaver displaying, I see tearing all over the screen. I'm thinking maybe there is an option for vsync that I can append to the xorg.conf? I'd really like to know why this is happening, so if anyone knows how to stop this, please let me know .

Thanks for your time.
Old 03-24-2005, 01:01 PM   #2
Registered: Aug 2003
Location: Germany
Distribution: Frugalware (everywhere), Ubuntu (notebook only), Tomato (router)
Posts: 73

Rep: Reputation: 15
Hi Potatopopper,

if you're using XScreensaver (especially 4.19), please try a search around this forum about your problem.

It might be related to your graphics drivers (I've heard that the ATI support for Linux is a mess). If that's the issue, I think you have to wait until ATI (or somebody else) releases working drivers for your Video Card.


Old 05-05-2007, 08:51 PM   #3
LQ Newbie
Registered: May 2007
Posts: 1

Rep: Reputation: 0
Screensaver screen tearing

It's been my experience that tearing is usually the result of drawing during screen refresh. If the window is double-buffered, the buffers are being swapped in the middle of a (video) refresh. This was happening when I was using the "really slick screensavers" code ported to OpenGL by Tugrul Galatali (with many thanks, BTW). So I defined GLX_GLEXT_PROTOTYPES, included <GL/glxext.h>, and a call to "glXSwapIntervalSGI(1);" at the bottom of the createWindow() function. This ensured only a single "swapbuffer" can occur per video refresh. Drawing faster than the video refresh rate generally yields diminishing returns (visually & computationally). If your screen refresh rate is 60hz, calling glXSwapIntervalSGI(2) will yield 30 fps, (4) for 15 fps, etc.

Hope that helps,



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenGL screensaver slow openfun Debian 5 09-08-2005 08:07 PM
Blank screen instead of screensaver oonoon Ubuntu 3 08-20-2005 01:35 PM
Help with Blue Screen of Death Screensaver Garibaldi3489 Linux - General 1 12-14-2004 05:47 AM
screen lock login ( from Screensaver) ptrbee Linux - Newbie 0 07-06-2004 09:42 AM
screensaver not working at login screen cpv204 Fedora 1 12-14-2003 11:39 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration