IRC logs for #openttd on OFTC at 2024-09-17
⏴ go to previous day
02:21:52 *** gnu_jj_ has joined #openttd
02:25:04 *** gnu_jj has quit IRC (Ping timeout: 480 seconds)
02:38:28 *** Zathras has joined #openttd
02:41:48 *** D-HUND has quit IRC (Ping timeout: 480 seconds)
02:41:48 *** debdog has quit IRC (Ping timeout: 480 seconds)
03:16:44 *** bryjen has quit IRC (Quit: Leaving)
04:41:25 <DorpsGek> - Update: Translations from eints (by translators)
05:04:33 *** keikoz has quit IRC (Ping timeout: 480 seconds)
06:19:38 *** Zathras is now known as debdog
08:49:24 <andythenorth> ach the scroll bug in the macOS build is maddening
08:49:28 <andythenorth> but I never figured out the repo
08:50:01 <andythenorth> frequently, scroll just locks in one direction, until it hits the map edge
08:50:32 <andythenorth> seems to be related to opening console with ~ shortcut, but that's probably just coincidence
08:50:45 <andythenorth> it might equally well just be a bug with my trackpad
08:50:51 <andythenorth> and scroll cancelling
08:51:49 <andythenorth> yeah, opening and closing console stops / starts the scroll
08:51:58 <andythenorth> but again, might just be any keyboard focus
08:52:20 <andythenorth> yeah, opening train rename window stops the scroll
08:53:19 <andythenorth> not today's problem 😛
08:53:31 <peter1138> Stop pressing the cursor keys...
08:54:15 <andythenorth> no but seriously
08:54:29 <andythenorth> I open console, press 'up cursor' to get the last command (reload_newgrfs)
08:54:38 <andythenorth> then yes, it scroll traps
08:55:06 <andythenorth> cmd-cursor then usually stops the scroll
09:00:44 *** Flygon has quit IRC (Read error: Connection reset by peer)
09:20:39 <peter1138> It does, definitely , sound like an issue that nobody has ever mentioned before.
09:35:37 <xarick> hi, which .tar is supported when uploading stuff to bananas?
09:40:00 <LordAro> any of them should work
09:50:09 <xarick> hmm 7zip implementation on windows 11 is kinda slow
10:05:58 <peter1138> I would... not visit that site :p
10:43:53 <xarick> scared of using multiple cores
13:24:48 <peter1138> Have you found more bugs yet?
13:53:08 <Heiki> STR_TOWN_DATA_ERROR_BAD_COORDINATE says “must be 0..1 as a percentage of the total heightmap dimension”, but wouldn’t “percentage” mean something between 0 and 100?
13:57:58 <peter1138> I picked up on that on the markdown documentation, but not the strings.
13:59:05 <peter1138> Just make a PR changing `percentage` to `proportion` 🙂
14:00:32 <Heiki> might make later, need food first 😋
14:44:44 *** gelignite has joined #openttd
15:18:53 *** keikoz has quit IRC (Remote host closed the connection)
16:17:20 <johnfranklin> Does Helki feel sinful for Finland? /j
16:26:58 *** keikoz has quit IRC (Ping timeout: 480 seconds)
16:31:19 <peter1138> Well, guess what was causing that CPU usage...
16:31:49 <peter1138> Eh, sorry, guess what was causing the CPU clock to be almost constantly at performance instead of idling...
16:36:29 *** HerzogDeXtEr has joined #openttd
16:40:11 <peter1138> A few VTs doing ssh is apparently enough...
16:54:13 <xarick> "cmakeToolchain": "${projectDir}\\..\\..\\..\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake"
16:54:54 <xarick> how do i get to the root of current drive?
16:55:05 <xarick> without doing \..\..\..\
16:56:25 <LordAro> if you're lucky, starting with \ might be enough
16:56:34 <LordAro> windows file path resolutions can be weird
17:02:22 <xarick> just wondering what's the current dir
17:04:40 <xarick> Working directory: E:\OpenTTD Visual Studio\SamuXarick\OpenTTD\out\build\x64-RelWithDebInfo
17:08:04 <LordAro> i only learned this relatively (ha) recently
17:18:50 <_glx_> ${projectDir} is the dir where main CMakeLists.txt is IIRC
17:21:44 <xarick> E:\OpenTTD Visual Studio\SamuXarick\OpenTTD\CMakeSettings.json
17:23:33 <_glx_> I switched to CmakePresets.json
17:24:33 <xarick> this is how it looks for me
17:27:28 <_glx_> yes that's the "legacy" way, cmake 3.19 introduced presets
17:37:52 <xarick> is it possible to force -static
17:38:05 <xarick> without having to put that in
18:39:29 *** tokai has quit IRC (Quit: c('~' )o)
18:54:38 <LordAro> some hours later, i have successfully generated a 14GB JSON file
19:04:08 <andythenorth> does your editor open it? 😛
19:05:09 <LordAro> certainly not at the same time as it's being processed
19:05:20 <LordAro> clearly need to get another 32G RAM
19:05:36 <LordAro> (it's also got a load of extraneous information that i don't care about in it)
19:35:47 *** gelignite has quit IRC (Quit: Stay safe!)
19:37:04 <xarick> question, why is the fps capped to 240?
19:37:49 <xarick> it doesn't feel like I'm picking a refresh rate, but rather imposing an fps limit cap
19:42:12 <_glx_> we just ask the system to fill this list IIRC
19:42:47 <_glx_> and refresh rate is usually a limit from the monitor
19:43:35 <peter1138> We do always include the monitor's refresh rates, but there is a fixed list built in for the cap.
19:43:36 <xarick> that setting didn't change the refresh rate at all, just increased the max fps
19:44:25 <peter1138> I believe you need to fullscreen for it to actually change the monitor refresh rate, but even then I'm not sure.
19:44:48 <peter1138> If your desktop is 165Hz then you don't need to do anything
19:45:14 <peter1138> If your desktop is not 165Hz, then you need to change it in Windows control panel, wherever it it.
19:45:22 <_glx_> it's always better to match fps and refresh rate
19:45:43 <_glx_> more fps than what the motitor can handle is a waste
19:45:59 <peter1138> `std::set<int> _refresh_rates = { 30, 60, 75, 90, 100, 120, 144, 240 };`
19:46:18 <_glx_> because they won't be shown anyway
19:46:23 <peter1138> This is the default list. As you have 165 in the list as well, it is clearly working.
19:47:32 <xarick> just tried openttd in fullscreen mode
19:47:52 <xarick> changing the refresh rate in the game options only increased the fps cap
19:47:53 <_glx_> btw drawing is expensive in openttd, so just doing what is needed reduces stress on the CPU
19:48:09 <xarick> the display is still at 165 hz
19:48:28 <_glx_> yeah your are just rendering useless frames 🙂
19:49:06 <_glx_> unless you record video output
19:49:16 <xarick> im not recording video atm
19:49:45 <_glx_> your screen can only show 165 of the 240 frames
19:51:07 <xarick> let me edit that _refresh_rates
19:51:49 <LordAro> if you're wanting more than 25x game speed, there's a setting for that
19:51:58 <LordAro> fps cap has nothing to do with it
19:52:12 <_glx_> most people know what refresh rate is an just select the one corresponding to their display
19:53:02 <xarick> wanna see when I am gpu bottlenecked
19:53:10 <xarick> how much fps is needed lol
19:53:27 <_glx_> openttd uses almost no GPU at all
19:53:39 <_glx_> all drawing is CPU based
19:53:52 <LordAro> _glx_: but opengl drivers?
19:53:52 <_glx_> and that's the intensive part
19:54:51 <_glx_> maybe, but it's still very low charge for a GPU
19:55:31 <_glx_> we are not doing millions of triangles
19:59:15 <xarick> nice, it's going between 1600-1700 fps
19:59:45 <peter1138> Just slowing down the game
20:06:50 <xarick> with a cap to 30 Hz, i get a 1100x game speed
20:06:59 <xarick> current game speed factor
20:12:19 <xarick> can't let the fps go higher than 190'ish
20:12:33 <LordAro> this is entirely unsurprising
20:13:05 <xarick> the "Display refresh rate" is actually a "max fps cap"
20:14:42 <xarick> with my awesome custom _refresh_rate
20:15:04 <xarick> still around the same 180'ish
20:16:06 <xarick> well this was a fun experiment anyways
20:17:04 <peter1138> It was ... something.
20:26:12 <xarick> 14.1 loaded with a refresh rate of 1000 Hz after this
20:36:02 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
20:39:48 <xarick> hmm openttd achilles hill
20:40:04 <xarick> holding right click and moving viewport
20:42:34 <xarick> fully zoomed out, I moved the screen up down left right in trepidity
20:43:21 <LordAro> i had to google that one
20:44:09 <xarick> vibrating the mouse erratically to provoke cpu load
20:44:52 <xarick> the 1% fps and 0.1% fps are low
20:45:45 <xarick> 99th percentile or 99.9th percentile thing those gpu reviewers like to show
20:49:31 <xarick> even with the game static, and paused, the 1% are taking some dip
20:50:54 <xarick> it should be closest to the average fps of 1000 in this case
21:00:01 <xarick> that's why it stays 1000
21:11:53 <xarick> is this one gonna suit my needs?
21:12:58 <xarick> i need obs, path of exile, and code stuff for openttd, and maybe riva tuner statistics server
21:13:33 <xarick> might also need an email similar to outlook
21:15:50 <xarick> just not sure i can access my onedrive from linux
21:38:33 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
21:44:09 *** keoz has quit IRC (Ping timeout: 480 seconds)
21:51:14 *** nielsm has quit IRC (Remote host closed the connection)
22:05:33 *** Wormnest has joined #openttd
23:11:05 <peter1138> What do you mean you want to scroll the non-existant viewport?
23:32:31 *** Wormnest_ has joined #openttd
23:32:31 *** Wormnest has quit IRC (Read error: Connection reset by peer)
continue to next day ⏵