IRC logs for #openttd on OFTC at 2019-11-07
            
00:34:45 *** Samu has quit IRC
00:36:17 *** Smedles has quit IRC
00:37:29 *** Smedles has joined #openttd
00:55:32 <DorpsGek_III> [OpenTTD/OpenTTD] holmesmr commented on issue #7644: Mysteriously poor performance on macOS https://git.io/fjii3
01:06:54 *** HerzogDeXtEr has quit IRC
01:08:05 *** Heiki has quit IRC
01:49:17 *** WormnestAndroid has quit IRC
01:50:51 *** WormnestAndroid has joined #openttd
01:51:55 *** WormnestAndroid has quit IRC
01:53:40 *** WormnestAndroid has joined #openttd
01:53:50 *** WormnestAndroid has quit IRC
01:54:55 *** Flygon has joined #openttd
01:56:39 *** WormnestAndroid has joined #openttd
02:10:01 *** Wormnest_ has joined #openttd
02:12:51 *** WormnestAndroid has quit IRC
02:13:36 *** WormnestAndroid has joined #openttd
02:14:13 *** Wormnest has quit IRC
02:16:16 <DorpsGek_III> [OpenTTD/nml] vineet131 commented on pull request #51: Codechange: Rewrite setup.py https://git.io/Jeaoa
03:04:31 *** Wormnest_ has quit IRC
03:40:02 *** Wormnest_ has joined #openttd
03:45:36 *** Lejving_ has joined #openttd
03:48:37 *** Lejving has quit IRC
04:09:45 *** Lejving_ has quit IRC
04:09:59 *** Lejving has joined #openttd
04:11:51 *** Wormnest__ has joined #openttd
04:18:41 *** Wormnest_ has quit IRC
04:37:01 *** glx has quit IRC
04:47:49 *** D-HUND has joined #openttd
04:51:12 *** debdog has quit IRC
06:17:11 *** Wormnest__ has quit IRC
07:14:49 *** Heiki has joined #openttd
08:31:46 <DorpsGek_III> [OpenTTD/OpenTTD] andythenorth commented on issue #7644: Mysteriously poor performance on macOS https://git.io/fjii3
08:36:51 *** Smedles has quit IRC
08:44:24 <DorpsGek_III> [OpenTTD/nml] andythenorth commented on pull request #51: Codechange: Rewrite setup.py https://git.io/JeaMC
08:48:12 *** Smedles has joined #openttd
08:50:48 *** andythenorth has joined #openttd
09:28:38 *** andythenorth has quit IRC
10:03:42 <dihedral> greetings
10:05:12 <DorpsGek_III> [OpenTTD/nml] planetmaker commented on pull request #51: Codechange: Rewrite setup.py https://git.io/Jeaye
11:16:32 <DorpsGek_III> [OpenTTD/OpenTTD] holmesmr commented on issue #7644: Mysteriously poor performance on macOS https://git.io/fjii3
12:07:20 *** gelignite has joined #openttd
12:23:00 *** Wormnest__ has joined #openttd
12:38:21 *** andythenorth has joined #openttd
12:44:02 *** andythenorth has quit IRC
12:46:34 <Eddi|zuHause> have we tried bisecting the mac slowdowns by putting timing counters everywhere?
12:51:40 <LordAro> we already know it's the graphics rendering
12:51:42 <LordAro> i thought
12:57:20 <Eddi|zuHause> but, can we go deeper?
12:58:51 <LordAro> i'm not sure going deeper into cocoa is worthwhile
12:59:00 <LordAro> i thought this was (at least partially) already solved anyway?
13:15:28 *** Wormnest__ has quit IRC
13:18:19 *** D-HUND is now known as debdog
13:21:14 <Eddi|zuHause> apparently not
13:23:10 <Eddi|zuHause> also, can we try alternatives like SDL?
13:26:24 *** xahodo has joined #openttd
13:29:35 *** andythenorth has joined #openttd
13:36:02 *** xahodo has quit IRC
14:05:10 <andythenorth> so what haven't we instrumented yet? o_O https://github.com/OpenTTD/OpenTTD/issues/7644#issuecomment-550555295
14:07:17 <milek7> couldn't this be some power saving shenanigans?
14:15:19 *** Samu has joined #openttd
14:31:20 <andythenorth> it could be app nap yes
14:31:50 <andythenorth> but it's not commonly a cause of performance issues
14:32:39 <andythenorth> https://www.howtogeek.com/277414/what-is-app-nap-is-it-slowing-down-my-mac-apps/
14:33:10 <Eddi|zuHause> how'd they make that shot of my cat? :p
14:33:25 <andythenorth> is your cat on free stock photo sites?
14:33:37 <andythenorth> Eddi|zuHause you are outed as a secret mac user :P
14:33:42 <andythenorth> you use macs as a cat bed
14:36:15 <Eddi|zuHause> andythenorth: that "app nap" doesn't seem to apply here, as it's the "active application" by any sane measures
14:36:29 <andythenorth> it's not a plausible cause
14:36:41 <andythenorth> plausible causes
14:36:48 <andythenorth> * something in openttd we're not instrumenting
14:37:01 <andythenorth> * something in the OS / hardware that has insane latency
14:37:46 <Eddi|zuHause> in all likelyhood it's some system ressource that is guarded by a lock
14:38:11 * andythenorth wonders if it gets better without Chrome running
14:38:17 <andythenorth> Chrome on macOS is appalling
14:38:25 <andythenorth> followed closely by Firefox
14:38:33 <andythenorth> Chrome seems to lockup video a lot
14:39:52 <Eddi|zuHause> ... followed closely by OpenTTD? :p
14:40:47 <andythenorth> OpenTTD is not usually a cause of system-wide performance issues, or hard crashes
14:40:49 <andythenorth> unlike Chrome :P
14:42:56 <Eddi|zuHause> why, youtube, if i watched videos ending with #1, #2, #3 and #4, is the next suggestion #8, and #5 is nowhere to be found?
14:43:14 <andythenorth> DMCA
14:54:22 *** Flygon has quit IRC
14:58:02 <DorpsGek_III> [OpenTTD/OpenTTD] andythenorth commented on issue #7644: Mysteriously poor performance on macOS https://git.io/fjii3
15:01:21 <Eddi|zuHause> andythenorth: well, #5 exists, but it's not listed as a related/suggested video
15:13:59 <andythenorth> I added videos for 1.9.1 and 1.9.3
15:14:13 <andythenorth> some results differ widely
15:15:49 <LordAro> Eddi|zuHause: youtube gonna tube
15:16:25 <DorpsGek_III> [OpenTTD/nml] andythenorth commented on pull request #51: Codechange: Rewrite setup.py https://git.io/Jea7y
15:19:57 <milek7> mov file
15:20:11 <milek7> for some reason i thought it died 10 years ago
15:21:46 <Eddi|zuHause> it did, except with clueless mac users :p
15:22:28 <Eddi|zuHause> any sane person uses mkv nowadays. and then there's the fragile mp4 which will die whenever the end of the file gets cut off
15:22:43 <Eddi|zuHause> with 0 chance of recovery
15:22:54 <andythenorth> I used to be able to export from quicktime to many formats
15:22:58 <andythenorth> but Apple nerfed that
15:23:02 <andythenorth> and VLC crashes a lot
15:23:18 <Eddi|zuHause> so if you record a video for 16 hours, and at 15h59 your hdd runs full, you can throw everything away
15:23:45 <andythenorth> it's funny, the production advantage of macs used to lie in the incredibly seamless support for things like video
15:23:49 <andythenorth> with vast flexibility
15:23:55 <andythenorth> and a complete unix and shell
15:24:05 <andythenorth> but they've hit most of that with a nerfbat
15:24:23 <andythenorth> in favour of coffee shop poseurs allegedly
15:24:41 <andythenorth> anyway, the performance videos show nothing useful
15:24:46 <andythenorth> they're highly variable
15:24:54 <andythenorth> and it's very sensitive to which map tiles are showing
15:25:04 <andythenorth> FIRS industries cause it to drop a few fps compared to default
15:25:11 <andythenorth> black tiles seem to aid fps
15:25:34 <andythenorth> I tried 1.10-0 beta, it's getting about twice the fps on ffwd, for no good reason, as I see no relevant code changes
15:26:16 <andythenorth> without more instrumentation, it's basically voodoo :P
15:27:17 *** gelignite has quit IRC
15:28:40 <Eddi|zuHause> i can offer a Tuba, if that helps? :p
15:30:51 <andythenorth> lol
15:31:55 <andythenorth> I did use the Apple tools previously, and the results correlated with the draw issues https://github.com/OpenTTD/OpenTTD/issues/7644#issuecomment-521895427
15:32:06 <andythenorth> could see what else is eating the time there
15:36:56 <andythenorth> this was the bizarre https://dev.openttdcoop.org/attachments/download/9489/mac_fps.mov
15:37:52 <andythenorth> oh I can convert those files with VLC if anyone can name the current format du jour :P
15:37:58 <andythenorth> .webm? :P
15:38:30 <Eddi|zuHause> you need to decide on 2 components: the container format, and the codec
15:38:48 <Eddi|zuHause> (these are mostly orthogonal choices)
15:38:52 <andythenorth> nothing changed since 2001 then :P
15:39:23 <andythenorth> the default choice is h264 mp4
15:39:32 <andythenorth> we'll ignore the audio codec
15:39:51 <andythenorth> you can all open .mov anyway, VLC does it
15:40:17 <Eddi|zuHause> codec is like x264 or x265, or vp9
15:40:26 <Eddi|zuHause> and container is like mp4, mkv, webm
15:42:23 <milek7> not exactly orthogonal, webm is nerfed mkv and only vp8/vp9/av1
15:42:46 <milek7> (yes vlc plays .mov, i was just surprised that it still exists somewhere as default)
15:49:08 <andythenorth> apple continue to make odd choices
15:52:18 <Eddi|zuHause> apple's "think different" might go into history like the first paragraph of this: http://www.douglas-self.com/MUSEUM/LOCOLOCO/russ/russrefr.htm
16:09:03 <andythenorth> "but will Apple survive?"
16:09:07 <andythenorth> perenial question :P
16:21:24 <milek7> Eddi|zuHause: i just wanted to point out that truncated .mp4 won't play cleanly, but surely it should be possible to extract raw stream and remux it (because why not?..)
16:21:50 <milek7> except that i googled and really recovering that is not trivial ;p
16:22:06 <Eddi|zuHause> milek7: no, because the mp4 container, all relevant muxing information is at the end of the file
16:22:24 <DorpsGek_III> [OpenTTD/nml] glx22 commented on pull request #51: Codechange: Rewrite setup.py https://git.io/JeadI
16:22:37 <Eddi|zuHause> milek7: without that muxing information, you essentially have only random noise
16:23:24 <milek7> there are tools but they require another valid file produced by same encoder and settings
16:23:50 <Eddi|zuHause> milek7: yes, but even then it might still fail
16:53:45 *** Wormnest__ has joined #openttd
17:04:51 *** WormnestAndroid has quit IRC
17:05:33 *** Lejving_ has joined #openttd
17:05:35 *** Eddi|zuHause has quit IRC
17:06:20 *** Eddi|zuHause has joined #openttd
17:12:27 *** Lejving has quit IRC
17:24:46 *** glx has joined #openttd
17:24:46 *** ChanServ sets mode: +v glx
17:28:12 <Samu> who can #7670?
17:38:17 *** WormnestAndroid has joined #openttd
17:52:36 *** sla_ro|master has joined #openttd
18:07:16 *** gelignite has joined #openttd
18:32:38 *** andythenorth has quit IRC
18:48:16 *** Arveen2 has quit IRC
18:53:50 *** Progman has joined #openttd
19:08:04 *** andythenorth has joined #openttd
19:10:46 *** Wolf01 has joined #openttd
19:18:16 <DorpsGek_III> [OpenTTD/nml] glx22 opened pull request #55: Codechange: use pyinstaller to generate standalone executable https://git.io/JeaNS
19:19:54 *** HerzogDeXtEr has joined #openttd
19:21:56 <DorpsGek_III> [OpenTTD/nml] LordAro approved pull request #55: Codechange: use pyinstaller to generate standalone executable https://git.io/JeaNA
19:30:47 <DorpsGek_III> [OpenTTD/nml] glx22 commented on pull request #55: Codechange: use pyinstaller to generate standalone executable https://git.io/JeaAm
20:30:45 <andythenorth> "nml is lovely this time of year"
20:37:01 *** tokai|noir has joined #openttd
20:37:01 *** ChanServ sets mode: +v tokai|noir
20:37:46 <LordAro> andythenorth: i love the smell of nml in the morning?
20:38:55 <andythenorth> nml is so bracing
20:39:18 <andythenorth> https://www.travelpostersonline.com/ekmps/shops/travelposters/images/skegness-is-so-bracing-lincolnshire.-lner-vintage-travel-poster-by-john-hassall-1926-911-p.jpg
20:39:27 <andythenorth> I should 'adapt' that for nml :P
20:43:58 *** tokai has quit IRC
20:44:50 <andythenorth> so
20:49:15 *** JacobD88 has joined #openttd
20:56:11 *** JacobD88 has quit IRC
20:57:11 *** JacobD88 has joined #openttd
20:57:19 *** JacobD88 has quit IRC
20:57:35 *** JacobD88 has joined #openttd
20:59:46 <DorpsGek_III> [OpenTTD/OpenTTD] Honza1987 commented on issue #7644: Mysteriously poor performance on macOS https://git.io/fjii3
21:36:28 *** JacobD88 has quit IRC
21:47:23 <DorpsGek_III> [OpenTTD/OpenTTD] andythenorth commented on issue #7644: Mysteriously poor performance on macOS https://git.io/fjii3
21:47:30 <andythenorth> so not many conclusions ^
21:47:42 <andythenorth> but it is a regression, we can't simply blame Apple :x
21:47:46 <andythenorth> well we can, but it's not true :P
21:49:22 * andythenorth should try JGRPP
21:49:28 <andythenorth> apparently doesn't have any mac issues
22:11:15 *** sla_ro|master has quit IRC
22:17:25 <LordAro> andythenorth: suspicious
22:17:53 <andythenorth> haven't tested yet
22:18:45 <andythenorth> wonder how often JGR rebases master
22:19:06 <andythenorth> 1.8.0 has different performance issues to 1.9.0 and 1.9.3
22:20:46 <LordAro> andythenorth: 1.8 -> 1.9 could be due to different build server
22:20:51 <LordAro> but you build yourself anyway, so...
22:21:40 <andythenorth> I use the official binaries for official releases
22:21:57 <LordAro> hmm
22:22:02 <andythenorth> hmm, so there are many variables
22:22:08 <LordAro> as ever
22:22:14 <andythenorth> instrumentation needed :P
22:22:48 <andythenorth> can we build 1.8.0 on the new farm?
22:23:14 <LordAro> in theory yes, in practice ...with quite a lot of effort
22:34:02 <andythenorth> mystery continues :P
22:36:57 <milek7> there are things unaccounted by framerate gui
22:37:05 <milek7> like rest of GameLoop
22:37:30 <milek7> and QZ_CheckPaletteAnim
22:38:04 <andythenorth> I can instrument using the mac tools
22:38:17 <andythenorth> it's quite....hard to interpret for me
22:39:10 <_dp_> andythenorth, you can also try citymania client
22:39:21 <_dp_> though I'd be very surprised if it's any different from vanila
22:43:37 <andythenorth> trying jgrpp
22:43:43 * andythenorth needs faster compiler
22:43:45 <andythenorth> faster computer
22:43:47 <andythenorth> faster all
22:44:29 <andythenorth> so slow
22:46:25 <andythenorth> jgrpp perf. is subjectively identical to 1.9.3
22:49:30 <LordAro> well that's something
22:57:28 *** gelignite has quit IRC
23:03:22 *** Compu has joined #openttd
23:04:30 <andythenorth> they're pretty rough measures
23:04:38 <andythenorth> I don't have a consistent savegame etc
23:15:18 *** HerzogDeXtEr has quit IRC
23:25:53 *** Wolf01 has quit IRC
23:30:50 *** andythenorth has quit IRC
23:49:38 *** Samu has quit IRC
23:53:44 *** Progman has quit IRC