From owner-freebsd-questions@freebsd.org Thu Jul 23 15:52:34 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DCE7535A8C0 for ; Thu, 23 Jul 2020 15:52:34 +0000 (UTC) (envelope-from lonnie@outstep.com) Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BCH0L1Bgqz3VF8 for ; Thu, 23 Jul 2020 15:52:33 +0000 (UTC) (envelope-from lonnie@outstep.com) Received: by mail-io1-xd31.google.com with SMTP id a12so6715215ion.13 for ; Thu, 23 Jul 2020 08:52:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outstep-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zX1ecfIC5VoibVtcIII3Nr8OodCAkUjf6EpNBG0sdsU=; b=NjDucdKme4kEZ4b/17xCLwMrTsKYtHc8baXWZ9PQEOO73tP+sOM4zD4KFCxDXHgFe/ QiUM8hJ/iXabdAVi1v683mAn2JMES023D6JnmbkRNDN8ieTpGeivJtKHeLVEDMFfhLV9 6rv4iFsjksDZ/QYlVonKC5I8jkGPkronyEp+TYmtoAi6Ig97p3+s3l6LMdZX9FHKiagC sEKakZpenx4c4/eVQcZ6nOM1E99boI1blgaKgVu1dtoAjWvzH15gLc8PpxQfs38nILtR 7s1I1oWySrIrTfIzqU9iS8Hp83bPe/OHxMDcZ6j+U6Aee61+s1eDkzVJD0R1KIx6viv9 3DwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zX1ecfIC5VoibVtcIII3Nr8OodCAkUjf6EpNBG0sdsU=; b=HiglqJM+i6PGvW5aifHLnoJTRYQzP0z+p9bOqLUieMhVx0tOWeP5g5XZ6t2l1nFbV6 I+x981XOd/jEyrIXZ9tXYBCoddO7A0qaDJOdEHqaemgHP052kEZfVMYxcLkYIIgCDcYa SVWPhevRtLMZWFFoAXj2S/DRFWTKWe5kGoveGeh3fWZrjYreh0KmhUqkybi87M0VLRNQ PWefDwbxHbFSAjmxh7P5kzBt/EPExAiUpqi5j/suNtAUaqwL0IdHBHtP7YA+exfcT/Zq LObCqbG/yUwM4rxZ4QauQzLEKKDOUrdrnoJZ4mARZotD1EVZHXoWpxwCphbSnos/CyJe NTwg== X-Gm-Message-State: AOAM533z8h8W7tWxKUTDf8TxkNlcW3uFX4B6Bgsy62+P4rYKJmCGodgw QMKg6a9r4jWnGbq7OkkMUPQG0M84ujEpHj5cKDFCxRiJJcUxkQ== X-Google-Smtp-Source: ABdhPJw2zpm3JxGCI7yMy06N5Yx6WOOwfD+6LZXClJIXqxVK1FhY1MyvoDbp8b4aV7RJvkEi+wpIZbdrYuAehsbQw+s= X-Received: by 2002:a02:ccb3:: with SMTP id t19mr5635240jap.122.1595519552773; Thu, 23 Jul 2020 08:52:32 -0700 (PDT) MIME-Version: 1.0 References: <4acde791-2974-4f83-cf18-2a05918d483b@FreeBSD.org> In-Reply-To: From: Lonnie Cumberland Date: Thu, 23 Jul 2020 11:52:21 -0400 Message-ID: Subject: Re: Setting up Wayland on FreeBSD To: Ashish SHUKLA Cc: freebsd-questions@freebsd.org X-Rspamd-Queue-Id: 4BCH0L1Bgqz3VF8 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=outstep-com.20150623.gappssmtp.com header.s=20150623 header.b=NjDucdKm; dmarc=fail reason="No valid SPF, DKIM not aligned (relaxed)" header.from=outstep.com (policy=none); spf=softfail (mx1.freebsd.org: 2607:f8b0:4864:20::d31 is neither permitted nor denied by domain of lonnie@outstep.com) smtp.mailfrom=lonnie@outstep.com X-Spamd-Result: default: False [-2.95 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.974]; R_DKIM_ALLOW(-0.20)[outstep-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.02)[-1.023]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; R_SPF_SOFTFAIL(0.00)[~all:c]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[outstep-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d31:from]; NEURAL_HAM_SHORT(-0.75)[-0.749]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[outstep.com : No valid SPF, DKIM not aligned (relaxed), none] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2020 15:52:34 -0000 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 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 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) >> >>