udevbe / greenfield

HTML5 Wayland compositor :seedling:
GNU Affero General Public License v3.0
913 stars 28 forks source link

Unable to launch Qt apps on Ubuntu 20.04 #88

Closed t123yh closed 2 years ago

t123yh commented 2 years ago

Hi,

I'm trying to get Qt apps like konsole or kate to work under Greenfield. Currently, app shows up in browser for a second, but crashes immediately.

me@me-server ~ [1]> konsole -platform wayland
Using Wayland-EGL
Using the 'xdg-shell' shell integration
listener function for opcode 5 of wl_pointer is NULL
fish: “konsole -platform wayland” terminated by signal SIGABRT (Abort)
Zubnix commented 2 years ago

I’ve only tested with kwrite without issues, could you test as well? So I can see if it’s a general qt issue or something else.

Zubnix commented 2 years ago

I can't seem to reproduce the issue using ubuntu 21.10.

Can you try running with WAYLAND_DEBUG=1, ie. WAYLAND_DEBUG=1 konsole -platform wayland and show me the log output? Could you also show me the log output of the compositor-proxy using GST_DEBUG=3 yarn demo

t123yh commented 2 years ago

Hi Zubnix,

Thanks for your reply. I tried kwrite and the same happened, so it should be a general qt issue.

These logs below are produced with the options you mentioned.

kwrite.log

proxy.log

Zubnix commented 2 years ago

I see you are running on Mac. This should work but I haven’t tested in a while as I don’t own a Mac. I’ll see if I can reproduce and report back here.

t123yh commented 2 years ago

If it will bring any convenience, I can grant you ssh to my server to ease the reproduce of the problem.

Zubnix commented 2 years ago

sure, check my github profile for contact details

t123yh commented 2 years ago

I am able to launch them on latest Debian. It might be a compatibility issue in 20.04.