[Closed] Linux, 4.7.1, "teleporting" things and other words

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Linux, 4.7.1, "teleporting" things and other words

Postby Revae » Wed Nov 17, 2021 6:49 pm

I'm trying to compile a version of REKKR for Linux, which went okay - got GZDoom 4.7.1 compiled just fine, editing it shouldn't be a problem then - but when I tested out REKKR I got an error:
Code: Select allExpand view
OS: Linux Mint 20.2, Linux 5.4.0-74-generic on x86_64
M_LoadDefaults: Load system defaults.
Can't find file 'REKBONUS.wad' in '.'
W_Init: Init WADfiles.
 adding /home/mint/gzdoom_build/gzdoom/build/gzdoom.pk3, 666 lumps
 adding /home/mint/gzdoom_build/gzdoom/build/game_support.pk3, 2514 lumps
 adding ./REKKRSL.iwad, 3972 lumps
 adding ./REKKRGZ.pk3, 348 lumps
 adding /home/mint/gzdoom_build/gzdoom/build/game_widescreen_gfx.pk3, 216 lumps
Script error, "REKKRSL.iwad:DEFCVARS" line 38:
Cannot set cvar default for blacklisted cvar 'disablecrashlog'
Script error, "REKKRSL.iwad:DEFCVARS" line 65:
Cannot set cvar default for blacklisted cvar 'gl_control_tear'
Script error, "REKKRSL.iwad:DEFCVARS" line 91:
Unknown cvar 'gl_render_precise' in defcvars
Script error, "REKKRSL.iwad:DEFCVARS" line 118:
Cannot set cvar default for blacklisted cvar 'in_mouse'
Script error, "REKKRSL.iwad:DEFCVARS" line 122:
Cannot set cvar default for blacklisted cvar 'joy_dinput'
Script error, "REKKRSL.iwad:DEFCVARS" line 123:
Cannot set cvar default for blacklisted cvar 'joy_ps2raw'
Script error, "REKKRSL.iwad:DEFCVARS" line 124:
Cannot set cvar default for blacklisted cvar 'joy_xinput'
Script error, "REKKRSL.iwad:DEFCVARS" line 125:
Cannot set cvar default for blacklisted cvar 'k_allowfullscreentoggle'
Script error, "REKKRSL.iwad:DEFCVARS" line 126:
Cannot set cvar default for blacklisted cvar 'k_mergekeys'
Script error, "REKKRSL.iwad:DEFCVARS" line 141:
Cannot set cvar default for blacklisted cvar 'm_swapbuttons'
Script error, "REKKRSL.iwad:DEFCVARS" line 180:
Cannot set cvar default for blacklisted cvar 'queryiwad_key'
Script error, "REKKRSL.iwad:DEFCVARS" line 268:
Cannot set cvar default for blacklisted cvar 'vid_gpuswitch'
Script error, "REKKRSL.iwad:DEFCVARS" line 285:
Cannot set cvar default for blacklisted cvar 'vr_enable_quadbuffered'
I_Init: Setting up machine state.
CPU Vendor ID: GenuineIntel
  Name: Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
  Family 6, Model 158, Stepping 10
  Features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 F16C FMA3 BMI1 BMI2 HyperThreading
V_Init: allocate screen.
S_Init: Setting up sound.
I_InitSound: Initializing OpenAL
  Opened device Built-in Audio Analog Stereo
  EFX enabled
ST_Init: Init startup screen.
Checking cmd-line parameters...
S_InitData: Load sound definitions.
G_ParseMapInfo: Load map definitions.
Texman.Init: Init texture manager.
ParseTeamInfo: Load team definitions.
LoadActors: Load actor definitions.
script parsing took 129.44 ms
Invalid command for KEYCONF: vid_rendermode 4
Invalid command for KEYCONF: vid_scalemode 0
Invalid command for KEYCONF: vid_scalefactor 1
Invalid command for KEYCONF: nomonsterinterpolation false
Invalid command for KEYCONF: set telezoom true
Invalid command for KEYCONF: cl_bloodsplats true
Invalid command for KEYCONF: cl_missiledecals true
Invalid command for KEYCONF: cl_spreaddecals true
Invalid command for KEYCONF: st_oldouch false
Invalid command for KEYCONF: cl_capfps false
Invalid command for KEYCONF: r_fakecontrast 1
Invalid command for KEYCONF: r_skymode 0
Invalid command for KEYCONF: gl_aalines 1
Invalid command for KEYCONF: gl_enhanced_nightvision 0
Invalid command for KEYCONF: gl_bloom 1
Invalid command for KEYCONF: freelook 0
Invalid command for KEYCONF: gl_lights 1
Invalid command for KEYCONF: r_dynlights 1
Invalid command for KEYCONF: r_vanillatrans 1
Invalid command for KEYCONF: transsouls 1.0
Invalid command for KEYCONF: gl_texture_filter 4
Invalid command for KEYCONF: gl_ssao 2
Invalid command for KEYCONF: gl_fxaa 4
Invalid command for KEYCONF: gl_lightmode 8
Invalid command for KEYCONF: gl_texture_filter_anisotropic 4
Invalid command for KEYCONF: gl_bandedswlight 0
Invalid command for KEYCONF: cl_maxdecals 1024
Invalid command for KEYCONF: r_actorspriteshadow 2
Invalid command for KEYCONF: gl_light_shadowmap 1
Invalid command for KEYCONF: gl_texture_hqresizemode 5
Invalid command for KEYCONF: gl_texture_hqresizemult 4
Invalid command for KEYCONF: gl_spriteclip 2
Invalid command for KEYCONF: hud_aspectscale true
R_Init: Init REKKRSL refresh subsystem.
DecalLibrary: Load decals.
Adding dehacked patch REKKRSL.iwad:DEHACKED
Patch installed
M_Init: Init menus.
P_Init: Init Playloop state.
ParseSBarInfo: Loading custom status bar definition.
D_CheckNetGame: Checking network game status.
player 1 of 1 (1 nodes)
Using video driver x11
GL_VENDOR: nouveau
GL_RENDERER: NV136
GL_VERSION: 4.3 (Core Profile) Mesa 20.2.6 (Core profile)
GL_SHADING_LANGUAGE_VERSION: 4.30

Max. texture size: 16384
Max. texture units: 32
Max. varying: 124
Max. combined shader storage blocks: 80
Max. vertex shader storage blocks: 16
Resolution: 640 x 480
fluidsynth: warning: SDL2 not initialized, SDL2 audio driver won't be usable
fluidsynth: error: Not a RIFF file

** (gzdoom:8241): CRITICAL **: 16:21:55.823: ipatch_container_init_iter: assertion 'IPATCH_IS_CONTAINER(container)' failed


*** Fatal Error ***
Address not mapped to object (signal 11)
Address: 0x11

Generating rekkr-crash.log and killing process 8241, please wait... 27   ../sysdeps/unix/sysv/linux/wait4.c: No such file or directory.
sh: 1: gxmessage: not found
Killed



I then tried Doom 2 which worked fine, so I tried REKKR again, which worked, but with the wrong default cvars. Assuming because doom 2 already set them. Though it looks like some of the cvars I was setting through the defcvars lump are antiquated.
Another issue is that the mana sprites are teleporting around. Every few frames they'll teleport away to the other side of the room, and then back. Not sure what's happening here. They're just dehacked ammo-things with a negative speed value so the run away from the player.
Gez's custom cheats zscripting also doesn't seem to be functioning.

Anyway. I'm not sure what amount of this is me not knowing what I'm doing (not typically a Linux user), or how much is bugs. Either way it doesn't have any problem seeing REKKR as an .iwad, but it can't ran it until after an official iwad is run. Which seems most likely to be a bug to me, and is the main reason for the post.
User avatar
Revae
 
Joined: 02 Jul 2014
Location: CA

Re: Linux, 4.7.1, "teleporting" things and other words

Postby _mental_ » Thu Nov 18, 2021 1:05 am

Fatal error is caused by usage of old ZMusic with new FluidSynth. You need to build ZMusic 1.1.8 or newer to fix this issue.
Also, reporting a bunch of unrelated problems in one topic is a bad idea.
_mental_
 
 
 
Joined: 07 Aug 2011

Re: Linux, 4.7.1, "teleporting" things and other words

Postby Graf Zahl » Thu Nov 18, 2021 1:16 am

Those errors with REKKR mean that it tries to pre-set pure user CVARs which has been blocked due to precisely this kind of abuse. DEVCVARS no longer allows setting any input related CVAR because input settings are system specific and cannot be properly set up by mods.
THe same goes for KEYCONF. This has never been a generic CVAR setting method. These are clearly not GZDoom related issues.

You have to report this to the maintainer of the package you are using.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Linux, 4.7.1, "teleporting" things and other words

Postby Revae » Thu Nov 18, 2021 4:30 pm

_mental_ wrote:Fatal error is caused by usage of old ZMusic with new FluidSynth. You need to build ZMusic 1.1.8 or newer to fix this issue.
Also, reporting a bunch of unrelated problems in one topic is a bad idea.

Ah. Though I was, but turns out I was using 1.1.3. Not sure why it would work with an original iwad and not a gzdoom specific .iwad, but then work with a .iwad after. But thanks! I'll see what I can do about that. Probably nothing, I'm pretty obviously out of my wheelhouse.
And thanks for the info about the defcvars lump, I'll just cut those out of the lump. Those specific errors weren't really an issue, and I didn't make that super clear. The keyconf lump isn't used for any permanent changes anyway (since it wouldn't work ofc) the errors there aren't really errors. They just set temporary changes, which still works.

Buuuuuuuuuuuuuut yeah. Sorry to bother you I guess. Guess I'll plug away at it a little longer before I give up. Cheers.
User avatar
Revae
 
Joined: 02 Jul 2014
Location: CA

Re: Linux, 4.7.1, "teleporting" things and other words

Postby Nash » Fri Nov 19, 2021 1:52 am

If you want your custom executable to ship with specific configuration defaults (understandable, as you are making a custom standalone game) - and since you are custom-compiling executables anyway - your best bet would be to edit the engine source files themselves to hardcode your game's defaults.
Last edited by Nash on Fri Nov 19, 2021 8:51 am, edited 1 time in total.
User avatar
Nash
AKA Nash Muhandes! Twitter/Facebook/Youtube: nashmuhandes
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Twitch ID: nashmuhandes
Github ID: nashmuhandes

Re: Linux, 4.7.1, "teleporting" things and other words

Postby Gez » Fri Nov 19, 2021 8:36 am

DEFCVARS should work for a custom IWAD, though. It's only for mods that it's blocked, isn't it?
Gez
 
 
 
Joined: 06 Jul 2007

Re: Linux, 4.7.1, "teleporting" things and other words

Postby Graf Zahl » Fri Nov 19, 2021 11:05 am

Some strictly user-side CVARs are also blocked for IWADs. For example, no mod has any business altering a user's input preferences which are usually hardware dependent. A bad setup made for a specific computer can easly render other systems unable to properly process input or doing problematic things.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 1 guest