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

Setting r_scale to 2 on a 4K display crashes the game and prevents restarting it until profile's etconfig.cfg is edited #2547

Open
Calinou opened this issue Apr 21, 2024 · 0 comments
Labels
🐞 Bug Something isn't working cat: client Category engine (client, renderer, sdl) P3: Normal Priority 3
Milestone

Comments

@Calinou
Copy link
Contributor

Calinou commented Apr 21, 2024

Setting r_scale to 2 on a 4K display then using vid_restart crashes the game and prevents restarting it until config.cfg is manually edited.

At a first glance, it looks like the game can't cope with a 7680x4320 (8K) viewport being created, although this works fine in many other games for me. (This can be tested using the DSR feature in the NVIDIA Control Panel, or using 200% resolution scale factor in another game that supports it.)

If supporting a 8K viewport isn't possible, I suggest clamping the size to the highest supported value. From my testing, this is around 6K (r_scale 1.5 with a 4K native resolution works).

Log:

       0 ET Legacy v2.82.1 win-x86 Apr 19 2024
       0 Zone megs: 64
       0 INFO: fs_game now defaults to 'legacy' mod instead of 'etmain'
       0 ----- Initializing Filesystem --
       0 Current working directory:
       0     C:\Program Files (x86)\ETLegacy
       0 Current search path:
       0     D C:\Users\Hugo\Documents\ETLegacy\legacy
       0     D .\legacy
       0     D C:\Users\Hugo\Documents\ETLegacy\etmain
       0     D .\etmain
       0     P .\legacy\legacy_v2.82.1.pk3 (1458 files)
       0     P .\etmain\pak2.pk3 (22 files)
       0     P .\etmain\pak1.pk3 (10 files)
       0     P .\etmain\pak0.pk3 (3725 files)
       0 
       0 5215 files in pk3 files
       0 --------------------------------
       0 Creating PID file 'profiles/Calinou/profile.pid'
       0 ----- Database Initialization --
       0 SQLite3 libversion 3.36.0 - database URI 'etl.db' - in file
       0 ... loading existing database 'C:\Users\Hugo\Documents\ETLegacy\etl.db'
       0 ... database file 'C:\Users\Hugo\Documents\ETLegacy\etl.db' loaded
       0 SQLite3 ETL: database init #2 C:\Users\Hugo\Documents\ETLegacy\etl.db in [2] ms - autocommit 1
       0 SQLite3 ETL: DB schema version #2 is up to date
       0 --------------------------------
       0 execing default.cfg
       0 execing profiles/Calinou/etconfig.cfg
       0 couldn't exec autoexec.cfg
       0 Hunk_Clear: reset the hunk ok
       0 Not logging server attacks to disk
       0 ----- Client Initialization ----
       0 ETKEY found
       0 Available client translations: Afrikaans Bulgarian Catalan Czech Danish German Greek English Esperanto Spanish Finnish French Irish Hebrew Hungarian Italian Japanese Korean Dutch Norwegian Punjabi Polish Portuguese Romanian Russian Slovak Slovenian Albanian Serbian Swedish Turkish Ukrainian Chinese
       0 Available mod translations: Afrikaans Bulgarian Catalan Czech Danish German Greek English Esperanto Spanish Finnish French Irish Hebrew Hungarian Italian Japanese Korean Dutch Norwegian Punjabi Polish Portuguese Romanian Russian Slovak Slovenian Albanian Serbian Swedish Turkish Ukrainian Chinese
       0 Language set to English
       0 --------------------------------
       0 Winsock initialized
       0 Hostname: hugo-desktop-windows
       0 IP6: [redacted]
       0 IP6: [redacted]
       0 IP6: [redacted]
       0 IP: [redacted]
       0 Opening IP6 socket: [::]:27960
       0 Opening IP socket: 0.0.0.0:27960
       0 Network initialized
       0 ----- Initializing Renderer ----
       0 SDL build version 2.26.4 - link version 2.26.4
       0 SDL initialized driver "windows"
       0 Initializing window
       0 Estimated display aspect: 1.778
       0 ...setting mode -2: 3840x2160
       0 Using 24 color bits, 24 depth, 0 stencil display
       0 Available modes [27]: '1280x720 1366x768 1600x900 1920x1080 2560x1440 3840x2160 1176x664 1360x768 1280x768 4096x2160 1280x800 1680x1050 1920x1200 2560x1600 1600x1024 720x480 640x480 800x600 1024x768 1152x864 1280x960 1440x1080 1600x1200 1920x1440 2048x1536 720x576 1280x1024'
       0 Using GLEW 2.1.0
       0 GL_VENDOR: NVIDIA Corporation
       0 GL_RENDERER: NVIDIA GeForce RTX 4090/PCIe/SSE2
       0 GL_VERSION: 4.6.0 NVIDIA 551.86
       0 GL_SHADING_LANGUAGE_VERSION: 4.60 NVIDIA
       0 Using vanilla renderer
       0 Initializing OpenGL extensions
       0 ...ignoring GL_EXT_texture_compression_s3tc
       0 ...ignoring GL_S3_s3tc
       0 ...found OpenGL extension - GL_EXT_texture_env_add
       0 ...found OpenGL extension - GL_ARB_multitexture
       0 GL_VENDOR: NVIDIA Corporation
       0 GL_RENDERER: NVIDIA GeForce RTX 4090/PCIe/SSE2
       0 GL_VERSION: 4.6.0 NVIDIA 551.86
       0 GL_SHADING_LANGUAGE_VERSION: 4.60 NVIDIA
       0 GL_MAX_TEXTURE_SIZE: 32768
       0 GL_MAX_ACTIVE_TEXTURES_ARB: 4
       0 PIXELFORMAT: color(24-bits) Z(24-bit) stencil(0-bits)
       0 MODE: -2, SCREEN: 7680 x 4320 fullscreen (ratio 1.7778) Hz:N/A
       0 GAMMA: hardware w/ 0 overbright bits
       0 texturemode: GL_LINEAR_MIPMAP_LINEAR
       0 picmip: 0
       0 texture bits: 32
       0 multitexture: enabled
       0 compiled vertex arrays: enabled
       0 texenv add: enabled
       0 compressed textures: disabled
       0 Setting up FBO
       0 Initializing Shaders
       0 --------------------------------
       0 ----- Client Shutdown ----------
       0 RE_Shutdown( 1 )
       0 SDL input devices shut down.
       0 --------------------------------
       0 PID file removed.
       0 SQLite3 database closed.
