Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
fails to start on wayland
04-20-2017, 05:54 AM
Post: #1
fails to start on wayland
On my system Wings3d 2.1.5 will not start when running Wayland. Using Xorg or downgrading to 1.5.3 does work.

Debian 64bit, Linux 4.9.0
Gnome Shell 3.22.3
Xwayland 1.19.3

Dump written 2017-4-19_21-53
Version: 2.1.5
Window: "<Unknown Window Name>"
Reason: {{error,no_gl_context,5075},
[{gl,rec,1,[{file,"gen/gl.erl"},{line,298}]},
{wings_gl,init_extensions,0,[{file,"wings_gl.erl"},{line,164}]},
{wings_gl,init,1,[{file,"wings_gl.erl"},{line,49}]},
{wings,init,1,[{file,"wings.erl"},{line,121}]}]}
Reply
04-25-2017, 12:32 AM
Post: #2
RE: fails to start on wayland
Have you built everything yourself?
I would not expect the released (linux) binary to work out of the box.
Reply
04-25-2017, 12:34 AM (This post was last modified: 04-25-2017 01:03 AM by yschaeff.)
Post: #3
RE: fails to start on wayland
I'm using the version from the Debian repository. Presumably compiled from source by the package maintainer.

Just tested the released binary as well for good measure. It has the same problem.
Reply
04-25-2017, 11:04 PM (This post was last modified: 04-25-2017 11:12 PM by dgud.)
Post: #4
RE: fails to start on wayland
Oh well I could need some help with fixing that, don't know anything about wayland nor have a machine to test it on.

I don't know if wxWidgets and OpenGL works with wayland yet, or if it can be fixed in the erlang gui
wrapper.

Some linux programmer should probably start looking and fix something in the erlang source
at otp/lib/wx/c_src/*gl* files.

EDIT:
wxWidgets seems to not support wayland and opengl yet:
http://trac.wxwidgets.org/ticket/16692
http://trac.wxwidgets.org/ticket/17702
Reply
04-26-2017, 05:36 AM
Post: #5
RE: fails to start on wayland
Well, I'm a developer that so happens to have access to such a setup, though with zero Erlang experience.... Alas, the error is not within Wings.
Which might actually be a good thing, wx is a widely used library and with the emerge of distros enabling Wayland per default one would expect a fix somewhere in the future.
Thanks for the research.
Reply


Forum Jump:


User(s) browsing this thread: 1 Guest(s)