Bug 1547027 - Openclonk fails to launch (with Wayland)
Summary: Openclonk fails to launch (with Wayland)
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: openclonk
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Antonio T. (sagitter)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1454638 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-20 11:22 UTC by Gwyn Ciesla
Modified: 2019-11-27 19:03 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-11-27 19:03:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1454638 0 unspecified CLOSED OpenClonk does not start under Wayland 2021-02-22 00:41:40 UTC

Description Gwyn Ciesla 2018-02-20 11:22:33 UTC
[limb@locris ~]$ openclonk 
[05:22:13] OpenClonk
[05:22:13] Version: 8.0 unix linux-x86_64 (85d9c2c41039 - 2018-02-04 16:39:08 +0100)
[05:22:13] ExePath: "/usr/bin/"
[05:22:13] SystemDataPath: "/usr/share/openclonk/"
[05:22:13] UserDataPath: "/home/limb/.clonk/openclonk/"
[05:22:13] Command line: openclonk
[05:22:13] Couldn't find matching GLX visual
[05:22:13] Game cleared.
[05:22:13] Engine shut down.

Comment 1 MartinKG 2018-02-20 12:22:01 UTC
Ensure that GLX is installed correctly by running glxinfo. At the bottom, you'll find the list of supported visuals. Here's mine:

216 GLX Visuals
    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x021 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None

Try running the following before running the openclonk program:

export SDL_VIDEO_X11_VISUALID=

This causes openclonk to go down a different code path to find the visual. You can also try hardcoding the visual to the visual id from glxinfo:

export SDL_VIDEO_X11_VISUALID=0x021

Comment 2 Gwyn Ciesla 2018-02-20 13:34:00 UTC
38 GLX Visuals
    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x024 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x025 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x1a0 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x1a2 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x1a4 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x1b2 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x1b4 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x1b5 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x1b6 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x1bd 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x1bf 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x1c1 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x1cf 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x1d1 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x1d2 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow
0x1d3 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x1d4 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow
0x217 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x219 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x21b 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x229 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x22b 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x22c 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x22d 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x234 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x236 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x238 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x246 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x248 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x249 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow
0x24a 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x24b 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow
0x055 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x28e 32 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x28f 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x290 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x297 32 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x298 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None


[limb@locris ~]$ export SDL_VIDEO_X11_VISUALID=
[limb@locris ~]$ openclonk 
[07:32:43] OpenClonk
[07:32:43] Version: 8.0 unix linux-x86_64 (85d9c2c41039 - 2018-02-04 16:39:08 +0100)
[07:32:43] ExePath: "/usr/bin/"
[07:32:43] SystemDataPath: "/usr/share/openclonk/"
[07:32:43] UserDataPath: "/home/limb/.clonk/openclonk/"
[07:32:43] Command line: openclonk
[07:32:43]   gl: Create first context...
[07:32:43] SDL_GL_CreateContext: Could not create GL context
[07:32:43]   gl: (null)
[07:32:43]   gl: (null)
[07:32:43]   gl: (null)
[07:32:43]   gl: (null)
[07:32:43] GL  on  ()
[07:32:43]   gl: Error creating secondary context!
[07:32:43]   gl: (null)
[07:32:43]   gl: (null)
[07:32:43]   gl: (null)
[07:32:43]   gl: (null)
8.0 unix: Caught signal SIGSEGV (0x0000000000000000)
openclonk(+0x200490)[0x55916762c490]
openclonk(_ZN14C4Network2UPnPC1Ev+0x0)[0x55916762c500]
/lib64/libpthread.so.0(+0x12af0)[0x7f3f15424af0]
openclonk(_ZN6CStdGL20RestoreDeviceObjectsEv+0x34)[0x5591677296a4]
openclonk(_ZN6C4Draw4InitEP13C4AbstractAppjjj+0x49)[0x559167726299]
openclonk(_Z9DDrawInitP13C4AbstractAppjjj+0x4e)[0x55916772634e]
openclonk(_ZN13C4Application6DoInitEiPPc+0x345)[0x5591676eb025]
openclonk(main+0x12f)[0x559167626d4f]
/lib64/libc.so.6(__libc_start_main+0xea)[0x7f3f137f200a]
openclonk(_start+0x2a)[0x55916762c13a]