Z_Malloc: failed on allocation of 67108888 bytes from the main zone
       0 SDL input devices shut down.

profile etconfig:

// generated by ET Legacy v2.82.1 win-x86 Apr 19 2024 do not modify
unbindall
bind TAB "+scores"
bind ESCAPE "togglemenu"
bind SPACE "+moveup"
bind ) "mapzoomout"
bind , "mapzoomout"
bind - "zoomout"
bind . "mapzoomin"
bind 0 "weaponbank 10"
bind 1 "weaponbank 1"
bind 2 "weaponbank 2"
bind 3 "weaponbank 3"
bind 4 "weaponbank 4"
bind 5 "weaponbank 5"
bind 6 "weaponbank 6"
bind 7 "weaponbank 7"
bind 8 "weaponbank 8"
bind 9 "weaponbank 9"
bind = "mapzoomin"
bind ` "toggleconsole"
bind a "weaponbank 5"
bind b "+zoom"
bind c "+movedown"
bind d "+moveright"
bind e "weaponbank 6"
bind f "+activate"
bind g "+mapexpand"
bind h "dropobj"
bind i "spawnmenu"
bind j "teammenu"
bind k "kill"
bind l "openlimbomenu"
bind m "mvactivate"
bind o "+objectives"
bind p "classmenu"
bind q "+moveleft"
bind r "+reload"
bind s "+back"
bind t "messagemode"
bind u "messagemode3"
bind v "mp_quickmessage"
bind w "weaponbank 3"
bind x "+prone"
bind y "messagemode2"
bind z "+forward"
bind ~ "toggleconsole"
bind BACKSPACE "spechelp"
bind CAPSLOCK "+topshots"
bind LEFTALT "+stats"
bind LEFTCTRL "+speed"
bind LEFTSHIFT "+sprint"
bind F1 "vote yes"
bind F2 "vote no"
bind F3 "ready"
bind F4 "notready"
bind F11 "autoscreenshot"
bind F12 "toggleRecord"
bind KP_HOME "selectbuddy 6"
bind KP_UPARROW "selectbuddy 7"
bind KP_LEFTARROW "selectbuddy 3"
bind KP_5 "selectbuddy 4"
bind KP_RIGHTARROW "selectbuddy 5"
bind KP_END "selectbuddy 0"
bind KP_DOWNARROW "selectbuddy 1"
bind KP_PGDN "selectbuddy 2"
bind KP_ENTER "mp_fireteamadmin"
bind KP_MINUS "selectbuddy -2"
bind KP_PLUS "selectbuddy -1"
bind MOUSE1 "+attack"
bind MOUSE2 "weapalt"
bind MOUSE4 "+mapexpand"
bind MOUSE5 "+objectives"
bind MWHEELDOWN "weapnext"
bind MWHEELUP "weapprev"
seta com_maxfps "125"
seta com_introplayed "1"
seta com_recommendedSet "1"
seta timelimit "30"
seta sv_hostname "ETLHost"
seta sv_maxclients "20"
seta sv_floodProtect "0"
seta sv_userInfoFloodProtect "1"
seta g_friendlyFire "1"
seta g_maxlives "0"
seta sv_allowDownload "1"
seta sv_hidden "0"
seta g_altStopwatchMode "0"
seta g_complaintlimit "6"
seta g_fastres "0"
seta g_fastResMsec "1000"
seta g_antilag "1"
seta sv_wwwDownload "0"
seta sv_wwwBaseURL ""
seta sv_wwwDlDisconnected "0"
seta sv_wwwFallbackURL ""
seta sv_fullmsg "Server is full."
seta sv_advert "1"
seta sv_protect "0"
seta sv_protectLog ""
seta sv_protectLogInterval "1000"
seta sv_autoDemo "0"
seta sv_demoTolerant "0"
seta sv_demopath ""
seta sv_ipMaxClients "0"
seta con_background "0 0 0 0.5"
seta irc_mode "0"
seta irc_server "irc.libera.chat"
seta irc_channel "etlegacy"
seta irc_port "6667"
seta irc_nickname "ETLClient"
seta irc_kick_rejoin "0"
seta irc_reconnect_delay "100"
seta cl_extrapolationMargin "1"
seta cl_timeNudge "0"
seta cl_avidemotype "0"
seta cl_maxpackets "100"
seta sensitivity "1"
seta cg_autoswitch "0"
seta m_pitch "0.022000"
seta cl_consoleKeys "~ ` 0x7e 0x60"
seta cg_drawNotifyText "1"
seta cg_quickMessageAlt "0"
seta cg_popupLimboMenu "1"
seta cg_drawTeamOverlay "2"
seta cg_drawGun "1"
seta cg_voiceSpriteTime "6000"
seta cg_drawCrosshair "12"
seta cg_zoomDefaultSniper "32"
seta cg_zoomStepSniper "2"
seta name "^2Cal^3ino^7u"
seta rate "45000"
seta snaps "20"
seta cg_predictItems "1"
seta cg_autoactivate "1"
seta cg_autoReload "1"
seta cg_weapaltReloads "0"
seta cg_weapaltSwitches "1"
seta cl_lang "en"
seta cl_langDebug "0"
seta r_ext_compressed_textures "0" unsafe
seta r_ext_texture_filter_anisotropic "16" unsafe
seta r_ext_max_anisotropy "16"
seta r_picmip "0"
seta r_texturebits "32" unsafe
seta r_ignoreFastPath "0"
seta r_flares "1"
seta r_dynamiclight "2"
seta r_textureMode "GL_LINEAR_MIPMAP_LINEAR"
seta r_wolffog "1"
seta cg_shadows "1"
seta cg_skybox "1"
seta r_scale "2"
seta r_scalesvg "0"
seta r_ext_multisample "8" unsafe
seta r_allowResize "0"
seta r_fullscreen "1"
seta r_centerWindow "0"
seta r_customwidth "1280"
seta r_customheight "720"
seta r_mode "-2" unsafe
seta r_windowLocation "0,0,0"
seta r_depthbits "24" unsafe
seta r_colorbits "32" unsafe
seta r_oldFullscreen ""
seta r_oldMode ""
seta in_mouse "1"
seta in_nograb "0"
seta s_initsound "1" unsafe
seta s_volume "0.05"
seta s_musicvolume "0"
seta s_muteWhenMinimized "1"
seta s_muteWhenUnfocused "0"
seta s_mixahead "0.04"
seta com_soundMegs "160"
seta cg_brassTime "15000"
seta cg_drawCrosshairPickups "1"
seta cg_drawSpectatorNames "2"
seta cg_markTime "30000"
seta ui_dedicated "0"
seta cg_selectedPlayer "5"
seta cg_selectedPlayerName "^2Cal^3ino^7u"
seta ui_netSource "1"
seta ui_menuFiles "ui/menus.txt"
seta ui_gametype "3"
seta ui_joinGametype "-1"
seta ui_netGametype "4"
seta ui_mapIndex "0"
seta ui_currentMap "0"
seta ui_currentNetMap "0"
seta ui_browserShowEmptyOrFull "0"
seta ui_browserShowPasswordProtected "0"
seta ui_browserShowFriendlyFire "0"
seta ui_browserShowMaxlives "0"
seta ui_browserShowAntilag "0"
seta ui_browserShowWeaponsRestricted "0"
seta ui_browserShowTeamBalanced "0"
seta ui_browserShowHumans "0"
seta ui_browserModFilter "1"
seta ui_browserMapFilter ""
seta ui_browserServerNameFilterCheckBox "0"
seta ui_disableOssFilter "0"
seta ui_serverStatusTimeOut "7000"
seta cg_showblood "1"
seta cg_bloodFlash "1.0"
seta cg_sharetimerText ""
seta cg_noAmmoAutoSwitch "1"
seta cg_useWeapsForZoom "1"
seta cg_printObjectiveInfo "1"
seta cg_coronafardist "16000"
seta g_warmup "60"
seta g_lms_roundlimit "3"
seta g_lms_matchlimit "2"
seta g_lms_followTeamOnly "1"
seta g_heavyWeaponRestriction "100"
seta ui_currentCampaign "0"
seta ui_currentNetCampaign "0"
seta ui_campaignIndex "0"
seta ui_currentCampaignCompleted "0"
seta cg_useCvarCrosshair "1"
seta cg_crosshairAlpha "1.0"
seta cg_crosshairAlphaAlt "1.0"
seta cg_crosshairColor "White"
seta cg_crosshairColorAlt "white"
seta cg_crosshairSize "16"
seta cg_crosshairPulse "1"
seta cg_crosshairHealth "1"
seta cg_shoutcastTeamNameRed ""
seta cg_shoutcastTeamNameBlue ""
seta cg_shoutcastDrawHealth "2"
seta cg_shoutcastGrenadeTrail "1"
seta g_ipcomplaintlimit "3"
seta g_doWarmup "0"
seta g_inactivity "0"
seta refereePassword "none"
seta shoutcastPassword "none"
seta g_teamForceBalance "0"
seta g_spectatorInactivity "0"
seta match_latejoin "1"
seta match_minplayers "4"
seta match_mutespecs "0"
seta match_readypercent "100"
seta match_timeoutcount "3"
seta match_timeoutlength "180"
seta match_warmupDamage "1"
seta g_customConfig ""
seta server_motd0 " ^NEnemy Territory ^7MOTD "
seta server_motd1 ""
seta server_motd2 ""
seta server_motd3 ""
seta server_motd4 ""
seta server_motd5 ""
seta team_maxplayers "0"
seta team_nocontrols "0"
seta vote_allow_gametype "1"
seta vote_allow_kick "1"
seta vote_allow_map "1"
seta vote_allow_mutespecs "1"
seta vote_allow_nextmap "1"
seta vote_allow_config "1"
seta vote_allow_referee "0"
seta vote_allow_shuffleteams "1"
seta vote_allow_shuffleteams_norestart "1"
seta vote_allow_swapteams "1"
seta vote_allow_friendlyfire "1"
seta vote_allow_timelimit "0"
seta vote_allow_warmupdamage "1"
seta vote_allow_antilag "1"
seta vote_allow_muting "1"
seta vote_limit "5"
seta vote_percent "50"
seta vote_allow_surrender "1"
seta vote_allow_restartcampaign "1"
seta vote_allow_nextcampaign "1"
seta vote_allow_cointoss "1"
seta vote_allow_poll "1"
seta ui_cl_lang "en"
seta ui_r_mode "-2"
seta ui_r_ext_texture_filter_anisotropic "16"
seta ui_r_ext_multisample "8"
seta ui_cg_shadows ""
seta ui_rate "100000"
seta ui_handedness ""
seta ui_sensitivity "1.000000"
seta ui_profile_mousePitch ""
seta ui_showtooltips "1"
seta cg_locations "3"
seta cg_allowGeoIP "1"
seta cg_customFont1 ""
seta cg_customFont2 ""
seta ui_r_colorbits "32"
seta ui_r_lodbias "0"
seta ui_r_subdivisions "4"
seta ui_r_picmip "0"
seta ui_r_texturebits "32"
seta ui_r_depthbits "24"
seta ui_r_ext_compressed_textures "0"
seta ui_r_dynamiclight "2"
seta ui_r_detailtextures "1"
seta ui_r_texturemode "GL_LINEAR_MIPMAP_LINEAR"
seta g_landminetimeout "1"
seta g_maxGameClients "0"
seta g_noTeamSwitching "0"
seta g_log ""
seta g_logSync "0"
seta g_banIPs ""
seta g_filterBan "1"
seta g_motd ""
seta g_filtercams "0"
seta g_maxlivesRespawnPenalty "0"
seta g_voiceChatsAllowed "5"
seta g_enforcemaxlives "1"
seta omnibot_path "legacy/omni-bot"
seta omnibot_enable "0"
seta omnibot_flags "0"
seta g_lms_teamForceBalance "1"
seta g_lms_lockTeams "0"
seta URL ""
seta g_autoFireteams "1"
seta g_disableComplaints "0"
seta g_guidCheck "1"
seta g_protect "0"
seta g_countryflags "1"
seta skill_soldier "20 50 90 140"
seta skill_medic "20 50 90 140"
seta skill_fieldops "20 50 90 140"
seta skill_engineer "20 50 90 140"
seta skill_covertops "20 50 90 140"
seta skill_battlesense "20 50 90 140"
seta skill_lightweapons "20 50 90 140"
seta g_fixedphysics "1"
seta g_fixedphysicsfps "125"
seta g_pronedelay "0"
seta g_corpses "0"
seta g_skillRating "2"
seta g_prestige "1"
seta g_multiview "0"
seta g_stickyCharge "0"
seta g_xpSaver "0"
seta g_suddenDeath "0"
seta g_dropObjDelay "3000"
seta g_floodProtection "1"
seta g_floodLimit "5"
seta g_floodWait "1000"
seta g_etltv_flags "3"
seta cg_weapAnims "15"
seta cg_fov "105.39"
seta cg_muzzleFlash "1"
seta cg_gibs "0"
seta cg_draw2D "1"
seta cg_railTrailTime "750"
seta cg_drawStatus "1"
seta cg_drawFPS "0"
seta cg_drawCrosshairFade "1000"
seta cg_weaponCycleDelay "150"
seta cg_cycleAllWeaps "1"
seta cg_bloodPuff "1"
seta cg_centertime "5"
seta cg_bobbing "0.0"
seta cg_drawEnvAwareness "7"
seta cg_drawEnvAwarenessScale "0.80"
seta cg_drawEnvAwarenessIconSize "14"
seta cg_dynamicIcons "1"
seta cg_dynamicIconsDistance "400"
seta cg_dynamicIconsSize "20"
seta cg_dynamicIconsMaxScale "1.0"
seta cg_dynamicIconsMinScale "0.5"
seta cg_swingSpeed "0.1"
seta cg_bloodTime "120"
seta cg_teamChatTime "8000"
seta cg_teamChatHeight "8"
seta cg_teamChatMention "1"
seta cg_coronas "1"
seta cg_teamChatsOnly "0"
seta cg_teamVoiceChatsOnly "0"
seta cg_voiceChats "1"
seta cg_voiceText "1"
seta cf_wstats "1.2"
seta cf_wtopshots "1.0"
seta cg_autoFolders "1"
seta cg_autoAction "4"
seta cg_bloodDamageBlend "1.0"
seta cg_bloodFlashTime "1500"
seta cg_specHelp "1"
seta demo_avifpsF1 "0"
seta demo_avifpsF2 "10"
seta demo_avifpsF3 "15"
seta demo_avifpsF4 "20"
seta demo_avifpsF5 "24"
seta demo_drawTimeScale "1"
seta demo_infoWindow "1"
seta demo_weaponcam "0"
seta demo_followDistance "50 0 20"
seta demo_yawPitchRollSpeed "140 140 140"
seta demo_freecamspeed "800"
seta demo_nopitch "1"
seta demo_pvshint "0"
seta demo_autotimescaleweapons "0"
seta demo_autotimescale "1"
seta demo_teamonlymissilecam "0"
seta cg_predefineddemokeys "1"
seta mv_sensitivity "20"
seta cg_atmosphericEffects "1"
seta cg_instanttapout "0"
seta cg_announcer "1"
seta cg_hitSounds "1"
seta cg_locationMaxChars "0"
seta cg_logFile ""
seta cg_countryflags "1"
seta cg_altHud "2"
seta cg_shoutcasterHud "Shoutcaster"
seta cg_tracers "1"
seta cg_fireteamNameMaxChars "0"
seta cg_fireteamNameAlign "0"
seta cg_fireteamSprites "1"
seta cg_simpleItems "2"
seta cg_simpleItemsScale "1.500000"
seta cg_automapZoom "1.728000"
seta cg_popupFadeTime "2500"
seta cg_popupStayTime "2000"
seta cg_popupTime "0"
seta cg_popupXPGainFadeTime "250"
seta cg_popupXPGainStayTime "1000"
seta cg_popupXPGainTime "200"
seta cg_fontScaleSP "0.22"
seta cg_optimizePrediction "1"
seta cg_scoreboard "1"
seta cg_quickchat "0"
seta cg_drawUnit "0"
seta cg_visualEffects "1"
seta cg_bannerTime "10000"
seta cg_activateLean "0"
seta cg_drawBreathPuffs "1"
seta cg_drawSpawnpoints "0"
seta cg_commandMapTime "250"
seta con_defaultHeight "1.000000"
seta r_subdivisions "1"
seta r_lodbias "-2"
seta cg_scopedSensitivityScaler "0.6"
seta db_uri "etl.db"
seta db_mode "2"
seta com_ansiColor "1"
seta com_zoneMegs "64"
seta com_hunkmegs "128"
PC specifications
  • CPU: Intel Core i9-13900K
  • GPU: NVIDIA GeForce RTX 4090
  • RAM: 64 GB (2×32 GB DDR5-5800 C30)
  • SSD: Solidigm P44 Pro 2 TB
  • OS: Linux (Fedora 39)
@Aranud Aranud added 🐞 Bug Something isn't working P3: Normal Priority 3 cat: client Category engine (client, renderer, sdl) labels Apr 22, 2024
@Aranud Aranud added this to the Future milestone Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 Bug Something isn't working cat: client Category engine (client, renderer, sdl) P3: Normal Priority 3
Projects
None yet
Development

No branches or pull requests

2 participants