gluonhq / gluon-samples

Gluon sample projects
302 stars 166 forks source link

Embedded (Raspberry Pi) fails with KMS but succeeds with FKMS #132

Open rnayabed opened 3 years ago

rnayabed commented 3 years ago

OS: Raspberry Pi OS 32-Bit Bullseye

When running with 18-ea+7 on vc4-fkms-v3d FKMS, everything works fine and proceeds perfectly:

JavaFX launchApplication method: launchMode=LM_CLASS
Prism pipeline init order: es2 sw 
Using Double Precision Marlin Rasterizer
Using dirty region optimizations
Using system sized mask for primitives
Not forcing power of 2 sizes for textures
Using hardware CLAMP_TO_ZERO mode
Opting in for HiDPI pixel scaling
Prism pipeline name = com.sun.prism.es2.ES2Pipeline
Loading ES2 native library ... prism_es2_monocle
Loaded /home/pi/stream-pi-client/././libprism_es2_monocle.so from relative path
        succeeded.
GLFactory using com.sun.prism.es2.MonocleGLFactory
Loaded /home/pi/stream-pi-client/././libglass_monocle.so from relative path
[GluonDRM] use GPU at /dev/dri/card0 and display id -1
S0 NOT defined: 
[GluonDRM] We have 1 connectors
[GluonDRM] mode[0]: FIXED_MODE hss=1064, hs2=1168, hst=1312, hsskew=0, vss=603, vs2=610, vst=624, vsskew=0, clock=49000, ref=60
[GluonDRM] ID for connector[0] = 89, width = 1024 and height = 600
[GluonDRM] Height was 0 and is now 600
eglinit ok 
eglbind ok 
eglCreateWindowSurface called
(X) Got class = class com.sun.prism.es2.ES2Pipeline
Initialized prism pipeline: com.sun.prism.es2.ES2Pipeline
JavaFX: using com.sun.javafx.tk.quantum.QuantumToolkit
requested number of screens, return 1
[GluonDRM] getWidth asked, return 1024
[GluonDRM] doGetHeight asked, vs = 0, fbw = 1024, fbh = 600
[NODRM] set cursor to 512, 300
Maximum supported texture size: 4096
Non power of two texture support = true
Maximum number of vertex attributes = 16
Maximum number of uniform vertex components = 16384
Maximum number of uniform fragment components = 16384
Maximum number of varying components = 64
Maximum number of texture units usable in a vertex shader = 16
Maximum number of texture units usable in a fragment shader = 16
Graphics Vendor: Broadcom
       Renderer: V3D 4.2
        Version: OpenGL ES 3.1 Mesa 20.3.5
 vsync: true vpipe: true
Calling main(String[]) method
Loaded /home/pi/stream-pi-client/././libjavafx_font.so from relative path
Loaded /home/pi/stream-pi-client/././libjavafx_font_freetype.so from relative path
Loaded /home/pi/stream-pi-client/././libjavafx_font_pango.so from relative path
...

However, when using vc4-kms-v3d (KMS) driver:

JavaFX launchApplication method: launchMode=LM_CLASS
Prism pipeline init order: es2 sw 
Using Double Precision Marlin Rasterizer
Using dirty region optimizations
Using system sized mask for primitives
Not forcing power of 2 sizes for textures
Using hardware CLAMP_TO_ZERO mode
Opting in for HiDPI pixel scaling
Prism pipeline name = com.sun.prism.es2.ES2Pipeline
Loading ES2 native library ... prism_es2_monocle
Loaded /home/pi/stream-pi-client/././libprism_es2_monocle.so from relative path
        succeeded.
GLFactory using com.sun.prism.es2.MonocleGLFactory
Loaded /home/pi/stream-pi-client/././libglass_monocle.so from relative path
[GluonDRM] use GPU at /dev/dri/card0 and display id -1
S0 NOT defined: 
[GluonDRM] We have 2 connectors
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xb6f88aa8, pid=887, tid=907
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.1+12 (17.0.1+12) (build 17.0.1+12)
# Java VM: OpenJDK Server VM Temurin-17.0.1+12 (17.0.1+12, mixed mode, sharing, g1 gc, linux-arm)
# Problematic frame:
# C  [libarmmem-v7l.so+0x1aa8]
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/pi/stream-pi-client/hs_err_pid887.log
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

Contents of hs_err_pid887.log:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xb6f88aa8, pid=887, tid=907
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.1+12 (17.0.1+12) (build 17.0.1+12)
# Java VM: OpenJDK Server VM Temurin-17.0.1+12 (17.0.1+12, mixed mode, sharing, g1 gc, linux-arm)
# Problematic frame:
# C  [libarmmem-v7l.so+0x1aa8]
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  S U M M A R Y ------------

Command Line: -Xmx700m -Dcom.sun.javafx.touch=true -Dcom.sun.javafx.isEmbedded=true -Djavafx.verbose=true -Dprism.lcdtext=false -Dprism.verbose=true -Dcom.sun.javafx.virtualKeyboard=javafx -Dembedded=monocle -Dglass.platform=Monocle -Dmonocle.platform=EGL -Djava.library.path=. -Dmonocle.egl.lib=./libgluon_drm.so -Degl.displayid=/dev/dri/card0 -DStream-Pi.enableScreenSaverFeature=true -DStream-Pi.showShutDownButton=true -DStream-Pi.startupRunnerFileName=run_console -DStream-Pi.isXMode=false -DStream-Pi.isShowFullScreenToggleButton=false -DStream-Pi.defaultFullScreenMode=true --module-path=. --add-modules=ALL-MODULE-PATH com.stream_pi.client.Main

Host: rev 3 (v7l), 4 cores, 1G, Raspbian GNU/Linux 11 (bullseye)
Time: Mon Nov 22 13:57:30 2021 IST elapsed time: 1.966836 seconds (0d 0h 0m 1s)

---------------  T H R E A D  ---------------

Current thread (0x853ebfa0):  JavaThread "QuantumRenderer-0" daemon [_thread_in_native, id=907, stack(0x847b0000,0x84800000)]

Stack: [0x847b0000,0x84800000],  sp=0x847fe370,  free space=312k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libarmmem-v7l.so+0x1aa8]
C  [libgluon_drm.so+0x27dc]  getNativeWindowHandle+0x84
C  [libglass_monocle.so+0x3c0c]  Java_com_sun_glass_ui_monocle_EGLAcceleratedScreen_nPlatformGetNativeWindow+0x2c

