AnsweredAssumed Answered

Make own wayland compositor on iMX8mm

Question asked by Kieu Dich on Sep 25, 2019
Latest reply on Oct 1, 2019 by Bio_TICFSL

Hi,

I have two issue need your help,

 

1. I want to make own wayland compositor replace weston. I prefer using qt5.

When I run sample wayland compositor by Qt pure-xml with weston disable, I get error log: Failed to create display. I understand that pure-xml must be run with eglfs Qt plugin, but iMX8 no longer supprort eglfs/ framebuffer. I'm very confuse. I think both pure-xml and weston is same functional, they both is wayland server. Why weston work fine, while pure-xml not work?

 

Please help me to run pure-xml without weston.

 

2. When i running weston. I can't start a GUI service created by Qt5. This is my content of ssytemd service file 

[Unit]
Description = Myexec Service
After = weston.service
Type = forking

[Service]
ExecStart = /home/root/myexec

[Install]
WantedBy = multi-user.target

 

I want to autostart myexec after bootup. Please help,

 

Thanks very much,

 

 

 

Outcomes