Giter Club home page Giter Club logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 19, 2024
Yeah, that seems to be an issue with BufferStrategy in Java.. I am not sure 
what causes it, but it never made my program crash or work incorrectly. Does 
your program not work when that message appears?

Original comment by [email protected] on 30 Sep 2010 at 1:59

from javacv.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 19, 2024
Actually, it freezes when the error occur. Disabling the instruction 
"canvasFrame.showImage(image)" make it works fine. Another detail I've noticed 
is that if I wait a low time before compile and run again the program (10 sec 
for example), it works without error. Maybe it's a problem with Garbage 
Collection or something related?

Original comment by [email protected] on 30 Sep 2010 at 2:04

from javacv.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 19, 2024
Ah, no, if it freezes it's probably a problem with your video card driver.. 

You can also try to use OpenGL instead of X11 SHM by setting the _JAVA_OPTIONS 
environment variable before executing your program, something like this in bash:
    export _JAVA_OPTIONS="-Dsun.java2d.opengl=True"
or put it in ~/.bashrc and relog in.

Original comment by [email protected] on 30 Sep 2010 at 2:13

from javacv.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 19, 2024
Okay, I will try this evening then I will show the results! Thanks for help! :)

Original comment by [email protected] on 30 Sep 2010 at 2:18

from javacv.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 19, 2024
Closing this long-standing issue, assuming that OpenGL or a better video driver 
did the trick. Please reopen the issue if that is not the case, thank you.

Original comment by [email protected] on 4 Nov 2010 at 10:32

  • Changed state: Done

from javacv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.