Open Alexanderros opened 7 years ago
I've no GL_ARB_vertex_buffer_object
in any core OpenGL context and it's required by OpenTomb. You can check out if this is your case by exporting MESA_GL_VERSION_OVERRIDE=3.0 envirinment variable before running OT.
No luck, I do have GL_ARB_vertex_buffer_object as part of OpenGL extension. $ glxinfo | grep GL_ARB_vertex_buffer_object GL_ARB_vertex_attrib_binding, GL_ARB_vertex_buffer_object,
OpenGL vendor string: X.Org OpenGL renderer string: Gallium 0.4 on AMD POLARIS12 (DRM 3.9.0 / 4.10.0-37-generic, LLVM 4.0.0) OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.0.7 OpenGL core profile shading language version string: 4.50 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions:..... ... OpenGL version string: 3.0 Mesa 17.0.7 OpenGL shading language version string: 1.30 OpenGL context flags: (none) OpenGL extensions:... ... GL_ARB_vertex_attrib_binding, GL_ARB_vertex_buffer_object, ....
The graphic card is AMD Radeon RX550 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Lexa PRO [Radeon RX 550] (rev c7)
gl functions in OT retrieved by SDL GL GetProcAdress... maybe something wrong in initialization params... try to set "anisotropy" and "antialias_samples" to 0 in config.lua
Looks like it's graphics problem for whatever reason. I'll try to figure this one out at Linux Mint forums [ 6.236] (EE) modeset(0): [DRI2] No driver mapping found for PCI device 0x1002 / 0x699f [ 6.236] (EE) modeset(0): Failed to initialize the DRI2 extension. [ 6.261] (--) RandR disabled [ 6.268] (II) AIGLX: Screen 0 is not DRI2 capable [ 6.268] (EE) AIGLX: reverting to software rendering
Actually, OT works with software rendering too, so it shouldn't matter at all.
Well setting "anisotropy" and "antialias_samples" to 0 in config.lua change nothing Same System error: Could not init OpenGL driver
Should I try rebuilding it with different parameters?
try engine.cpp SDL Init GL Driver and change NULL (default) param to google init SDL GL under used Linux version
Anyone can help me out with it?
Latest open source AMD drivers OpenGL exists
ubuntu@Linux-Mint ~/Documents/TombRaider/OpenTomb-win32-2017-08-05_alpha $ glxinfo | grep OpenGL OpenGL vendor string: X.Org OpenGL renderer string: Gallium 0.4 on AMD POLARIS12 (DRM 3.9.0 / 4.10.0-37-generic, LLVM 4.0.0) OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.0.7 OpenGL core profile shading language version string: 4.50 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 3.0 Mesa 17.0.7 OpenGL shading language version string: 1.30 OpenGL context flags: (none) OpenGL extensions: OpenGL ES profile version string: OpenGL ES 3.1 Mesa 17.0.7 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10 OpenGL ES profile extensions: ubuntu@Linux-Mint ~/Documents/TombRaider/OpenTomb-win32-2017-08-05_alpha $ sudo ./OpenTomb [sudo] password for ubuntu: System error: Could not init OpenGL driver
Tried both sudo and without. What am I missing? Using Linux Mint 18.2 if it matters