Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

P3D don't work on AMD dynamic switchable graphics #5308

Copy link
Copy link
@yangwenbo99

Description

@yangwenbo99
Issue body actions

Description

I have a laptop with a low end AMD graphicial card R5 230M. Since my Intel integrated card gave me a slow performance in a program, I tried to use AMD card to render this file. (Using PRIME) Sadly, it can not work.

Expected Behavior

The program can normally run.

Current Behavior

Normal window does not open, and the error informations are:
java.lang.InternalError: XXX0 profile[1]: GL3bc -> profileImpl GL4bc !!! not mapped at com.jogamp.opengl.GLProfile.computeProfileMap(GLProfile.java:2071) at com.jogamp.opengl.GLProfile.initProfilesForDeviceCritical(GLProfile.java:1954) at com.jogamp.opengl.GLProfile.initProfilesForDevice(GLProfile.java:1875) at com.jogamp.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.java:1842) at com.jogamp.opengl.GLProfile.access$000(GLProfile.java:80) at com.jogamp.opengl.GLProfile$1.run(GLProfile.java:230) at java.security.AccessController.doPrivileged(Native Method) at com.jogamp.opengl.GLProfile.initSingleton(GLProfile.java:216) at com.jogamp.opengl.GLProfile.getProfileMap(GLProfile.java:2297) at com.jogamp.opengl.GLProfile.get(GLProfile.java:988) at com.jogamp.opengl.GLProfile.getGL2ES2(GLProfile.java:909) at processing.opengl.PSurfaceJOGL.initGL(PSurfaceJOGL.java:192) at processing.opengl.PSurfaceJOGL.initFrame(PSurfaceJOGL.java:136) at processing.core.PApplet.initSurface(PApplet.java:10889) at processing.core.PApplet.runSketch(PApplet.java:10776) at processing.core.PApplet.main(PApplet.java:10476)

Steps to Reproduce

  1. Write a processing file, use P2D or P3D.
  2. DRI_PRIME=1 processing-java --sketch=../theTestFile/ --run

Your Environment

  • Processing version: 3.3.6
  • Operating System and OS version: Arch Linux
  • Other information:
    I'm using PRIME to manage hybrid graphics.

Possible Causes / Solutions

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.