Summary: | javax.media.opengl.GLException: Intialization of GL renderer strings failed | ||
---|---|---|---|
Product: | [JogAmp] Jogl | Reporter: | Krasimir Kostadinov <krasimir.k> |
Component: | core | Assignee: | Sven Gothel <sgothel> |
Status: | UNCONFIRMED --- | ||
Severity: | major | CC: | krasimir.k, sgothel |
Priority: | --- | ||
Version: | 2 | ||
Hardware: | pc_x86_64 | ||
OS: | linux | ||
Type: | --- | SCM Refs: | |
Workaround: | --- | ||
Attachments: | The jogl debug trace when GLDrawableFactory.getFactory( glprofile ).createExternalGLContext is invoked |
Description
Krasimir Kostadinov
2015-02-07 23:08:42 CET
The example with JOGL in AWT works fine. The warning message "libEGL warning: failed to create a pipe screen for i965" appears, but the triangle is shown. Moving creation of glprofile before setting current glcanvas like: ... GLProfile glprofile = GLProfile.getDefault(); glcanvas.setCurrent(); ... resolve the exception when createExternalGLContext is invoked, but the screen is black and the triangle is shown at random time when window is resizing. Adding SWT menu resolve the flickering problem: shell.setSize( 640, 480 ); Menu bar = new Menu (shell, SWT.BAR); shell.setMenuBar (bar); MenuItem fileItem = new MenuItem (bar, SWT.CASCADE); fileItem.setText ("&File"); final Composite composite = new Composite( shell, SWT.NONE ); composite.setLayout( new FillLayout() ); (In reply to comment #3) > Adding SWT menu resolve the flickering problem: > > shell.setSize( 640, 480 ); > > Menu bar = new Menu (shell, SWT.BAR); > shell.setMenuBar (bar); > MenuItem fileItem = new MenuItem (bar, SWT.CASCADE); > fileItem.setText ("&File"); > > final Composite composite = new Composite( shell, SWT.NONE ); > composite.setLayout( new FillLayout() ); Can you provide a patch for the test files, preferably using git? Maybe you like to update the wiki as well, in which case I will grant you edit permission. (In reply to comment #4) > (In reply to comment #3) > > Adding SWT menu resolve the flickering problem: > > > > shell.setSize( 640, 480 ); > > > > Menu bar = new Menu (shell, SWT.BAR); > > shell.setMenuBar (bar); > > MenuItem fileItem = new MenuItem (bar, SWT.CASCADE); > > fileItem.setText ("&File"); > > > > final Composite composite = new Composite( shell, SWT.NONE ); > > composite.setLayout( new FillLayout() ); > > Can you provide a patch for the test files, > preferably using git? Do not understand what exactly you mean "to provide a patch for the test files". I can provide a test files or complete Eclipse project. > > Maybe you like to update the wiki as well, > in which case I will grant you edit permission. Yes, I would like to make an update for the wiki. Can you create an account? Regards, Krasimir |