nesbox / TIC-80

TIC-80 is a fantasy computer for making, playing and sharing tiny games.
https://tic80.com
MIT License
4.94k stars 479 forks source link

Streaming TIC-80 on Discord makes it crash #1914

Open Trixciel opened 2 years ago

Trixciel commented 2 years ago

As the name suggests, trying to stream TIC-80 in a Discord voice chat makes the game crash. Can't be more specific than that. I tried both fullscreen and windowed.

MineRobber9000 commented 2 years ago

Can confirm the main executable crashes when streamed on Discord. The SDL player does not crash if that helps narrow down what causes the crash.

borbware commented 2 years ago

I can confirm this as well. Trying to stream 1.0.2164 to Discord results in weird visual glitches, 0.90.1723 was completely fine

borbware commented 10 months ago

i've done some narrowing down on this issue: streaming the build 0.90-1723 does not result in a crash, but streaming 1.0-1735 does.

Does anyone know which git commits these builds correspond to?

sogaiu commented 10 months ago

I think there's a link from the corresponding release page in some cases.

For example, for 0.90-1723, visiting this page, I see a link to this commit.

I didn't find anything for 1.0-1735 though.

nesbox commented 10 months ago

Perhaps the problem is using the SDLGPU library, can anyone test it with GPU rendering disabled by calling the binary with the tic80.exe --soft option?

borbware commented 10 months ago

@nesbox tested! your hunch was right - streaming tic80-1.1-pro.exe didn't crash it when running it from the command line with the --soft option.

Miguel-hrvs commented 2 months ago

Can't reproduce the issue with the browser discord version

The eduke guys had a similar problem: https://voidpoint.io/terminx/eduke32/-/commit/88f90a193524900ab10ea99795397fe96b843931