LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 03-09-2005, 05:40 AM   #1
Potatopopper
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, 12:01 PM   #2
Seppel
Member
 
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.

Greetings,

Seppel
 
Old 05-05-2007, 07:51 PM   #3
wrb
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,

=>Bill
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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


All times are GMT -5. The time now is 12:20 AM.

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