Skip to content

Instantly share code, notes, and snippets.

@xranby
Created May 8, 2013 10:22
Show Gist options
  • Save xranby/43ad678b05d0a7aac2d7 to your computer and use it in GitHub Desktop.
Save xranby/43ad678b05d0a7aac2d7 to your computer and use it in GitHub Desktop.
jogl: 2344a21587b3053fc2f343087319ee094fe45442
Test Start: com.jogamp.opengl.test.junit.graph.demos.GPUUISceneNewtDemo02
/usr/bin/java -DummyArg -Djava.awt.headless=true -Dnewt.debug.Screen com.jogamp.opengl.test.junit.graph.demos.GPUUISceneNewtDemo02
NvRmPrivGetChipIdStub: Could not read Tegra chip id/rev
Expected on kernels without Tegra3 support, using Tegra2
Loading GLESv2lib libGLESv2.so.2
Library for API 1 exposes function not wrapped: glPointSizePointerOES
Screen.create() NEW: NEWT-Screen[.x11_:0-1-s0, idx 0, refCount 0, vsize [ 0 / 0 0 x 0 ], null, NEWT-Display[.x11_:0-1, excl false, refCount 0, hasEDT true, edtRunning true, null], monitors: null] main
Screen.addReference() (main-Display-.x11_:0-1-EDT-1): 0 -> 1
Screen.createNative() START (main-Display-.x11_:0-1-EDT-1, NEWT-Screen[.x11_:0-1-s0, idx 0, refCount 0, vsize [ 0 / 0 0 x 0 ], null, NEWT-Display[.x11_:0-1, excl false, refCount 0, hasEDT true, edtRunning true, null], monitors: null])
RandR 1.3.0, jogamp.newt.driver.x11.RandR13@1115cea
ScreenVirtualSize: 1024x600 269x157 mm
XRRGetScreenSizeRange: 256x128 .. 2048x2048
XRRScreenResources 0x4b90b6b0: Crtc count 2
Crtc[0]: 0/0 1024x600, rot 0x3F, mode.id 0x42
Crtc[0].Output[0].id 0x40
Crtc[1]: 128/0 800x600, rot 0x3F, mode.id 0x50
Crtc[1].Output[0].id 0x41
XRRScreenResources.outputs 0x4b90b6b0: Output count 2
Output[0]: id 0x40, crtx 0x3E, name LVDS-1 (6), 0x0, ncrtc 1, .., nmode 1 (preferred 1)
Output[0].Mode[0].id 0x42
Output[1]: id 0x41, crtx 0x3F, name HDMI-1 (6), 0x0, ncrtc 1, .., nmode 0 (preferred 0)
XRRScreenResources 0x4b90b6b0: Mode count 2
Mode[0, id 0x42]: 1024x600@0,000000, name 1024x600
Mode[1, id 0x50]: 800x600@85,061272, name 800x600
Screen.initMonitorState() START (main-Display-.x11_:0-1-EDT-1, NEWT-Screen[.x11_:0-1-s0, idx 0, refCount 0, vsize [ 0 / 0 0 x 0 ], X11GraphicsScreen[X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x4b481828, owner true, ResourceToolkitLock[obj 0xeb3b83, isOwner false, <1902864, 14be60b>[count 0, qsz 0, owner <NULL>]]], idx 0], NEWT-Display[.x11_:0-1, excl false, refCount 1, hasEDT true, edtRunning true, X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x4b481828, owner true, ResourceToolkitLock[obj 0xeb3b83, isOwner false, <1902864, 14be60b>[count 0, qsz 0, owner <NULL>]]]], monitors: null])
Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: property count should be >= 11, but is 10, len 10
at jogamp.newt.DefaultEDTUtil.invokeImpl(DefaultEDTUtil.java:220)
at jogamp.newt.DefaultEDTUtil.invoke(DefaultEDTUtil.java:135)
at jogamp.newt.DisplayImpl.runOnEDTIfAvail(DisplayImpl.java:207)
at jogamp.newt.WindowImpl.runOnEDTIfAvail(WindowImpl.java:1670)
at jogamp.newt.WindowImpl.setVisible(WindowImpl.java:834)
at jogamp.newt.WindowImpl.setVisible(WindowImpl.java:839)
at com.jogamp.newt.opengl.GLWindow.setVisible(GLWindow.java:410)
at com.jogamp.opengl.test.junit.graph.demos.GPUUISceneNewtDemo02.main(GPUUISceneNewtDemo02.java:46)
Caused by: java.lang.RuntimeException: property count should be >= 11, but is 10, len 10
at jogamp.newt.MonitorModeProps.streamInMonitorDevice(MonitorModeProps.java:213)
at jogamp.newt.driver.x11.ScreenDriver.collectNativeMonitorModesAndDevicesImpl(ScreenDriver.java:143)
at jogamp.newt.ScreenImpl.collectNativeMonitorModes(ScreenImpl.java:569)
at jogamp.newt.ScreenImpl.initMonitorState(ScreenImpl.java:522)
at jogamp.newt.ScreenImpl.createNative(ScreenImpl.java:184)
at jogamp.newt.ScreenImpl.addReference(ScreenImpl.java:222)
at jogamp.newt.WindowImpl.createNative(WindowImpl.java:297)
at jogamp.newt.WindowImpl.setVisibleActionImpl(WindowImpl.java:776)
at jogamp.newt.WindowImpl$VisibleAction.run(WindowImpl.java:826)
at com.jogamp.common.util.RunnableTask.run(RunnableTask.java:112)
at jogamp.newt.DefaultEDTUtil$EventDispatchThread.run(DefaultEDTUtil.java:331)
X11Util.Display: Shutdown (JVM shutdown: true, open (no close attempt): 1/1, reusable (open, marked uncloseable): 0, pending (open in creation order): 1)
X11Util: Open X11 Display Connections: 1
X11Util: Open[0]: NamedX11Display[:0, 0x4b481828, refCount 1, unCloseable false]
Test End: com.jogamp.opengl.test.junit.graph.demos.GPUUISceneNewtDemo02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment