Giter VIP home page Giter VIP logo

Comments (6)

taysta avatar taysta commented on May 27, 2024 2

I found part of the cause of this issue but not sure the exact reason why its doing this.

When you turn developer on you can see that it is spamming trying to load font: Can't find fonts/arialnb_sharp1.fontdat

cc @Daggolin

Related to PR #1184 / 97c7291

Also seems to only affect SP, not MP.

Upon further analysis, it seems related to Item_Paint -> (a text item with keyword descText) triggers 2 calls to MenuFontToReal(4) which polls UI_RegisterFont 2x per frame of rendering each object in the menu that has the descText when hovering over them.

Seems the intention is to use 4 == smallFont2 which is arialnb however smallFont2 is not referenced in SP menu registration code like it is in MP.

Actually, if you look at vanilla jasp main.menu there is:

		smallFont				"aurabesh" 	18	
		mediumFont				"ergoec" 	18
		bigFont					"anewhope" 	20
		smallFont				"arialnb" 	14	

So I'm not sure which one is really referenced in the menu parser.

#1221
Have just opened this PR that seems related.

from openjk.

ensiform avatar ensiform commented on May 27, 2024 1

I found part of the cause of this issue but not sure the exact reason why its doing this.

When you turn developer on you can see that it is spamming trying to load font:
Can't find fonts/arialnb_sharp1.fontdat

cc @Daggolin

Related to PR #1184 / 97c7291

Also seems to only affect SP, not MP.

Upon further analysis, it seems related to Item_Paint -> (a text item with keyword descText) triggers 2 calls to MenuFontToReal(4) which polls UI_RegisterFont 2x per frame of rendering each object in the menu that has the descText when hovering over them.

Seems the intention is to use 4 == smallFont2 which is arialnb however smallFont2 is not referenced in SP menu registration code like it is in MP.

Actually, if you look at vanilla jasp main.menu there is:

		smallFont				"aurabesh" 	18	
		mediumFont				"ergoec" 	18
		bigFont					"anewhope" 	20
		smallFont				"arialnb" 	14	

So I'm not sure which one is really referenced in the menu parser.

from openjk.

Jon-guy30 avatar Jon-guy30 commented on May 27, 2024

Today I downloaded and installed OBS, I recorded a short video clip demonstrating this issue.

If you're interested in seeing it. just tell me, I'll upload to youtube. I also recorded the multiplayer bot issue.

from openjk.

ensiform avatar ensiform commented on May 27, 2024

Wonder if this is caused by newer SDL and certain OS and hardware configurations depending on the backend used.

This commit and possibly others could be related

etlegacy/etlegacy@beb4f92

from openjk.

Jon-guy30 avatar Jon-guy30 commented on May 27, 2024

LOL "Setting lower sample count improves audio latency, at the cost of potentially introducing audio issues, such as cracking."

My PC is 6 cores 6 threads, 32GB RAM with integrated Intel graphics. Theoretically I shouldn't experience this.

Could my PC be TOO FAST???

from openjk.

Jon-guy30 avatar Jon-guy30 commented on May 27, 2024

Here's the video I made.

https://www.youtube.com/watch?v=n_apTiRtZ54

from openjk.

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.