Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Compiler checks breaks compatibility when playing Doom 64: Unseen Evil on Linux #2834

Open
1 task done
ShadowOne333 opened this issue Nov 25, 2024 · 0 comments
Open
1 task done
Labels

Comments

@ShadowOne333
Copy link

ShadowOne333 commented Nov 25, 2024

GZDoom version

4.13.2

Which game are you running with GZDoom?

Doom 2

What Operating System are you using?

Linux x86_64

Please describe your specific OS version

Steam OS 3.6.20

Relevant hardware info

Steam Deck (SteamOS 3.6.20)

Have you checked that no other similar issue already exists?

  • I have searched and not found similar issues.

A clear and concise description of what the bug is.

I tried playing the recently released "Doom 64: Unseen Evil" mod, which basically converts all the Doom and Doom II assets to play and behave like Doom 64, and I am getting a consistent crash whenever I tried to load any level of any game/episode.

I remember I tried running this a while ago (before October 15th), and I was able to get it to run into the first level (E1M1) with the D64 assets, however, I didn't continue playing since I was modifying some controls options and left it there for the weekend. It wasn't until yesterday that I came back to it, and to my surprise, now I couldn't get it to run anymore.

I'm running GZDoom on a Steam Deck, with the Flatpak installed being up to date.
I ran the Flatpak through terminal with flatpak run org.zdoom.GZDoom, and at the very end I got the crash log, here's what I got:
(SEE LOG REPORT BELOW)

Running the standalone EXE through Wine makes it work properly, and if I extract the Linux executable from within the .DEB file I can also run it with no issues. The problem arises when attempting to run it through the Flatpak release.

However, I tried bringing this issue up to the people in charge of the Flatpak of ZDoom for Linux distributions by issuing an issue report on their GitHub, but it seems like the issue may be rooted in GZDoom itself rather than just the Flatpak:
flathub/org.zdoom.GZDoom#78

To quote Eonfge:

Then it's likely related to this:
#2656

Long story short, GZDoom plays fast-and-loose with some compiler-checks while the Flatpak app demands certain checks for security and reliability.

The log I posted seems to hint at the possibility of the issue residing in some of the compiler checks when running the game, since the game does boot with the mod, but it only crashes when I attempt to play any level whatsoever.

Steps to reproduce the behaviour.

Explain how to reproduce

  1. Get a copy of Doom/Doom II
  2. Download "Doom 64: Unseen Evil" and configure GZDoom to launch it
  3. The game crashes as soon as selecting any level from any episode

Your configuration

Fresh install on every instance of running GZDoom, no config changes made.

Provide a Log

$ flatpak run org.zdoom.GZDoom

GZDoom g4.13.0-m - 2024-10-12 01:28:09 -0400 - SDL version
Compiled on Oct 13 2024

OS: Freedesktop SDK 24.08 (Flatpak runtime), Linux 6.1.52-valve16-1-neptune-61 on x86_64
GZDoom version g4.13.0-m
W_Init: Init WADfiles.
adding /app/share/games/doom/gzdoom.pk3, 679 lumps
adding /app/share/games/doom/game_support.pk3, 3308 lumps
adding /home/deck/.config/gzdoom/doom.wad, 2306 lumps
adding /app/share/games/doom/game_widescreen_gfx.pk3, 214 lumps
adding /home/deck/.var/app/org.zdoom.GZDoom/.config/gzdoom/D64UnseenEvil-v1.0.3.pk3, 3686 lumps
S_Init: Setting up sound.
I_InitSound: Initializing OpenAL
Opened device ACP/ACP3X/ACP6x Audio Coprocessor Speaker
EFX enabled
Using video driver x11
Number of detected displays 1 .
Creating window [1024x640] on adapter 0
Vulkan device: AMD Custom GPU 0405 (RADV VANGOGH)
Vulkan device type: integrated gpu
Vulkan version: 1.3.289 (api) 24.2.4 (driver)
Max. texture size: 16384
Max. uniform buffer range: -1
Min. uniform buffer offset alignment: 4
Resolution: 640 x 480
I_Init: Setting up machine state.
CPU Vendor ID: AuthenticAMD
Name: AMD Custom APU 0405
Family 23 (23), Model 144, Stepping 2
Features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 F16C FMA3 BMI1 BMI2 HyperThreading
V_Init: allocate screen.
ST_Init: Init startup screen.
Checking cmd-line parameters...
S_InitData: Load sound definitions.
G_ParseMapInfo: Load map definitions.
Texman.Init: Init texture manager.
Invalid data encountered for texture D64UnseenEvil-v1.0.3.pk3:textures/texture_readme.txt
ParseTeamInfo: Load team definitions.
LoadActors: Load actor definitions.
Script warning, "D64UnseenEvil-v1.0.3.pk3:zscript/enemies/zombies.zsc" line 71:
Accessing deprecated function A_PlaySound - deprecated since 4.3.0, Use A_StartSound() instead
Script warning, "D64UnseenEvil-v1.0.3.pk3:zscript/enemies/imps.zsc" line 96:
Accessing deprecated function A_PlaySound - deprecated since 4.3.0, Use A_StartSound() instead
Script warning, "D64UnseenEvil-v1.0.3.pk3:zscript/enemies/brusiers.zsc" line 37:
Truncation of floating point constant 29.268288
Script warning, "D64UnseenEvil-v1.0.3.pk3:zscript/d64ue/enemies/cyberdemon.zsc" line 34:
Truncation of floating point constant 53.658528
Script warning, "D64UnseenEvil-v1.0.3.pk3:zscript/d64ue/enemies/cyberdemon.zsc" line 35:
Truncation of floating point constant 32.940000
Script warning, "D64UnseenEvil-v1.0.3.pk3:zscript/hud.zsc" line 32:
Accessing deprecated function S_Sound - deprecated since 4.3.0, Use S_StartSound() instead
Script warning, "D64UnseenEvil-v1.0.3.pk3:zscript/d64ue/redemption_denied.zsc" line 146:
Comparison between signed and unsigned value
Script warning, "D64UnseenEvil-v1.0.3.pk3:zscript/d64ue/redemption_denied.zsc" line 218:
Comparison between signed and unsigned value
Script warning, "D64UnseenEvil-v1.0.3.pk3:zscript/d64ue/redemption_denied.zsc" line 238:
Comparison between signed and unsigned value
Script warning, "D64UnseenEvil-v1.0.3.pk3:zscript/enemies/arachnotron.zsc" line 65:
Truncation of floating point constant 17.073168
Script warning, "D64UnseenEvil-v1.0.3.pk3:zscript/enemies/arachnotron.zsc" line 66:
Truncation of floating point constant 14.640000
script parsing took 655.20 ms
Brightmap 'textures/comp/d64_brownlever_bm' not found in texture 'TEXTURES/COMP/D64_BROWNLEVER_ON'
Brightmap 'textures/comp/d64_brownlever_bm' not found in texture 'TEXTURES/COMP/D64_CEMENTLEVER_ON'
R_Init: Init Doom refresh subsystem.
DecalLibrary: Load decals.
M_Init: Init menus.
P_Init: Init Playloop state.
Script error, "D64UnseenEvil-v1.0.3.pk3:models/maps/map30_map30.obj" line 532:
Material Default (#0) not found.
Script error, "D64UnseenEvil-v1.0.3.pk3:models/maps/map30_map30.obj" line 588:
Material SFALL4 (#2) not found.
Script error, "D64UnseenEvil-v1.0.3.pk3:models/maps/map30_map30.obj" line 626:
Material BFALL1 (#6) not found.
Script error, "D64UnseenEvil-v1.0.3.pk3:models/maps/map30_map30.obj" line 644:
Material Default (#10) not found.
ParseSBarInfo: Loading custom status bar definition.
D_CheckNetGame: Checking network game status.
player 1 of 1 (1 nodes)


TITLEMAP - Title Screen


E1M1 - Hangar

[PLAYLIST] Resetting playlist to default...
/usr/include/c++/14.2.0/bits/stl_vector.h:1130: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator [with _Tp = short int; _Alloc = std::allocator; reference = short int&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant