[FIXED!] tearing in sdl (GL) apps

Problem:
If you have compositing extension enabled, sdl 1.2 based opengl apps will produce tearing unless you manage to disable backing store.
Causes:
* In the past SDL relied on the environment variable: SDL_VIDEO_X11_BACKINGSTORE to enable backing store functionalities.
* Now SDL asks X server if it supports backing store extension, and X server says "YES!" even if backing store is disabled in xorg.conf, but composite extension is enabled.
Solution:
The arch sdl package now has the patch, so this thread is useless.
Install https://aur.archlinux.org/packages/sdl-nobackingstore/
it will bring the environment variable functionality back into sdl and disable backing store by default.
if you want backingstore back, then run (before launching the sdl app):
export SDL_VIDEO_X11_BACKINGSTORE=1
if you want to disable it again, or you want to be sure it is disabled, run (before launching the sdl app):
unset SDL_VIDEO_X11_BACKINGSTORE
References:
https://devtalk.nvidia.com/default/topi … disabled-/
https://bugs.freedesktop.org/show_bug.cgi?id=74158
https://bugzilla.libsdl.org/show_bug.cgi?id=2383
Last edited by kokoko3k (2014-09-28 07:11:20)

Xenphor wrote:This problem affects mame as well but the package fixed it.
I'm not an expert when it comes to patching system or kernel. I have a question - i need only to install this package from aur by yapurt -S <package name> and it will be fixed? In post number one this is the suggested metod. I would like to be sure of what i'm going to do.
Also, this tearing is in sdl apps - smplayer, for an exmaple? Video tearing?
Last edited by firekage (2014-05-13 09:17:02)

