Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Forestidia86

#1
I tested a bit (Lix 0.10.29 - release build - win64 - Allegro 5.2.10):

  • Monitor no. 2 is set as primary monitor.
  • Before play, go to Windows's monitor/display settings, and choose: Extend the display to all screens.
  • Start Lix.
  • Observe how Lix starts on monitor no. 2 in software fullscreen.
  • Start a level and play.
  • During play, go to Windows's monitor/display settings, and choose: Display to only monitor no. 2.

Either:

Out of VRAM error:
193.41 src\basics\alleg5.d:26:
193.41 Out of video memory. Can't create bitmap of size 913x946 with flags 5120.

Or:

Graphics stutter for 0.5 seconds or 1 second. After that, Lix continues to run smoothly without further stutter. But if there was terrain modification in that 1 second of stutter, e.g., a builder was building, then the newly built bridge slap is not drawn, and will continue to be invisible throughout the future:


#2
Can reproduce this. Monitor with no. 2 set to primary monitor. Software fullscreen starts on monitor no. 2 but hardware fullscreen on monitor no. 1. I assume hardware fullscreen is determined by the assigned number of the monitor.
#3
In your linked thread there is an answer that says "make sure its not full screened in the settings. it has to be windowed mode for this to work", though I don't know if it's accurate.
Does the Win+Shift+left/right arrow work with software fullsceen?
Is your primary monitor called 1 in the monitor settings or a different number?
#4
Second option - allegro5.cfg

You can also create an allegro.log by modifying the allegro5.cfg and putting it in the same folder as the Lix executable. (This works even with release DLLs, i.e., with the DLLs that Simon offers in the main download. You don't need debug DLLs.)

allegro5.cfg can be found in the allegro5 github repo. Below [trace], which is in line 193 as of January 2025, set the trace level (level=) to one of the following lines:

level=debug   ... to get all the information, but this will produce a huge logfile,
level=info   ... to get lots of info, but not everything; this is a good level,
level=warn   ... to get errors and some extra information,
level=error   ... to get errors only.

Save this allegro5.cfg in the folder where lix.exe is. Then run Lix as normal. After playing, you'll find allegro.log in the same folder. Read it with any text editor.

(Simon restructured/edited this post for better readability/information.)
#5
Lix Main / Re: Does the server store levels?
December 21, 2024, 02:38:27 PM
Quote from: Silken Healer on December 21, 2024, 12:16:27 PMAll my replays except the first have the fixed version, even though I reselected bunker buster from my ../network

Can you post the first replay that has the old version and another one of this session that has the fixed version?
#6
Lix Main / Re: Does the server store levels?
December 21, 2024, 12:14:03 PM
Can you explain exactly what you did, esp. the timeline?
#7
Lix Main / Re: Re: Lix 0.10.28 released
December 20, 2024, 02:46:36 PM
The levels are not (permanently) stored in the server. Simon might give a more elaborated explanation of how the server works.
#8
This happens for me if I Win+L (equivalent to monitor turn off) immediately after starting the first level after opening Lix (with exp. version).
#9
You should be able to open options.sdl (found in the folder user (which is itself in the Lix directory)) with most text editors, like e.g. Notepad (Editor in German). You can drag and drop it or right-click, click Open with (Öffnen mit in German) and select notepad or another editor.

(options.sdl is not a dll file.)
#10
Quote from: Silken Healer on December 15, 2024, 09:09:00 PMI'm not sure [...] if you can change it from the options.dll,

It looks like it can be changed in options.sdl to odd numbers (decimal notation, name: guiColorRed; guiColorGreen; guiColorBlue).
#11
Attached an example of the messed up colors.
#12
Can you give the numbers which it happened with?
#13
Quote from: Silken Healer on December 11, 2024, 03:59:19 PMbtw do I need to put that in a folder? I know Lix is self-contained. It's not gonna create a bunch of folders in a directory that already has stuff in it on the first time I run it right?

You have to put it in your Lix folder where the other lix.exe is. Lix is dependant on Allegro5 dlls which are part of the Lix distribution (and needs other files of the distro as well).
#14
Quote from: Blitz on December 04, 2024, 07:14:10 AMThat Bug happens to me to somtimes my Problem is mostly when my RAM or Arbeitsspeicher reaches its max but it schould fix after you reopen lix

Which version of Lix do you use 32bit or 64bit?
#15
Might be related to Laptop sleep may affect VRAM drawing #416

Stack trace from log.txt for Silken Healer's bug:

Lix version:  0.10.27
Session date: 2024-12-03 01:37:49
   128.24 src\basics\alleg5.d:26:
   128.25 Out of video memory. Can't create bitmap of size 1024x160 with flags 5120.
   128.43 0x0000000140363C77 in d_throwc
0x0000000140002EB9 in basics.alleg5.albitCreateWithFlags at C:\Users\....\Downloads\lix-unstable-master011224\lix-unstable-master\src\basics\alleg5.d(292)
0x00000001400027B7 in basics.alleg5.albitCreate at C:\Users\....\Downloads\lix-unstable-master011224\lix-unstable-master\src\basics\alleg5.d(83)
0x0000000140282FA2 in graphic.torbit.torbit.Torbit.this at C:\Users\....\Downloads\lix-unstable-master011224\lix-unstable-master\src\graphic\torbit\torbit.d(54)
0x0000000140283051 in graphic.torbit.torbit.Torbit.clone at C:\Users\....\Downloads\lix-unstable-master011224\lix-unstable-master\src\graphic\torbit\torbit.d(59)
0x000000014031DFA8 in physics.world.world.MutableHalfOfWorld.copyLandFrom at C:\Users\....\Downloads\lix-unstable-master011224\lix-unstable-master\src\physics\world\world.d(245)
0x000000014031DB43 in physics.world.world.MutableHalfOfWorld.clone at C:\Users\....\Downloads\lix-unstable-master011224\lix-unstable-master\src\physics\world\world.d(188)
0x000000014031A45C in physics.world.cache.LeapfrogPair.saveIntoSpecificFrog at C:\Users\....\Downloads\lix-unstable-master011224\lix-unstable-master\src\physics\world\cache.d(279)
0x000000014031A2BA in physics.world.cache.PhysicsCache.saveIntoPair0ButMaybeBorrowSpaceFromHighestPair at C:\Users\....\Downloads\lix-unstable-master011224\lix-unstable-master\src\physics\world\cache.d(232)
0x0000000140319D7F in physics.world.cache.PhysicsCache.autoSave at C:\Users\....\Downloads\lix-unstable-master011224\lix-unstable-master\src\physics\world\cache.d(178)
0x0000000140269251 in game.nurse.savestat.SaveStatingNurse.considerAutoSavestateIfCloseTo at C:\Users\....\Downloads\lix-unstable-master011224\lix-unstable-master\src\game\nurse\savestat.d(147)
0x0000000140268729 in game.nurse.interact.InteractiveNurse.updateTo at C:\Users\....\Downloads\lix-unstable-master011224\lix-unstable-master\src\game\nurse\interact.d(23)
0x000000014025BD6A in game.core.speed.upd at C:\Users\....\Downloads\lix-unstable-master011224\lix-unstable-master\src\game\core\speed.d(169)
0x000000014025B9F6 in game.core.speed.updatePhysicsAccordingToSpeedButtons at C:\Users\....\Downloads\lix-unstable-master011224\lix-unstable-master\src\game\core\speed.d(84)
0x0000000140254867 in game.core.calc.noninputCalc at C:\Users\....\Downloads\lix-unstable-master011224\lix-unstable-master\src\game\core\calc.d(55)
0x000000014025480B in game.core.calc.implGameCalc at C:\Users\....\Downloads\lix-unstable-master011224\lix-unstable-master\src\game\core\calc.d(44)
0x0000000140258465 in game.core.game.Game.work at C:\Users\....\Downloads\lix-unstable-master011224\lix-unstable-master\src\game\core\game.d(200)
0x00000001402A7BF6 in gui.root.calc at C:\Users\....\Downloads\lix-unstable-master011224\lix-unstable-master\src\gui\root.d(98)
0x00000001402C5095 in mainloop.mainloop.MainLoop.calc_returnsTrueIfWeShouldExitApp at C:\Users\....\Downloads\lix-unstable-master011224\lix-unstable-master\src\mainloop\mainloop.d(87)
0x00000001402C4EA5 in mainloop.mainloop.MainLoop.mainLoop at C:\Users\....\Downloads\lix-unstable-master011224\lix-unstable-master\src\mainloop\mainloop.d(48)
0x00000001402C4DB3 in main.main.__lambda3 at C:\Users\....\Downloads\lix-unstable-master011224\lix-unstable-master\src\main.d(38)
0x000000014034668B in allegro5.system.al_run_allegro.main_runner at C:\Users\....\AppData\Local\dub\packages\allegro\4.0.7+5.2.0\allegro\allegro5\system.d(26)
0x0000000140346655 in allegro5.system.al_run_allegro at C:\Users\....\AppData\Local\dub\packages\allegro\4.0.7+5.2.0\allegro\allegro5\system.d(37)
0x00000001402C4CF9 in D main at C:\Users\....\Downloads\lix-unstable-master011224\lix-unstable-master\src\main.d(35)
0x000000014037FB73 in void rt.dmain2._d_run_main2(char[][], ulong, extern (C) int function(char[][])*).runAll().__lambda2()
0x000000014037F9CF in void rt.dmain2._d_run_main2(char[][], ulong, extern (C) int function(char[][])*).tryExec(scope void delegate())
0x000000014037FACF in void rt.dmain2._d_run_main2(char[][], ulong, extern (C) int function(char[][])*).runAll()
0x000000014037F9CF in void rt.dmain2._d_run_main2(char[][], ulong, extern (C) int function(char[][])*).tryExec(scope void delegate())
0x000000014037F8DA in d_run_main2
0x0000000140363BB9 in d_run_main
0x00000001402C4E02 in main._d_cmain!().main at C:\D\dmd2\windows\bin64\..\..\src\druntime\import\core\internal\entrypoint.d(29)
0x00000001404260EE in mainCRTStartup
0x00007FF8B3047374 in BaseThreadInitThunk
0x00007FF8B3E5CC91 in RtlUserThreadStart