Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jul 2020 11:52:21 -0400
From:      Lonnie Cumberland <lonnie@outstep.com>
To:        Ashish SHUKLA <ashish@freebsd.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Setting up Wayland on FreeBSD
Message-ID:  <CAPmsJLDNqq2JbBEUTSVvH4=p%2BNYyW66MxnYMU-6znvi_Wm_WGw@mail.gmail.com>
In-Reply-To: <CAPmsJLDFBAPHkUMPXP3RQWO6Y-jZsf6NpkHmDwAbBwFbkU1qsQ@mail.gmail.com>
References:  <CAPmsJLD1A8Ri6frj_Lv38TwhPW1mtudST0b2QWO41DN3g2giVg@mail.gmail.com> <4acde791-2974-4f83-cf18-2a05918d483b@FreeBSD.org> <CAPmsJLDFBAPHkUMPXP3RQWO6Y-jZsf6NpkHmDwAbBwFbkU1qsQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Ashish,

I wanted to ask you a question on this.

I am thinking about doing a new fresh FreeBSD (12.1) install that comes
without a GUI (no Xserver installed) and was wondering if these steps are
for Pure Wayland which I am guessing is using the DRM backend?

I would then think that you did something like this from a fresh install:

pkg install wayland
pkg install haikari

and then the steps that you outlined to startup the compositor and bring up
the GUI environment from the console.

Would this be about correct?
Thanks again.

On Thu, Jul 23, 2020 at 9:13 AM Lonnie Cumberland <lonnie@outstep.com>
wrote:

> Thanks so very much for this insight as it will be very helpful.
>
> Cheers and have a great day,
> Lonnie
>
> On Thu, Jul 23, 2020 at 5:22 AM Ashish SHUKLA <ashish@freebsd.org> wrote:
>
>> On 7/23/20 5:16 AM, Lonnie Cumberland wrote:
>> >
>> > Well, I am making good progress with my new experiences in the FreeBSD
>> > world and now it's time to get back on my project a bit.
>>
>> Following information is what I referred to when I setup Wayland on mine=
:
>>
>> https://unrelenting.technology/kb/FreeBSDDesktop
>> https://hub.darcs.net/raichoo/hikari
>>
>> And I use following script (analogous to startx of X11 world) to launch
>> a Wayland desktop session:
>>
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>> #!/bin/sh
>>
>>
>> export MOZ_ENABLE_WAYLAND=3D1
>> export XDG_SESSION_TYPE=3Dwayland
>> export XDG_RUNTIME_DIR=3D/tmp/$USER/.xdg
>> export CLUTTER_BACKEND=3Dwayland
>> export SDL_VIDEODRIVER=3Dwayland
>> export LIBGL_DRI3_ENABLE=3D1
>> export XKB_DEFAULT_RULES=3Devdev
>> export QT_QPA_PLATFORM=3Dwayland-egl
>> export QT_WAYLAND_DISABLE_WINDOWDECORATION=3D1
>> export BEMENU_BACKEND=3Dwayland
>> export WLR_DRM_NO_ATOMIC=3D1
>>
>> [ -d $XDG_RUNTIME_DIR ] || mkdir -m 700 -p $XDG_RUNTIME_DIR
>>
>> #WM=3Dwayfire
>> #WM=3Dsway
>> WM=3Dhikari
>>
>>
>> exec $WM >$HOME/.xsession-errors 2>&1
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>>
>> Important part, make sure /tmp is not a ZFS mountpoint. I've it on tmpfs
>> filesystem.
>>
>> HTH
>> --
>> Ashish SHUKLA | GPG: F682CDCC39DC0FEAE11620B6C746CFA9E74FA4B0
>>
>> =E2=80=9CThere is no reason anyone would want a computer in their home.=
=E2=80=9D (Ken
>> Olson, founder of DEC, 1977)
>>
>>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPmsJLDNqq2JbBEUTSVvH4=p%2BNYyW66MxnYMU-6znvi_Wm_WGw>