Similar Messages

  • I updated my iOS to 7 yesterday. But my music app doesn't show the 'Radio' button as the online videos and Apple website claims. What could be the reason and how to fix it. All other apps, swipe up/down seem to be working fine.

    I updated my iOS to 7 yesterday. But my music app doesn't show the 'Radio' button as the online videos and Apple website claims. What could be the reason and how to fix it. All other apps, swipe up/down seem to be working fine.

    Try to connect in recovery mode, explained in this article:
    iOS: Unable to update or restore
    Before that, back up your device, explained here:
    iOS: Back up and restore your iOS device with iCloud or iTunes
    How to back up your data and set up as a new device
    You can check your warranty status here:
    https://selfsolve.apple.com/agreementWarrantyDynamic.do

  • HT4009 Ok so my problem is I put $100 on my account an it not letting me buy in app purchases an I'm ticked off to the max an idk how to fix this I bough in app the other day perfectly fine I need help bad HELP me

    Ok so my problem is I put $100 on my account an it not letting me buy in app purchases an I'm ticked off to the max an idk how to fix this I bough in app the other day perfectly fine I need help bad HELP me

    You need to Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • [svn:fx-trunk] 7868: Fixed bug in flex4test testWheel app; it needed to be updated to the latest effects API after motionPaths changed from an Array to a Vector . MotionPath

    Revision: 7868
    Author:   [email protected]
    Date:     2009-06-15 16:37:33 -0700 (Mon, 15 Jun 2009)
    Log Message:
    Fixed bug in flex4test testWheel app; it needed to be updated to the latest effects API after motionPaths changed from an Array to a Vector.
    Modified Paths:
        flex/sdk/trunk/development/eclipse/flex/flex4test/src/testWheel.mxml

    Walter Laan wrote:
    almightywiz wrote:
    Walter Laan wrote:
    The security popup really messes with the focus in Firefox (3.6.16) though.Not saying you're wrong, but I'm using FireFox 3.6.16, as well, and I have none of the focus troubles you've described.Cannot reproduce it now either. Weird.I got the impression you were referring to keyboard focus, so I did some further tests on focus behavior. The test results are listed in the Accumulated Results table on the 1st post.
    The only browser so far that works as I'd expect, or at least as I'd like, is IE.
    Applets and keyboard navigation have always been a PITA. Some time ago I vaguely recall seeing an update involving a new parameter to regulate initial focus (applet or page, ..or another applet), but for the life of me I cannot locate it now. Given that it was a parameter for initial focus, I doubt it would help in this case.
    Edited by: Andrew Thompson on Mar 26, 2011 6:18 PM
    Removed table which has now been expanded & added to 1st post.

  • My facebook app seems to be frozen and i can't get it to work.  What can i do to fix this or remove the app and reinstall it?

    My facebook app seems to be frozen and i cant get it to do anything.  what can i do to fix this problem or uninstall the app and then reinstall it?

    Try closing the Facebook app completely and see if it works ok when you re-open it : from the home screen (i.e. not with the Facebook app 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Facebook app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    If that doesn't work then you could try a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • How can you fix your ipod touch when apps are closing on you, how can you fix your ipod touch when apps are closing on you

    How can you fix your ipod when apps keep crashing on you while your in that app?

    See:
    iOS: Troubleshooting applications purchased from the App Store
    Contact the developer/go to their support site if only one app.
    Restore from backup. See:
    iOS: How to back up              
    Restore to factory settings/new iPod

  • What can i do to fix the incredibly slow youtube app?

         My 4th genneration 32gb ipod touch is fairly new (but doesnt have a warrenty) and has lots of problems. One, the touch reponse is slow. Two, the apps close with no warning. And the biggest issue for me is the youtube app is incrediby slow. It takes me 9 minutes to watch a 3 minute long video. Looking for answers online about this last problem, I have found that a lot of people say it's because of the HD that makes it go slow. I would greatly appreciate if anyone can give me any advice on how to fix any of these problems. This is not what i would have expected to get with $300!
         P.S.
    I also have a 3rd genneration 8gb ipod touch, and it works fine! I have no problems with it and I can watch the youtube videos without waiting for them to load at all. I got the new ipod because I needed more space and wanted a camera (which also *****)!
    Thanks

    this also happens to my 8gb white ipod touch the youtube is slow but the touch screen response work fine try youtube on safari and see if that is also slow

  • How do i fix an error when getting apps from app store

    I sometimes get an error after trying to buy an app or a free app or even updating, and just before I enter my Apple ID password. Here's a screenshot of the error message. I wonder if anyone can help me fix this.

    Thank you J Hermans, my problem actually is, that error message comes up when I try to install any app from the
    appstore. I have that tangram! installed too.
    At first the message was just like "tangram! Could not be purchased....." when i tried to update a different app. Then every time that I try to get an app from the appstore, the message adds up like "tangram! and 1 other item.....". Then "tangram! And 2 other items..." and so on..

  • Fixing Memory Leaks in AIR App?

    Hi Friends,
    I'm been facing this memory leaks issue in our app and this has taken enough of our time and resources and we are not being able to find a solution for it.
    I have identified the problem in the module where we primarily need memory related fixes which is - We are setting Repeater's recycleChildren() property to true/false based upon certain conditions which we cant change. Now when this property is set to false Repeater is supposed to be removing its last created objects from memory and creating fresh ones. In our case repeater is unable to delete those. When I managed to get their instances (using createdChildren()) and freed them in code I called System.gc() for releasing the memory back to OS. Now what is happening is that this approach works fine when I run the app from code but when I create its installer (from Installsheild) and formally out in on machines it does not work. I came to know the reason from following blogs:
    http://jvalentino.blogspot.com/2009/05/flex-memory-issue-3-garbage-collection.html
    http://gskinner.com/blog/archives/2006/06/as3_resource_ma.html
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/System.htm l#gc()
    http://stackoverflow.com/questions/192373/force-garbage-collection-in-as3
    http://gskinner.com/blog/archives/2006/08/as3_resource_ma_2.html
    Guys, can anyone of you suggest what should I do here? This has become a delivery bottleneck and we need to give a fix where the memroy is released periodically and efficiently so that the end user's system does not hang.
    Please help.
    Shubhra

    Are you sure it doesn't ? Maybe flash does release memory but the OS leaves it assigned as described in the below comment from http://www.mikechambers.com/blog/2008/08/06/what-are-your-biggest-issues-with-adobe-air/co mment-page-3/#comment-26330
    "I just finished doing more experiments, I looks like the AIR app  does free the memory, but the OS leaves it assignned to the app process,  until other apps requiere that memory. So, looks like it is a natural  behaviour and the memory leak is not as terrible as I thougth."

  • Fixe download error from Mac App Store (NSURLErrorDomain, erro -3001.)(102)

    I've been trying to update to Montain Lion (10.8.2) Aperture Update 3.4.2, iPhoto 9.4.2, Safary 6.0.2 via the Mac App Store since it's release. Unfortunately after trying download the bundle,  I keep receiving the following error:
    (NSURLErrorDomain, erro -3001.)(102). The operation couldn’t be completed.
    Could anyone give a fix?
    Rgds. Jose.

    Safari here
    http://swcdn.apple.com/content/downloads/53/02/041-8081/2jwp4wjrwygtm4lc608qy4h0 n4a9yyq37g/Safari6.0.2Mountain.pkg
    iPhoto an Aperture here
    http://support.apple.com/downloads/#macosandsoftware
    Message was edited by: ckuan

  • Fixed header in FIORI like app!!

    Hello All,
    I am building a Fiori like app. I want to have a fixed header for this app and the header would be the company logo and a stretched image. I have implemented this but the problem I am facing is that the, when I run the application on IPad, the  footer is hidden below and does not show up until I double tap and close the header image.
    My requirement is to display header and also the app inside the container to be shown on a single screen irrespective of the device it is running on.
    My index.html script is as shown below.
    <script>
           new sap.ui.core.ComponentContainer({
           name : "sap.ui.demo.myFiori"
           }).placeAt("content");
      </script>
    <body class="sapUiBody">
           <div id="image">
                <img src="./images/App-header.jpg" style="max-width:100%;">
           </div>
           <div id="content" style="max-width:100%;"/></div>
      </body>
    Any ideas would be highly appreciated. Thanks

    Hello Robin,
    Thanks for your response.
    Why not simply create a header inside your application shell?
    Basically I do not find any header control to add an image. So I changed my code to the following:
    new sap.m.Shell({
      app : new sap.ui.core.ComponentContainer({
      name : "sap.ui.demo.myFiori"
      }).placeAt("content");
    But, looking at the properties of a shell. here I can add an image as a background. but I cannot  cannot set as an header. I hope I am doing the right thing. If I am wrong please correct me. Any sample example would come handy too.
    Thanks
    Sangamesh

  • How to fix YouTube crash on YouTube app and Safari after update to ios8?

    The you tube app on my iPad crashes just after I select a video to play and buffering starts. This happened after I have updated my iPad to the latest iOS update. Please advice how to fix this.

    Have you updated the app on the App Store?

  • Any fix for the Apple podcast app starting to play after a missed phone call?

    I have the apple podcast app and every time i receive a missed call, after the call the audio from the app starts playing. I have an iphone 4 with ios 6.
    Thanks.

    I'd also like to see a fix.

  • Fixing Gamma in the ScreenFlow App. A How Too...

    Sometimes when using the ScreenFlow App you might need to send the footage to FCP or Motion. The exported video from ScreenFlow will have an incorrect gamma, video will be (a lot) lighter. This is easily fixed...
    In the export setting window click on the Filter tab.
    Adjustment...
    ColorSync... Set the rest as shown... ok... Export.
    On my computer the Filter tab is grayed out... Clicking on the Fast Start tab brings it up.
    You might be able to use this fix with other video apps when the gamma is wrong on the exported video.

    Since this is in the Comppressor forum... You can use this fix to send to Compressor too!.

Maybe you are looking for