Giter VIP home page Giter VIP logo

Comments (17)

fredemmott avatar fredemmott commented on May 30, 2024 1

Retitled based on discord discussion - in particular that this isn’t specific to openkneeboard.

from openkneeboard.

fredemmott avatar fredemmott commented on May 30, 2024 1

Yes, but please separately try commenting out the gaze stuff (https://github.com/fredemmott/OpenKneeboard/blob/master/src/app/okOpenVRThread.cpp#L141-L180) if the latest version doesn't resolve it

from openkneeboard.

000Ready000 avatar 000Ready000 commented on May 30, 2024 1

from openkneeboard.

fredemmott avatar fredemmott commented on May 30, 2024

This is fine for me with steamvr with a 3090ti and Oculus Quest; most obvious differences are:

  • GPU memory - and 3070 (8gb) vs 3090 (24gb) more generally
  • Oculus vs WMR+HP drivers

Things to check performance of:

  • getting an IVROverlay* (this is the API, not the object representing our specific overlay)
  • handling gaze zoom
    • fetching position
    • built-in "is headset pointing at this overlay" function
  • SetOverlayWidthInMeters, even when no change
  • polling for overlay events
  • texture
    • BGRA vs RGBA textures (BGRA is needed for other systems, e.g. Direct2D, but conversion can be done outside of OpenVR if needed)
    • alpha (translucency); already done in the most efficient way, may need to be disabled or optional
  • SetOverlayTransformAbsolute, even if no change (unlikely: only done when page/tab changes)
  • GPU RAM
  • some other issue in SteamVR/WMR/HP drivers
  • some other issue in OpenKneeboard

I don't currently have ideas for distinguishing between the last 3 cases.

from openkneeboard.

fredemmott avatar fredemmott commented on May 30, 2024

SetOverlayWidthInMeters, even when no change

If 30115cb (and corresponding build, click on the colored dot when it's green if you're not building yourself) fixes it, this was the problem, otherwise it's ruled out

handling gaze zoom

If commenting out the lines I mentioned in discord fixes it, it's one of these subproblems, otherwise it's ruled out

from openkneeboard.

fredemmott avatar fredemmott commented on May 30, 2024

Ticked options are addressed in latest build, don't know if they're the cause though.

from openkneeboard.

fritzcloud avatar fritzcloud commented on May 30, 2024

Ticked options are addressed in latest build, don't know if they're the cause though.

So with the latest GitHub action build I can try again?

from openkneeboard.

fredemmott avatar fredemmott commented on May 30, 2024

GPU RAM
some other issue in OpenKneeboard

I'm not able to get meaningful numbers for OpenKneeboard here - https://docs.microsoft.com/en-us/troubleshoot/windows-client/performance/gpu-process-memory-counters-report-wrong-value kicks in so they're nonsense. I can easily make it say I'm using 3TB of GPU memory.

from openkneeboard.

000Ready000 avatar 000Ready000 commented on May 30, 2024

Hi I am also using a G2 and am having similar degraded performance with VRK. Is there any way I can help to test? I would really love to have OpenKneeboard working, because it is very promising.

from openkneeboard.

fredemmott avatar fredemmott commented on May 30, 2024

Are you able to build yourself? If not, try downloading the 'OpenKneeboard-RelWithDebInfo' version from https://github.com/fredemmott/OpenKneeboard/actions/runs/1779544249

If that works without issues for you, great, this might be fixed :)

If that doesn't fix the problem, you're comfortable building from source and already familiar with cmake + visual studio, the next step is seeing if commenting out https://github.com/fredemmott/OpenKneeboard/blob/master/src/app/okOpenVRThread.cpp#L141-L180 fixes it; if not https://github.com/fredemmott/OpenKneeboard/blob/master/src/app/okOpenVRThread.cpp#L130-L139

If neither, and you're familiar with direct2d or direct3d, try changing the texture format

If none of those, seems likely to be an unworkable issue with steamvr/winvr/HP drivers

from openkneeboard.

fredemmott avatar fredemmott commented on May 30, 2024

commenting those sections out removes functionality - the purpose of commenting them out isn't to fix it, just to identify which parts of the openvr API are slowing things down.

from openkneeboard.

000Ready000 avatar 000Ready000 commented on May 30, 2024

Hi sorry I forgot to say, I am not a programmer, just an enthusiastic DCS player. I am only able to put files in folders using OVGME and adjusting some basic configuration files in plain text.

from openkneeboard.

fredemmott avatar fredemmott commented on May 30, 2024

If not, try downloading the 'OpenKneeboard-RelWithDebInfo' version from https://github.com/fredemmott/OpenKneeboard/actions/runs/1779544249

You should see this in the artifacts section - it's a zip file; extract it, then in bin/ you'll have OpenKneeboard.exe - try that :)

from openkneeboard.

fredemmott avatar fredemmott commented on May 30, 2024

Can anyone confirm whether or not this is still an issue?

from openkneeboard.

fritzcloud avatar fritzcloud commented on May 30, 2024

I am not at home as well. Can only test in a week or so

from openkneeboard.

fredemmott avatar fredemmott commented on May 30, 2024

Closing: no reports of this in a long time, and several g2 users are happy

built-in "is headset pointing at this overlay" function

Coincidentally removes this in 64b5656 as part of #39

from openkneeboard.

fredemmott avatar fredemmott commented on May 30, 2024

Following up, problems resolved for original reporter (@Sirtz ) by using OpenComposite + the openxr alpha instead of steamvr

from openkneeboard.

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.