Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8123793

JavaFX crashes in native code with prism.forceGPU=true

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: javafx
    • Environment:

      Samsung R530 Geforce310M Gentoo Linux 3.9.4 opensource nvidia driver noueavu => 1.0.4 X11 => 1.13.4
      ps the opensource driver works perfectly here using compiz - no problems. maybe noueavu could be unblacklisted

      Description

      I'm trying to use the 3D features of JavaFX - a code as simple as initializng javafx.scene.shape.Box; won't run on my computer because i'm on noueavu. I tried with prism.forceGPU=true. however this causes a crash in native code - the last stack trace points to X11GLcontext.nInitialize.

      I have debugged the problem and i've got a solution for it. The problem is caused becuse dl_sym, can;t find the procedure glXSyncIntervalSGI - although my system reportos to support this extension - then this proc is being caled - so we get an segmentation fautl. i propose a solution that uses glXgetProcAddress when dl_sym fails.

      I'm writing this bug, so that someone with apropirate permissions could commit my fix to upstream version of JavaFX. i can send fixed source, i've described so that the commitee could apply the fix even without the source.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ckyang Chien Yang (Inactive)
                Reporter:
                duke J. Duke (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: