GLJPanel is filled red when running on integrated card

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

GLJPanel is filled red when running on integrated card

ajbond
Hi,

I have an issue with GLPanel. I am creating GJPanel using default GLProfile and GLCapabilities and after running on my laptop with integrated card I get this:



getChosenGLCapabilities() returns this: GLCaps[wgl vid 6 arb: rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, one, mono  , hw, GLProfile[GL2/GL2.hw], offscr[fbo]]

But, if I set glcapabilities.setAlphaBits(1) panel looks normal:



and getChosenGLCapabilities() returns: GLCaps[wgl vid 6 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, one, mono  , hw, GLProfile[GL2/GL2.hw], offscr[fbo]]

Can anyone help me to understand the reason of this problem? Or, at least, to find the way to detect configurations that affected by this issue.
Reply | Threaded
Open this post in threaded view
|

Re: GLJPanel is filled red when running on integrated card

Sven Gothel
Administrator
On 08/29/2014 01:25 AM, ajbond [via jogamp] wrote:

> Hi,
>
> I have an issue with GLPanel. I am creating GJPanel using default GLProfile
> and GLCapabilities and after running on my laptop with integrated card I get
> this:
>
>
>
> getChosenGLCapabilities() returns this: GLCaps[wgl vid 6 arb: rgba 8/8/8/0,
> opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, one, mono  , hw,
> GLProfile[GL2/GL2.hw], offscr[fbo]]
>
> But, if I set glcapabilities.setAlphaBits(1) panel looks normal:
>
>
>
> and getChosenGLCapabilities() returns: GLCaps[wgl vid 6 arb: rgba 8/8/8/8,
> opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, one, mono  , hw,
> GLProfile[GL2/GL2.hw], offscr[fbo]]
>
> Can anyone help me to understand the reason of this problem? Or, at least, to
> find the way to detect configurations that affected by this issue.
Interesting, you use a non opaque GLJPanel
and see only the red background when having no alpha framebuffer/caps?

Read GLJPanel's API doc 'skipping vertical flip is highly recommended',
i.e. dropping the GLSL vertical flip while performing it yourself.
If this helps, or jogl.gljpanel.noglsl, then the GLSL shader somewhat doesn't
work.

~Sven



signature.asc (828 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: GLJPanel is filled red when running on integrated card

ajbond
Sven Gothel wrote
Interesting, you use a non opaque GLJPanel
and see only the red background when having no alpha framebuffer/caps?
I use opaque GLJPanel (it is opaque by default and I don't change this property). Also, as you can see, not only background is red but the whole scene has wrong values in the red channel.

After setting setSkipGLOrientationVerticalFlip(true) background became black, but triangle is still affected by this "red distortion" and it's colors are the same as on the first picture.
Reply | Threaded
Open this post in threaded view
|

Re: GLJPanel is filled red when running on integrated card

jmaasing
In reply to this post by ajbond
ajbond wrote
getChosenGLCapabilities() returns this: GLCaps[wgl vid 6 arb: rgba 8/8/8/0,
and getChosenGLCapabilities() returns: GLCaps[wgl vid 6 arb: rgba 8/8/8/8,

Can anyone help me to understand the reason of this problem? Or, at least, to find the way to detect configurations that affected by this issue.
An idle speculation, maybe your shader writes alpha information in both cases, in the first case I don't know what happens with the alpha value, a long shot could be that the bits are interpreted as Red in the next pixel.
Reply | Threaded
Open this post in threaded view
|

Re: GLJPanel is filled red when running on integrated card

gouessej
Administrator
In reply to this post by ajbond
Please provide a short but complete source code if you want to get some help.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: GLJPanel is filled red when running on integrated card

Sven Gothel
Administrator
In reply to this post by ajbond
On 08/29/2014 02:23 AM, ajbond [via jogamp] wrote:

>     Sven Gothel wrote
>     Interesting, you use a non opaque GLJPanel
>     and see only the red background when having no alpha framebuffer/caps?
>
> I use opaque GLJPanel (it is opaque by default and I don't change this
> property). Also, as you can see, not only background is red but the whole
> scene has wrong values in the red channel.
>
> After setting setSkipGLOrientationVerticalFlip(true) background became black,
> but triangle is still affected by this "red distortion" and it's colors are
> the same as on the first picture.
Can you run one of our unit tests w/ GearsES2 and GLJPanel ?

I have tested the above on several platforms, including Intel and AMD
integrated chipset and diff. GL profiles.

Try:
  'com.jogamp.opengl.test.junit.jogl.demos.es2.awt.TestGearsES2GLJPanelAWT'

~Sven



signature.asc (828 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: GLJPanel is filled red when running on integrated card

ajbond
In reply to this post by gouessej
gouessej wrote
Please provide a short but complete source code if you want to get some help.
It is a simple sample program. Here the source code
Reply | Threaded
Open this post in threaded view
|

Re: GLJPanel is filled red when running on integrated card

ajbond
In reply to this post by Sven Gothel
Sven Gothel wrote
Try:
  'com.jogamp.opengl.test.junit.jogl.demos.es2.awt.TestGearsES2GLJPanelAWT'
I launched this test. The first frame looks red, other frames looks normal. Here the output:

size java.awt.Dimension[width=640,height=480]
resize null
userVFlip false
swapInterval 0
forceES2 false
forceGL3 false
forceGLFFP false
useMSAA false
useAnimator true
shallUsePBuffer false
shallUseBitmap false
manualTest false
JUnit version 4.9
Thread-1 - SISock: localhost/127.0.0.1:59999 - started
SLOCK [T main @ 1409326919846 ms +++ localhost/127.0.0.1:59999 - Locked within 1010 ms, 1 attempts
.++++ UITestCase.setUp: com.jogamp.opengl.test.junit.jogl.demos.es2.awt.TestGearsES2GLJPanelAWT - test01_DefaultNorm
Thread[AWT-EventQueue-0,6,main] Gears.init: tileRendererInUse null
GearsES2 init on Thread[AWT-EventQueue-0,6,main]
Chosen GLCapabilities: GLCaps[wgl vid 6 arb: rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, one, mono  , hw, GLProfile[GL2/GL2.hw], offscr[fbo]]
INIT GL IS: jogamp.opengl.gl4.GL4bcImpl
Swap Interval  -1
GL Profile     GLProfile[GL2/GL2.hw]
GL Version     2.1 (Compat profile, FBO, hardware) - 2.1.0 - Build 8.15.10.2555 [GL 2.1.0, vendor 8.15.10 (- Build 8.15.10.2555)]
Quirks         [NoDoubleBufferedBitmap]
Impl. class    jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR      Intel
GL_RENDERER    Mobile Intel(R) 4 Series Express Chipset Family
GL_VERSION     2.1.0 - Build 8.15.10.2555
GLSL           true, has-compiler-func: true, version: 1.20  - Intel Build 8.15.10.2555 / 1.20.0
GL FBO: basic true, full false
GL_EXTENSIONS  82
GLX_EXTENSIONS 10
-----------------------------------------------------------------------------------------------------
gear1 list created: 1
gear2 list created: 2
gear3 list created: 3
Thread[AWT-EventQueue-0,6,main] Gears.reshape 0/0 640x480 of 640x480, swapInterval 0, drawable 0xffffffff91011090, msaa false, tileRendererInUse null
>> Gears angle 0.0, [l -1.3333334, r 1.3333334, b -1.0, t 1.0] 2.6666667x2.0 -> [l -1.3333334, r 1.3333334, b -1.0, t 1.0] 2.6666667x2.0, v-flip false
AWT-EventQueue-0: ** screenshot: TestGearsES2GLJPanelAWT.test01_DefaultNorm-n0000-GL2___-hw-fbobject-Bone-Frgb__Irgba8880-D16-St00-Sa00_default-0640x0480.png
WindowEvent[WINDOW_RESIZED, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326922557 d 0ms]]
WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326922558 d 0ms]]
WindowEvent[WINDOW_RESIZED, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326922569 d 0ms]]
WindowEvent[WINDOW_MOVED, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326922569 d 0ms]]
AWT-EventQueue-0: ** screenshot: TestGearsES2GLJPanelAWT.test01_DefaultNorm-n0002-GL2___-hw-fbobject-Bone-Frgb__Irgba8880-D16-St00-Sa00_default-0640x0480.png
Thread[AWT-EventQueue-0,6,main] Gears.dispose: tileRendererInUse null
.++++ UITestCase.tearDown: com.jogamp.opengl.test.junit.jogl.demos.es2.awt.TestGearsES2GLJPanelAWT - test01_DefaultNorm
WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326926937 d 0ms]]
WindowEvent[EVENT_WINDOW_DESTROYED, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326926941 d 0ms]]
++++ UITestCase.setUp: com.jogamp.opengl.test.junit.jogl.demos.es2.awt.TestGearsES2GLJPanelAWT - test02_DefaultMsaa
Thread[AWT-EventQueue-0,6,main] Gears.init: tileRendererInUse null
GearsES2 init on Thread[AWT-EventQueue-0,6,main]
Chosen GLCapabilities: GLCaps[wgl vid 6 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, one, mono  , hw, GLProfile[GL2/GL2.hw], offscr[fbo]]
INIT GL IS: jogamp.opengl.gl4.GL4bcImpl
Swap Interval  -1
GL Profile     GLProfile[GL2/GL2.hw]
GL Version     2.1 (Compat profile, FBO, hardware) - 2.1.0 - Build 8.15.10.2555 [GL 2.1.0, vendor 8.15.10 (- Build 8.15.10.2555)]
Quirks         [NoDoubleBufferedBitmap]
Impl. class    jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR      Intel
GL_RENDERER    Mobile Intel(R) 4 Series Express Chipset Family
GL_VERSION     2.1.0 - Build 8.15.10.2555
GLSL           true, has-compiler-func: true, version: 1.20  - Intel Build 8.15.10.2555 / 1.20.0
GL FBO: basic true, full false
GL_EXTENSIONS  82
GLX_EXTENSIONS 10
-----------------------------------------------------------------------------------------------------
gear1 list created: 1
gear2 list created: 2
gear3 list created: 3
Thread[AWT-EventQueue-0,6,main] Gears.reshape 0/0 640x480 of 640x480, swapInterval 0, drawable 0xffffffffb9012924, msaa false, tileRendererInUse null
>> Gears angle 0.0, [l -1.3333334, r 1.3333334, b -1.0, t 1.0] 2.6666667x2.0 -> [l -1.3333334, r 1.3333334, b -1.0, t 1.0] 2.6666667x2.0, v-flip false
AWT-EventQueue-0: ** screenshot: TestGearsES2GLJPanelAWT.test02_DefaultMsaa-n0000-GL2___-hw-fbobject-Bone-Frgb__Irgba8888-D16-St00-Sa00_default-0640x0480.png
WindowEvent[WINDOW_RESIZED, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326927432 d 0ms]]
WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326927433 d 0ms]]
WindowEvent[WINDOW_RESIZED, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326927436 d 0ms]]
WindowEvent[WINDOW_MOVED, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326927436 d 0ms]]
AWT-EventQueue-0: ** screenshot: TestGearsES2GLJPanelAWT.test02_DefaultMsaa-n0003-GL2___-hw-fbobject-Bone-Frgb__Irgba8888-D16-St00-Sa00_default-0640x0480.png
3 s: 60 f / 3197 ms, 18.7 fps, 53 ms/f; total: 60 f, 18.7 fps, 53 ms/f
Thread[AWT-EventQueue-0,6,main] Gears.dispose: tileRendererInUse null
.WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326932095 d 0ms]]
++++ UITestCase.tearDown: com.jogamp.opengl.test.junit.jogl.demos.es2.awt.TestGearsES2GLJPanelAWT - test02_DefaultMsaa
WindowEvent[EVENT_WINDOW_DESTROYED, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326932095 d 0ms]]
++++ UITestCase.setUp: com.jogamp.opengl.test.junit.jogl.demos.es2.awt.TestGearsES2GLJPanelAWT - test03_PbufferNorm
Thread[AWT-EventQueue-0,6,main] Gears.init: tileRendererInUse null
GearsES2 init on Thread[AWT-EventQueue-0,6,main]
Chosen GLCapabilities: GLCaps[wgl vid 5 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, one, mono  , hw, GLProfile[GL2/GL2.hw], offscr[pbuffer]]
INIT GL IS: jogamp.opengl.gl4.GL4bcImpl
Swap Interval  -1
GL Profile     GLProfile[GL2/GL2.hw]
GL Version     2.1 (Compat profile, FBO, hardware) - 2.1.0 - Build 8.15.10.2555 [GL 2.1.0, vendor 8.15.10 (- Build 8.15.10.2555)]
Quirks         [NoDoubleBufferedBitmap]
Impl. class    jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR      Intel
GL_RENDERER    Mobile Intel(R) 4 Series Express Chipset Family
GL_VERSION     2.1.0 - Build 8.15.10.2555
GLSL           true, has-compiler-func: true, version: 1.20  - Intel Build 8.15.10.2555 / 1.20.0
GL FBO: basic true, full false
GL_EXTENSIONS  82
GLX_EXTENSIONS 10
-----------------------------------------------------------------------------------------------------
gear1 list created: 1
gear2 list created: 2
gear3 list created: 3
Thread[AWT-EventQueue-0,6,main] Gears.reshape 0/0 640x480 of 640x480, swapInterval 0, drawable 0x25011d5d, msaa false, tileRendererInUse null
>> Gears angle 0.0, [l -1.3333334, r 1.3333334, b -1.0, t 1.0] 2.6666667x2.0 -> [l -1.3333334, r 1.3333334, b -1.0, t 1.0] 2.6666667x2.0, v-flip false
AWT-EventQueue-0: ** screenshot: TestGearsES2GLJPanelAWT.test03_PbufferNorm-n0000-GL2___-hw-pbuffer_-Bone-Frgb__Irgba8888-D16-St00-Sa00_default-0640x0480.png
WindowEvent[WINDOW_RESIZED, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326932408 d 0ms]]
WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326932409 d 0ms]]
WindowEvent[WINDOW_RESIZED, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326932411 d 0ms]]
WindowEvent[WINDOW_MOVED, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326932411 d 0ms]]
AWT-EventQueue-0: ** screenshot: TestGearsES2GLJPanelAWT.test03_PbufferNorm-n0002-GL2___-hw-pbuffer_-Bone-Frgb__Irgba8888-D16-St00-Sa00_default-0640x0480.png
1 s: 60 f / 1992 ms, 30.1 fps, 33 ms/f; total: 60 f, 30.1 fps, 33 ms/f
3 s: 60 f / 1504 ms, 39.8 fps, 25 ms/f; total: 120 f, 34.3 fps, 29 ms/f
5 s: 60 f / 1511 ms, 39.7 fps, 25 ms/f; total: 180 f, 35.9 fps, 27 ms/f
Thread[AWT-EventQueue-0,6,main] Gears.dispose: tileRendererInUse null
.++++ UITestCase.tearDown: com.jogamp.opengl.test.junit.jogl.demos.es2.awt.TestGearsES2GLJPanelAWT - test03_PbufferNorm
WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326937168 d 0ms]]
WindowEvent[EVENT_WINDOW_DESTROYED, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326937169 d 0ms]]
++++ UITestCase.setUp: com.jogamp.opengl.test.junit.jogl.demos.es2.awt.TestGearsES2GLJPanelAWT - test04_PbufferMsaa
Thread[AWT-EventQueue-0,6,main] Gears.init: tileRendererInUse null
GearsES2 init on Thread[AWT-EventQueue-0,6,main]
Chosen GLCapabilities: GLCaps[wgl vid 5 arb: rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, one, mono  , hw, GLProfile[GL2/GL2.hw], offscr[pbuffer]]
INIT GL IS: jogamp.opengl.gl4.GL4bcImpl
Swap Interval  -1
GL Profile     GLProfile[GL2/GL2.hw]
GL Version     2.1 (Compat profile, FBO, hardware) - 2.1.0 - Build 8.15.10.2555 [GL 2.1.0, vendor 8.15.10 (- Build 8.15.10.2555)]
Quirks         [NoDoubleBufferedBitmap]
Impl. class    jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR      Intel
GL_RENDERER    Mobile Intel(R) 4 Series Express Chipset Family
GL_VERSION     2.1.0 - Build 8.15.10.2555
GLSL           true, has-compiler-func: true, version: 1.20  - Intel Build 8.15.10.2555 / 1.20.0
GL FBO: basic true, full false
GL_EXTENSIONS  82
GLX_EXTENSIONS 10
-----------------------------------------------------------------------------------------------------
gear1 list created: 1
gear2 list created: 2
gear3 list created: 3
Thread[AWT-EventQueue-0,6,main] Gears.reshape 0/0 640x480 of 640x480, swapInterval 0, drawable 0x6a01242b, msaa false, tileRendererInUse null
>> Gears angle 0.0, [l -1.3333334, r 1.3333334, b -1.0, t 1.0] 2.6666667x2.0 -> [l -1.3333334, r 1.3333334, b -1.0, t 1.0] 2.6666667x2.0, v-flip false
AWT-EventQueue-0: ** screenshot: TestGearsES2GLJPanelAWT.test04_PbufferMsaa-n0000-GL2___-hw-pbuffer_-Bone-Frgb__Irgba8888-D16-St00-Sa00_default-0640x0480.png
WindowEvent[WINDOW_RESIZED, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326937480 d 0ms]]
WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326937480 d 0ms]]
WindowEvent[WINDOW_RESIZED, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326937483 d 0ms]]
WindowEvent[WINDOW_MOVED, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326937484 d 0ms]]
AWT-EventQueue-0: ** screenshot: TestGearsES2GLJPanelAWT.test04_PbufferMsaa-n0003-GL2___-hw-pbuffer_-Bone-Frgb__Irgba8888-D16-St00-Sa00_default-0640x0480.png
1 s: 60 f / 1961 ms, 30.5 fps, 32 ms/f; total: 60 f, 30.5 fps, 32 ms/f
3 s: 60 f / 1508 ms, 39.7 fps, 25 ms/f; total: 120 f, 34.5 fps, 28 ms/f
4 s: 60 f / 1516 ms, 39.5 fps, 25 ms/f; total: 180 f, 36.1 fps, 27 ms/f
Thread[AWT-EventQueue-0,6,main] Gears.dispose: tileRendererInUse null
WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326942243 d 0ms]]
++++ UITestCase.tearDown: com.jogamp.opengl.test.junit.jogl.demos.es2.awt.TestGearsES2GLJPanelAWT - test04_PbufferMsaa
WindowEvent[EVENT_WINDOW_DESTROYED, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326942243 d 0ms]]
++++ UITestCase.setUp: com.jogamp.opengl.test.junit.jogl.demos.es2.awt.TestGearsES2GLJPanelAWT - test05_BitmapNorm
.Thread[AWT-EventQueue-0,6,main] Gears.init: tileRendererInUse null
GearsES2 init on Thread[AWT-EventQueue-0,6,main]
Chosen GLCapabilities: GLCaps[wgl vid 20 gdi: rgba 8/8/8/0, opaque, accum-rgba 16/16/16/0, dp/st/ms 16/8/0, one, mono  , sw, GLProfile[GL2/GL2.hw], offscr[bitmap]]
INIT GL IS: jogamp.opengl.gl4.GL4bcImpl
Swap Interval  -1
GL Profile     GLProfile[GL2/GL2.hw]
GL Version     1.1 (Compat profile, software) - 1.1.0 [GL 1.1.0, vendor 0.0.0 (n/a)]
Quirks         [NoDoubleBufferedBitmap]
Impl. class    jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR      Microsoft Corporation
GL_RENDERER    GDI Generic
GL_VERSION     1.1.0
GLSL           false, has-compiler-func: false
GL FBO: basic false, full false
GL_EXTENSIONS  3
GLX_EXTENSIONS 0
-----------------------------------------------------------------------------------------------------
gear1 list created: 1
gear2 list created: 2
gear3 list created: 3
Thread[AWT-EventQueue-0,6,main] Gears.reshape 0/0 640x480 of 640x480, swapInterval 0, drawable 0xffffffffbd012225, msaa false, tileRendererInUse null
>> Gears angle 0.0, [l -1.3333334, r 1.3333334, b -1.0, t 1.0] 2.6666667x2.0 -> [l -1.3333334, r 1.3333334, b -1.0, t 1.0] 2.6666667x2.0, v-flip false
AWT-EventQueue-0: ** screenshot: TestGearsES2GLJPanelAWT.test05_BitmapNorm_-n0000-GL2___-sw-bitmap__-Bone-Frgb__Irgba8880-D16-St08-Sa00_default-0640x0480.png
WindowEvent[WINDOW_RESIZED, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326943393 d 0ms]]
WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326943394 d 0ms]]
WindowEvent[WINDOW_RESIZED, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326943396 d 0ms]]
WindowEvent[WINDOW_MOVED, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326943396 d 0ms]]
AWT-EventQueue-0: ** screenshot: TestGearsES2GLJPanelAWT.test05_BitmapNorm_-n0007-GL2___-sw-bitmap__-Bone-Frgb__Irgba8880-D16-St08-Sa00_default-0640x0480.png
2 s: 60 f / 2279 ms, 26.3 fps, 37 ms/f; total: 60 f, 26.3 fps, 37 ms/f
3 s: 60 f / 1032 ms, 58.1 fps, 17 ms/f; total: 120 f, 36.2 fps, 27 ms/f
4 s: 60 f / 1039 ms, 57.7 fps, 17 ms/f; total: 180 f, 41.3 fps, 24 ms/f
Thread[AWT-EventQueue-0,6,main] Gears.dispose: tileRendererInUse null
WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326947320 d 0ms]]
WindowEvent[EVENT_WINDOW_DESTROYED, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326947320 d 0ms]]
++++ UITestCase.tearDown: com.jogamp.opengl.test.junit.jogl.demos.es2.awt.TestGearsES2GLJPanelAWT - test05_BitmapNorm
++++ UITestCase.setUp: com.jogamp.opengl.test.junit.jogl.demos.es2.awt.TestGearsES2GLJPanelAWT - test06_BitmapMsaa
.Thread[AWT-EventQueue-0,6,main] Gears.init: tileRendererInUse null
GearsES2 init on Thread[AWT-EventQueue-0,6,main]
Chosen GLCapabilities: GLCaps[wgl vid 20 gdi: rgba 8/8/8/0, opaque, accum-rgba 16/16/16/0, dp/st/ms 16/8/0, one, mono  , sw, GLProfile[GL2/GL2.hw], offscr[bitmap]]
INIT GL IS: jogamp.opengl.gl4.GL4bcImpl
Swap Interval  -1
GL Profile     GLProfile[GL2/GL2.hw]
GL Version     1.1 (Compat profile, software) - 1.1.0 [GL 1.1.0, vendor 0.0.0 (n/a)]
Quirks         [NoDoubleBufferedBitmap]
Impl. class    jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR      Microsoft Corporation
GL_RENDERER    GDI Generic
GL_VERSION     1.1.0
GLSL           false, has-compiler-func: false
GL FBO: basic false, full false
GL_EXTENSIONS  3
GLX_EXTENSIONS 0
-----------------------------------------------------------------------------------------------------
gear1 list created: 1
gear2 list created: 2
gear3 list created: 3
Thread[AWT-EventQueue-0,6,main] Gears.reshape 0/0 640x480 of 640x480, swapInterval 0, drawable 0x50012225, msaa false, tileRendererInUse null
>> Gears angle 0.0, [l -1.3333334, r 1.3333334, b -1.0, t 1.0] 2.6666667x2.0 -> [l -1.3333334, r 1.3333334, b -1.0, t 1.0] 2.6666667x2.0, v-flip false
AWT-EventQueue-0: ** screenshot: TestGearsES2GLJPanelAWT.test06_BitmapMsaa_-n0000-GL2___-sw-bitmap__-Bone-Frgb__Irgba8880-D16-St08-Sa00_default-0640x0480.png
WindowEvent[WINDOW_RESIZED, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326947527 d 0ms]]
WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326947527 d 0ms]]
WindowEvent[WINDOW_RESIZED, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326947530 d 0ms]]
WindowEvent[WINDOW_MOVED, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326947530 d 0ms]]
AWT-EventQueue-0: ** screenshot: TestGearsES2GLJPanelAWT.test06_BitmapMsaa_-n0004-GL2___-sw-bitmap__-Bone-Frgb__Irgba8880-D16-St08-Sa00_default-0640x0480.png
1 s: 60 f / 1334 ms, 44.9 fps, 22 ms/f; total: 60 f, 44.9 fps, 22 ms/f
2 s: 60 f / 1061 ms, 56.5 fps, 17 ms/f; total: 120 f, 50.1 fps, 19 ms/f
3 s: 60 f / 1033 ms, 58.0 fps, 17 ms/f; total: 180 f, 52.5 fps, 19 ms/f
4 s: 60 f / 1033 ms, 58.0 fps, 17 ms/f; total: 240 f, 53.7 fps, 18 ms/f
..Thread[AWT-EventQueue-0,6,main] Gears.dispose: tileRendererInUse null
WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326952433 d 0ms]]
WindowEvent[EVENT_WINDOW_DESTROYED, NEWTEvent[source:javax.swing.JFrame, consumed false, when:1409326952433 d 0ms]]
++++ UITestCase.tearDown: com.jogamp.opengl.test.junit.jogl.demos.es2.awt.TestGearsES2GLJPanelAWT - test06_BitmapMsaa
++++ UITestCase.setUp: com.jogamp.opengl.test.junit.jogl.demos.es2.awt.TestGearsES2GLJPanelAWT - test20_GLES2
GLES2 n/a
++++ UITestCase.tearDown: com.jogamp.opengl.test.junit.jogl.demos.es2.awt.TestGearsES2GLJPanelAWT - test20_GLES2
++++ UITestCase.setUp: com.jogamp.opengl.test.junit.jogl.demos.es2.awt.TestGearsES2GLJPanelAWT - test30_GL3
GL3 n/a
++++ UITestCase.tearDown: com.jogamp.opengl.test.junit.jogl.demos.es2.awt.TestGearsES2GLJPanelAWT - test30_GL3

SLOCK [T main @ 1409326952512 ms --- localhost/127.0.0.1:59999 - Unlock ok within 4 ms
Time: 33,699

OK (8 tests)
Reply | Threaded
Open this post in threaded view
|

Re: GLJPanel is filled red when running on integrated card

Sven Gothel
Administrator
On 08/29/2014 05:47 PM, ajbond [via jogamp] wrote:
>     Sven Gothel wrote
>     Try:
>       'com.jogamp.opengl.test.junit.jogl.demos.es2.awt.TestGearsES2GLJPanelAWT'
>
> I launched this test. The first frame looks red, other frames looks normal.
> Here the output:

Do you mean the first frame of the first test
  'com.jogamp.opengl.test.junit.jogl.demos.es2.awt.TestGearsES2GLJPanelAWT - test01_DefaultNorm'

shows artifacts (i.e. rendered in red), and the followup frames by the same test
are correct ?

+++

Or do you mean the whole first test shows mentioned artifacts
but subsequent tests are correct ?

+++

~Sven


signature.asc (828 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: GLJPanel is filled red when running on integrated card

ajbond
This post was updated on .
Sven Gothel wrote
Do you mean the first frame of the first test
  'com.jogamp.opengl.test.junit.jogl.demos.es2.awt.TestGearsES2GLJPanelAWT - test01_DefaultNorm'

shows artifacts (i.e. rendered in red), and the followup frames by the same test
are correct ?

+++

Or do you mean the whole first test shows mentioned artifacts
but subsequent tests are correct ?
I dont think I fully understand you. What followup frames from the same test? It is only 1 frame per test (by frame I mean window). First window has red distortion during the animation, other 5 windows display totally correct.