[limb@locris ~]$ export SDL_VIDEO_X11_VISUALID=0x024
[limb@locris ~]$ openclonk 
[07:33:47] OpenClonk
[07:33:47] Version: 8.0 unix linux-x86_64 (85d9c2c41039 - 2018-02-04 16:39:08 +0100)
[07:33:47] ExePath: "/usr/bin/"
[07:33:47] SystemDataPath: "/usr/share/openclonk/"
[07:33:47] UserDataPath: "/home/limb/.clonk/openclonk/"
[07:33:47] Command line: openclonk
[07:33:47]   gl: Create first context...
[07:33:47] SDL_GL_CreateContext: Could not create GL context
[07:33:47]   gl: (null)
[07:33:47]   gl: (null)
[07:33:47]   gl: (null)
[07:33:47]   gl: (null)
[07:33:47] GL  on  ()
[07:33:47]   gl: Error creating secondary context!
[07:33:48]   gl: (null)
[07:33:48]   gl: (null)
[07:33:48]   gl: (null)
[07:33:48]   gl: (null)
8.0 unix: Caught signal SIGSEGV (0x0000000000000000)
openclonk(+0x200490)[0x5598d3011490]
openclonk(_ZN14C4Network2UPnPC1Ev+0x0)[0x5598d3011500]
/lib64/libpthread.so.0(+0x12af0)[0x7f61df970af0]
openclonk(_ZN6CStdGL20RestoreDeviceObjectsEv+0x34)[0x5598d310e6a4]
openclonk(_ZN6C4Draw4InitEP13C4AbstractAppjjj+0x49)[0x5598d310b299]
openclonk(_Z9DDrawInitP13C4AbstractAppjjj+0x4e)[0x5598d310b34e]
openclonk(_ZN13C4Application6DoInitEiPPc+0x345)[0x5598d30d0025]
openclonk(main+0x12f)[0x5598d300bd4f]
/lib64/libc.so.6(__libc_start_main+0xea)[0x7f61ddd3e00a]
openclonk(_start+0x2a)[0x5598d301113a]

Comment 3 Antonio T. (sagitter) 2018-02-23 10:54:40 UTC
It looks habitual Wayland related issue.

Use:

$ WAYLAND_DISPLAY='' openclonk

Comment 4 Antonio T. (sagitter) 2018-02-23 11:19:13 UTC
See also http://forum.openclonk.org/topic_show.pl?pid=33118.

Comment 5 Gwyn Ciesla 2018-02-23 13:07:48 UTC
(In reply to Antonio Trande from comment #3)
> It looks habitual Wayland related issue.
> 
> Use:
> 
> $ WAYLAND_DISPLAY='' openclonk

This doesn't work for me.

Comment 6 Antonio T. (sagitter) 2018-02-23 13:15:52 UTC
(In reply to Gwyn Ciesla from comment #5)
> (In reply to Antonio Trande from comment #3)
> > It looks habitual Wayland related issue.
> > 
> > Use:
> > 
> > $ WAYLAND_DISPLAY='' openclonk
> 
> This doesn't work for me.

You need to use Xorg then; maybe even creating Xorg.conf file.

Comment 7 Gwyn Ciesla 2018-02-23 13:23:51 UTC
That's not a great fix, honestly. Wayland is the default for the GNOME spin.

Comment 8 Antonio T. (sagitter) 2018-02-23 13:31:06 UTC
Yes, i agree; but i can't do anything else.
Testing with Wayland is a problem for upstream developer too (http://forum.openclonk.org/topic_show.pl?pid=33136#pid33136).

Comment 9 Antonio T. (sagitter) 2018-03-21 20:28:14 UTC
*** Bug 1454638 has been marked as a duplicate of this bug. ***

Comment 10 Jan Kurik 2018-08-14 10:15:51 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.

Comment 11 Ben Cotton 2019-10-31 20:52:32 UTC
This message is a reminder that Fedora 29 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 29 on 2019-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '29'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 29 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 12 Ben Cotton 2019-11-27 19:03:52 UTC
Fedora 29 changed to end-of-life (EOL) status on 2019-11-26. Fedora 29 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.