korge icon indicating copy to clipboard operation
korge copied to clipboard

kTree and Particle emitter lag on Intellij

Open feliperce opened this issue 3 years ago • 7 comments

kTree and Particle emitter are lagging on Intellij 2021.1 If I open kTree, Intellij freezes all tabs, I can't close any and I can't move anything in ktree, just create. All project freeze if I open kTree or Particle Emitter

Using on Ubuntu 20.10. nvidia RTX 2070 SUPER

feliperce avatar Apr 22 '21 01:04 feliperce

Can you by chance record a video showing the issue?

soywiz avatar Apr 23 '21 10:04 soywiz

https://user-images.githubusercontent.com/6944875/115932438-57ff5180-a463-11eb-98d2-18a7362881e6.mp4

feliperce avatar Apr 23 '21 21:04 feliperce

Can you by chance record a video showing the issue?

On Windows are not freezing like on Linux, but I can't change tabs if open ktree too... And I noticed that ktree text are empty, look at the video:

https://user-images.githubusercontent.com/6944875/116171043-686f3080-a6de-11eb-97a0-91238c1d63d0.mp4

feliperce avatar Apr 27 '21 01:04 feliperce

I'll try to reproduce it

soywiz avatar Apr 28 '21 19:04 soywiz

I noticed that the problem of freezing is in the JVM, I can't run the JAR, it has a lot of lag, but I can run via JavaScript and Native (Linux). I can run games jar like Minecraft

Terminal log: (running .jar)

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.soywiz.korgw.internal.MicroDynamic (file:/home/felipe/IdeaProjects/MolesAttack/build/libs/MolesAttack-all-4.10.1.jar) to method sun.awt.AWTAccessor.getComponentAccessor()
WARNING: Please consider reporting this to the maintainers of com.soywiz.korgw.internal.MicroDynamic
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
NOT Using DisplayLink
running: Thread[main,5,main]
VI: native@0x7f20d4095e70 (doubleBuffer=true, depth=24, bitsPerColorComponent=8, specifyRenderType=true)
Preparing OpenGL context. Screen: 0
VI: native@0x7f20d4095e70
d: native@0x7f20d407ea70 (com.sun.jna.platform.unix.X11$Display@d4086990), w: 0x300001c, s: 0, VI: native@0x7f20d4095e70, glc: native@0x7f20d41521f8
GL_RENDERER: 'GeForce RTX 2070 SUPER/PCIe/SSE2'
GL_VENDOR: 'NVIDIA Corporation'
GL_VERSION: '4.6.0 NVIDIA 460.73.01'
GL_EXTENSIONS: 399
swapIntervalEXT: Proxy interface to native function@0x7f21248b9dc0 (com.soywiz.korgw.x11.X11GameWindow$glXSwapIntervalEXTCallback)

feliperce avatar May 03 '21 02:05 feliperce

Can you use jvisualvm to profile the executed jar? Maybe there is something that delays the stuff, that happens in your specific setup

soywiz avatar May 03 '21 07:05 soywiz

When going to tree editor I cannot switch to other tabs or files. When switching to text I can go to another files, but text only has one empty container tag even if I add elements to the tree. Intellij 2021.1 on Windows.

  • When in Preview, intellij is stuck on the editor, not allowing to see other files.
  • Changes to the tree are not saved. The tree is always empty.

Korge plugin 2.0.6.1

alex199568 avatar May 09 '21 13:05 alex199568