Not logged inOpenClonk Forum
Up Topic General / Help and Questions / Cannot start game
- - By rugk [de] Date 2017-05-26 16:33
I am using Fedora 25 and installed it from the official repos, but it does not start. Using Wayland, of course.

Started from the command line it just shows this:
7.0 unix: Caught signal SIGSEGV (0x0000000000000003)
openclonk(+0x19680c)[0x557b1a3b580c]
openclonk(+0x196a10)[0x557b1a3b5a10]
/lib64/libpthread.so.0(+0x115c0)[0x7f8b38c585c0]
/lib64/libX11.so.6(_XSend+0x7e)[0x7f8b3bbbf51e]
/lib64/libX11.so.6(XQueryExtension+0x84)[0x7f8b3bbb5c94]
/lib64/libX11.so.6(XInitExtension+0x32)[0x7f8b3bba97d2]
/lib64/libXext.so.6(XextAddDisplay+0x4f)[0x7f8b3758720f]
/lib64/libXrandr.so.2(+0x1d56)[0x7f8b3b974d56]
/lib64/libXrandr.so.2(XRRQueryExtension+0x11)[0x7f8b3b975381]
openclonk(_ZN13C4AbstractApp4InitEiPPc+0x9f)[0x557b1a3bea2f]
openclonk(main+0x12a)[0x557b1a3b0faa]
/lib64/libc.so.6(__libc_start_main+0xf1)[0x7f8b37df1401]
openclonk(_start+0x2a)[0x557b1a3b563a]

I've already opened an issue in the RedHat bug tracker (https://bugzilla.redhat.com/show_bug.cgi?id=1454638), but nobody answered there, yet, so I thought maybe you have some ideas…
Parent - - By Luchs [kr] Date 2017-05-27 06:13
Hi, can you please try the current 8.0 development version? You'll probably have to compile it yourself for Fedora. It will use SDL2 then. I don't know of that works any better with Wayland, but would at least allow for improvements (we won't do any bugfixes for 7.0).
Parent - - By rugk [de] Date 2017-05-27 16:01
Actually I just tried it under Xorg, but there is no difference.
Parent - - By sagitter [it] Date 2017-05-27 19:32
rugk, please try this new build for testing: https://koji.fedoraproject.org/koji/taskinfo?taskID=19740092
Reply
Parent - - By rugk [de] Date 2017-05-27 21:05
I would do so if I knew how to download it. Can I do it with dnf or how else?
Parent - By rugk [de] Date 2017-05-30 11:35
Thanks for the link. Of course, installing rpm files is easy. But – to learn for future things – how can I get to these from the site https://koji.fedoraproject.org/koji/taskinfo?taskID=19740092? There is no .rpm download link or so…
Parent - By rugk [de] Date 2017-05-30 11:54
So trying it out I have the same error as you…
Parent - - By sagitter [it] Date 2017-05-27 19:23
Hello.

I'm rebuilding your latest GitHub commit of Openclonk-8.0.

Openclonk is not running with this message:


[20:21:41] OpenClonk
[20:21:41] Version: 8.0-alpha unix linux-x86_64 (04ec41b54cf1 - 2017-05-27 16:34:33 +0900)
[20:21:41] ExePath: "/usr/bin/"
[20:21:41] SystemDataPath: "/usr/share/openclonk/"
[20:21:41] UserDataPath: "/home/sagitter/.clonk/openclonk/"
[20:21:41] Command line: openclonk
[20:21:41] Couldn't find matching GLX visual
[20:21:41] Game cleared.
[20:21:41] Engine shut down.
Reply
Parent - - By Luchs [kr] Date 2017-05-28 00:53
I believe the error message is from SDL2. Do other SDL2/OpenGL games work on your computer? You'll need at least OpenGL 3.3.
Parent - - By rugk [de] Date 2017-05-28 16:25
I might also answer here if that's okay, so in Fedora 25 OpenGl v3.0 seems to be used…

$ glxinfo | grep "OpenGL version"
OpenGL version string: 3.0 Mesa 17.0.5

I don't know whether there is another game in the Fedora repos using SDL2, however…
Parent - - By rugk [de] Date 2017-05-28 16:27
But… uh, if the core version matters, it is v4…

$ glxinfo | grep "version"      
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
    Max core profile version: 4.3
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.1
OpenGL core profile version string: 4.3 (Core Profile) Mesa 17.0.5
OpenGL core profile shading language version string: 4.30
OpenGL version string: 3.0 Mesa 17.0.5
OpenGL shading language version string: 1.30
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 17.0.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
Parent - - By Luchs [kr] Date 2017-05-29 01:08
Yeah, the core version is all that matters. 4.3 is sufficient, so I'm out of ideas what the issue could be.

What's your graphics card? Did you try proprietary drivers for NVIDIA/AMD?
Parent - By rugk [de] Date 2017-05-29 12:08
It should also work without it. For me I'm on Gallium 0.4 on NVD9 using an NVIDIA GPU.
Parent - By Isilkor Date 2017-05-29 19:41

> Yeah, the core version is all that matters.


Apparently we're not explicitly asking for a core context on SDL, and the default profile is platform dependent, so SDL might be requesting a compat profile by default.
Reply
Parent - - By sagitter [it] Date 2017-05-30 11:28
I can run both Openclonk 7.0 and 8-alpha on Fedora 25 if Wayland is not used. To disable Wayland: https://ask.fedoraproject.org/en/answers/96135/revisions/

Then, create a 'xorg.conf' file by following these simple steps: https://fedoraproject.org/wiki/How_to_create_xorg.conf

@rugk, can you try this way?

@Luchs, when are you going to release a first Openclonk 8 release?
Reply
Parent - - By rugk [de] Date 2017-05-30 11:33
Why disable it? One can just choose "Xorg" in the login screen and when I tried this with the current version, it does not work.
Parent - - By sagitter [it] Date 2017-05-30 12:47

>Why disable it? One can just choose "Xorg" in the login screen


Yes, i know.

Have you created 'xorg,conf' ?
Reply
Parent - By rugk [de] Date 2017-05-31 17:27
Okay, after creating the file it worked.
Parent - By Luchs [kr] Date 2017-05-30 15:10

>when are you going to release a first Openclonk 8 release?


I'd love to have a release soon, but we still have a lot of bugs to iron out. I'm going to look into Wayland support. I can't use Wayland on my main computer because of the proprietary NVIDIA driver.
Parent - By rugk [de] Date 2017-06-23 15:42
See https://bugzilla.redhat.com/show_bug.cgi?id=1454638#c7 for updates.

TL;DR: It works when executed as `WAYLAND_DISPLAY='' openclonk` on the command line.
https://fedoraproject.org/wiki/How_to_debug_Wayland_problems
Up Topic General / Help and Questions / Cannot start game

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill