Kart-Public issueshttps://git.do.srb2.org/KartKrew/Kart-Public/-/issues2023-01-28T02:21:35Zhttps://git.do.srb2.org/KartKrew/Kart-Public/-/issues/27The attached ban.txt file sigsegv's the game on startup2023-01-28T02:21:35ZAshnalThe attached ban.txt file sigsegv's the game on startupTitle, see attached ban.txt. [ban.txt](/uploads/0e9197536010b828c0faeb802c5249a1/ban.txt)Title, see attached ban.txt. [ban.txt](/uploads/0e9197536010b828c0faeb802c5249a1/ban.txt)https://git.do.srb2.org/KartKrew/Kart-Public/-/issues/26OpenGL is broken on latest AMD gpu driver2023-02-06T06:49:53ZkatsyOpenGL is broken on latest AMD gpu drivervanilla SRB2 opengl works fine, kart does not. Software still works.
Here's what happens:<br>
![kart0000](/uploads/579218a03fe759319a321e3a6af05731/kart0000.gif)<br>
The screen is all black except for the flickering FPS display, audio a...vanilla SRB2 opengl works fine, kart does not. Software still works.
Here's what happens:<br>
![kart0000](/uploads/579218a03fe759319a321e3a6af05731/kart0000.gif)<br>
The screen is all black except for the flickering FPS display, audio and such still work.
My cpu is an AMD Ryzen 5, my "gpu" is just generic integrated graphics:<br>
![Untitled](/uploads/86df4034ff8b26050c745cb519b73d5f/Untitled.png)https://git.do.srb2.org/KartKrew/Kart-Public/-/issues/25Joining match, confusing text.2022-10-03T01:47:22ZElie PlattJoining match, confusing text.This is less of a bug and more of a general, clarification that should be made. When joining a match in progress you may press "Use item." to que yourself to join. It changes the bottom text from:
Item - Join Game
to
Item - Cancel Join...This is less of a bug and more of a general, clarification that should be made. When joining a match in progress you may press "Use item." to que yourself to join. It changes the bottom text from:
Item - Join Game
to
Item - Cancel Join
New, particularly young or inexperienced gamers have a difficult time understanding, thinking they just canceled joining. Consider changing the text to:
Press Item to Join/Spectate
Joining...
Press Item to Join/Spectate
-Spectating-
This way the status is accurate to what is happening, not to what the next state is.https://git.do.srb2.org/KartKrew/Kart-Public/-/issues/21Severe Splitscreen Performance hit. (Open GL)2022-10-25T22:14:38ZElie PlattSevere Splitscreen Performance hit. (Open GL)The performance loss on splitscreen is near 75% or more on most maps for 4 players in GL mode. In software the loss is about 40% which is more what you would expect to see. I don't know if there is any way to optimize this but lowering t...The performance loss on splitscreen is near 75% or more on most maps for 4 players in GL mode. In software the loss is about 40% which is more what you would expect to see. I don't know if there is any way to optimize this but lowering the graphics settings does not appear to improve the situation. Tested on a Intel Integrated, AMD APU, 1080ti and 3080ti. The performance loss is uniform on all platforms. Going from 700fps down to about 200 on 3080ti and from 120fps to about 28 on the Intel. I will attempt to explore this further and post comments if I can find a possible culprit.https://git.do.srb2.org/KartKrew/Kart-Public/-/issues/19OpenGL: Memory leak when changing screen resolution2022-08-28T19:13:08ZSteelTOpenGL: Memory leak when changing screen resolutionSteps to reproduce:
1. Select a new screen resolution in video options menu
2. Press ESC to return out of preview mode
3. Select the new screen resolution again
4. Repeat few timesSteps to reproduce:
1. Select a new screen resolution in video options menu
2. Press ESC to return out of preview mode
3. Select the new screen resolution again
4. Repeat few timeshttps://git.do.srb2.org/KartKrew/Kart-Public/-/issues/8Wayland SDL support2021-08-31T20:58:09ZclippyWayland SDL supportThe vanilla SRB2 runs fine under a Wayland compositor. When I launch srb2kart it fails to create an xdg_surface and the application quits.
Output of `WAYLAND_DEBUG=1 SDL_VIDEODRIVER=wayland srb2kart`:
```
==============================...The vanilla SRB2 runs fine under a Wayland compositor. When I launch srb2kart it fails to create an xdg_surface and the application quits.
Output of `WAYLAND_DEBUG=1 SDL_VIDEODRIVER=wayland srb2kart`:
```
===========================================================================
We hope you enjoy this game as
much as we did making it!
===========================================================================
SRB2Kart v1.3 (Aug 28 2021 02:17:08 6f8d246d)
SDL Linux 64-bit
[725229.360] wl_display@1.delete_id(35)
[725229.423] wl_buffer@36.release()
[725229.459] wl_callback@35.done(22707)
[725229.501] -> wl_surface@23.attach(wl_buffer@33, 0, 0)
[725229.558] -> wl_surface@23.damage(0, 0, 2147483647, 2147483647)
[725229.896] -> wl_surface@23.commit()
[725229.942] -> wl_display@1.sync(new id wl_callback@35)
[725230.103] xdg_toplevel@30.configure(0, 0, array)
[725230.160] -> xdg_toplevel@30.set_min_size(0, 0)
[725230.235] -> xdg_toplevel@30.set_max_size(0, 0)
[725230.309] -> wl_surface@23.commit()
[725230.358] -> xdg_toplevel@30.set_fullscreen(wl_output@18)
[725230.404] xdg_surface@29.configure(22700)
[725230.444] -> wl_surface@23.set_buffer_scale(1)
[725230.489] -> wl_compositor@6.create_region(new id wl_region@37)
[725230.540] -> wl_region@37.add(0, 0, 0, 0)
[725230.593] -> wl_surface@23.set_opaque_region(wl_region@37)
[725230.646] -> wl_region@37.destroy()
[725230.687] -> xdg_surface@29.set_window_geometry(0, 0, 0, 0)
[725230.772] -> xdg_surface@29.ack_configure(22700)
[725230.830] wl_keyboard@20.enter(22704, wl_surface@23, array)
[725230.920] wl_keyboard@20.modifiers(22705, 0, 0, 0, 0)
[725231.019] wl_data_device@16.data_offer(new id wl_data_offer@3639993360)
[725231.078] wl_data_offer@4278190080.offer("UTF8_STRING")
[725231.141] wl_data_offer@4278190080.offer("COMPOUND_TEXT")
[725231.181] wl_data_offer@4278190080.offer("TEXT")
[725231.221] wl_data_offer@4278190080.offer("STRING")
[725231.283] wl_data_offer@4278190080.offer("text/plain;charset=utf-8")
[725231.340] wl_data_offer@4278190080.offer("text/plain")
[725231.407] wl_data_offer@4278190080.offer("SAVE_TARGETS")
[725231.470] wl_data_device@16.selection(wl_data_offer@4278190080)
[725231.529] wl_callback@26.done(26402461)
[725231.571] -> wl_surface@23.frame(new id wl_callback@34)
[725231.643] xdg_toplevel@30.configure(320, 200, array)
[725231.719] -> xdg_toplevel@30.set_min_size(0, 0)
[725231.763] -> xdg_toplevel@30.set_max_size(0, 0)
[725231.814] -> wl_surface@23.commit()
[725231.866] -> xdg_toplevel@30.set_fullscreen(wl_output@18)
[725231.925] xdg_surface@29.configure(22703)
[725231.981] -> wl_surface@23.set_buffer_scale(1)
[725232.036] -> wl_compositor@6.create_region(new id wl_region@26)
[725232.099] -> wl_region@26.add(0, 0, 320, 200)
[725232.188] -> wl_surface@23.set_opaque_region(wl_region@26)
[725232.251] -> wl_region@26.destroy()
[725232.304] -> xdg_surface@29.set_window_geometry(0, 0, 320, 200)
[725232.395] -> xdg_surface@29.ack_configure(22703)
[725232.459] wl_surface@23.enter(wl_output@18)
[725232.501] wl_pointer@19.enter(22707, wl_surface@23, 160.000000, 100.000000)
[725232.637] -> wl_pointer@19.set_cursor(22707, wl_surface@21, 5, 5)
[725232.725] -> wl_surface@21.attach(wl_buffer@3, 0, 0)
[725232.790] -> wl_surface@21.damage(0, 0, 32, 32)
[725232.868] -> wl_surface@21.commit()
[725232.912] -> wl_pointer@19.set_cursor(22707, wl_surface@21, 5, 5)
[725232.991] -> wl_surface@21.attach(wl_buffer@3, 0, 0)
[725233.065] -> wl_surface@21.damage(0, 0, 32, 32)
[725233.152] -> wl_surface@21.commit()
[725233.214] wl_pointer@19.frame()
[725233.268] xdg_toplevel@30.configure(1920, 1080, array)
[725233.337] xdg_surface@29.configure(22708)
[725233.391] -> wl_surface@23.set_buffer_scale(1)
[725233.454] -> wl_compositor@6.create_region(new id wl_region@32)
[725233.508] -> wl_region@32.add(0, 0, 1920, 1080)
[725233.594] -> wl_surface@23.set_opaque_region(wl_region@32)
[725233.661] -> wl_region@32.destroy()
[725233.712] -> xdg_surface@29.set_window_geometry(0, 0, 1920, 1080)
[725233.781] -> xdg_surface@29.ack_configure(22708)
[725376.000] wl_display@1.delete_id(35)
[725376.059] wl_display@1.delete_id(37)
[725376.112] wl_display@1.error(xdg_surface@29, 4294967295, "Tried to set invalid xdg-surface geometry")
xdg_surface@29: error -1: Tried to set invalid xdg-surface geometry
Shutdown tty console
I_ShutdownGraphics(): shut down
Shutting down joy system
I_Joystick: SDL's Joystick system has been shutdown
I_ShutdownTcpDriver: shut down
I_ShutdownSystem(): end of logstream.
Shutdown tty console
```https://git.do.srb2.org/KartKrew/Kart-Public/-/issues/6Compilation error: ld: /tmp/guix-build-srb2kart-1.3.drv-0/source/src/sdl/ogl_...2020-10-17T23:00:09Zpkill9Compilation error: ld: /tmp/guix-build-srb2kart-1.3.drv-0/source/src/sdl/ogl_sdl.c:174: undefined reference to `gllogstream'```
[100%] Linking C executable ../../bin/srb2kart
cd /tmp/guix-build-srb2kart-1.3.drv-0/build/src/sdl && /gnu/store/89rj5fqcg48afgk99639ds602pgf92k4-cmake-minimal-3.16.5/bin/cmake -E cmake_link_script CMakeFiles/SRB2SDL2.dir/link.txt --...```
[100%] Linking C executable ../../bin/srb2kart
cd /tmp/guix-build-srb2kart-1.3.drv-0/build/src/sdl && /gnu/store/89rj5fqcg48afgk99639ds602pgf92k4-cmake-minimal-3.16.5/bin/cmake -E cmake_link_script CMakeFiles/SRB2SDL2.dir/link.txt --verbose=1
/gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/bin/gcc -O2 -g -DNDEBUG -rdynamic CMakeFiles/SRB2SDL2.dir/__/am_map.c.o CMakeFiles/SRB2SDL2.dir/__/b_bot.c.o CMakeFiles/SRB2SDL2.dir/__/command.c.o CMakeFiles/SRB2SDL2.dir/__/comptime.c.o CMakeFiles/SRB2SDL2.dir/__/console.c.o CMakeFiles/SRB2SDL2.dir/__/d_clisrv.c.o CMakeFiles/SRB2SDL2.dir/__/d_main.c.o CMakeFiles/SRB2SDL2.dir/__/d_net.c.o CMakeFiles/SRB2SDL2.dir/__/d_netcmd.c.o CMakeFiles/SRB2SDL2.dir/__/d_netfil.c.o CMakeFiles/SRB2SDL2.dir/__/dehacked.c.o CMakeFiles/SRB2SDL2.dir/__/f_finale.c.o CMakeFiles/SRB2SDL2.dir/__/f_wipe.c.o CMakeFiles/SRB2SDL2.dir/__/filesrch.c.o CMakeFiles/SRB2SDL2.dir/__/g_game.c.o CMakeFiles/SRB2SDL2.dir/__/g_input.c.o CMakeFiles/SRB2SDL2.dir/__/hu_stuff.c.o CMakeFiles/SRB2SDL2.dir/__/i_tcp.c.o CMakeFiles/SRB2SDL2.dir/__/info.c.o CMakeFiles/SRB2SDL2.dir/__/lzf.c.o CMakeFiles/SRB2SDL2.dir/__/m_aatree.c.o CMakeFiles/SRB2SDL2.dir/__/m_anigif.c.o CMakeFiles/SRB2SDL2.dir/__/m_argv.c.o CMakeFiles/SRB2SDL2.dir/__/m_bbox.c.o CMakeFiles/SRB2SDL2.dir/__/m_cheat.c.o CMakeFiles/SRB2SDL2.dir/__/m_cond.c.o CMakeFiles/SRB2SDL2.dir/__/m_fixed.c.o CMakeFiles/SRB2SDL2.dir/__/m_menu.c.o CMakeFiles/SRB2SDL2.dir/__/m_misc.c.o CMakeFiles/SRB2SDL2.dir/__/m_queue.c.o CMakeFiles/SRB2SDL2.dir/__/m_random.c.o CMakeFiles/SRB2SDL2.dir/__/md5.c.o CMakeFiles/SRB2SDL2.dir/__/mserv.c.o CMakeFiles/SRB2SDL2.dir/__/http-mserv.c.o CMakeFiles/SRB2SDL2.dir/__/s_sound.c.o CMakeFiles/SRB2SDL2.dir/__/screen.c.o CMakeFiles/SRB2SDL2.dir/__/sounds.c.o CMakeFiles/SRB2SDL2.dir/__/st_stuff.c.o CMakeFiles/SRB2SDL2.dir/__/tables.c.o CMakeFiles/SRB2SDL2.dir/__/v_video.c.o CMakeFiles/SRB2SDL2.dir/__/w_wad.c.o CMakeFiles/SRB2SDL2.dir/__/y_inter.c.o CMakeFiles/SRB2SDL2.dir/__/z_zone.c.o CMakeFiles/SRB2SDL2.dir/__/string.c.o CMakeFiles/SRB2SDL2.dir/__/apng.c.o CMakeFiles/SRB2SDL2.dir/__/r_bsp.c.o CMakeFiles/SRB2SDL2.dir/__/r_data.c.o CMakeFiles/SRB2SDL2.dir/__/r_draw.c.o CMakeFiles/SRB2SDL2.dir/__/r_main.c.o CMakeFiles/SRB2SDL2.dir/__/r_plane.c.o CMakeFiles/SRB2SDL2.dir/__/r_segs.c.o CMakeFiles/SRB2SDL2.dir/__/r_sky.c.o CMakeFiles/SRB2SDL2.dir/__/r_splats.c.o CMakeFiles/SRB2SDL2.dir/__/r_things.c.o CMakeFiles/SRB2SDL2.dir/__/p_ceilng.c.o CMakeFiles/SRB2SDL2.dir/__/p_enemy.c.o CMakeFiles/SRB2SDL2.dir/__/p_floor.c.o CMakeFiles/SRB2SDL2.dir/__/p_inter.c.o CMakeFiles/SRB2SDL2.dir/__/p_lights.c.o CMakeFiles/SRB2SDL2.dir/__/p_map.c.o CMakeFiles/SRB2SDL2.dir/__/p_maputl.c.o CMakeFiles/SRB2SDL2.dir/__/p_mobj.c.o CMakeFiles/SRB2SDL2.dir/__/p_polyobj.c.o CMakeFiles/SRB2SDL2.dir/__/p_saveg.c.o CMakeFiles/SRB2SDL2.dir/__/p_setup.c.o CMakeFiles/SRB2SDL2.dir/__/p_sight.c.o CMakeFiles/SRB2SDL2.dir/__/p_slopes.c.o CMakeFiles/SRB2SDL2.dir/__/p_spec.c.o CMakeFiles/SRB2SDL2.dir/__/p_telept.c.o CMakeFiles/SRB2SDL2.dir/__/p_tick.c.o CMakeFiles/SRB2SDL2.dir/__/p_user.c.o CMakeFiles/SRB2SDL2.dir/__/k_kart.c.o CMakeFiles/SRB2SDL2.dir/__/lua_baselib.c.o CMakeFiles/SRB2SDL2.dir/__/lua_blockmaplib.c.o CMakeFiles/SRB2SDL2.dir/__/lua_consolelib.c.o CMakeFiles/SRB2SDL2.dir/__/lua_hooklib.c.o CMakeFiles/SRB2SDL2.dir/__/lua_hudlib.c.o CMakeFiles/SRB2SDL2.dir/__/lua_infolib.c.o CMakeFiles/SRB2SDL2.dir/__/lua_maplib.c.o CMakeFiles/SRB2SDL2.dir/__/lua_mathlib.c.o CMakeFiles/SRB2SDL2.dir/__/lua_mobjlib.c.o CMakeFiles/SRB2SDL2.dir/__/lua_playerlib.c.o CMakeFiles/SRB2SDL2.dir/__/lua_script.c.o CMakeFiles/SRB2SDL2.dir/__/lua_skinlib.c.o CMakeFiles/SRB2SDL2.dir/__/lua_thinkerlib.c.o CMakeFiles/SRB2SDL2.dir/__/blua/lapi.c.o CMakeFiles/SRB2SDL2.dir/__/blua/lauxlib.c.o CMakeFiles/SRB2SDL2.dir/__/blua/lbaselib.c.o CMakeFiles/SRB2SDL2.dir/__/blua/lcode.c.o CMakeFiles/SRB2SDL2.dir/__/blua/ldebug.c.o CMakeFiles/SRB2SDL2.dir/__/blua/ldo.c.o CMakeFiles/SRB2SDL2.dir/__/blua/ldump.c.o CMakeFiles/SRB2SDL2.dir/__/blua/lfunc.c.o CMakeFiles/SRB2SDL2.dir/__/blua/lgc.c.o CMakeFiles/SRB2SDL2.dir/__/blua/linit.c.o CMakeFiles/SRB2SDL2.dir/__/blua/liolib.c.o CMakeFiles/SRB2SDL2.dir/__/blua/llex.c.o CMakeFiles/SRB2SDL2.dir/__/blua/lmem.c.o CMakeFiles/SRB2SDL2.dir/__/blua/lobject.c.o CMakeFiles/SRB2SDL2.dir/__/blua/lopcodes.c.o CMakeFiles/SRB2SDL2.dir/__/blua/lparser.c.o CMakeFiles/SRB2SDL2.dir/__/blua/lstate.c.o CMakeFiles/SRB2SDL2.dir/__/blua/lstring.c.o CMakeFiles/SRB2SDL2.dir/__/blua/lstrlib.c.o CMakeFiles/SRB2SDL2.dir/__/blua/ltable.c.o CMakeFiles/SRB2SDL2.dir/__/blua/ltablib.c.o CMakeFiles/SRB2SDL2.dir/__/blua/ltm.c.o CMakeFiles/SRB2SDL2.dir/__/blua/lundump.c.o CMakeFiles/SRB2SDL2.dir/__/blua/lvm.c.o CMakeFiles/SRB2SDL2.dir/__/blua/lzio.c.o CMakeFiles/SRB2SDL2.dir/dosstr.c.o CMakeFiles/SRB2SDL2.dir/endtxt.c.o CMakeFiles/SRB2SDL2.dir/hwsym_sdl.c.o CMakeFiles/SRB2SDL2.dir/i_cdmus.c.o CMakeFiles/SRB2SDL2.dir/i_main.c.o CMakeFiles/SRB2SDL2.dir/i_net.c.o CMakeFiles/SRB2SDL2.dir/i_system.c.o CMakeFiles/SRB2SDL2.dir/i_ttf.c.o CMakeFiles/SRB2SDL2.dir/i_video.c.o CMakeFiles/SRB2SDL2.dir/ogl_sdl.c.o CMakeFiles/SRB2SDL2.dir/mixer_sound.c.o CMakeFiles/SRB2SDL2.dir/__/hardware/hw_bsp.c.o CMakeFiles/SRB2SDL2.dir/__/hardware/hw_cache.c.o CMakeFiles/SRB2SDL2.dir/__/hardware/hw_clip.c.o CMakeFiles/SRB2SDL2.dir/__/hardware/hw_draw.c.o CMakeFiles/SRB2SDL2.dir/__/hardware/hw_light.c.o CMakeFiles/SRB2SDL2.dir/__/hardware/hw_main.c.o CMakeFiles/SRB2SDL2.dir/__/hardware/hw_md2.c.o CMakeFiles/SRB2SDL2.dir/__/hardware/hw_md2load.c.o CMakeFiles/SRB2SDL2.dir/__/hardware/hw_md3load.c.o CMakeFiles/SRB2SDL2.dir/__/hardware/hw_model.c.o CMakeFiles/SRB2SDL2.dir/__/hardware/hw_trick.c.o CMakeFiles/SRB2SDL2.dir/__/hardware/u_list.c.o CMakeFiles/SRB2SDL2.dir/__/hardware/r_opengl/r_opengl.c.o -o ../../bin/srb2kart-1.3 -Wl,-rpath,:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -lSDL2 -lSDL2_mixer -lgme -lpng -lz -lz -lcurl -lm -lrt
ld: CMakeFiles/SRB2SDL2.dir/ogl_sdl.c.o: in function `OglSdlSurface':
/tmp/guix-build-srb2kart-1.3.drv-0/source/src/sdl/ogl_sdl.c:164: undefined reference to `gllogstream'
ld: /tmp/guix-build-srb2kart-1.3.drv-0/source/src/sdl/ogl_sdl.c:171: undefined reference to `gllogstream'
ld: /tmp/guix-build-srb2kart-1.3.drv-0/source/src/sdl/ogl_sdl.c:174: undefined reference to `gllogstream'
collect2: error: ld returned 1 exit status
make[2]: *** [src/sdl/CMakeFiles/SRB2SDL2.dir/build.make:2089: bin/srb2kart-1.3] Error 1
make[2]: Leaving directory '/tmp/guix-build-srb2kart-1.3.drv-0/build'
make[1]: *** [CMakeFiles/Makefile2:136: src/sdl/CMakeFiles/SRB2SDL2.dir/all] Error 2
make[1]: Leaving directory '/tmp/guix-build-srb2kart-1.3.drv-0/build'
make: *** [Makefile:155: all] Error 2
command "make" "-j" "4" failed with status 2
```https://git.do.srb2.org/KartKrew/Kart-Public/-/issues/4SIGSEGV on Linux when trying to run with -opengl2020-05-12T23:33:58ZAustin AllmanSIGSEGV on Linux when trying to run with -openglIn version 1.2 opengl crashes on Linux. I did a stack trace on the coredump which I will list the output of here.
```
austin@VivoBook:~/Repositories/Kart-Public/bin/Linux64/Release$ coredumpctl gdb /home/austin/Repositories/Kart-Public/b...In version 1.2 opengl crashes on Linux. I did a stack trace on the coredump which I will list the output of here.
```
austin@VivoBook:~/Repositories/Kart-Public/bin/Linux64/Release$ coredumpctl gdb /home/austin/Repositories/Kart-Public/bin/Linux64/Release/lsdl2srb2kart.debug
PID: 17866 (lsdl2srb2kart.d)
UID: 1000 (austin)
GID: 1000 (austin)
Signal: 11 (SEGV)
Timestamp: Tue 2020-05-12 15:35:04 CDT (15min ago)
Command Line: ./lsdl2srb2kart.debug -opengl
Executable: /home/austin/Repositories/Kart-Public/bin/Linux64/Release/lsdl2srb2kart.debug
Control Group: /user.slice/user-1000.slice/session-2.scope
Unit: session-2.scope
Slice: user-1000.slice
Session: 2
Owner UID: 1000 (austin)
Boot ID: b1024077b03049cbb22a6754007f381f
Machine ID: 184ec2527aff4d048a75dc300e6c1838
Hostname: VivoBook
Storage: /var/lib/systemd/coredump/core.lsdl2srb2kart\x2ed.1000.b1024077b03049cbb22a6754007f381f.17866.1589315704000000000000.lz4
Message: Process 17866 (lsdl2srb2kart.d) of user 1000 dumped core.
Stack trace of thread 17866:
#0 0x00007f1bc8a66075 _IO_fwrite (libc.so.6 + 0x76075)
#1 0x00005612dc97c322 n/a (/home/austin/Repositories/Kart-Public/bin/Linux64/Release/lsdl2srb2kart.debug + 0x18b322)
#2 0x706d6f432820362e n/a (n/a + 0x0)
GNU gdb (GDB) 9.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/austin/Repositories/Kart-Public/bin/Linux64/Release/lsdl2srb2kart.debug...
[New LWP 17866]
[New LWP 17870]
[New LWP 17869]
[New LWP 17871]
[New LWP 17872]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `./lsdl2srb2kart.debug -opengl'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f1bc8a66075 in fwrite () from /usr/lib/libc.so.6
[Current thread is 1 (Thread 0x7f1bc80b7cc0 (LWP 17866))]
(gdb) bt
#0 0x00007f1bc8a66075 in fwrite () from /usr/lib/libc.so.6
#1 0x00005612dc97c322 in GL_DBG_Printf (format=format@entry=0x5612dca8e548 "OpenGL %s\n") at hardware/r_opengl/r_opengl.c:162
#2 0x00005612dc982cae in OglSdlSurface (w=320, h=200) at sdl/ogl_sdl.c:166
#3 0x00005612dc979fb9 in SDLSetMode (fullscreen=<optimized out>, height=<optimized out>, width=<optimized out>) at sdl/i_video.c:225
#4 VID_SetMode (modeNum=<optimized out>) at sdl/i_video.c:1647
#5 0x00005612dc97a6b9 in I_StartupGraphics () at sdl/i_video.c:1510
#6 0x00005612dc838ffd in D_SRB2Main () at d_main.c:1307
#7 0x00005612dc83753d in main (argc=<optimized out>, argv=<optimized out>) at sdl/i_main.c:166
(gdb) up
#1 0x00005612dc97c322 in GL_DBG_Printf (format=format@entry=0x5612dca8e548 "OpenGL %s\n") at hardware/r_opengl/r_opengl.c:162
162 fwrite(str, strlen(str), 1, gllogstream);
(gdb) l
157
158 va_start(arglist, format);
159 vsnprintf(str, 4096, format, arglist);
160 va_end(arglist);
161
162 fwrite(str, strlen(str), 1, gllogstream);
163 #else
164 (void)format;
165 #endif
166 }
(gdb) p gllogstream
$1 = (FILE *) 0x0
```
I changed line 151 of hardware/r_opengl/r_opengl.c from `#ifdef DEBUG_TO_FILE` to `#if 0` which obviously isn't a proper solution but as a quick and dirty workaround for debugging it got the game up and running with opengl
The new models look fantastic btw!https://git.do.srb2.org/KartKrew/Kart-Public/-/issues/2Deployment settings2019-02-22T04:21:58ZAlam Ed AriasDeployment settingsWe may want to have the ASSET_ settings in the buildbot config files so forks will have a good working setup
Also, https://lightdash.org/ can not be connectedWe may want to have the ASSET_ settings in the buildbot config files so forks will have a good working setup
Also, https://lightdash.org/ can not be connected