!hzgkCxLtCOTmFXGauj:nixos.org

NixOS Gaming

447 Members
Gaming things, my hands are typing words.127 Servers

Load older messages


SenderMessageTime
11 May 2025
@carlossless:matrix.orgcarlosslessWell I just confirmed that switching back to SDL2_classic makes it work again. So it's definitely SDL that's the issue here07:58:50
@carlossless:matrix.orgcarlosslessneed to look up what uses SDL2 and has darwin as one of the supported platforms08:00:57
@carlossless:matrix.orgcarlossless K900: just tried bzflag - same issue 08:06:41
@carlossless:matrix.orgcarlosslesshm, blobwars does work though08:10:03
@carlossless:matrix.orgcarlosslessRedacted or Malformed Event08:13:57
@carlossless:matrix.orgcarlosslessHere's the SDL_CreateWindow calls for all three apps: bzflag - https://github.com/BZFlag-Dev/bzflag/blob/f6f647cdc1bc4921bf8e58c8ec6e8b518f9e818c/src/platform/SDL2Window.cxx#L264-L272 q2pro - https://github.com/skullernet/q2pro/blob/aba81ef8bc277e9a4e11733a449a29d07ea28c7a/src/unix/video/sdl.c#L258-L259 blobwars - https://github.com/perpendicular-dimensions/blobwars/blob/1622ca7486227c8993dab2657837de51f09bad94/src/init.cpp#L27208:15:10
@carlossless:matrix.orgcarlosslessI'm going to guess it's probably the opengl option that makes the difference here08:16:10
@k900:0upti.meK900I wonder if it's failing to load libGL for some reason08:21:45
@carlossless:matrix.orgcarlosslessSeems like the correct env var for logging is SDL_LOGGING, but even though setting SDL_LOGGING="*=trace" produces more output, there's no info on why it couldn't create a new window08:31:55
@carlossless:matrix.orgcarlossless hm, the previous version which works for me was already linked against sdl2-compat, the only difference between the two links is the patch bump 2.32.52 -> 2.32.54 08:44:31
@k900:0upti.meK900We do have 2.32.56 in staging-next08:46:06
@k900:0upti.meK900You might want to try that08:46:08
@carlossless:matrix.orgcarlossless hm, no 2.32.52 still fails 08:56:25
@carlossless:matrix.orgcarlosslessalthough I took the last commit before the 54 upgrade, seems like there were some things changes that could've affected darwin09:02:56
@carlossless:matrix.orgcarlosslessah no, that's wrong, I failed in my process, the commit before the 54 wasn't broken. Still confirming all of this though09:24:31
@carlossless:matrix.orgcarlosslesswelp, apparently I need to rebuild everything under the sun just to get that version to build now...11:28:29
@carlossless:matrix.orgcarlossless okay, it built, and apparently it wasn't that... building and running it from f64a287 works just fine... 13:22:40
@carlossless:matrix.orgcarlossless can't easily try 2.32.56 there's other failures in staging-next 14:49:03
@carlossless:matrix.orgcarlossless I can confirm though that at f64a287d96ad7783e10f17b2c703078ea3ba0346 everything was still working, so it's not any changes to sdl-compat or sdl3 directly 15:08:24
@k900:0upti.meK900Well I guess you'll have to bisect nixpkgs 15:09:01
@nick73:matrix.orgnick joined the room.19:30:57
12 May 2025
@carlossless:matrix.orgcarlosslessugh, bisecting this is such a pain. Unrelated build failures plaguing every other step... And I am really wishing for a --no-check option on nix-build07:56:24
@tobi:stapelueberfluss.deTobiNary joined the room.11:07:45
@jaoreir:matrix.orgJaoreir Hi everyone. Has anyone else tried to run the unity editor on nixos? I'm experiencing an issue where the editor couldn't find its default fonts to do IMGUI rendering.
It spams the error "Unable to find a font file with the specified Family Name [LegacyRuntime] and Style [Regular].
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /home/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:219)" over and over.
I tried to symlink my fonts directory to /usr/share/fonts but it doesn't help. :(
13:01:10
@fxomt:pub.solar@fxomt:pub.solar joined the room.18:18:37
@aidalgol:matrix.orgaidalgol Something like that I would run via steam-run or a custom FHS environment wrapper. 19:29:22
13 May 2025
@energi:matrix.orgenergi joined the room.22:44:16
@c-x-berger:boiler.socialc-x-berger wlx-overlay-s is broken on stable? 23:52:40
@c-x-berger:boiler.socialc-x-berger
error: builder for '/nix/store/mhqr7m4vi642p9p4a0lcj8p3y3j73fln-wlx-overlay-s-25.4.2.drv' failed with exit code 101;
       last 25 log lines:
       >    --> src/gui/canvas/mod.rs:180:27
       >     |
       > 180 |     pub const fn data_mut(&mut self) -> &mut D {
       >     |                           ^^^^^^^^^
       >     |
       >     = note: see issue #57349 <https://github.com/rust-lang/rust/issues/57349> for more information
       >
       > error[E0658]: mutable references are not allowed in constant functions
       >    --> src/gui/canvas/mod.rs:180:41
       >     |
       > 180 |     pub const fn data_mut(&mut self) -> &mut D {
       >     |                                         ^^^^^^
       >     |
       >     = note: see issue #57349 <https://github.com/rust-lang/rust/issues/57349> for more information
       >
       > error[E0658]: mutable references are not allowed in constant functions
       >    --> src/gui/canvas/mod.rs:181:9
       >     |
       > 181 |         &mut self.data.data
       >     |         ^^^^^^^^^^^^^^^^^^^
       >     |
       >     = note: see issue #57349 <https://github.com/rust-lang/rust/issues/57349> for more information
       >
       > For more information about this error, try `rustc --explain E0658`.
       > error: could not compile `wlx-overlay-s` (bin "wlx-overlay-s") due to 9 previous errors
       For full logs, run 'nix log /nix/store/mhqr7m4vi642p9p4a0lcj8p3y3j73fln-wlx-overlay-s-25.4.2.drv'.

seems to be an outdated rustc problem

23:55:08
14 May 2025
@c-x-berger:boiler.socialc-x-bergerfiled https://github.com/NixOS/nixpkgs/issues/406898 about it00:47:27

Show newer messages


Back to Room ListRoom Version: 10