etlegacy / etlegacy

ET: Legacy is an open source project based on the code of Wolfenstein: Enemy Territory which was released in 2010 under the terms of the GPLv3 license.
https://www.etlegacy.com
GNU General Public License v3.0
587 stars 93 forks source link

2560x1440 Resolution 'ResampleTexture: max width' error #1535

Open Raisum opened 3 years ago

Raisum commented 3 years ago

Hi, I'm having a problem of trying to launch ETLegacy in 1440p resolution. I get an error: recursive error 'ResampleTexture: max width' after ResampleTexture: max width.

I'm running it on Windows 10 with a Vega 64 GPU.

Here's the console log ET Legacy v2.76 win-x86 Jan 6 2019 Zone megs: 64 Info: fs_game now defaults to 'legacy' mod instead of 'etmain' ----- FS_Startup ----- Current search path: C:\Users\Raisum\Documents\ETLegacy\legacy C:\Users\Raisum\Documents\ETLegacy\legacy\pak3_v2.76-794-g7c95af1.pk3 (1164 files) C:\Users\Raisum\Documents\ETLegacy\legacy\etl_bin_v2.76-794-g7c95af1.pk3 (8 files) .\legacy .\legacy\pak3_v2.76.pk3 (1107 files) .\legacy\etl_bin_v2.76.pk3 (8 files) C:\Users\Raisum\Documents\ETLegacy\etmain C:\Users\Raisum\Documents\ETLegacy\etmain\venice_ne4.pk3 (325 files) C:\Users\Raisum\Documents\ETLegacy\etmain\UJE_VIP_b3.pk3 (242 files) C:\Users\Raisum\Documents\ETLegacy\etmain\trmfght_beta2.pk3 (197 files) C:\Users\Raisum\Documents\ETLegacy\etmain\tc_base.pk3 (64 files) C:\Users\Raisum\Documents\ETLegacy\etmain\supply.pk3 (44 files) C:\Users\Raisum\Documents\ETLegacy\etmain\sp_delivery_te.pk3 (51 files) C:\Users\Raisum\Documents\ETLegacy\etmain\snatch3.pk3 (34 files) C:\Users\Raisum\Documents\ETLegacy\etmain\school.pk3 (115 files) C:\Users\Raisum\Documents\ETLegacy\etmain\saberpeak_final.pk3 (243 files) C:\Users\Raisum\Documents\ETLegacy\etmain\praetoria_m2.pk3 (560 files) C:\Users\Raisum\Documents\ETLegacy\etmain\pirates.pk3 (154 files) C:\Users\Raisum\Documents\ETLegacy\etmain\password2_final.pk3 (101 files) C:\Users\Raisum\Documents\ETLegacy\etmain\parisbastille_b3.pk3 (116 files) C:\Users\Raisum\Documents\ETLegacy\etmain\ostrabrama.pk3 (84 files) C:\Users\Raisum\Documents\ETLegacy\etmain\operation_b1.pk3 (34 files) C:\Users\Raisum\Documents\ETLegacy\etmain\mrmen_gamma_final.pk3 (119 files) C:\Users\Raisum\Documents\ETLegacy\etmain\mml_minastirith_fp3.pk3 (90 files) C:\Users\Raisum\Documents\ETLegacy\etmain\mlb_temple.pk3 (83 files) C:\Users\Raisum\Documents\ETLegacy\etmain\mlb_daybreak.pk3 (158 files) C:\Users\Raisum\Documents\ETLegacy\etmain\library_b3.pk3 (137 files) C:\Users\Raisum\Documents\ETLegacy\etmain\italyfp2.pk3 (325 files) C:\Users\Raisum\Documents\ETLegacy\etmain\HoG_b12_dt.pk3 (136 files) C:\Users\Raisum\Documents\ETLegacy\etmain\goldrush-gals.pk3 (34 files) C:\Users\Raisum\Documents\ETLegacy\etmain\goldrush-gals.0ac02ac5.pk3 (34 files) C:\Users\Raisum\Documents\ETLegacy\etmain\gamma_mill_b4.pk3 (495 files) C:\Users\Raisum\Documents\ETLegacy\etmain\frostbite.pk3 (99 files) C:\Users\Raisum\Documents\ETLegacy\etmain\flame-guards_arenafix.pk3 (160 files) C:\Users\Raisum\Documents\ETLegacy\etmain\et_mor2_night_final.pk3 (92 files) C:\Users\Raisum\Documents\ETLegacy\etmain\et_carentan_b2.pk3 (130 files) C:\Users\Raisum\Documents\ETLegacy\etmain\et_beach.pk3 (177 files) C:\Users\Raisum\Documents\ETLegacy\etmain\dubrovnik_final_1104.pk3 (186 files) C:\Users\Raisum\Documents\ETLegacy\etmain\drush_b3.pk3 (117 files) C:\Users\Raisum\Documents\ETLegacy\etmain\ctf_maat_b1.pk3 (140 files) C:\Users\Raisum\Documents\ETLegacy\etmain\cathedral_final.pk3 (82 files) C:\Users\Raisum\Documents\ETLegacy\etmain\capuzzo_final.pk3 (165 files) C:\Users\Raisum\Documents\ETLegacy\etmain\caen2.pk3 (85 files) C:\Users\Raisum\Documents\ETLegacy\etmain\bucket_v2.pk3 (226 files) C:\Users\Raisum\Documents\ETLegacy\etmain\bremen_final_fix.pk3 (100 files) C:\Users\Raisum\Documents\ETLegacy\etmain\bremen_final.pk3 (100 files) C:\Users\Raisum\Documents\ETLegacy\etmain\braundorf_final.pk3 (76 files) C:\Users\Raisum\Documents\ETLegacy\etmain\baserace_desert.pk3 (154 files) C:\Users\Raisum\Documents\ETLegacy\etmain\baserace_b3a.pk3 (139 files) C:\Users\Raisum\Documents\ETLegacy\etmain\axislab_final.pk3 (172 files) C:\Users\Raisum\Documents\ETLegacy\etmain\adlernest.pk3 (113 files) C:\Users\Raisum\Documents\ETLegacy\etmain\1944_beach_fixed.pk3 (59 files) .\etmain .\etmain\pak2.pk3 (22 files) .\etmain\pak1.pk3 (10 files) .\etmain\pak0.pk3 (3725 files) ---------------------- 12591 files in pk3 files Creating PID file 'profiles/-PS-Drag#/profile.pid' execing default.cfg execing profiles/-PS-Drag#/etconfig.cfg com_zoneMegs will be changed upon restarting. New value: '256' execing autoexec.cfg Hunk_Clear: reset the hunk ok Not logging server attacks to disk. ----- Client Initialization ----- ----- Initializing Renderer ---- Trying to load "renderer_opengl1_x86.dll" from "C:\Program Files (x86)\Enemy Territory - Legacy"... ------------------------------- ETKEY found. Available client translations: Bulgarian Czech German Greek English Esperanto Spanish Finnish French Hungarian Italian Korean Dutch Norwegian Polish Portuguese Romanian Russian Slovak Slovenian Serbian Swedish Turkish Available mod translations: Bulgarian Czech German Greek English Esperanto Spanish Finnish French Hungarian Italian Korean Dutch Norwegian Polish Portuguese Romanian Russian Slovak Slovenian Serbian Swedish Turkish Language set to English ----- Client Initialization Complete ----- ----- R_Init ----- SDL build version 2.0.9 - link version 2.0.9. SDL initialized driver "windows" Initializing OpenGL display Estimated display aspect: 1.778 ...setting mode -1: 1920x1080 SDL_CreateWindow failed: No matching GL pixel format available Using 24 color bits, 24 depth, 0 stencil display. Available modes [15]: '1280x720 1366x768 1600x900 1920x1080 2560x1440 1280x800 1680x1050 1920x1200 720x480 640x480 800x600 1024x768 1152x864 1600x1200 1280x1024' Using GLEW 2.1.0 GL_VENDOR: ATI Technologies Inc. GL_RENDERER: Radeon RX Vega GL_VERSION: 4.6.14757 Compatibility Profile Context 20.12.1 27.20.14501.28009 Using vanilla renderer * IGNORING OPENGL EXTENSIONS * GL_VENDOR: ATI Technologies Inc. GL_RENDERER: Radeon RX Vega GL_VERSION: 4.6.14757 Compatibility Profile Context 20.12.1 27.20.14501.28009 GL_MAX_TEXTURE_SIZE: 16384 GL_MAX_ACTIVE_TEXTURES_ARB: 0 PIXELFORMAT: color(24-bits) Z(24-bit) stencil(0-bits) MODE: -1, SCREEN: 1920 x 1080 fullscreen (ratio 1.7778) Hz:N/A GAMMA: hardware w/ 0 overbright bits rendering primitives: single glDrawElements texturemode: GL_LINEAR_MIPMAP_NEAREST picmip: 0 texture bits: 32 multitexture: enabled compiled vertex arrays: enabled texenv add: disabled compressed textures: disabled Initializing Shaders ----- finished R_Init ----- ------ Initializing Sound (1)------ SDL_Init( SDL_INIT_AUDIO )... OK SDL audio driver is "wasapi". SDL_AudioSpec: Format: AUDIO_S16LSB Freq: 22050 Samples: 512 Channels: 2 Silence: 0 Size: 2048 Starting SDL audio callback... SDL audio initialized. ----- Sound Info ----- sound system is muted 2 channels 16384 samples 16 samplebits 1 submission_chunk 22050 speed 41F34EC0 dma buffer No background file. ---------------------- Sound initialization successfully done s_backend set to SDL2 -------------------------------- Sound memory manager started Sys_LoadGameDll -> FS_CL_ExtractFromPakFile(C:\Users\Raisum\Documents\ETLegacy, legacy, ui_mp_x86.dll) Sys_LoadDll(C:\Users\Raisum\Documents\ETLegacy\legacy\ui_mp_x86.dll)... succeeded Sys_LoadDll(legacy/ui) found vmMain function at 6F163200 Initializing Legacy ui v2.76-794-g7c95af1 147 UI cvars in use Total favourite servers restored: 2 ... DBMS is disabled --- Common Initialization Complete --- Winsock initialized. Hostname: Kaido-PC IP: 192.168.1.5 Opening IP socket: 0.0.0.0:27960 Network initialized. Working directory: C:\Program Files (x86)\Enemy Territory - Legacy r_customwidth will be changed upon restarting. New value: '2560' r_customheight will be changed upon restarting. New value: '1440' RE_Shutdown( 1 ) SDL input devices shut down. Hunk_Clear: reset the hunk ok ----- Initializing Renderer ---- Trying to load "renderer_opengl1_x86.dll" from "C:\Program Files (x86)\Enemy Territory - Legacy"... ------------------------------- ----- R_Init ----- SDL build version 2.0.9 - link version 2.0.9. SDL initialized driver "windows" Initializing OpenGL display Estimated display aspect: 1.778 ...setting mode -1: 2560x1440 SDL_CreateWindow failed: No matching GL pixel format available Using 24 color bits, 24 depth, 0 stencil display. Available modes [15]: '1280x720 1366x768 1600x900 1920x1080 2560x1440 1280x800 1680x1050 1920x1200 720x480 640x480 800x600 1024x768 1152x864 1600x1200 1280x1024' Using GLEW 2.1.0 GL_VENDOR: ATI Technologies Inc. GL_RENDERER: Radeon RX Vega GL_VERSION: 4.6.14757 Compatibility Profile Context 20.12.1 27.20.14501.28009 Using vanilla renderer * IGNORING OPENGL EXTENSIONS * GL_VENDOR: ATI Technologies Inc. GL_RENDERER: Radeon RX Vega GL_VERSION: 4.6.14757 Compatibility Profile Context 20.12.1 27.20.14501.28009 GL_MAX_TEXTURE_SIZE: 16384 GL_MAX_ACTIVE_TEXTURES_ARB: 0 PIXELFORMAT: color(24-bits) Z(24-bit) stencil(0-bits) MODE: -1, SCREEN: 2560 x 1440 fullscreen (ratio 1.7778) Hz:N/A GAMMA: hardware w/ 0 overbright bits rendering primitives: single glDrawElements texturemode: GL_LINEAR_MIPMAP_NEAREST picmip: 0 texture bits: 32 multitexture: enabled compiled vertex arrays: enabled texenv add: disabled compressed textures: disabled Initializing Shaders ******************** ERROR: ResampleTexture: max width ******************** RE_Shutdown( 0 ) Hunk_Clear: reset the hunk ok ----- R_Init ----- GL_VENDOR: ATI Technologies Inc. GL_RENDERER: Radeon RX Vega GL_VERSION: 4.6.14757 Compatibility Profile Context 20.12.1 27.20.14501.28009 GL_MAX_TEXTURE_SIZE: 16384 GL_MAX_ACTIVE_TEXTURES_ARB: 0 PIXELFORMAT: color(24-bits) Z(24-bit) stencil(0-bits) MODE: -1, SCREEN: 2560 x 1440 fullscreen (ratio 1.7778) Hz:N/A GAMMA: hardware w/ 0 overbright bits rendering primitives: single glDrawElements texturemode: GL_LINEAR_MIPMAP_NEAREST picmip: 0 texture bits: 32 multitexture: enabled compiled vertex arrays: enabled texenv add: disabled compressed textures: disabled Initializing Shaders recursive error 'ResampleTexture: max width' after: ResampleTexture: max width SDL input devices shut down.
Here's my target settings"C:\Program Files (x86)\Enemy Territory - Legacy\etl.exe" +r_mode "-1" +r_customwidth "2560" +r_customheight "1440" +cg_fov "105" +set com_hunkmegs "768" +vid_restart
rmarquis commented 3 years ago

This is due to the (obviously) use of higher resolution.

Rather than manually increasing the limit (which means we'll just hit it again when we have people with even higher wide resolutions probably), it is better to do what q3e and ete do:

See:

Alternatively, check r2 to see if it uses some growlist or something.

rafal1137 commented 2 years ago

Not sure how many ppl have now a days 4k Displays but earlier today I did connected my PC to my 4k TV 'Samsung Brand' I did get 4096x2160 Resolution and there was no such issue with high resolution. This needs to be proved by someone who has 4k display beside me.