You are not logged in.
Pages: 1
Hi, I was wondering if there is any way to get Divinity Original Sin to run with Mesa-git. I have installed it through the unofficial repository but it still does not run and I'm wondering if there's anything extra that needs to be done to expose a higher OpenGL version?
I'm using an AMD R9 290 card so not sure if this currently allows the right version of OpenGL using mesa drivers or not.
Many thanks for any help offered.
Melkren
Offline
please post glxinfo |grep -i opengl
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
Hi, below is the output.
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD HAWAII (DRM 2.43.0 / 4.5.6-1-ck, LLVM 3.9.0)
OpenGL core profile version string: 4.3 (Core Profile) Mesa 12.1.0-devel (git-6c9a352)
OpenGL core profile shading language version string: 4.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 12.1.0-devel (git-6c9a352)
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 12.1.0-devel (git-6c9a352)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:
many thanks
Offline
Ok,your card uses the mesa radeonsi driver, and that supports OpenGL 4.3 as highest.
I haven't been able to find linux sys req for Divinity Original Sin , but the windows req states windows 7 and directx 9 .
OpenGL 4.0 was released in 2010 and targeted directx 11 capable hardware, so it seems likely your card/mesa are way above Divinity requirements .
This is a steam game ?
Please post the command and output you get when you try starting divinity.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
Hi anything new on this? Just updated to the kernel-4.7rc7, mesa-12.0.1 and LLVM-3.9svn. Have now OpenGL 4.3 (by glxinfo), however the game crashes with the following stack trace:
(0) /usr/lib/libpthread.so.0 : +0x10f00 [0x7f20e61baf00]
(1) ./libOGLBinding.so : api::OpenGLRenderer::ApplyConstants()+0x65 [0x7f20e70ea845]
(2) ./libRenderFramework.so : rf::Renderer::Apply(bool)+0x57 [0x7f20e6d90437]
(3) ./EoCApp : ig::IggyBinding::Swap(rf::Renderer*)+0xfc [0xed032c]
(4) ./libGameEngine.so : BaseApp::EndDrawGUI(rf::Renderer*)+0x9b [0x7f20e6eeafab]
(5) ./libGameEngine.so : BaseApp::MakeFrame()+0x3a4 [0x7f20e6eeb4d4]
(6) ./libGameEngine.so : BaseApp::OnIdle()+0xe0 [0x7f20e6ee9cb0]
(7) ./EoCApp : main+0x170 [0x6d5180]
(8) /usr/lib/libc.so.6 : __libc_start_main+0xf1 [0x7f20e5e29741]
(9) ./EoCApp : _start+0x29 [0x6d4ef9]
Any idea? Running HD7580 on radeonsi
Offline
Found this:
https://bugs.freedesktop.org/show_bug.cgi?id=93551
https://bugs.freedesktop.org/show_bug.cgi?id=95215
Sounds like Larian was cheating on linux customers. I bought the game months ago, accepting, that it needs at least opengl 4.2, thinking that it's just a matter of time to get there with radeonsi, just to realize now, that the guys delivered buggy software and dropped linux support completely.
Nice, this is how business works today...
Offline
With an Intel Skylake Integrated GPU following this advice: https://bugs.freedesktop.org/show_bug.cgi?id=93551#c26 works.
Build mesa from this fork: https://github.com/karolherbst/mesa with this patch: https://gist.github.com/karolherbst/b27 … 57c6ecfbd2. Then edit 'runner.sh' to use the patched mesa libs when running Divinity:
#!/bin/bash
export LIBGL_DRIVERS_PATH=/path/to/mesa/lib
export LD_LIBRARY_PATH=/path/to/mesa/lib
export EGL_DRIVERS_PATH=/path/to/mesa/lib/egl
export MESA_VENDOR_OVERRIDE="ATI Technologies Inc."
export MESA_GL_VERSION_OVERRIDE=4.2
LD_LIBRARY_PATH="." ./EoCApp
Offline
Thanks for that; concise enough that I'm actually willing to try it after following this issue for a little while Do I need to run mesa's autogen.sh with any special arguments when building?
Offline
Wasn't having too much luck with the forked mesa build (it built fine, but wasn't getting the game running) but got it running without on Intel Haswell by building divos-hack.c from the linked bugzilla thread as divos-hack.so, moving it to the game directory, and changing runner.sh to:
#!/bin/bash
MESA_GLSL_VERSION_OVERRIDE=420 MESA_GL_VERSION_OVERRIDE=4.2 allow_glsl_extension_directive_midshader=true LD_PRELOAD="./divos-hack.so" LD_LIBRARY_PATH="." ./EoCApp
So that's at least a little cleaner than having to rebuild Mesa.
divos-hack.c is here: https://bugs.freedesktop.org/attachment.cgi?id=125302
Last edited by axfelix (2016-08-17 22:03:11)
Offline
Pages: 1