[error occurred during error reporting (printing native stack), id 0xb, SIGSEGV (0xb) at pc=0xb69cafe4]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  com.sun.glass.ui.monocle.EGLAcceleratedScreen.nPlatformGetNativeWindow(Ljava/lang/String;)J+0 javafx.graphics@18-ea
j  com.sun.glass.ui.monocle.EGLAcceleratedScreen.platformGetNativeWindow()J+10 javafx.graphics@18-ea
j  com.sun.glass.ui.monocle.EGLAcceleratedScreen.<init>([I)V+13 javafx.graphics@18-ea
j  com.sun.glass.ui.monocle.EGLPlatform.getAcceleratedScreen([I)Lcom/sun/glass/ui/monocle/AcceleratedScreen;+13 javafx.graphics@18-ea
j  com.sun.prism.es2.MonocleGLFactory.initialize(Ljava/lang/Class;Lcom/sun/prism/es2/GLPixelFormat$Attributes;)Z+76 javafx.graphics@18-ea
j  com.sun.prism.es2.ES2Pipeline.<clinit>()V+52 javafx.graphics@18-ea
v  ~StubRoutines::call_stub
j  java.lang.Class.forName0(Ljava/lang/String;ZLjava/lang/ClassLoader;Ljava/lang/Class;)Ljava/lang/Class;+0 java.base@17.0.1
j  java.lang.Class.forName(Ljava/lang/String;)Ljava/lang/Class;+11 java.base@17.0.1
j  com.sun.prism.GraphicsPipeline.createPipeline()Lcom/sun/prism/GraphicsPipeline;+180 javafx.graphics@18-ea
j  com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.init()V+0 javafx.graphics@18-ea
j  com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run()V+1 javafx.graphics@18-ea
j  java.lang.Thread.run()V+11 java.base@17.0.1
v  ~StubRoutines::call_stub

siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x00000000

Register to memory mapping:

  r0  = 0x86111300
0x86111300: drm_device+0x00000000 in ./libgluon_drm.so at 0x86104000

  r1  = 0x00000000
0x0 is NULL

  r2  = 0x00000004
0x00000004 is an unknown value

  r3  = 0x00000044
0x00000044 is an unknown value

  r4  = 0x86111114
0x86111114: <offset 0x0000d114> in ./libgluon_drm.so at 0x86104000

  r5  = 0x847fe48c
0x847fe48c is pointing into the stack for thread: 0x853ebfa0

  r6  = 0xb3e2b678
0xb3e2b678 is at code_begin+24 in an Interpreter codelet
result handlers for native calls  [0xb3e2b660, 0xb3e2b6a0]  64 bytes

  r7  = 0x862dc080
0x862dc080 points into unknown readable memory: 0x7665642f | 2f 64 65 76

  r8  = 0x847fe490
0x847fe490 is pointing into the stack for thread: 0x853ebfa0

  r9  = 0x858ae1a0
{method} {0x858ae1a0} 'nPlatformGetNativeWindow' '(Ljava/lang/String;)J' in 'com/sun/glass/ui/monocle/EGLAcceleratedScreen'

  r10 = 0x853ebfa0
0x853ebfa0 is a thread

  fp  = 0x847fe3bc
0x847fe3bc is pointing into the stack for thread: 0x853ebfa0

  r12 = 0x00000000
0x0 is NULL

  sp  = 0x847fe370
0x847fe370 is pointing into the stack for thread: 0x853ebfa0

  lr  = 0x00000000
0x0 is NULL

  pc  = 0xb6f88aa8
0xb6f88aa8: <offset 0x00001aa8> in /usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so at 0xb6f87000

Registers:
  r0  = 0x86111300
  r1  = 0x00000000
  r2  = 0x00000004
  r3  = 0x00000044
  r4  = 0x86111114
  r5  = 0x847fe48c
  r6  = 0xb3e2b678
  r7  = 0x862dc080
  r8  = 0x847fe490
  r9  = 0x858ae1a0
  r10 = 0x853ebfa0
  fp  = 0x847fe3bc
  r12 = 0x00000000
  sp  = 0x847fe370
  lr  = 0x00000000
  pc  = 0xb6f88aa8
  cpsr = 0x20000010

Top of Stack: (sp=0x847fe370)
0x847fe370:   00000000 00000000 0000001a 0000006b
0x847fe380:   86111300 861063c4 847fe3dc 861047ec
0x847fe390:   ffffffff 862de540 847fe48c b3e2b678
0x847fe3a0:   862de6c0 862de598 862de540 00000000
0x847fe3b0:   853ec198 847fe48c 847fe3dc 861067dc
0x847fe3c0:   862dc080 862dc080 00000000 00000000
0x847fe3d0:   862de540 ffffffff 847fe3f4 8473dc0c
0x847fe3e0:   b3e3bebc 8473dbe0 b3e2b678 00000000 

Instructions: (pc=0xb6f88aa8)
0xb6f889a8:   ecb18b04 f2b66f48 eca06b04 e1b0ee82
0xb6f889b8:   3a000003 eef08a69 ecb19b02 f2b88709
0xb6f889c8:   eca08b02 5a000003 eeb09a69 ecf19a01
0xb6f889d8:   f2b9830a eca08a01 e2411001 e1b0ef82
0xb6f889e8:   3a000002 f4a170cd f4a170ed f48074dd
0xb6f889f8:   5a000001 f4a170ed f48070ed ecbd8b04
0xb6f88a08:   e8bd8001 e3c1c03f f5dcf000 e081e002
0xb6f88a18:   e24ee001 e3cee03f e15e000c 0a000003
0xb6f88a28:   e28cc040 e15c000e f5dcf000 1afffffb
0xb6f88a38:   e041e000 e1b0ef8e 8a0000dd 2a000087
0xb6f88a48:   4a00002f e210c03f 0a000012 e26cc040
0xb6f88a58:   e1b0ef8c 5a000001 f4a170ed f48070ed
0xb6f88a68:   3a000001 f4a174dd f48074dd e1b0ee8c
0xb6f88a78:   4cf16a01 2cb17b02 4ce06a01 2ca07b02
0xb6f88a88:   e1b0ed8c 4cb12b04 2cb14b08 4ca02b04
0xb6f88a98:   2ca04b08 e042200c e2522040 3a000003
0xb6f88aa8:   ecb10b10 eca00b10 e2522040 2afffffb
0xb6f88ab8:   e312003f 0a000010 e1b0ed82 2cb14b08
0xb6f88ac8:   4cb12b04 2ca04b08 4ca02b04 e1b0ee82
0xb6f88ad8:   2cb17b02 4cf16a01 2ca07b02 4ce06a01
0xb6f88ae8:   e1b0ef82 3a000001 f4a174dd f48074dd
0xb6f88af8:   5a000001 f4a170ed f48070ed ecbd8b04
0xb6f88b08:   e8bd8001 e210c03f 0a000023 e26cc040
0xb6f88b18:   e1b0ef8c 5a000001 f4a170ed f48070ed
0xb6f88b28:   3a000002 f4a170cd f4a170ed f48074dd
0xb6f88b38:   e2411001 ecf19a01 e1b0ee8c 5a000003
0xb6f88b48:   eeb09a69 ecf19a01 f2b9810a eca08a01
0xb6f88b58:   3a000003 eef08a69 ecb19b02 f2b88509
0xb6f88b68:   eca08b02 e1b0ed8c 5a000003 eef07a69
0xb6f88b78:   ecb18b04 f2b66d48 eca06b04 3a000004
0xb6f88b88:   eef05a69 ecb16b08 f2b44d46 f2b66d48
0xb6f88b98:   eca04b08 e042200c ea000001 e2411001 

Stack slot to memory mapping:
stack at sp + 0 slots: 0x0 is NULL
stack at sp + 1 slots: 0x0 is NULL
stack at sp + 2 slots: 0x0000001a is an unknown value
stack at sp + 3 slots: 0x0000006b is an unknown value
stack at sp + 4 slots: 0x86111300: drm_device+0x00000000 in ./libgluon_drm.so at 0x86104000
stack at sp + 5 slots: 0x861063c4: getNativeWindowHandleForId+0x00000254 in ./libgluon_drm.so at 0x86104000
stack at sp + 6 slots: 0x847fe3dc is pointing into the stack for thread: 0x853ebfa0
stack at sp + 7 slots: 0x861047ec: <offset 0x000007ec> in ./libgluon_drm.so at 0x86104000

---------------  P R O C E S S  ---------------

Threads class SMR info:
_java_thread_list=0x853ecbd0, length=13, elements={
0xb6013fc0, 0xb60e66c8, 0xb60e7740, 0xb60eb190,
0xb60ec1e8, 0xb60ed218, 0xb60ee490, 0xb60ef530,
0x8532a610, 0x864f1b98, 0x84cb8e98, 0x8538c560,
0x853ebfa0
}

Java Threads: ( => current thread )
  0xb6013fc0 JavaThread "main" [_thread_blocked, id=888, stack(0xb6118000,0xb6168000)]
  0xb60e66c8 JavaThread "Reference Handler" daemon [_thread_blocked, id=895, stack(0x8632e000,0x8637e000)]
  0xb60e7740 JavaThread "Finalizer" daemon [_thread_blocked, id=896, stack(0x8612e000,0x8617e000)]
  0xb60eb190 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=897, stack(0x85f2e000,0x85f7e000)]
  0xb60ec1e8 JavaThread "Service Thread" daemon [_thread_blocked, id=898, stack(0x85d2e000,0x85d7e000)]
  0xb60ed218 JavaThread "Monitor Deflation Thread" daemon [_thread_blocked, id=899, stack(0x85cde000,0x85d2e000)]
  0xb60ee490 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=900, stack(0x85c5e000,0x85cde000)]
  0xb60ef530 JavaThread "Sweeper thread" daemon [_thread_blocked, id=901, stack(0x85c0e000,0x85c5e000)]
  0x8532a610 JavaThread "Common-Cleaner" daemon [_thread_blocked, id=902, stack(0x84d36000,0x84d86000)]
  0x864f1b98 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=903, stack(0x84b80000,0x84c00000)]
  0x84cb8e98 JavaThread "C2 CompilerThread2" daemon [_thread_blocked, id=904, stack(0x84b00000,0x84b80000)]
  0x8538c560 JavaThread "Notification Thread" daemon [_thread_blocked, id=905, stack(0x84750000,0x847a0000)]
=>0x853ebfa0 JavaThread "QuantumRenderer-0" daemon [_thread_in_native, id=907, stack(0x847b0000,0x84800000)]

