by Talon1024 » Sun Nov 05, 2017 9:58 pm
Heya. Just wondering what else needs to be done before Chris' patch gets applied and merged into the main GZDoom codebase. I applied
Chris' patch to
this commit locally, compiled a GZDoom build from it on a Linux laptop (using the Intelgrated graphics and Mesa driver), and tested it on WolfenDoom: Blade of Agony C1M2.
As far as I can tell, everything is working fine. The -glversion command line parameter works, and I get an OpenGL 4.2 core context without using -glversion, and an OpenGL 3.0 compatibility context if I use -glversion 2.
Here are the startup logs, with and without -glversion 2:
Code: Select all
$ ./gzdoom -file boa_c2.pk3 -skill 1 +map c1m2
GZDoom g3.3pre-58-gd4ebe51-m - 2017-11-05 15:35:03 +0100 - SDL version
Compiled on Nov 5 2017
M_LoadDefaults: Load system defaults.
W_Init: Init WADfiles.
adding /home/kevinc/Games/doom/gzdoom-master-20171105/gzdoom.pk3, 671 lumps
adding /home/kevinc/Games/doom/IWADS/DOOM2.WAD, 2919 lumps
adding lights.pk3, 6 lumps
adding brightmaps.pk3, 500 lumps
adding ../MusicPacks/Doom2PK3.pk3, 22 lumps
adding /media/kevinc/OS/Games/doom/gzdoom/Doom2Mods/boa_c2.pk3, 14296 lumps
I_Init: Setting up machine state.
CPU Vendor ID: GenuineIntel
Name: Intel(R) Core(TM) i3-3110M CPU @ 2.40GHz
Family 6, Model 58, Stepping 9
Features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2
I_InitSound: Initializing OpenAL
Opened device Built-in Audio Analog Stereo
EFX enabled
V_Init: allocate screen.
S_Init: Setting up sound.
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 warning, "boa_c2.pk3:scripts/menus/iconlistmenu.txt" line 311:
Usage of uninitialized variable 'iconSize' defined at line 301
Script warning, "boa_c2.pk3:scripts/menus/iconlistmenu.txt" line 385:
Usage of uninitialized variable 'maxWidth' defined at line 371
Script warning, "boa_c2.pk3:scripts/conversations/conversationmenucomponents.txt" line 126:
Usage of uninitialized variable 'Index' defined at line 120
Script warning, "boa_c2.pk3:scripts/conversations/conversationmenucomponents.txt" line 139:
Usage of uninitialized variable 'Count' defined at line 121
Script warning, "boa_c2.pk3:scripts/actors/player.txt" line 216:
Usage of uninitialized variable 'mo' defined at line 206
Script warning, "boa_c2.pk3:scripts/actors/player.txt" line 216:
Usage of uninitialized variable 'mo' defined at line 206
script parsing took 402.40 ms
R_Init: Init Doom refresh subsystem.
DecalLibrary: Load decals.
M_Init: Init menus.
P_Init: Init Playloop state.
ParseSBarInfo: Loading custom status bar definition.
a Realm667 project
D_CheckNetGame: Checking network game status.
player 1 of 1 (1 nodes)
Using video driver x11
GL_VENDOR: Intel Open Source Technology Center
GL_RENDERER: Mesa DRI Intel(R) Ivybridge Mobile
GL_VERSION: 4.2 (Core Profile) Mesa 17.1.2 (Core profile)
GL_SHADING_LANGUAGE_VERSION: 4.20
Max. texture size: 16384
Max. texture units: 16
Max. varying: 128
Max. uniform block size: 65536
Uniform block alignment: 16
Resolution: 1366 x 768
c1m2 - Operation: Exodus
Code: Select all
$ ./gzdoom -glversion 2 -file boa_c2.pk3 -skill 1 +map c1m2
GZDoom g3.3pre-58-gd4ebe51-m - 2017-11-05 15:35:03 +0100 - SDL version
Compiled on Nov 5 2017
M_LoadDefaults: Load system defaults.
W_Init: Init WADfiles.
adding /home/kevinc/Games/doom/gzdoom-master-20171105/gzdoom.pk3, 671 lumps
adding /home/kevinc/Games/doom/IWADS/DOOM2.WAD, 2919 lumps
adding lights.pk3, 6 lumps
adding brightmaps.pk3, 500 lumps
adding ../MusicPacks/Doom2PK3.pk3, 22 lumps
adding /media/kevinc/OS/Games/doom/gzdoom/Doom2Mods/boa_c2.pk3, 14296 lumps
I_Init: Setting up machine state.
CPU Vendor ID: GenuineIntel
Name: Intel(R) Core(TM) i3-3110M CPU @ 2.40GHz
Family 6, Model 58, Stepping 9
Features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2
I_InitSound: Initializing OpenAL
Opened device Built-in Audio Analog Stereo
EFX enabled
V_Init: allocate screen.
S_Init: Setting up sound.
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 warning, "boa_c2.pk3:scripts/menus/iconlistmenu.txt" line 311:
Usage of uninitialized variable 'iconSize' defined at line 301
Script warning, "boa_c2.pk3:scripts/menus/iconlistmenu.txt" line 385:
Usage of uninitialized variable 'maxWidth' defined at line 371
Script warning, "boa_c2.pk3:scripts/conversations/conversationmenucomponents.txt" line 126:
Usage of uninitialized variable 'Index' defined at line 120
Script warning, "boa_c2.pk3:scripts/conversations/conversationmenucomponents.txt" line 139:
Usage of uninitialized variable 'Count' defined at line 121
Script warning, "boa_c2.pk3:scripts/actors/player.txt" line 216:
Usage of uninitialized variable 'mo' defined at line 206
Script warning, "boa_c2.pk3:scripts/actors/player.txt" line 216:
Usage of uninitialized variable 'mo' defined at line 206
script parsing took 404.66 ms
R_Init: Init Doom refresh subsystem.
DecalLibrary: Load decals.
M_Init: Init menus.
P_Init: Init Playloop state.
ParseSBarInfo: Loading custom status bar definition.
a Realm667 project
D_CheckNetGame: Checking network game status.
player 1 of 1 (1 nodes)
Using video driver x11
Emulating OpenGL v 2
GL_VENDOR: Intel Open Source Technology Center
GL_RENDERER: Mesa DRI Intel(R) Ivybridge Mobile
GL_VERSION: 3.0 Mesa 17.1.2 (Compatibility profile)
GL_SHADING_LANGUAGE_VERSION: 1.30
Max. texture size: 16384
Max. texture units: 16
Max. varying: 128
Resolution: 1366 x 768
c1m2 - Operation: Exodus
Heya. Just wondering what else needs to be done before Chris' patch gets applied and merged into the main GZDoom codebase. I applied [url=https://forum.zdoom.org/viewtopic.php?f=57&t=56852&start=15#p1008756]Chris' patch[/url] to [url=https://github.com/coelckers/gzdoom/commit/d4ebe51e837303007cf9dac4423c9d637412ece4]this commit[/url] locally, compiled a GZDoom build from it on a Linux laptop (using the Intelgrated graphics and Mesa driver), and tested it on WolfenDoom: Blade of Agony C1M2.
As far as I can tell, everything is working fine. The -glversion command line parameter works, and I get an OpenGL 4.2 core context without using -glversion, and an OpenGL 3.0 compatibility context if I use -glversion 2.
Here are the startup logs, with and without -glversion 2:
[code]
$ ./gzdoom -file boa_c2.pk3 -skill 1 +map c1m2
GZDoom g3.3pre-58-gd4ebe51-m - 2017-11-05 15:35:03 +0100 - SDL version
Compiled on Nov 5 2017
M_LoadDefaults: Load system defaults.
W_Init: Init WADfiles.
adding /home/kevinc/Games/doom/gzdoom-master-20171105/gzdoom.pk3, 671 lumps
adding /home/kevinc/Games/doom/IWADS/DOOM2.WAD, 2919 lumps
adding lights.pk3, 6 lumps
adding brightmaps.pk3, 500 lumps
adding ../MusicPacks/Doom2PK3.pk3, 22 lumps
adding /media/kevinc/OS/Games/doom/gzdoom/Doom2Mods/boa_c2.pk3, 14296 lumps
I_Init: Setting up machine state.
CPU Vendor ID: GenuineIntel
Name: Intel(R) Core(TM) i3-3110M CPU @ 2.40GHz
Family 6, Model 58, Stepping 9
Features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2
I_InitSound: Initializing OpenAL
Opened device Built-in Audio Analog Stereo
EFX enabled
V_Init: allocate screen.
S_Init: Setting up sound.
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 warning, "boa_c2.pk3:scripts/menus/iconlistmenu.txt" line 311:
Usage of uninitialized variable 'iconSize' defined at line 301
Script warning, "boa_c2.pk3:scripts/menus/iconlistmenu.txt" line 385:
Usage of uninitialized variable 'maxWidth' defined at line 371
Script warning, "boa_c2.pk3:scripts/conversations/conversationmenucomponents.txt" line 126:
Usage of uninitialized variable 'Index' defined at line 120
Script warning, "boa_c2.pk3:scripts/conversations/conversationmenucomponents.txt" line 139:
Usage of uninitialized variable 'Count' defined at line 121
Script warning, "boa_c2.pk3:scripts/actors/player.txt" line 216:
Usage of uninitialized variable 'mo' defined at line 206
Script warning, "boa_c2.pk3:scripts/actors/player.txt" line 216:
Usage of uninitialized variable 'mo' defined at line 206
script parsing took 402.40 ms
R_Init: Init Doom refresh subsystem.
DecalLibrary: Load decals.
M_Init: Init menus.
P_Init: Init Playloop state.
ParseSBarInfo: Loading custom status bar definition.
a Realm667 project
D_CheckNetGame: Checking network game status.
player 1 of 1 (1 nodes)
Using video driver x11
GL_VENDOR: Intel Open Source Technology Center
GL_RENDERER: Mesa DRI Intel(R) Ivybridge Mobile
GL_VERSION: 4.2 (Core Profile) Mesa 17.1.2 (Core profile)
GL_SHADING_LANGUAGE_VERSION: 4.20
Max. texture size: 16384
Max. texture units: 16
Max. varying: 128
Max. uniform block size: 65536
Uniform block alignment: 16
Resolution: 1366 x 768
c1m2 - Operation: Exodus
[/code][code]
$ ./gzdoom -glversion 2 -file boa_c2.pk3 -skill 1 +map c1m2
GZDoom g3.3pre-58-gd4ebe51-m - 2017-11-05 15:35:03 +0100 - SDL version
Compiled on Nov 5 2017
M_LoadDefaults: Load system defaults.
W_Init: Init WADfiles.
adding /home/kevinc/Games/doom/gzdoom-master-20171105/gzdoom.pk3, 671 lumps
adding /home/kevinc/Games/doom/IWADS/DOOM2.WAD, 2919 lumps
adding lights.pk3, 6 lumps
adding brightmaps.pk3, 500 lumps
adding ../MusicPacks/Doom2PK3.pk3, 22 lumps
adding /media/kevinc/OS/Games/doom/gzdoom/Doom2Mods/boa_c2.pk3, 14296 lumps
I_Init: Setting up machine state.
CPU Vendor ID: GenuineIntel
Name: Intel(R) Core(TM) i3-3110M CPU @ 2.40GHz
Family 6, Model 58, Stepping 9
Features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2
I_InitSound: Initializing OpenAL
Opened device Built-in Audio Analog Stereo
EFX enabled
V_Init: allocate screen.
S_Init: Setting up sound.
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 warning, "boa_c2.pk3:scripts/menus/iconlistmenu.txt" line 311:
Usage of uninitialized variable 'iconSize' defined at line 301
Script warning, "boa_c2.pk3:scripts/menus/iconlistmenu.txt" line 385:
Usage of uninitialized variable 'maxWidth' defined at line 371
Script warning, "boa_c2.pk3:scripts/conversations/conversationmenucomponents.txt" line 126:
Usage of uninitialized variable 'Index' defined at line 120
Script warning, "boa_c2.pk3:scripts/conversations/conversationmenucomponents.txt" line 139:
Usage of uninitialized variable 'Count' defined at line 121
Script warning, "boa_c2.pk3:scripts/actors/player.txt" line 216:
Usage of uninitialized variable 'mo' defined at line 206
Script warning, "boa_c2.pk3:scripts/actors/player.txt" line 216:
Usage of uninitialized variable 'mo' defined at line 206
script parsing took 404.66 ms
R_Init: Init Doom refresh subsystem.
DecalLibrary: Load decals.
M_Init: Init menus.
P_Init: Init Playloop state.
ParseSBarInfo: Loading custom status bar definition.
a Realm667 project
D_CheckNetGame: Checking network game status.
player 1 of 1 (1 nodes)
Using video driver x11
Emulating OpenGL v 2
GL_VENDOR: Intel Open Source Technology Center
GL_RENDERER: Mesa DRI Intel(R) Ivybridge Mobile
GL_VERSION: 3.0 Mesa 17.1.2 (Compatibility profile)
GL_SHADING_LANGUAGE_VERSION: 1.30
Max. texture size: 16384
Max. texture units: 16
Max. varying: 128
Resolution: 1366 x 768
c1m2 - Operation: Exodus
[/code]