View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0000578 | Gameplay + OpenGL | [All Projects] Bug | public | 2017-04-14 00:19 | 2017-04-14 08:32 | 
| Reporter | SlaveJobs | ||||
| Assigned To | |||||
| Priority | normal | Severity | minor | Reproducibility | always | 
| Status | resolved | Resolution | fixed | ||
| Summary | 0000578: Warn user the minimun OpenGL version required | ||||
| Description | Trying to run gzdoom on an intel igpu with OpenGL 2.1 results in a segfault without any messages: The gdb stack indicates a segfault at function CollectExtensions() from gl_interface.cpp: Probably because GL_NUM_EXTENSIONS is not defined on OpenGL < 3.0. | ||||
| Tags | No tags attached. | ||||
| It crashes because glGetIntegerv is nullptr for some reason. You can confirm this by setting a breakpoint in gl_load.c at line 2523 and check value of _ptrc_glGetIntegerv variable. Probably we should query required functions like glLoadGen does and abort with fatal error if they are not available. | |
| I found this error only because I forgot to compile libsdl2 with opengl support on gentoo. The game runs fine after that. More than 60 fps on a 3rd gen gpu - Intel Corporation Mobile 945GM/GMS, default settings, OpenGL renderer. Not bad. | |
| ... or just check the return value of ogl_LoadFunctions and abort if it failed...? | |
| Date Modified | Username | Field | Change | 
|---|---|---|---|
| 2017-04-14 00:19 | SlaveJobs | New Issue | |
| 2017-04-14 02:39 | _mental_ | Description Updated | View Revisions | 
| 2017-04-14 02:47 | _mental_ | Note Added: 0001349 | |
| 2017-04-14 07:57 | SlaveJobs | Note Added: 0001355 | |
| 2017-04-14 08:32 | Graf Zahl | Note Added: 0001357 | |
| 2017-04-14 08:32 | Graf Zahl | Status | new => resolved | 
| 2017-04-14 08:32 | Graf Zahl | Resolution | open => fixed | 