Other Threads:
  0xb60e4548 VMThread "VM Thread" [stack: 0x85d80000,0x85e00000] [id=894]
  0x8538de70 WatcherThread [stack: 0x84380000,0x84400000] [id=906]
  0xb6075680 GCTaskThread "GC Thread#0" [stack: 0xb3c09000,0xb3c89000] [id=889]
  0x844e8fd0 GCTaskThread "GC Thread#1" [stack: 0x840fe000,0x8417e000] [id=908]
  0x852bcd70 GCTaskThread "GC Thread#2" [stack: 0x8407c000,0x840fc000] [id=909]
  0x852bd450 GCTaskThread "GC Thread#3" [stack: 0x83ffa000,0x8407a000] [id=910]
  0xb6079630 ConcurrentGCThread "G1 Main Marker" [stack: 0x86580000,0x86600000] [id=890]
  0xb607a290 ConcurrentGCThread "G1 Conc#0" [stack: 0x86380000,0x86400000] [id=891]
  0xb60ce760 ConcurrentGCThread "G1 Refine#0" [stack: 0x86180000,0x86200000] [id=892]
  0xb60cf390 ConcurrentGCThread "G1 Service" [stack: 0x85f80000,0x86000000] [id=893]

Threads with active compile tasks:

VM state: not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

GC Precious Log:
 CPUs: 4 total, 4 available
 Memory: 1819M
 Large Page Support: Disabled
 NUMA Support: Disabled
 Compressed Oops: Disabled
 Heap Region Size: 1M
 Heap Min Capacity: 6M
 Heap Initial Capacity: 30M
 Heap Max Capacity: 700M
 Pre-touch: Disabled
 Parallel Workers: 4
 Concurrent Workers: 1
 Concurrent Refinement Workers: 4
 Periodic GC: Disabled

Heap:
 garbage-first heap   total 30720K, used 1559K [0x88000000, 0xb3c00000)
  region size 1024K, 3 young (3072K), 2 survivors (2048K)
 Metaspace       used 1334K, committed 1472K, reserved 8192K

Heap Regions: E=young(eden), S=young(survivor), O=old, HS=humongous(starts), HC=humongous(continues), CS=collection set, F=free, OA=open archive, CA=closed archive, TAMS=top-at-mark-start (previous, next)
|   0|0x88000000, 0x88000000, 0x88100000|  0%| F|  |TAMS 0x88000000, 0x88000000| Untracked 
|   1|0x88100000, 0x88100000, 0x88200000|  0%| F|  |TAMS 0x88100000, 0x88100000| Untracked 
|   2|0x88200000, 0x88200000, 0x88300000|  0%| F|  |TAMS 0x88200000, 0x88200000| Untracked 
|   3|0x88300000, 0x88300000, 0x88400000|  0%| F|  |TAMS 0x88300000, 0x88300000| Untracked 
|   4|0x88400000, 0x88400000, 0x88500000|  0%| F|  |TAMS 0x88400000, 0x88400000| Untracked 
|   5|0x88500000, 0x88500000, 0x88600000|  0%| F|  |TAMS 0x88500000, 0x88500000| Untracked 
|   6|0x88600000, 0x88600000, 0x88700000|  0%| F|  |TAMS 0x88600000, 0x88600000| Untracked 
|   7|0x88700000, 0x88700000, 0x88800000|  0%| F|  |TAMS 0x88700000, 0x88700000| Untracked 
|   8|0x88800000, 0x88800000, 0x88900000|  0%| F|  |TAMS 0x88800000, 0x88800000| Untracked 
|   9|0x88900000, 0x88900000, 0x88a00000|  0%| F|  |TAMS 0x88900000, 0x88900000| Untracked 
|  10|0x88a00000, 0x88a00000, 0x88b00000|  0%| F|  |TAMS 0x88a00000, 0x88a00000| Untracked 
|  11|0x88b00000, 0x88b00000, 0x88c00000|  0%| F|  |TAMS 0x88b00000, 0x88b00000| Untracked 
|  12|0x88c00000, 0x88c00000, 0x88d00000|  0%| F|  |TAMS 0x88c00000, 0x88c00000| Untracked 
|  13|0x88d00000, 0x88d00000, 0x88e00000|  0%| F|  |TAMS 0x88d00000, 0x88d00000| Untracked 
|  14|0x88e00000, 0x88e00000, 0x88f00000|  0%| F|  |TAMS 0x88e00000, 0x88e00000| Untracked 
|  15|0x88f00000, 0x88f85e88, 0x89000000| 52%| S|CS|TAMS 0x88f00000, 0x88f00000| Complete 
|  16|0x89000000, 0x89100000, 0x89100000|100%| S|CS|TAMS 0x89000000, 0x89000000| Complete 
|  17|0x89100000, 0x89100000, 0x89200000|  0%| F|  |TAMS 0x89100000, 0x89100000| Untracked 
|  18|0x89200000, 0x89200000, 0x89300000|  0%| F|  |TAMS 0x89200000, 0x89200000| Untracked 
|  19|0x89300000, 0x89300000, 0x89400000|  0%| F|  |TAMS 0x89300000, 0x89300000| Untracked 
|  20|0x89400000, 0x89400000, 0x89500000|  0%| F|  |TAMS 0x89400000, 0x89400000| Untracked 
|  21|0x89500000, 0x89500000, 0x89600000|  0%| F|  |TAMS 0x89500000, 0x89500000| Untracked 
|  22|0x89600000, 0x89600000, 0x89700000|  0%| F|  |TAMS 0x89600000, 0x89600000| Untracked 
|  23|0x89700000, 0x89700000, 0x89800000|  0%| F|  |TAMS 0x89700000, 0x89700000| Untracked 
|  24|0x89800000, 0x89800000, 0x89900000|  0%| F|  |TAMS 0x89800000, 0x89800000| Untracked 
|  25|0x89900000, 0x89900000, 0x89a00000|  0%| F|  |TAMS 0x89900000, 0x89900000| Untracked 
|  26|0x89a00000, 0x89a00000, 0x89b00000|  0%| F|  |TAMS 0x89a00000, 0x89a00000| Untracked 
|  27|0x89b00000, 0x89b00000, 0x89c00000|  0%| F|  |TAMS 0x89b00000, 0x89b00000| Untracked 
|  28|0x89c00000, 0x89c00000, 0x89d00000|  0%| F|  |TAMS 0x89c00000, 0x89c00000| Untracked 
|  29|0x89d00000, 0x89dd0e20, 0x89e00000| 81%| E|  |TAMS 0x89d00000, 0x89d00000| Complete 

Card table byte_map: [0x87ea2000,0x88000000] _byte_map_base: 0x87a62000

Marking Bits (Prev, Next): (CMBitMap*) 0xb6076250, (CMBitMap*) 0xb6076270
 Prev Bits: [0x87254000, 0x87d44000)
 Next Bits: [0x86764000, 0x87254000)

Polling page: 0xb6fc9000

Metaspace:

Usage:
    1.30 MB used.

Virtual space:
      8.00 MB reserved,       1.44 MB ( 18%) committed,  1 nodes.

Chunk freelists:
3.28 MB

MaxMetaspaceSize: unlimited
No class space
Initial GC threshold: 16.00 MB
Current GC threshold: 16.00 MB
CDS: on
MetaspaceReclaimPolicy: balanced
 - commit_granule_bytes: 65536.
 - commit_granule_words: 16384.
 - virtual_space_node_default_size: 2097152.
 - enlarge_chunks_in_place: 1.
 - new_chunks_are_fully_committed: 0.
 - uncommit_free_chunks: 1.
 - use_allocation_guard: 0.
 - handle_deallocations: 1.

Internal statistics:

num_allocs_failed_limit: 0.
num_arena_births: 39.
num_arena_deaths: 0.
num_vsnodes_births: 1.
num_vsnodes_deaths: 0.
num_space_committed: 23.
num_space_uncommitted: 0.
num_chunks_returned_to_freelist: 0.
num_chunks_taken_from_freelist: 70.
num_chunk_merges: 0.
num_chunk_splits: 58.
num_chunks_enlarged: 57.
num_purges: 0.
num_inconsistent_stats: 0.

CodeCache: size=32768Kb used=593Kb max_used=609Kb free=32174Kb
 bounds [0xb3e27000, 0xb3fa7000, 0xb5e27000]
 total_blobs=462 nmethods=263 adapters=152
 compilation: enabled
              stopped_count=0, restarted_count=0
 full_count=0

Compilation events (20 events):
Event: 1.748 Thread 0xb60ee490  253             jdk.internal.org.objectweb.asm.MethodWriter::hasAsmInstructions (5 bytes)
Event: 1.748 Thread 0xb60ee490 nmethod 253 0xb3eb3488 code [0xb3eb3580, 0xb3eb35cc]
Event: 1.765 Thread 0x84cb8e98  257             java.util.concurrent.ConcurrentHashMap::tabAt (22 bytes)
Event: 1.766 Thread 0x84cb8e98 nmethod 257 0xb3eb2688 code [0xb3eb2780, 0xb3eb27dc]
Event: 1.837 Thread 0xb60ee490  261             java.util.zip.Inflater::ensureOpen (47 bytes)
Event: 1.838 Thread 0xb60ee490 nmethod 261 0xb3eb7e08 code [0xb3eb7f00, 0xb3eb7fac]
Event: 1.857 Thread 0x84cb8e98  262 %           java.util.Properties$LineReader::readLine @ 224 (584 bytes)
Event: 1.871 Thread 0x864f1b98  263             java.lang.Module::getDescriptor (5 bytes)
Event: 1.872 Thread 0x864f1b98 nmethod 263 0xb3eb7b08 code [0xb3eb7c00, 0xb3eb7c4c]
Event: 1.883 Thread 0xb60ee490  264             sun.nio.fs.UnixFileSystem::provider (5 bytes)
Event: 1.884 Thread 0xb60ee490 nmethod 264 0xb3eb7508 code [0xb3eb7600, 0xb3eb764c]
Event: 1.884 Thread 0xb60ee490  265             java.lang.Integer::intValue (5 bytes)
Event: 1.884 Thread 0xb60ee490 nmethod 265 0xb3eb7208 code [0xb3eb7300, 0xb3eb734c]
Event: 1.892 Thread 0x84cb8e98 nmethod 262% 0xb3ebac88 code [0xb3ebade0, 0xb3ebb7f8]
Event: 1.898 Thread 0x864f1b98  266             java.io.File::getPath (5 bytes)
Event: 1.899 Thread 0x864f1b98 nmethod 266 0xb3eb6e08 code [0xb3eb6f00, 0xb3eb6f4c]
Event: 1.904 Thread 0x84cb8e98  267             java.util.ArrayList::size (5 bytes)
Event: 1.905 Thread 0x84cb8e98 nmethod 267 0xb3eba988 code [0xb3ebaa80, 0xb3ebaacc]
Event: 1.921 Thread 0x864f1b98  268             java.util.Properties$LineReader::readLine (584 bytes)
Event: 1.953 Thread 0x864f1b98 nmethod 268 0xb3ebe488 code [0xb3ebe5d0, 0xb3ebee84]

GC Heap History (2 events):
Event: 1.824 GC heap before
{Heap before GC invocations=0 (full 0):
 garbage-first heap   total 30720K, used 13312K [0x88000000, 0xb3c00000)
  region size 1024K, 13 young (13312K), 0 survivors (0K)
 Metaspace       used 1222K, committed 1280K, reserved 8192K
}
Event: 1.833 GC heap after
{Heap after GC invocations=1 (full 0):
 garbage-first heap   total 30720K, used 1559K [0x88000000, 0xb3c00000)
  region size 1024K, 2 young (2048K), 2 survivors (2048K)
 Metaspace       used 1222K, committed 1280K, reserved 8192K
}

