Git Product home page Git Product logo

Comments (15)

fgnm avatar fgnm commented on May 9, 2024 1

Hi, thank you so much for interesting in the project!
Indeed on some display could be quite unusable.. I've some ideas on how to adjust viewport scale for high resolutions, let me few days for testing it

from hyperlap2d.

fgnm avatar fgnm commented on May 9, 2024 1

I close this one, as original topic is fixed ;)

from hyperlap2d.

fgnm avatar fgnm commented on May 9, 2024

Hey @ambs take a look to latest snapshot here, there's a new setting that allow to change UI viewport density. It may not looks sharp when upscale UI, but at moment this is the best result I can achieve, let me know how it looks.

from hyperlap2d.

ambs avatar ambs commented on May 9, 2024

Hi. Testing on my laptop (also 4K display), running Linux, my X11 goes of the peak using 100% cpu, and system gets unusable.
I have no idea if that is a result of your change, or if this is a specific problem on my laptop.

Tomorrow I will test on the original machine and let you know.
Thanks

from hyperlap2d.

fgnm avatar fgnm commented on May 9, 2024

Uhm that's sounds bad, it might be related to recent switch on OpenGL 3.2... Please can you try this other snapshot? It's the latest one before new GL version

from hyperlap2d.

ambs avatar ambs commented on May 9, 2024

With that version I get the 110% CPU for the HyperLap binary (not the X11).
Also, tried to find the option for bigger UI, but without luck.
Thanks

from hyperlap2d.

fgnm avatar fgnm commented on May 9, 2024

Sorry if I ask, may you try this other snapshot? 😄 I'd like to identify high CPU reason becasue isn't really normal..

Regarding scale UI option it's here (of course this is available only in the latest snapshot), it's a slider, less density means big UI:
image

from hyperlap2d.

ambs avatar ambs commented on May 9, 2024

Unfortunately I do not have big news. Still high CPU usage. Give me a minute to test the latest "stable" version.

from hyperlap2d.

ambs avatar ambs commented on May 9, 2024

OK, 0.0.5 is not running properly on my laptop (high cpu usage).
For reference, I am running Linux Mint, using nvidia geforce directly on X11.
I am happy to help debugging, f you give more details on how to do that.
Cheers

from hyperlap2d.

fgnm avatar fgnm commented on May 9, 2024

Thanks for the info, I usually work on Ubuntu using X11 + Radeon driver without issues.. Since any configuration of vSync and thread sync doesn't work properly on your machine all can I imagine now is a driver issue, that may be related to libGDX itself.. I'll try to find a machine where to reproduce this bug, meanwhile would be very helpful a report from a profiler while running hyperlap.. Have you ever worked with VisualVM?

Also feel free to join Discord server :)

from hyperlap2d.

ambs avatar ambs commented on May 9, 2024

Hi. Didn't notice the Discord server. Will do it as soon as I can.
No, never used VisualVM.
Tried 0.0.5 on my tower, and hyperlap works without cpu issues.

from hyperlap2d.

fgnm avatar fgnm commented on May 9, 2024

With VisualVM you should be able to see which part of the code is consuming so much on the laptop CPU.. You may try to use it and see what's going on. I think you'll need to run hyperlap from source. Unfortunately I'm not able to reproduce the issue.

from hyperlap2d.

ambs avatar ambs commented on May 9, 2024

during the weekend will try to understand what might be going on. During the week is hard to get some time...

from hyperlap2d.

ambs avatar ambs commented on May 9, 2024

Was testing running the binary, and see its output. I do not think this is relevant, but I'm sharing anyway:

Loading Proxies...
Loading Views...
HyperLap2D 0.0.5
Linux [5.4.0-67-generic - amd64]
NVIDIA Corporation GeForce GTX 960M/PCIe/SSE2
Screen size 3840 x 2160
GL version 4.6.0 NVIDIA 450.102.04
Shaders version 4.60 NVIDIA
Loading Commands...
Loading Plugins...
Plugins directory: /opt/hyperlap2d/lib/app/plugins
Plugins loaded: 4
Plugins directory: /home/ambs/.hyperlap2d/plugins
Plugins loaded: 0
Plugins directory: /opt/hyperlap2d/bin/plugins
Plugins loaded: 0
Initializing...
[GLProfiler] Error GL_INVALID_ENUM from glClearColor
Content-Type = application/json; charset=utf-8
Content-Disposition = null
Content-Length = 5878

from hyperlap2d.

ambs avatar ambs commented on May 9, 2024

As a sidenode, built from GIT, and the zoom is working :-)

from hyperlap2d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.