You are not logged in.

#1 2016-04-23 09:29:49

jabol240
Member
From: Gdansk, Poland
Registered: 2011-02-18
Posts: 19

[enlightenment] gtk3 apps don't work in wayland

Hi all,

Please anyone help me a bit

I'm on a fresh arch intallation here, with no xorg installed, running enlightenment under wayland.
Gtk3 apps don't fire up. tried l3afpad, deadbeef, file-roller, baobab, spacefm, ...
GDK_BACKEND=wayland applied. qt5 apps start fine. upstream apparently works fine, as per https://phab.enlightenment.org/T3437

do I miss something? please help

Using only repo packages: efl 1.17.0-1, elementary 1.17.0-1, enlightenment 0.20.6-1, gtk3 3.20.3-1

Offline

#2 2016-04-23 13:17:34

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: [enlightenment] gtk3 apps don't work in wayland

afaik, setting GDK_BACKEND=wayland shouldn't even be necessary any more.

Do you get any output if you try to start gtk3 application from terminal emulator, or does it simply fail without any error.
Also, are gtk3 applications starting fine on enlightenment under Xorg?

Offline

#3 2016-04-24 14:12:56

jabol240
Member
From: Gdansk, Poland
Registered: 2011-02-18
Posts: 19

Re: [enlightenment] gtk3 apps don't work in wayland

Hi and thanks

No, even when run with --verbose switch, no error come up. However when I then restart enlightenment and see its console log briefly, all those apps I had tried running have entries in the likes of "[application] lost connection to the wayland compositor". And yes, in xorg all is fully functional.

Offline

#4 2016-04-24 15:37:21

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: [enlightenment] gtk3 apps don't work in wayland

What happens when:

1) Start an app from command line.
2) Start an app (command line or not). Does it show up if you run systemd-cgls?
3) You run GTK apps on weston?

There were some issues with apps not showing up in the past but were fixed in git.

Last edited by 89c51 (2016-04-24 15:41:45)

Offline

#5 2016-04-25 17:32:17

jabol240
Member
From: Gdansk, Poland
Registered: 2011-02-18
Posts: 19

Re: [enlightenment] gtk3 apps don't work in wayland

Hi and thanks.

1. the cursor goes to new line and that's it. nothing happens.
2. yes, commands like top or systemd-cgls show the app running.
3. gtk3 apps work like a charm in weston, save for spacefm which segfaults.

thanks

Offline

#6 2016-04-25 21:45:00

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: [enlightenment] gtk3 apps don't work in wayland

You'll probably have to wait for efl 1.8 and E21 to get this sorted.

Git is rather stable in case you want to use that now.

Last edited by 89c51 (2016-04-25 21:45:43)

Offline

#7 2016-04-26 14:19:14

jabol240
Member
From: Gdansk, Poland
Registered: 2011-02-18
Posts: 19

Re: [enlightenment] gtk3 apps don't work in wayland

yeah but the problem is, as the link in my first post above shows, GIT works fine in upstream and it doesn't work for me either, coz I already tried. hmm//

Offline

#8 2016-04-26 15:55:20

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: [enlightenment] gtk3 apps don't work in wayland

If you install Xwayland do they start ?? (even as Xwayland apps)

Offline

#9 2016-04-26 23:57:33

jabol240
Member
From: Gdansk, Poland
Registered: 2011-02-18
Posts: 19

Re: [enlightenment] gtk3 apps don't work in wayland

installed Xwayland
nothing changed if simply run an app from terminal.
now there was a way to explicitly run an app using Xwayland? I mean there was something like a "Xwayland-run [application]" command as far as I remember? but I can't find it now.

nevertheless, what I just noticed is that when I start E (by running enlightenment_start) in wayland, the following errors come up (with or without xorg stuff installed):

...
Enlightenment cannot initialize Ecore_X
LOAD WL_WL MODULE
    ... no wayland display running ...
LOAD WL_X11 MODULE
    ... x11 connect failed ...
LOAD WL_DRM MODULE
    [this seems to finally work]

does it ring any bell?

also, just updated e and efl to latest git - to no effect.

thanks again

Offline

#10 2016-04-27 07:06:38

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: [enlightenment] gtk3 apps don't work in wayland

Those messages are ok. Nothing to worry about AFAI understand.

Its weird that you get this since apps like transmission-gtk and the nm-connection editor work fine on my setup hmm

Offline

#11 2016-05-03 16:45:31

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: [enlightenment] gtk3 apps don't work in wayland

Tested E wayland on my main system after the last update and i have the same problem.

Out of curiosity what GPU are you using?

Last edited by 89c51 (2016-05-03 16:45:41)

Offline

#12 2016-05-03 19:45:19

jabol240
Member
From: Gdansk, Poland
Registered: 2011-02-18
Posts: 19

Re: [enlightenment] gtk3 apps don't work in wayland

AMD built-in old machine
nVidia GeForce 920M/nouveau new machine

neither works even after the update to 0.20.7

i encourage you to comment on the bug report I linked to above.

Offline

#13 2016-05-06 17:11:33

jabol240
Member
From: Gdansk, Poland
Registered: 2011-02-18
Posts: 19

Re: [enlightenment] gtk3 apps don't work in wayland

kind of fixed now in upstream git.

Offline

Board footer

Powered by FluxBB