raspberrypi / maynard

Desktop environment for Wayland
Other
336 stars 46 forks source link

Use Maynard on x64 Arch Linux #20

Closed hanzelpeter closed 9 years ago

hanzelpeter commented 10 years ago

Hello.

I compiled maynard on x64 Arch Linux. I used make install and then when I use "maynard" command, it starts only normal weston.

The I tried to add "modules=shell-helper.so" to weston.ini but it also starts only default weston.

The I added "client=/usr/libexec/maynard". Then it starts maynard, but crashes after few seconds or mouse move.

I use last version from git. The gdb stack trace is not usefull. It is some null pointer in wl_list_remove.

What can I do to make it work?

hanzelpeter commented 10 years ago

I looked for all occurencies of wl_list_insert and wl_list_remove and commented this out in shell/shell-helper.c and then maynard will not crash, but the panel with applications will not show.

I don't know about wayland and purpose of wl_list_insert. So I am still lost where can be problem.

hanzelpeter commented 10 years ago

The problem was I was using stock Weston not the Weston from github/raspberry/weston. When I compiled this one, it worked.

ghost commented 10 years ago

Hi, cant manage to test maynard on Arch Linux x86_64

I followed "Develop on a computer"-steps but maynard fails to start $ maynard Failed to process Wayland connection: Broken pipeion 'seat', udev property ID_SEAT)be affected.9:47:20 +0100).4.0 failed to create display: Broken pipe

If I launch weston via "weston" I only get a black screen.. tried to log the output $ weston --shell=/usr/lib/weston/shell-helper.so 2>&1 | tee log Date: 2014-06-22 CEST [16:00:33.429] weston 1.4.0 http://wayland.freedesktop.org/ Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.4.0 Build: 8e2184b desktop-shell: make background applications even less dark (2014-04-07 09:47:20 +0100) [16:00:33.429] OS: Linux, 3.15.1-1-ARCH, #1 SMP PREEMPT Tue Jun 17 09:32:20 CEST 2014, x86_64 [16:00:33.429] Starting with no config file. [16:00:33.429] Loading module '/usr/lib/weston/fbdev-backend.so' [16:00:33.432] initializing fbdev backend [16:00:33.445] logind: using VT /dev/tty1 [16:00:33.445] logind: session control granted [16:00:33.445] Creating fbdev output. [16:00:33.445] Opening fbdev frame buffer. [16:00:33.445] Calculating pixman format from:

compiling weston without "WESTON_SHELL_CLIENT=maynard"-option and using no weston.ini ...the default desktop-shell works without errors

joukewitteveen commented 9 years ago

With the current weston/gtk packages of Arch, Maynard starts nicely with the following in weston.ini.

[core]
modules=shell-helper.so

[shell]
client=/usr/libexec/maynard

The wiki page wiki/Develop-on-a-computer should suggest the above contents of weston.ini instead of what it currently lists.

This issue can be closed.

jonnylamb commented 9 years ago

@joukewitteveen thanks!