[Back to Index]

  
[00:30] <-- sev left irc: Quit: This computer has gone to sleep
[00:39] <grogbot> [discord] <Digitall> Will look at adding some debug to the SDL Video AA Detection Code so we can work out what is being slow here.
[01:23] <-- speachy left irc: Quit: WeeChat 4.7.2
[02:45] <Scummette> [scummvm] digitall pushed 1 new commits to master: https://is.gd/OSjvvl
[02:45] <Scummette> scummvm/master 1c6c10f digitall: BACKENDS: SDL: Add Debug Output For SDL Video OpenGL Antialiasing Detection
[02:49] <-- stanrifkin left irc: Quit: Leaving
[02:52] --> DominusExult joined #scummvm.
[02:55] <-- reset left irc: Ping timeout: 240 seconds
[02:55] <-- Dominus left irc: Ping timeout: 240 seconds
[02:55] Nick change: DominusExult -> Dominus
[02:56] --> reset joined #scummvm.
[03:07] <grogbot> [discord] <Digitall> @purduecoz Committed. Please pull and test when you get a chance and see where the slowdown occurs,...
[03:08] <grogbot> [discord] <purduecoz> Ill pull and compile now and check it out. Thanks.
[03:13] <grogbot> [discord] <Digitall> No problem. Rather than me adding further lines... You can crib from my changes and add further debug lines between each SDL function call to narrow further... Just let us know what the problematic call is... so we can think about why and if there is any way to make this less likely to do this
[03:13] <grogbot> [discord] <Digitall> In your local code checkout copy I mean...
[03:46] <grogbot> [discord] <purduecoz> Most of the time is wrapped up in these lines:
[03:46] <grogbot> [discord] <purduecoz> Checking SDL Antialiasing Support With 2 Samples... Yes from SDL3
[03:46] <grogbot> [discord] <purduecoz> Checking SDL Antialiasing Support With 4 Samples... Yes from SDL3
[03:46] <grogbot> [discord] <purduecoz> Checking SDL Antialiasing Support With 8 Samples... Yes from SDL3
[03:46] <grogbot> [discord] <purduecoz> Checking SDL Antialiasing Support With 16 Samples... Yes from SDL3
[03:46] <grogbot> [discord] <purduecoz> Checking SDL Antialiasing Support With 32 Samples... No from SDL3
[03:47] <grogbot> [discord] <purduecoz> 32 samples takes the longest but they all consume a fair amount of time, quite a lot when added all together.
[03:58] <grogbot> [discord] <Digitall> @purduecoz Add a debug line before each SDL_* function call ... printing the name of the call... that should show which calls are very slow
[03:59] <grogbot> [discord] <Digitall> The calls between line 490 and 516 of sdl.cpp are the critical ones i.e. the first part of the SDL 3.0 path ... since there is just Yes and No there... so the output is just from lines 508 and 512
[04:18] <grogbot> [discord] <purduecoz> This line seems to be the culprit; consumes the most time running it 5 times, the longest being the 32 samples:
[04:18] <grogbot> [discord] <purduecoz> SDL_Window *window = SDL_CreateWindow("", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 32, 32, SDL_WINDOW_OPENGL | SDL_WINDOW_HIDDEN);
[04:28] <grogbot> [discord] <purduecoz> This line seems to be the culprit; it consumes a lot of the time running it 5 times in succession, the longest execution being when it is testing 32 samples:
[04:28] <grogbot> [discord] <purduecoz> SDL_Window *window = SDL_CreateWindow("", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 32, 32, SDL_WINDOW_OPENGL | SDL_WINDOW_HIDDEN); (edited)
[04:39] <grogbot> [discord] <Digitall> @purduecoz I suspected as much...
[04:41] <grogbot> [discord] <Digitall> Hmm... https://wiki.libsdl.org/SDL3/SDL_CreateWindow
[04:47] <grogbot> [discord] <shadowman2070> unfortunately it does not seem to work. Does there need to be a game in the folder for it to work?
[04:48] <grogbot> [discord] <Digitall> Sorry you need to be clearer. I don't follow
[04:50] <grogbot> [discord] <Digitall> Wait ... that doesn't make sense. That form of the function SDL_CreateWindow is for SDL2 ... but the messages you sent earlier indicate that the SDL3 path was being used.
[04:50] <grogbot> [discord] <Digitall> https://wiki.libsdl.org/SDL2/SDL_CreateWindow
[04:52] <grogbot> [discord] <Digitall> Ah I get it... Sorry... That path is SDL2/3 ... the other one is SDL1 ....
[04:52] <grogbot> [discord] <Digitall> So you must be running with SDL2 path...
[04:54] <grogbot> [discord] <Digitall> @purduecoz One thing there you could try is doing https://wiki.libsdl.org/SDL2/SDL_GL_LoadLibrary before any windows are created... then the Unload call after everyhting finishes... Both will NULL for default library. Firstly that would show if the GL Library Load is the slow bit... and this _may_ present SDL library from loading and unloading on every call.
[04:55] <grogbot> [discord] <Digitall> https://wiki.libsdl.org/SDL2/SDL_GL_UnloadLibrary ... You may want to also check the return values for negatives and print the SDL_GetError() if so...
[05:01] <Scummette> [scummvm] digitall pushed 1 new commits to master: https://is.gd/aZ7HyW
[05:01] <Scummette> scummvm/master 7ceb1e5 digitall: BACKENDS: SDL: Fix Debug Messages For SDL Video Antialiasing Detection
[05:10] <grogbot> [discord] <purduecoz> that does seem to have taken about 5 seconds off the time it takes from execution until when I see the scummvm window
[06:44] --> TAS-2012v joined #scummvm.
[06:48] <-- reset left irc: Ping timeout: 240 seconds
[06:48] <-- TAS_2012v left irc: Ping timeout: 240 seconds
[06:48] Nick change: TAS-2012v -> TAS_2012v
[06:58] --> reset joined #scummvm.
[07:18] --> borosky joined #scummvm.
[07:19] --> DominusExult joined #scummvm.
[07:23] <-- Dominus left irc: Ping timeout: 264 seconds
[07:23] Nick change: DominusExult -> Dominus
[08:26] --> ldevulder joined #scummvm.
[10:13] --> sev joined #scummvm.
[10:13] <-- sev left irc: Changing host
[10:13] --> sev joined #scummvm.
[10:13] #scummvm: mode change '+o sev' by ChanServ!ChanServ@services.libera.chat
[10:25] <-- sev left irc: Quit: This computer has gone to sleep
[10:43] --> sev joined #scummvm.
[10:43] #scummvm: mode change '+o sev' by ChanServ!ChanServ@services.libera.chat
[11:22] --> Maturi0n joined #scummvm.
[11:37] <-- Maturi0n left irc: Remote host closed the connection
[11:40] --> Maturion joined #scummvm.
[12:37] <-- Smedles left irc: Ping timeout: 246 seconds
[12:38] --> Smedles joined #scummvm.
[12:46] --> chraist joined #scummvm.
[13:10] <-- chraist left irc: Quit: Leaving
[13:17] <-- Smedles left irc: Ping timeout: 246 seconds
[13:18] --> Smedles joined #scummvm.
[14:24] <-- borosky left irc: Read error: Connection reset by peer
[14:30] --> borosky joined #scummvm.
[14:42] --> speachy joined #scummvm.
[14:42] <-- speachy left irc: Changing host
[14:42] --> speachy joined #scummvm.
[15:40] <-- sev left irc: Quit: This computer has gone to sleep
[15:46] --> sev joined #scummvm.
[15:46] <-- sev left irc: Changing host
[15:46] --> sev joined #scummvm.
[15:46] #scummvm: mode change '+o sev' by ChanServ!ChanServ@services.libera.chat
[15:47] --> ccawley2011 joined #scummvm.
[15:47] #scummvm: mode change '+o ccawley2011' by ChanServ!ChanServ@services.libera.chat
[16:14] <Scummette> [scummvm] ccawley2011 opened pull request #7131: AGDS: Add detection for the demo version of Black Mirror (master...black-mirror-demo) https://is.gd/4XLwlV
[16:24] <-- ccawley2011 left irc: Ping timeout: 246 seconds
[17:16] <-- sev left irc: Quit: This computer has gone to sleep
[17:20] --> sev joined #scummvm.
[17:20] <-- sev left irc: Changing host
[17:20] --> sev joined #scummvm.
[17:20] #scummvm: mode change '+o sev' by ChanServ!ChanServ@services.libera.chat
[18:48] --> ny00123 joined #scummvm.
[20:03] --> dgriffi joined #scummvm.
[22:01] <Scummette> [scummvm] sev- closed pull request #7096: GUI: Enable multi-selection and multi-removal in list and grid view (master...fix/gui-improvements) https://is.gd/vMfa0p
[22:01] <Scummette> [scummvm] sev- pushed 8 new commits to master: https://is.gd/MVr9Uk
[22:01] <Scummette> scummvm/master cbf8a88 mohitbankar: GUI: Add multi-selection, batch removal, and improved button states in launcher
[22:01] <Scummette> scummvm/master 9c53832 mohitbankar: GUI: Add multi-selection and range select to launcher grid
[22:01] <Scummette> scummvm/master d324333 mohitbankar: GUI: Limit multi-selection to launcher dialog only
[22:04] <-- gnarchie left irc: Ping timeout: 244 seconds
[22:07] <ScummBot> Build [#16463](https://buildbot.scummvm.org/#/builders/73/builds/16463) of `master-3ds` failed: compile (failure)
[22:08] <ScummBot> Build [#80](https://buildbot.scummvm.org/#/builders/187/builds/80) of `master-atari-full` failed: compile (failure)
[22:09] <ScummBot> Build [#80](https://buildbot.scummvm.org/#/builders/185/builds/80) of `master-atari-lite` failed: failed compile (failure)
[22:10] <-- borosky left irc: Ping timeout: 240 seconds
[22:15] <ScummBot> Build [#16299](https://buildbot.scummvm.org/#/builders/87/builds/16299) of `master-nds` failed: compile (failure)
[22:19] <ScummBot> Build [#9648](https://buildbot.scummvm.org/#/builders/179/builds/9648) of `master-opendingux-beta-rs90` failed: compile (failure)
[22:27] <ScummBot> Build [#14660](https://buildbot.scummvm.org/#/builders/34/builds/14660) of `fetch-master` failed: triggered build-scheduler-master, 34 successes, 5 failures
[22:30] <Scummette> [scummvm] Strangerke pushed 1 new commits to master: https://is.gd/yF9RXY
[22:30] <Scummette> scummvm/master 97a6bcb Strangerke: M4: RIDDLE: Fix bug #16059 - Ripley stuck in Mocha's stairs
[22:30] <Scummette> [scummvm] Strangerke pushed 1 new commits to branch-3-0: https://is.gd/LoEpWb
[22:30] <Scummette> scummvm/branch-3-0 5073252 Strangerke: M4: RIDDLE: Fix bug #16059 - Ripley stuck in Mocha's stairs
[22:34] <Scummette> [scummvm] sev- pushed 1 new commits to master: https://is.gd/CkUSBC
[22:34] <Scummette> scummvm/master 5488c9e sev-: GUI: Fix complication with grid launcher disabled
[22:54] <ScummBot> Build [#16464](https://buildbot.scummvm.org/#/builders/73/builds/16464) of `master-3ds` completed successfully.
[22:54] <-- sev left irc: Quit: This computer has gone to sleep
[22:55] <ScummBot> Build [#81](https://buildbot.scummvm.org/#/builders/187/builds/81) of `master-atari-full` completed successfully.
[22:55] <ScummBot> Build [#81](https://buildbot.scummvm.org/#/builders/185/builds/81) of `master-atari-lite` completed successfully.
[22:59] <-- ny00123 left irc: Remote host closed the connection
[23:03] <ScummBot> Build [#9649](https://buildbot.scummvm.org/#/builders/179/builds/9649) of `master-opendingux-beta-rs90` completed successfully.
[23:35] --> sev joined #scummvm.
[23:35] <-- sev left irc: Changing host
[23:35] --> sev joined #scummvm.
[23:35] #scummvm: mode change '+o sev' by ChanServ!ChanServ@services.libera.chat
[23:44] <Scummette> [scummvm] sev- closed pull request #7091: DEVTOOLS: Add LLDB pretty-printers (master...push-xutuvmvlttpt) https://is.gd/A1a2nS
[23:44] <Scummette> [scummvm] sev- pushed 1 new commits to master: https://is.gd/F4lf5X
[23:44] <Scummette> scummvm/master d8fa25e Botje: DEVTOOLS: Add LLDB pretty-printers
[00:00] --- Wed Jan 7 2026