Deoptimization events (20 events):
Event: 1.251 Thread 0xb6013fc0 Uncommon trap: trap_request=0xffffff3d fr.pc=0xb3e83348 relative=0x00000148
Event: 1.251 Thread 0xb6013fc0 Uncommon trap: reason=unstable_fused_if action=reinterpret pc=0xb3e83348 method=java.lang.StringUTF16.indexOf([BII)I @ 6 c2
Event: 1.251 Thread 0xb6013fc0 DEOPT PACKING pc=0xb3e83348 sp=0xb61666b0
Event: 1.251 Thread 0xb6013fc0 DEOPT UNPACKING pc=0xb3e5da7c sp=0xb616669c mode 2
Event: 1.251 Thread 0xb6013fc0 Uncommon trap: trap_request=0xffffff45 fr.pc=0xb3e759d4 relative=0x00000054
Event: 1.251 Thread 0xb6013fc0 Uncommon trap: reason=unstable_if action=reinterpret pc=0xb3e759d4 method=java.lang.String.isEmpty()Z @ 5 c2
Event: 1.251 Thread 0xb6013fc0 DEOPT PACKING pc=0xb3e759d4 sp=0xb6166740
Event: 1.251 Thread 0xb6013fc0 DEOPT UNPACKING pc=0xb3e5da7c sp=0xb6166718 mode 2
Event: 1.252 Thread 0xb6013fc0 Uncommon trap: trap_request=0xffffff45 fr.pc=0xb3e815d0 relative=0x000002b0
Event: 1.252 Thread 0xb6013fc0 Uncommon trap: reason=unstable_if action=reinterpret pc=0xb3e815d0 method=java.lang.StringUTF16.newString([BII)Ljava/lang/String; @ 1 c2
Event: 1.252 Thread 0xb6013fc0 DEOPT PACKING pc=0xb3e815d0 sp=0xb61666e0
Event: 1.252 Thread 0xb6013fc0 DEOPT UNPACKING pc=0xb3e5da7c sp=0xb61666cc mode 2
Event: 1.341 Thread 0xb6013fc0 Uncommon trap: trap_request=0xfffffff4 fr.pc=0xb3e88c38 relative=0x000001a8
Event: 1.341 Thread 0xb6013fc0 Uncommon trap: reason=null_check action=make_not_entrant pc=0xb3e88c38 method=java.lang.String.equals(Ljava/lang/Object;)Z @ 8 c2
Event: 1.341 Thread 0xb6013fc0 DEOPT PACKING pc=0xb3e88c38 sp=0xb6166a68
Event: 1.341 Thread 0xb6013fc0 DEOPT UNPACKING pc=0xb3e5da7c sp=0xb6166a44 mode 2
Event: 1.518 Thread 0xb6013fc0 Uncommon trap: trap_request=0xffffff45 fr.pc=0xb3ea0ad4 relative=0x00000144
Event: 1.518 Thread 0xb6013fc0 Uncommon trap: reason=unstable_if action=reinterpret pc=0xb3ea0ad4 method=java.lang.String.startsWith(Ljava/lang/String;I)Z @ 14 c2
Event: 1.518 Thread 0xb6013fc0 DEOPT PACKING pc=0xb3ea0ad4 sp=0xb6165fc0
Event: 1.518 Thread 0xb6013fc0 DEOPT UNPACKING pc=0xb3e5da7c sp=0xb6165f8c mode 2

Classes unloaded (0 events):
No events

Classes redefined (0 events):
No events

Internal exceptions (6 events):
Event: 0.762 Thread 0xb6013fc0 Exception <a 'sun/nio/fs/UnixException'{0x89abd8b0}> (0x89abd8b0) 
thrown [src/hotspot/share/prims/jni.cpp, line 516]
Event: 0.794 Thread 0xb6013fc0 Exception <a 'java/lang/NoSuchMethodError'{0x89af1e80}: 'void java.lang.invoke.DirectMethodHandle$Holder.invokeSpecial(java.lang.Object, java.lang.Object, java.lang.Object)'> (0x89af1e80) 
thrown [src/hotspot/share/interpreter/linkResolver.cpp, line 766]
Event: 1.160 Thread 0xb6013fc0 Exception <a 'java/lang/NoSuchMethodError'{0x896b53c8}: 'void java.lang.invoke.DirectMethodHandle$Holder.invokeStatic(java.lang.Object, java.lang.Object, java.lang.Object)'> (0x896b53c8) 
thrown [src/hotspot/share/interpreter/linkResolver.cpp, line 766]
Event: 1.341 Thread 0xb6013fc0 Implicit null exception at 0xb3e88ac0 to 0xb3e88c2c
Event: 1.342 Thread 0xb6013fc0 Exception <a 'java/lang/NoSuchMethodError'{0x894039b0}: 'java.lang.Object java.lang.invoke.DirectMethodHandle$Holder.invokeStaticInit(java.lang.Object)'> (0x894039b0) 
thrown [src/hotspot/share/interpreter/linkResolver.cpp, line 766]
Event: 1.368 Thread 0xb6013fc0 Exception <a 'java/lang/NoSuchMethodError'{0x89411f88}: 'void java.lang.invoke.DirectMethodHandle$Holder.invokeStatic(java.lang.Object, java.lang.Object)'> (0x89411f88) 
thrown [src/hotspot/share/interpreter/linkResolver.cpp, line 766]

VM Operations (4 events):
Event: 1.176 Executing VM operation: HandshakeAllThreads
Event: 1.176 Executing VM operation: HandshakeAllThreads done
Event: 1.824 Executing VM operation: G1CollectForAllocation
Event: 1.833 Executing VM operation: G1CollectForAllocation done

Events (20 events):
Event: 1.864 loading class sun/security/util/SecurityConstants done
Event: 1.865 loading class java/net/NetPermission
Event: 1.865 loading class java/net/NetPermission done
Event: 1.866 loading class java/security/SecurityPermission
Event: 1.866 loading class java/security/SecurityPermission done
Event: 1.866 loading class java/net/SocketPermission
Event: 1.868 loading class java/net/SocketPermission done
Event: 1.868 loading class java/io/FilePermission$1
Event: 1.869 loading class jdk/internal/access/JavaIOFilePermissionAccess
Event: 1.870 loading class jdk/internal/access/JavaIOFilePermissionAccess done
Event: 1.870 loading class java/io/FilePermission$1 done
Event: 1.874 Loaded shared library /home/pi/jdk-17.0.1+12/lib/libjimage.so
Event: 1.876 Loaded shared library /home/pi/jdk-17.0.1+12/lib/libnet.so
Event: 1.900 loading class jdk/internal/loader/URLClassPath$FileLoader
Event: 1.902 loading class jdk/internal/loader/URLClassPath$FileLoader done
Event: 1.926 loading class sun/util/logging/internal/LoggingProviderImpl$JULWrapper
Event: 1.929 loading class sun/util/logging/PlatformLogger$ConfigurableBridge$LoggerConfiguration
Event: 1.930 loading class sun/util/logging/PlatformLogger$ConfigurableBridge$LoggerConfiguration done
Event: 1.930 loading class sun/util/logging/internal/LoggingProviderImpl$JULWrapper done
Event: 1.941 Loaded shared library /home/pi/stream-pi-client/libglass_monocle.so

Dynamic libraries:
00010000-00011000 r-xp 00000000 08:02 279992     /home/pi/jdk-17.0.1+12/bin/java
00020000-00021000 r--p 00000000 08:02 279992     /home/pi/jdk-17.0.1+12/bin/java
00021000-00022000 rw-p 00001000 08:02 279992     /home/pi/jdk-17.0.1+12/bin/java
0036b000-007fa000 rw-p 00000000 00:00 0          [heap]
80000000-8028a000 rw-p 00001000 08:02 139238     /home/pi/jdk-17.0.1+12/lib/server/classes.jsa
8028a000-808d5000 r--p 0028b000 08:02 139238     /home/pi/jdk-17.0.1+12/lib/server/classes.jsa
83fc5000-83fe6000 r-xp 00000000 08:02 5200       /usr/lib/arm-linux-gnueabihf/libexpat.so.1.6.12
83fe6000-83ff5000 ---p 00021000 08:02 5200       /usr/lib/arm-linux-gnueabihf/libexpat.so.1.6.12
83ff5000-83ff7000 r--p 00020000 08:02 5200       /usr/lib/arm-linux-gnueabihf/libexpat.so.1.6.12
83ff7000-83ff8000 rw-p 00022000 08:02 5200       /usr/lib/arm-linux-gnueabihf/libexpat.so.1.6.12
83ff8000-83ff9000 ---p 00000000 00:00 0 
83ff9000-8407a000 rw-p 00000000 00:00 0 
8407a000-8407b000 ---p 00000000 00:00 0 
8407b000-840fc000 rw-p 00000000 00:00 0 
840fc000-840fd000 ---p 00000000 00:00 0 
840fd000-8417e000 rw-p 00000000 00:00 0 
8417e000-841da000 r-xp 00000000 08:02 45039      /usr/lib/arm-linux-gnueabihf/libGLdispatch.so.0.0.0
841da000-841e9000 ---p 0005c000 08:02 45039      /usr/lib/arm-linux-gnueabihf/libGLdispatch.so.0.0.0
841e9000-841fb000 r--p 0005b000 08:02 45039      /usr/lib/arm-linux-gnueabihf/libGLdispatch.so.0.0.0
841fb000-841fc000 rw-p 0006d000 08:02 45039      /usr/lib/arm-linux-gnueabihf/libGLdispatch.so.0.0.0
841fc000-84200000 rw-p 00000000 00:00 0 
84200000-84242000 rw-p 00000000 00:00 0 
84242000-84300000 ---p 00000000 00:00 0 
84324000-84331000 r-xp 00000000 08:02 44965      /usr/lib/arm-linux-gnueabihf/libwayland-server.so.0.1.0
84331000-84340000 ---p 0000d000 08:02 44965      /usr/lib/arm-linux-gnueabihf/libwayland-server.so.0.1.0
84340000-84341000 r--p 0000c000 08:02 44965      /usr/lib/arm-linux-gnueabihf/libwayland-server.so.0.1.0
84341000-84342000 rw-p 0000d000 08:02 44965      /usr/lib/arm-linux-gnueabihf/libwayland-server.so.0.1.0
84342000-84351000 r-xp 00000000 08:02 5189       /usr/lib/arm-linux-gnueabihf/libdrm.so.2.4.0
84351000-84360000 ---p 0000f000 08:02 5189       /usr/lib/arm-linux-gnueabihf/libdrm.so.2.4.0
84360000-84361000 r--p 0000e000 08:02 5189       /usr/lib/arm-linux-gnueabihf/libdrm.so.2.4.0
84361000-84362000 rw-p 0000f000 08:02 5189       /usr/lib/arm-linux-gnueabihf/libdrm.so.2.4.0
84362000-8436d000 r-xp 00000000 08:02 44971      /usr/lib/arm-linux-gnueabihf/libgbm.so.1.0.0
8436d000-8437c000 ---p 0000b000 08:02 44971      /usr/lib/arm-linux-gnueabihf/libgbm.so.1.0.0
8437c000-8437d000 r--p 0000a000 08:02 44971      /usr/lib/arm-linux-gnueabihf/libgbm.so.1.0.0
8437d000-8437e000 rw-p 0000b000 08:02 44971      /usr/lib/arm-linux-gnueabihf/libgbm.so.1.0.0
8437e000-8437f000 ---p 00000000 00:00 0 
8437f000-84400000 rw-p 00000000 00:00 0 
84400000-844ea000 rw-p 00000000 00:00 0 
844ea000-84500000 ---p 00000000 00:00 0 
84500000-84573000 rw-p 00000000 00:00 0 
84573000-84600000 ---p 00000000 00:00 0 
84600000-846fa000 rw-p 00000000 00:00 0 
846fa000-84700000 ---p 00000000 00:00 0 
84702000-84709000 r-xp 00000000 08:02 5206       /usr/lib/arm-linux-gnueabihf/libffi.so.7.1.0
84709000-84718000 ---p 00007000 08:02 5206       /usr/lib/arm-linux-gnueabihf/libffi.so.7.1.0
84718000-84719000 r--p 00006000 08:02 5206       /usr/lib/arm-linux-gnueabihf/libffi.so.7.1.0
84719000-8471a000 rw-p 00007000 08:02 5206       /usr/lib/arm-linux-gnueabihf/libffi.so.7.1.0
8471a000-84728000 r-xp 00000000 08:02 45046      /usr/lib/arm-linux-gnueabihf/libEGL.so.1.1.0
84728000-84738000 ---p 0000e000 08:02 45046      /usr/lib/arm-linux-gnueabihf/libEGL.so.1.1.0
84738000-84739000 r--p 0000e000 08:02 45046      /usr/lib/arm-linux-gnueabihf/libEGL.so.1.1.0
84739000-8473a000 rw-p 0000f000 08:02 45046      /usr/lib/arm-linux-gnueabihf/libEGL.so.1.1.0
8473a000-8473f000 r-xp 00000000 08:02 139439     /home/pi/stream-pi-client/libglass_monocle.so
8473f000-8474e000 ---p 00005000 08:02 139439     /home/pi/stream-pi-client/libglass_monocle.so
8474e000-8474f000 r--p 00004000 08:02 139439     /home/pi/stream-pi-client/libglass_monocle.so
8474f000-84750000 rw-p 00005000 08:02 139439     /home/pi/stream-pi-client/libglass_monocle.so
84750000-84753000 ---p 00000000 00:00 0 
84753000-847a0000 rw-p 00000000 00:00 0 
847b0000-847b3000 ---p 00000000 00:00 0 
847b3000-84800000 rw-p 00000000 00:00 0 
84800000-849f1000 rw-p 00000000 00:00 0 
849f1000-84a00000 ---p 00000000 00:00 0 
84a00000-84af5000 rw-p 00000000 00:00 0 
84af5000-84b00000 ---p 00000000 00:00 0 
84b00000-84b03000 ---p 00000000 00:00 0 
84b03000-84b80000 rw-p 00000000 00:00 0 
84b80000-84b83000 ---p 00000000 00:00 0 
84b83000-84c00000 rw-p 00000000 00:00 0 
84c00000-84cfa000 rw-p 00000000 00:00 0 
84cfa000-84d00000 ---p 00000000 00:00 0 
84d09000-84d25000 r-xp 00000000 08:02 5221       /usr/lib/arm-linux-gnueabihf/libgcc_s.so.1
84d25000-84d34000 ---p 0001c000 08:02 5221       /usr/lib/arm-linux-gnueabihf/libgcc_s.so.1
84d34000-84d35000 r--p 0001b000 08:02 5221       /usr/lib/arm-linux-gnueabihf/libgcc_s.so.1
84d35000-84d36000 rw-p 0001c000 08:02 5221       /usr/lib/arm-linux-gnueabihf/libgcc_s.so.1
84d36000-84d39000 ---p 00000000 00:00 0 
84d39000-84d86000 rw-p 00000000 00:00 0 
84d86000-85000000 r--p 0006d000 08:02 9028       /usr/lib/locale/locale-archive
85000000-85200000 r--p 00000000 08:02 9028       /usr/lib/locale/locale-archive
85200000-852f8000 rw-p 00000000 00:00 0 
852f8000-85300000 ---p 00000000 00:00 0 
85300000-853ee000 rw-p 00000000 00:00 0 
853ee000-85400000 ---p 00000000 00:00 0 
85400000-854b0000 rw-p 00000000 00:00 0 
854b0000-85800000 ---p 00000000 00:00 0 
85800000-858c0000 rw-p 00000000 00:00 0 
858c0000-85c00000 ---p 00000000 00:00 0 
85c0e000-85c11000 ---p 00000000 00:00 0 
85c11000-85c5e000 rw-p 00000000 00:00 0 
85c5e000-85c61000 ---p 00000000 00:00 0 
85c61000-85cde000 rw-p 00000000 00:00 0 
85cde000-85ce1000 ---p 00000000 00:00 0 
85ce1000-85d2e000 rw-p 00000000 00:00 0 
85d2e000-85d31000 ---p 00000000 00:00 0 
85d31000-85d7e000 rw-p 00000000 00:00 0 
85d7e000-85d7f000 ---p 00000000 00:00 0 
85d7f000-85e00000 rw-p 00000000 00:00 0 
85e00000-85e21000 rw-p 00000000 00:00 0 
85e21000-85f00000 ---p 00000000 00:00 0 
85f0f000-85f1c000 r-xp 00000000 08:02 45102      /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2.1.0
85f1c000-85f2b000 ---p 0000d000 08:02 45102      /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2.1.0
85f2b000-85f2d000 r--p 0000c000 08:02 45102      /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2.1.0
85f2d000-85f2e000 rw-p 0000e000 08:02 45102      /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2.1.0
85f2e000-85f31000 ---p 00000000 00:00 0 
85f31000-85f7e000 rw-p 00000000 00:00 0 
85f7e000-85f7f000 ---p 00000000 00:00 0 
85f7f000-86000000 rw-p 00000000 00:00 0 
86000000-86021000 rw-p 00000000 00:00 0 
86021000-86100000 ---p 00000000 00:00 0 
86104000-86109000 r-xp 00000000 08:02 139441     /home/pi/stream-pi-client/libgluon_drm.so
86109000-86111000 ---p 00005000 08:02 139441     /home/pi/stream-pi-client/libgluon_drm.so
86111000-86112000 rw-p 00005000 08:02 139441     /home/pi/stream-pi-client/libgluon_drm.so
86112000-8611d000 r-xp 00000000 08:02 139449     /home/pi/stream-pi-client/libprism_es2_monocle.so
8611d000-8612c000 ---p 0000b000 08:02 139449     /home/pi/stream-pi-client/libprism_es2_monocle.so
8612c000-8612d000 r--p 0000a000 08:02 139449     /home/pi/stream-pi-client/libprism_es2_monocle.so
8612d000-8612e000 rw-p 0000b000 08:02 139449     /home/pi/stream-pi-client/libprism_es2_monocle.so
8612e000-86131000 ---p 00000000 00:00 0 
86131000-8617e000 rw-p 00000000 00:00 0 
8617e000-8617f000 ---p 00000000 00:00 0 
8617f000-86200000 rw-p 00000000 00:00 0 
86200000-862e1000 rw-p 00000000 00:00 0 
862e1000-86300000 ---p 00000000 00:00 0 
8630a000-8631d000 r-xp 00000000 08:02 139247     /home/pi/jdk-17.0.1+12/lib/libnet.so
8631d000-8632c000 ---p 00013000 08:02 139247     /home/pi/jdk-17.0.1+12/lib/libnet.so
8632c000-8632d000 r--p 00012000 08:02 139247     /home/pi/jdk-17.0.1+12/lib/libnet.so
8632d000-8632e000 rw-p 00013000 08:02 139247     /home/pi/jdk-17.0.1+12/lib/libnet.so
8632e000-86331000 ---p 00000000 00:00 0 
86331000-8637e000 rw-p 00000000 00:00 0 
8637e000-8637f000 ---p 00000000 00:00 0 
8637f000-86400000 rw-p 00000000 00:00 0 
86400000-864f2000 rw-p 00000000 00:00 0 
864f2000-86500000 ---p 00000000 00:00 0 
8650c000-86512000 r-xp 00000000 08:02 139259     /home/pi/jdk-17.0.1+12/lib/libzip.so
86512000-86521000 ---p 00006000 08:02 139259     /home/pi/jdk-17.0.1+12/lib/libzip.so
86521000-86522000 r--p 00005000 08:02 139259     /home/pi/jdk-17.0.1+12/lib/libzip.so
86522000-86523000 rw-p 00006000 08:02 139259     /home/pi/jdk-17.0.1+12/lib/libzip.so
86523000-8657e000 rw-p 00000000 00:00 0 
8657e000-8657f000 ---p 00000000 00:00 0 
8657f000-86600000 rw-p 00000000 00:00 0 
86600000-86621000 rw-p 00000000 00:00 0 
86621000-86700000 ---p 00000000 00:00 0 
86703000-86712000 r-xp 00000000 08:02 134919     /home/pi/jdk-17.0.1+12/lib/libnio.so
86712000-86721000 ---p 0000f000 08:02 134919     /home/pi/jdk-17.0.1+12/lib/libnio.so
86721000-86722000 r--p 0000e000 08:02 134919     /home/pi/jdk-17.0.1+12/lib/libnio.so
86722000-86723000 rw-p 0000f000 08:02 134919     /home/pi/jdk-17.0.1+12/lib/libnio.so
86723000-867dc000 rw-p 00000000 00:00 0 
867dc000-87254000 ---p 00000000 00:00 0 
87254000-872cc000 rw-p 00000000 00:00 0 
872cc000-87d44000 ---p 00000000 00:00 0 
87d44000-87d53000 rw-p 00000000 00:00 0 
87d53000-87ea2000 ---p 00000000 00:00 0 
87ea2000-87eb1000 rw-p 00000000 00:00 0 
87eb1000-88000000 ---p 00000000 00:00 0 
88000000-89e00000 rw-p 00000000 00:00 0 
89e00000-b3c00000 ---p 00000000 00:00 0 
b3c00000-b3c07000 r--s 00000000 08:02 5738       /usr/lib/arm-linux-gnueabihf/gconv/gconv-modules.cache
b3c07000-b3c08000 ---p 00000000 00:00 0 
b3c08000-b3c98000 rw-p 00000000 00:00 0 
b3c98000-b3de7000 ---p 00000000 00:00 0 
b3de7000-b3dea000 rw-p 00000000 00:00 0 
b3dea000-b3e27000 ---p 00000000 00:00 0 
b3e27000-b3fa7000 rwxp 00000000 00:00 0 
b3fa7000-b5e27000 ---p 00000000 00:00 0 
b5e27000-b5e42000 r-xp 00000000 08:02 134901     /home/pi/jdk-17.0.1+12/lib/libjava.so
b5e42000-b5e52000 ---p 0001b000 08:02 134901     /home/pi/jdk-17.0.1+12/lib/libjava.so
b5e52000-b5e53000 r--p 0001b000 08:02 134901     /home/pi/jdk-17.0.1+12/lib/libjava.so
b5e53000-b5e54000 rw-p 0001c000 08:02 134901     /home/pi/jdk-17.0.1+12/lib/libjava.so
b5e54000-b5e5e000 r-xp 00000000 08:02 5327       /usr/lib/arm-linux-gnueabihf/libnss_files-2.31.so
b5e5e000-b5e6d000 ---p 0000a000 08:02 5327       /usr/lib/arm-linux-gnueabihf/libnss_files-2.31.so
b5e6d000-b5e6e000 r--p 00009000 08:02 5327       /usr/lib/arm-linux-gnueabihf/libnss_files-2.31.so
b5e6e000-b5e6f000 rw-p 0000a000 08:02 5327       /usr/lib/arm-linux-gnueabihf/libnss_files-2.31.so
b5e6f000-b5e75000 rw-p 00000000 00:00 0 
b5e75000-b5fdb000 r--s 00000000 08:02 139257     /home/pi/jdk-17.0.1+12/lib/modules
b5fdb000-b5fee000 r-xp 00000000 08:02 139197     /home/pi/jdk-17.0.1+12/lib/libjimage.so
b5fee000-b5ffe000 ---p 00013000 08:02 139197     /home/pi/jdk-17.0.1+12/lib/libjimage.so
b5ffe000-b5fff000 r--p 00013000 08:02 139197     /home/pi/jdk-17.0.1+12/lib/libjimage.so
b5fff000-b6000000 rw-p 00014000 08:02 139197     /home/pi/jdk-17.0.1+12/lib/libjimage.so
b6000000-b60f3000 rw-p 00000000 00:00 0 
b60f3000-b6100000 ---p 00000000 00:00 0 
b6104000-b6110000 rw-p 00000000 00:00 0 
b6110000-b6118000 rw-s 00000000 08:02 280189     /tmp/hsperfdata_pi/887
b6118000-b611b000 ---p 00000000 00:00 0 
b611b000-b6168000 rw-p 00000000 00:00 0 
b6168000-b61c6000 r-xp 00000000 08:02 5289       /usr/lib/arm-linux-gnueabihf/libm-2.31.so
b61c6000-b61d5000 ---p 0005e000 08:02 5289       /usr/lib/arm-linux-gnueabihf/libm-2.31.so
b61d5000-b61d6000 r--p 0005d000 08:02 5289       /usr/lib/arm-linux-gnueabihf/libm-2.31.so
b61d6000-b61d7000 rw-p 0005e000 08:02 5289       /usr/lib/arm-linux-gnueabihf/libm-2.31.so
b61d7000-b61dd000 r-xp 00000000 08:02 5374       /usr/lib/arm-linux-gnueabihf/librt-2.31.so
b61dd000-b61ed000 ---p 00006000 08:02 5374       /usr/lib/arm-linux-gnueabihf/librt-2.31.so
b61ed000-b61ee000 r--p 00006000 08:02 5374       /usr/lib/arm-linux-gnueabihf/librt-2.31.so
b61ee000-b61ef000 rw-p 00007000 08:02 5374       /usr/lib/arm-linux-gnueabihf/librt-2.31.so
b61ef000-b6d18000 r-xp 00000000 08:02 139201     /home/pi/jdk-17.0.1+12/lib/server/libjvm.so
b6d18000-b6d27000 ---p 00b29000 08:02 139201     /home/pi/jdk-17.0.1+12/lib/server/libjvm.so
b6d27000-b6d6c000 r--p 00b28000 08:02 139201     /home/pi/jdk-17.0.1+12/lib/server/libjvm.so
b6d6c000-b6d83000 rw-p 00b6d000 08:02 139201     /home/pi/jdk-17.0.1+12/lib/server/libjvm.so
b6d83000-b6dac000 rw-p 00000000 00:00 0 
b6dac000-b6eeb000 r-xp 00000000 08:02 5155       /usr/lib/arm-linux-gnueabihf/libc-2.31.so
b6eeb000-b6efa000 ---p 0013f000 08:02 5155       /usr/lib/arm-linux-gnueabihf/libc-2.31.so
b6efa000-b6efc000 r--p 0013e000 08:02 5155       /usr/lib/arm-linux-gnueabihf/libc-2.31.so
b6efc000-b6efe000 rw-p 00140000 08:02 5155       /usr/lib/arm-linux-gnueabihf/libc-2.31.so
b6efe000-b6f00000 rw-p 00000000 00:00 0 
b6f00000-b6f03000 r-xp 00000000 08:02 5185       /usr/lib/arm-linux-gnueabihf/libdl-2.31.so
b6f03000-b6f12000 ---p 00003000 08:02 5185       /usr/lib/arm-linux-gnueabihf/libdl-2.31.so
b6f12000-b6f13000 r--p 00002000 08:02 5185       /usr/lib/arm-linux-gnueabihf/libdl-2.31.so
b6f13000-b6f14000 rw-p 00003000 08:02 5185       /usr/lib/arm-linux-gnueabihf/libdl-2.31.so
b6f14000-b6f2c000 r-xp 00000000 08:02 5366       /usr/lib/arm-linux-gnueabihf/libpthread-2.31.so
b6f2c000-b6f3c000 ---p 00018000 08:02 5366       /usr/lib/arm-linux-gnueabihf/libpthread-2.31.so
b6f3c000-b6f3d000 r--p 00018000 08:02 5366       /usr/lib/arm-linux-gnueabihf/libpthread-2.31.so
b6f3d000-b6f3e000 rw-p 00019000 08:02 5366       /usr/lib/arm-linux-gnueabihf/libpthread-2.31.so
b6f3e000-b6f40000 rw-p 00000000 00:00 0 
b6f40000-b6f4e000 r-xp 00000000 08:02 139264     /home/pi/jdk-17.0.1+12/lib/libjli.so
b6f4e000-b6f5d000 ---p 0000e000 08:02 139264     /home/pi/jdk-17.0.1+12/lib/libjli.so
b6f5d000-b6f5e000 r--p 0000d000 08:02 139264     /home/pi/jdk-17.0.1+12/lib/libjli.so
b6f5e000-b6f5f000 rw-p 0000e000 08:02 139264     /home/pi/jdk-17.0.1+12/lib/libjli.so
b6f5f000-b6f76000 r-xp 00000000 08:02 5435       /usr/lib/arm-linux-gnueabihf/libz.so.1.2.11
b6f76000-b6f85000 ---p 00017000 08:02 5435       /usr/lib/arm-linux-gnueabihf/libz.so.1.2.11
b6f85000-b6f86000 r--p 00016000 08:02 5435       /usr/lib/arm-linux-gnueabihf/libz.so.1.2.11
b6f86000-b6f87000 rw-p 00017000 08:02 5435       /usr/lib/arm-linux-gnueabihf/libz.so.1.2.11
b6f87000-b6f8b000 r-xp 00000000 08:02 5123       /usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so
b6f8b000-b6f9a000 ---p 00004000 08:02 5123       /usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so
b6f9a000-b6f9b000 r--p 00003000 08:02 5123       /usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so
b6f9b000-b6f9c000 rw-p 00004000 08:02 5123       /usr/lib/arm-linux-gnueabihf/libarmmem-v7l.so
b6f9c000-b6fbe000 r-xp 00000000 08:02 5016       /usr/lib/arm-linux-gnueabihf/ld-2.31.so
b6fc1000-b6fc3000 rw-p 00000000 00:00 0 
b6fc9000-b6fca000 ---p 00000000 00:00 0 
b6fca000-b6fcb000 r--p 00000000 00:00 0 
b6fcb000-b6fcc000 ---p 00000000 00:00 0 
b6fcc000-b6fce000 rw-p 00000000 00:00 0 
b6fce000-b6fcf000 r--p 00022000 08:02 5016       /usr/lib/arm-linux-gnueabihf/ld-2.31.so
b6fcf000-b6fd0000 rw-p 00023000 08:02 5016       /usr/lib/arm-linux-gnueabihf/ld-2.31.so
bed31000-bed52000 rw-p 00000000 00:00 0          [stack]
befaf000-befb0000 r-xp 00000000 00:00 0          [sigpage]
befb0000-befb1000 r--p 00000000 00:00 0          [vvar]
befb1000-befb2000 r-xp 00000000 00:00 0          [vdso]
ffff0000-ffff1000 r-xp 00000000 00:00 0          [vectors]

VM Arguments:
jvm_args: -Xmx700m -Dcom.sun.javafx.touch=true -Dcom.sun.javafx.isEmbedded=true -Djavafx.verbose=true -Dprism.lcdtext=false -Dprism.verbose=true -Dcom.sun.javafx.virtualKeyboard=javafx -Dembedded=monocle -Dglass.platform=Monocle -Dmonocle.platform=EGL -Djava.library.path=. -Dmonocle.egl.lib=./libgluon_drm.so -Degl.displayid=/dev/dri/card0 -DStream-Pi.enableScreenSaverFeature=true -DStream-Pi.showShutDownButton=true -DStream-Pi.startupRunnerFileName=run_console -DStream-Pi.isXMode=false -DStream-Pi.isShowFullScreenToggleButton=false -DStream-Pi.defaultFullScreenMode=true --module-path=. --add-modules=ALL-MODULE-PATH 
java_command: com.stream_pi.client.Main
java_class_path (initial): .
Launcher Type: SUN_STANDARD

[Global flags]
     intx CICompilerCount                          = 3                                         {product} {ergonomic}
     uint ConcGCThreads                            = 1                                         {product} {ergonomic}
     uint G1ConcRefinementThreads                  = 4                                         {product} {ergonomic}
   size_t G1HeapRegionSize                         = 1048576                                   {product} {ergonomic}
    uintx GCDrainStackTargetSize                   = 64                                        {product} {ergonomic}
   size_t InitialHeapSize                          = 31457280                                  {product} {ergonomic}
   size_t MarkStackSize                            = 32768                                     {product} {ergonomic}
   size_t MaxHeapSize                              = 734003200                                 {product} {command line}
   size_t MaxNewSize                               = 440401920                                 {product} {ergonomic}
   size_t MinHeapDeltaBytes                        = 1048576                                   {product} {ergonomic}
   size_t MinHeapSize                              = 6291456                                   {product} {ergonomic}
    uintx NonProfiledCodeHeapSize                  = 0                                      {pd product} {ergonomic}
    uintx ProfiledCodeHeapSize                     = 0                                      {pd product} {ergonomic}
   size_t SoftMaxHeapSize                          = 734003200                              {manageable} {ergonomic}
     bool UseG1GC                                  = true                                      {product} {ergonomic}

Logging:
Log output configuration:
 #0: stdout all=warning uptime,level,tags
 #1: stderr all=off uptime,level,tags

Environment Variables:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games:/home/pi/jdk-17.0.1+12/bin
SHELL=/bin/bash
LANG=en_GB.UTF-8

Signal Handlers:
   SIGSEGV: crash_handler in libjvm.so, mask=11100100010111111101111111111110, flags=SA_RESTART|SA_SIGINFO
    SIGBUS: crash_handler in libjvm.so, mask=11100100010111111101111111111110, flags=SA_RESTART|SA_SIGINFO
    SIGFPE: crash_handler in libjvm.so, mask=11100100010111111101111111111110, flags=SA_RESTART|SA_SIGINFO
   SIGPIPE: javaSignalHandler in libjvm.so, mask=11100100010111111101111111111110, flags=SA_RESTART|SA_SIGINFO
   SIGXFSZ: javaSignalHandler in libjvm.so, mask=11100100010111111101111111111110, flags=SA_RESTART|SA_SIGINFO
    SIGILL: crash_handler in libjvm.so, mask=11100100010111111101111111111110, flags=SA_RESTART|SA_SIGINFO
   SIGUSR2: SR_handler in libjvm.so, mask=00000000000000000000000000000000, flags=SA_RESTART|SA_SIGINFO
    SIGHUP: UserHandler in libjvm.so, mask=11100100010111111101111111111110, flags=SA_RESTART|SA_SIGINFO
    SIGINT: UserHandler in libjvm.so, mask=11100100010111111101111111111110, flags=SA_RESTART|SA_SIGINFO
   SIGTERM: UserHandler in libjvm.so, mask=11100100010111111101111111111110, flags=SA_RESTART|SA_SIGINFO
   SIGQUIT: UserHandler in libjvm.so, mask=11100100010111111101111111111110, flags=SA_RESTART|SA_SIGINFO
   SIGTRAP: crash_handler in libjvm.so, mask=11100100010111111101111111111110, flags=SA_RESTART|SA_SIGINFO

---------------  S Y S T E M  ---------------

OS:
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
uname: Linux 5.10.79-v7l+ #1 SMP Sat Nov 20 15:08:43 IST 2021 armv7l
OS uptime: 0 days 0:00 hours
libc: glibc 2.31 NPTL 2.31 
rlimit (soft/hard): STACK 8192k/infinity , CORE 0k/infinity , NPROC 11981/11981 , NOFILE 1048576/1048576 , AS infinity/infinity , CPU infinity/infinity , DATA infinity/infinity , FSIZE infinity/infinity , MEMLOCK 232913k/232913k
load average: 0.83 0.21 0.07

/proc/meminfo:
MemTotal:        1863304 kB
MemFree:         1642628 kB
MemAvailable:    1693108 kB
Buffers:           14928 kB
Cached:           102852 kB
SwapCached:            0 kB
Active:            43540 kB
Inactive:         129836 kB
Active(anon):        528 kB
Inactive(anon):    55932 kB
Active(file):      43012 kB
Inactive(file):    73904 kB
Unevictable:          16 kB
Mlocked:              16 kB
HighTotal:       1178624 kB
HighFree:        1011548 kB
LowTotal:         684680 kB
LowFree:          631080 kB
SwapTotal:        102396 kB
SwapFree:         102396 kB
Dirty:              4272 kB
Writeback:             0 kB
AnonPages:         55692 kB
Mapped:            51492 kB
Shmem:               848 kB
KReclaimable:      11040 kB
Slab:              24644 kB
SReclaimable:      11040 kB
SUnreclaim:        13604 kB
KernelStack:        1448 kB
PageTables:         1600 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     1034048 kB
Committed_AS:     174980 kB
VmallocTotal:     245760 kB
VmallocUsed:        5748 kB
VmallocChunk:          0 kB
Percpu:              528 kB
CmaTotal:         327680 kB
CmaFree:          316532 kB

/sys/kernel/mm/transparent_hugepage/enabled: <Not Available>
/sys/kernel/mm/transparent_hugepage/defrag (defrag/compaction efforts parameter): <Not Available>

Process Memory:
Virtual Size: 852420K (peak: 2993660K)
Resident Set Size: 59052K (peak: 59052K) (anon: 37800K, file: 21252K, shmem: 0K)
Swapped out: 0K
C-Heap outstanding allocations: 13160K

/proc/sys/kernel/threads-max (system-wide limit on the number of threads): 23962
/proc/sys/vm/max_map_count (maximum number of memory map areas a process may have): 65530
/proc/sys/kernel/pid_max (system-wide limit on number of process identifiers): 32768

/etc/ld.so.preload:
/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so

Steal ticks since vm start: 0
Steal ticks percentage since vm start:  0.000

CPU: total 4 (initial active 4) (ARMv7), vfp, vfp3-32, simd, mp_ext
/proc/cpuinfo:
processor       : 0
model name      : ARMv7 Processor rev 3 (v7l)
BogoMIPS        : 270.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd08
CPU revision    : 3

processor       : 1
model name      : ARMv7 Processor rev 3 (v7l)
BogoMIPS        : 270.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd08
CPU revision    : 3

processor       : 2
model name      : ARMv7 Processor rev 3 (v7l)
BogoMIPS        : 270.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd08
CPU revision    : 3

processor       : 3
model name      : ARMv7 Processor rev 3 (v7l)
BogoMIPS        : 270.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd08
CPU revision    : 3

Hardware        : BCM2711
Revision        : b03112
Serial          : 100000002a74372c
Model           : Raspberry Pi 4 Model B Rev 1.2

Online cpus: 0-3
Offline cpus: 

Memory: 4k page, physical 1863304k(1642628k free), swap 102396k(102396k free)
Page Sizes: 4k

vm_info: OpenJDK Server VM (17.0.1+12) for linux-arm JRE (17.0.1+12), built on Oct 20 2021 12:32:22 by "jenkins" with gcc 7.5.0

END.
johanvos commented 3 years ago

Thanks for reporting. I have 2 additional questions:

  1. Is this on a Pi 3?
  2. How do you switch between FKMS and KMS?
  3. What kind of display do you have?
rnayabed commented 3 years ago
  1. No this is a Pi 4B 2GB variant. I'll try it in a few different models as well.
  2. On earlier versions of raspbian, the raspi-config tool allowed switching between fkms and kms easily. But since bullseye it looks like they have removed ability to switch to fkms from the raspi-config tool.

You can still change to fkms on the latest version by adding dtoverlay=vc4-fkms-v3d in /boot/config.txt. To use KMS, simply use dtoverlay=vc4-kms-v3d instead.

FKMS is fake KMS, and it looks like the default version of raspbian now uses the KMS driver by default and not the FKMS driver.

  1. I use a Wave share 7" 1024x600 display. However since these screens have incorrect EDID/hotplugging readings, I have to add video=HDMI-A-1:1024x600M@60D at the end of /boot/cmdline.txt without any Line endings or else the display didn't work in KMS mode. (It worked in FKMS mode without this modification because FKMS doesn't support hotplugging anyways)
rnayabed commented 3 years ago

@johanvos

johanvos commented 3 years ago

Thanks, I'll have a look later.