Search found 2893 matches

by slime
Sat Oct 09, 2021 9:37 pm
Forum: Support and Development
Topic: [Solved]Löve performance issues on Ubuntu/Linux ?
Replies: 9
Views: 1283

Re: [Solved]Löve performance issues on Ubuntu/Linux ?

So there was a loop doing 432 times the exact same thing, i could imagine an optimizer should kick in and disable this loop for you automatically. So you really do have an issue on ubuntu, this optimizer does not work. No, just because a loop calls a function with the same inputs multiple times, do...
by slime
Tue Sep 28, 2021 11:28 pm
Forum: General
Topic: love.timer.sleep resolution test
Replies: 15
Views: 3037

Re: love.timer.sleep resolution test

Is it really a significant advantage to wait for 1 ms and do a busy wait for 15.666 ms? Anyway, that sleep doesn't really bother me. If I have to remove it (hasn't been the case so far), I can just monkey-patch love.timer.sleep. Yes. Personally I'd recommend customizing love.run rather than monkeyp...
by slime
Tue Sep 28, 2021 9:32 pm
Forum: General
Topic: love.timer.sleep resolution test
Replies: 15
Views: 3037

Re: love.timer.sleep resolution test

An obvious way to allow easier control would be a love.conf setting for the sleep duration. What would you set in love.conf other than 0 or 1/1000? I suppose you just mean a toggle rather than specifying the duration? If that's no good then maybe there should be no sleeping when vsync is enabled. I...
by slime
Tue Sep 28, 2021 12:55 pm
Forum: General
Topic: love.timer.sleep resolution test
Replies: 15
Views: 3037

Re: love.timer.sleep resolution test

If you have a suggestion that's more robust while providing similar benefits I'm interested, but as-is the heat / battery drain / CPU usage benefits far outweigh the ~1ms extra cost in my opinion. Apps that struggle to keep below 16ms/frame can opt in to remove the 1ms sleep if they want. The 2ms sl...
by slime
Mon Sep 27, 2021 12:50 pm
Forum: General
Topic: love.timer.sleep resolution test
Replies: 15
Views: 3037

Re: love.timer.sleep resolution test

love - via SDL - calls timeBeginPeriod(1) in its own process in order to allow Sleep to work when 1ms is requested on Windows, so the article in the original post doesn't really apply since it's just talking about a change to what happens to other processes. That being said you should never rely on ...
by slime
Sun Sep 26, 2021 9:48 pm
Forum: Support and Development
Topic: OpenGL Deprecated
Replies: 4
Views: 1417

Re: OpenGL Deprecated

The warning doesn't prevent any Xcode or app functionality from working as far as I know, so the reason for your Archive step failing is probably something else.
by slime
Sun Sep 26, 2021 8:41 pm
Forum: Support and Development
Topic: OpenGL Deprecated
Replies: 4
Views: 1417

Re: OpenGL Deprecated

Are you positive that specific warning is what's stopping you, and there isn't any other error messages? As far as I was aware, new apps could still use OpenGL on Apple platforms.
by slime
Thu Aug 26, 2021 12:43 pm
Forum: Support and Development
Topic: [11.3] Decoding sound data from the byte string
Replies: 2
Views: 3483

Re: [11.3] Decoding sound data from the byte string

You can put the string into a FileData via the love.filesystem.newFileData variant which accepts a string + (fake) filename combination. The filename can be anything as long as it has .ogg extension at the end.
by slime
Mon Jul 05, 2021 10:00 pm
Forum: Support and Development
Topic: Text not printed properly in android version
Replies: 7
Views: 3648

Re: Text not printed properly in android version

I wonder if this is yet another auto-batcher bug. Too bad it can't be disabled. It's much more likely to be a graphics driver bug than a problem in love's higher level batching code, given how platform- and device-specific it is. love started using more "modern" (8-12+ year old) OpenGL AP...