I figured out why SpaceEngine won't run under wine. SpaceEngine creates a non-core OpenGL profile using wglCreateContext, but then try to compile GLSL shaders with "#version 330 core", which fails under Mesa GL.

I did some hacking to redirect the call and now it works fine on my machine. In theory, forcing a GL version using MESA_GL_VERSION_OVERRIDE should work, except there's a bug in Wine which causes it to crash.

BTW, if you are having crashes in openal32, just delete the openal32.dll file.

Hey, I just moved to Linux (Linux Mint to be precise), and I can directly run SpaceEngine without any of the fix described here. I am simply using the latest Wine build from the new repository, so no PlayOnLinux.

Unfortunately I have another problem. There seems to be a major memory leak on the program. I can only land several times on surface of the planets before the program fills my 8GB RAM almost entirely. At this point, the program becomes very laggy, and I got "_heapmin() returned -1" message on the screen. And after that, if I keep exploring (with a major lag), it will eventually crash.

Everything else seems to work correctly (music, terrain, texture, etc), and I never got similar problem from other programs under Wine. Anybody got a clue what's wrong? I've already tried several Wine versions on PlayOnLinux as well, and I still got the same problem.

Here I posted the se.log file of a fresh run without any mods or addons. There doesn't seem to be anything interesting except the last few lines: