MantisBT - Zandronum
View Issue Details
0003484Zandronum[All Projects] Bugpublic2018-09-01 16:032018-09-03 03:00
skyrimguy 
 
highmajoralways
newopen 
3.0 
 
0003484: Low FPS with Zandronum 3.0 OpenGL mode in Whispers of Satan - MAP21
Same as summary.
1- Download Whispers of Satan:
'https://www.doomworld.com/idgames/levels/doom2/Ports/megawads/wos [^]'

2- Run Zandronum 3.0 in OpenGL mode with the save game to load Whispers of Satan - MAP21 at the specific area:

zandronum -iwad doom2.wad -file WOS.wad +vid_fps 1 +vid_renderer 1 +load wos-savegames/zandronum-3.0-170901-1140/opengl/save5.zds

3- Walk in the loaded area, very low FPS.
Tested with clean *.ini files, with fullscreen yes/no and with or without save game.

On Linux, vertical sync cannot be turned off from the display options menu so I have to open a terminal and type "export vblank_mode=0" to turn it off before running Zandronum/GZDoom. Vertical sync support for Linux was added with this commit:
'https://github.com/coelckers/gzdoom/commit/4eb32a50e3151968e1b2285688ce98da98fedd9f [^]'

Zandronum 3.0-170901-1140 / 3.1-alpha-180826-2001
OpenGL: 11 fps - 32 fps
Software: 184 fps - 200 fps

GZDoom 1.8.6
OpenGL: 75 fps - 117 fps
Software: 188 fps - 200 fps

Zandronum 1.0-120819-2011
OpenGL: 48 fps - 85 fps
Software: 152 fps - 193 fps

Zandronum 2.1.2-150718-1029
OpenGL: 50 fps - 94 fps
Software: 154 fps - 197 fps

CPU: Intel Core i5-460M

$ uname -a
Linux 4.17.0-19.2-liquorix-amd64 #1 ZEN SMP PREEMPT liquorix 4.17-15.1~sid (2018-08-25) x86_64 GNU/Linux

$ glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Ironlake Mobile
OpenGL version string: 2.1 Mesa 18.2.0-rc4
OpenGL shading language version string: 1.20
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 18.2.0-rc4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
OpenGL ES profile extensions:
No tags attached.
zip wos-savegames.zip (1,362,428) 2018-09-01 16:03
/tracker/file_download.php?file_id=2372&type=bug
Issue History
2018-09-01 16:03skyrimguyNew Issue
2018-09-01 16:03skyrimguyFile Added: wos-savegames.zip
2018-09-03 03:00skyrimguyNote Added: 0019484

Notes
(0019484)
skyrimguy   
2018-09-03 03:00   
Compiling Zandronum on Linux with GCC 6 or later is the issue:

Zandronum 3.0-170901-1140 compiled with GCC 4.9
OpenGL mode: 58 fps - 105 fps

GZDoom 1.8.6 compiled with GCC 4.9
OpenGL mode: 71 fps - 115 fps

Zandronum 3.0-170901-1140 compiled with GCC 5
OpenGL mode: 62 fps - 103 fps

GZDoom 1.8.6 compiled with GCC 5
OpenGL mode: 71 fps - 120 fps

Zandronum 3.0-170901-1140 compiled with GCC 6
OpenGL mode: 14 fps - 35 fps

GZDoom 1.8.6 fails to compile with GCC 6

Zandronum 3.0-170901-1140 compiled with GCC 7
OpenGL mode: 11 fps - 35 fps

GZDoom 1.8.6 fails to compile with GCC 7

Zandronum 3.0-170901-1140 compiled with GCC 8
OpenGL mode: 11 fps - 32 fps

GZDoom 1.8.6 fails to compile with GCC 8