Comments (9)
That's not good.
Any more details? Does the game minimize? Is it running in a window? It sounds like vsync is enabled in the window, but then NOT enabled once it becomes minimized, allowing the frame rates to become unchecked.
Can you run it from the terminal? Then it will print frame rates as it runs, so you can check if the above theory is true. What is the fps foreground vs background?
from onelife.
Little more investigation and it happens only when game windows is not visible at all (covered beside other app). There is video https://v.usetapes.com/RIvrt3X900
Same problem when minimalized.
And you were right with framerate.
/A/OneLife ▶︎︎ /Applications/OneLife/OneLife.app/Contents/MacOS/OneLife; exit
Local epoch time = -3600
GMT epoch time = 0
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.30.2/Common/ChunkCompression.cpp:50: Error: unsupported compressor 8
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.30.2/Libraries/CompressData/CompressData.c:353: Error: Unknown compression scheme encountered for file '/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Exceptions.plist'
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.30.2/Common/ChunkCompression.cpp:50: Error: unsupported compressor 8
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.30.2/Libraries/CompressData/CompressData.c:353: Error: Unknown compression scheme encountered for file '/System/Library/CoreServices/CoreTypes.bundle/Contents/Library/AppExceptions.bundle/Exceptions.plist'
If you're running this from the command line, the working directory is being overridden and set to /Applications/OneLife
Decompressing took 0.001000 seconds
Loaded 657 tagged sprites from sprites folder
Loaded 172 sound IDs from sounds folder
Decompressing took 0.007000 seconds
Loaded 507 animations from animations folder
Finished loading animation bank in 0.351000 sec
Decompressing took 0.005000 seconds
Loaded 523 objects from objects folder
Auto-generated 282 'used' objects
Finished loading object bank in 0.774000 sec
Decompressing took 0.000000 seconds
Loaded 14 categories from categories folder
Finished loading category bank in 0.983000 sec
Decompressing took 0.001000 seconds
Loaded 740 transitions from transitions folder
Auto-generated 232 transitions based on categories
Auto-modified 47 transitions based generic use transitions and auto-added 0 last use generic transitions (3 objects had generic use transitions defined).
Auto-generated 1191 transitions based on used objects, removing 120 transitions in the process
Frame rate = 47.258981 frames/second
Frame rate = 51.948053 frames/second
Frame rate = 59.417703 frames/second
Frame rate = 59.988000 frames/second
Frame rate = 59.844404 frames/second
Frame rate = 60.132296 frames/second
Frame rate = 60.024005 frames/second
Frame rate = 92.250933 frames/second
Frame rate = 2127.662683 frames/second
Frame rate = 2857.135851 frames/second
Frame rate = 3448.270646 frames/second
from onelife.
Okay, I see what's happening with vsync here...
I'll implement a work-around for this problem. There's no sense in it running at 3000 fps ever!
from onelife.
Can you confirm that the FPS goes back to normal after the App becomes visible again?
from onelife.
@jasonrohrer it will. You can see it in video where "cpu consumption" changes up and down based on visibility.
from onelife.
Okay, good. Will fix soon. Thank you!
from onelife.
@jasonrohrer hi. just found out Fullscreen doesn't work too. I have 15" Macbook pro with scaling set to 1680x1050 Maybe it is similar issue.
Local epoch time = -3600
GMT epoch time = 0
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.30.2/Common/ChunkCompression.cpp:50: Error: unsupported compressor 8
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.30.2/Libraries/CompressData/CompressData.c:353: Error: Unknown compression scheme encountered for file '/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Exceptions.plist'
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.30.2/Common/ChunkCompression.cpp:50: Error: unsupported compressor 8
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleFSCompression/AppleFSCompression-96.30.2/Libraries/CompressData/CompressData.c:353: Error: Unknown compression scheme encountered for file '/System/Library/CoreServices/CoreTypes.bundle/Contents/Library/AppExceptions.bundle/Exceptions.plist'
If you're running this from the command line, the working directory is being overridden and set to /Applications/OneLife
Couldn't set 1680x1050 GL video mode: Failed to find display resolution: 1680x1050x32
Decompressing took 0.000000 seconds
Loaded 712 tagged sprites from sprites folder
Loaded 199 sound IDs from sounds folder
Decompressing took 0.008000 seconds
Loaded 592 animations from animations folder
Finished loading animation bank in 0.064000 sec
Decompressing took 0.003000 seconds
Loaded 618 objects from objects folder
Auto-generated 321 'used' objects
Finished loading object bank in 0.194000 sec
Decompressing took 0.000000 seconds
Loaded 19 categories from categories folder
Finished loading category bank in 0.195000 sec
Decompressing took 0.001000 seconds
Frame rate = 153.374245 frames/second
Loaded 868 transitions from transitions folder
Auto-generated 357 transitions based on categories
Auto-modified 134 transitions based generic use transitions and auto-added 0 last use generic transitions (7 objects had generic use transitions defined).
Auto-generated 1485 transitions based on used objects, removing 170 transitions in the process
Frame rate = 317.460260 frames/second
Frame rate = 19999.542247 frames/second
Frame rate = 25000.321869 frames/second
Frame rate = 25000.321869 frames/second
Frame rate = 25000.321869 frames/second
PS: App doesn't show any window at all.
from onelife.
Yes, a fullscreen fix for mac is coming.
If you're stuck in broken fullscreen, go into the settings folder to fix it. fullscreen.ini
from onelife.
Closing this as stale, for now.
from onelife.
Related Issues (20)
- Merge/Stop Splitting Check on January 1st? HOT 12
- #live-dev-changes discord channel not updating HOT 2
- Issues post update HOT 2
- Updates Kicking People Off Of Servers HOT 4
- Would be nice to add in protocol.txt how to make a newline in player say commands (PS) HOT 1
- January 28th Server1 log check? Some Players (I Guess Not Checking a Custom Server) Seemed to Have Gone to Server1 When They Should Not Have. HOT 2
- Arc Resets. HOT 45
- The Button Does Not Exist For Players HOT 4
- Issue with editor HOT 1
- ONELIFE : Chat | Message update.
- Ghosts on Servers During Updates Can Delay The Process For a Very Long Time HOT 3
- Prolific Cursing Account using Curses Maliciously HOT 6
- Airplanes are bugged. HOT 5
- Way to determine Tutorial and Donkeytown lives in logs HOT 3
- Long drives issue HOT 2
- AHAP&OHOL: A necessary update. HOT 1
- make error HOT 1
- AHAP: Implement Single Transferable Voting HOT 2
- AHAP: Content lead moderation HOT 1
- server build error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onelife.