Bug 17603

Summary: JOGL does not work with intel drivers. Probably buggy pbuffer support.
Product: xorg Reporter: Jean-Baptiste Silvy <jean-baptiste.silvy>
Component: Driver/intelAssignee: Gordon Jin <gordon.jin>
Status: RESOLVED WONTFIX QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: dushakov, sylvestre.ledru
Version: 6.9.0   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Java test case. none

Description Jean-Baptiste Silvy 2008-09-16 02:11:33 UTC
Created attachment 18916 [details]
Java test case.

I'm a developper of the Scilab software. Many of our users have experienced issues using the JOGL API (https://jogl.dev.java.net/)
on all the Intel graphic cards (such as i810) under Linux using Intel drivers (it's ok if they install the mesa ones).

Basically JOGL provides a Java wrapping of OpenGL and Java components which provides OpenGL rendering support. There are two of these components one for the AWT API one for the Swing API. The second is not working with these cards.

After some investigation, I found that the Swing components is using
pbuffers. I then guess that pbuffer support is buggy with current drivers and then prevent JOGL to work.

To test the problem, you may try to run the JRefract demo from the JOGL
website (https://jogl-demos.dev.java.net/). I also
created a small test case (in attachment), but you will need to get the
JOGL API before installing it. Personally  I use  the 1.1.1 version
(https://jogl.dev.java.net/servlets/ProjectDocumentList?folderID=9260&expandFolder=9260&folderID=0).
You can try it as if or fully accelerated using the
"-Dsun.java2d.opengl=True**" option.

I don't have a computer with an Intel card right now, but I will soon be able to use one. I will then be able to perform some more tests to be able to help you.

Jean-Baptiste
Comment 1 Eric Anholt 2008-09-16 11:37:20 UTC
pbuffers are not supported in any existing release of our driver (or any open-source driver, that I know of).

We're including EXT_framebuffer_object support in this quarterly release, and if JOGL chose to replace pbuffer usage with the newer (better) extension, it would work on our driver.
Comment 2 Gordon Jin 2008-09-16 17:58:19 UTC
So I'm marking this as won't fix.
Comment 3 Jean-Baptiste Silvy 2008-09-16 23:58:13 UTC
Thanks for your quick reply. I will report the information to the JOGL's developers.

Jean-Baptiste.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.