java - 此硬件不支持帧缓冲区。 Java Processing library 2.2.1 和 Unfolding Map 错误

标签 java opengl processing

我正在尝试将 Unfolding Map 库与 eclipse 一起使用,并将 Processing 2.2.1 作为图形库。 但此设置给我错误比如“此硬件不支持帧缓冲区..”

Exception in thread "Animation Thread" java.lang.RuntimeException: java.lang.RuntimeException: Framebuffer objects are not supported by this hardware (or driver) Read http://wiki.processing.org/w/OpenGL_Issues for help.
    at com.jogamp.common.util.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:58)
    at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:103)
    at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:206)
    at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:172)
    at javax.media.opengl.Threading.invoke(Threading.java:191)
    at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:541)
    at processing.opengl.PJOGL.requestDraw(PJOGL.java:688)
    at processing.opengl.PGraphicsOpenGL.requestDraw(PGraphicsOpenGL.java:1651)
    at processing.core.PApplet.run(PApplet.java:2256)
    at java.lang.Thread.run(Unknown Source)

我有 AMD Radeon HD 7600 M 系列显卡驱动程序,其规范说明它支持 OpenGl 4.2。我不知道我错过了什么。任何人请帮助。

最佳答案

它会直接在错误消息中为您提供一个链接:https://github.com/processing/processing/wiki/OpenGL-Issues

该链接列出了许多您应该尝试的事情:

  • Try updating your graphics card drivers. If you're getting a blank screen with sketch that uses OpenGL, or the sketch is hanging or starting very slowly, you likely need to update your drivers. On Windows, updated drivers are available from your machine's vendor, Windows Update, or the manufacturer of your graphics card. On Mac OS X, use Software Update to make sure your system is up to date. On Linux, try the non-free version of a driver.

  • On Windows, if you're getting a lot of OpenGL crashing, blue screens, or other mess, your driver might be bad (really!) For instance, if you're using a Dell, use the driver they provide (http://support.dell.com/) instead of what might be a more recent driver obtained directly from http://nvidia.com.

  • If you're getting a blank screen or strange graphics on Windows, try messing with your graphics card settings (or even with a different graphics card). There are lots of options that can cause trouble (if you run into such a situation, please post to the forum on how you got it fixed).

  • If you've recently updated, you may, on the other hand, need to downgrade your drivers. Sometimes experimental drivers (or the “free” drivers on Linux) contain issues. Try different versions that might be available for your system.

  • Almost all EXCEPTION_ACCESS_VIOLATION crashes with OpenGL are driver problems, and we cannot fix them.

  • We don't recommend running other OpenGL programs while running Processing in OpenGL mode. GL tends takes charge of things so results will be unexpected (windows from the other app showing through to the Processing window, etc.)

  • The integrated graphics chipsets that Apple has been using on their "low end" machines (such Intel GMA 950) really stink for OpenGL. Some don't support anti-aliasing at all. These cards are found in the Mac Mini (the Intel version only, the PPC versions had nice graphics), some iMacs, and the MacBook (but no the MacBook Pro). The same chipsets are used in many budget PCs, to which the same disclaimer applies.

  • The new version of the OpenGL library requires drivers that support OpenGL 2.0. This allows us to keep OpenGL support for desktop and Android in sync with one another. Unfortunately this means that some older cards and drivers (particularly on Linux) will not work, and that Processing 2.0 on such machines will be limited to 2D graphics. But the OpenGL library is developed by a single person (Andres Colubri), who works on this in his free time, and he can't support two separate video libraries with radically different implementations. Keep in mind you can always use Processing 1.5.1 to continue 3D development, though it will not be updated further, and we won't be accepting bug reports for it.

如果这些都不起作用或无法解释您的问题,请查看已知的 OpenGL issues列在 Processing 的 GitHub 页面上。

关于java - 此硬件不支持帧缓冲区。 Java Processing library 2.2.1 和 Unfolding Map 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35883891/

相关文章:

Java加运算符

c++ - OpenGL中动态模型的实例化绘制

java - 如何使用处理在单独的线程中读取 OpenGL 像素?

python - 如何将模块导入到Processing 中的Python?

javascript - 如何在 p5.js 中加载图像并将其作为背景

java - java中Jtable到TextArea

java - PHP后端,Java前端。这可能吗?

c++ - Direct3D 是否应该用于 Windows 中的 OpenGL?

opengl - glReadPixels 与 glGetTexImage

java - 在链接列表中存储对象