From owner-freebsd-questions@freebsd.org Thu Jul 23 19:01:58 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 2720C3602AD for ; Thu, 23 Jul 2020 19:01:58 +0000 (UTC) (envelope-from lonnie@outstep.com) Received: from mail-il1-x129.google.com (mail-il1-x129.google.com [IPv6:2607:f8b0:4864:20::129]) (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 4BCMBs11vFz41CW for ; Thu, 23 Jul 2020 19:01:56 +0000 (UTC) (envelope-from lonnie@outstep.com) Received: by mail-il1-x129.google.com with SMTP id e18so5243191ilr.7 for ; Thu, 23 Jul 2020 12:01:56 -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=mrx+pahW5Mh957IdBYyqvM4tmgytuaonhoeiAtnxqiY=; b=ptt7joKnWz6NVDqNB0Ub1udViDa/PoNaHgv3g2DB+QrLFfmOTgZq5MtzlJ8z2wIy9Y y8pZiQSJw8+Fn1r5iB57OdMkLg/g8NzDqeAnqyKI3elrqHJBjJ/KJMhf6ZsN3zcExaP/ 8b9mXYBlJX/cx84tOUcZtpNOheja8hD/4mhLg1CaYM8Kh/BVDI2YqQQK/51LOKtEN/UP FD7RhdI9zvJNwOYRvJf8VEFtZUq2DVYcEEcw37HtKXIpK3jrEvazQWz8c4dWMCGSqdCp JBYg1E3Y5xvTcPUOzIWMykQhS4zeJg2obW0uO7ttJ/umkCFtrkzXQ5rp8fh18OVLM15b KOZw== 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=mrx+pahW5Mh957IdBYyqvM4tmgytuaonhoeiAtnxqiY=; b=M4bIeYCp2mAt9A7bWjs/Mp4f1AEAeSobOY7je/4MBde/dY7Dw2cEh9DtzczqQBmrgK +FlPTplW5vNDR9xWuvZYELon9R0sO/9D/rkoAILDZ1LuctnPkiqEcNQ5i4XsAA1nvBsz mmvTsHJ2jj3Gg8sLgZQRyT/NskeGe8vsGFEV7lkDD8eNYKUT1BOgEAHcyjDtUMdkqc6i GCDAsIReh1+THe3ZqJD1wbxEmpvGBhSeOavJ696aRiFxLH8OiGrC/1I46B8/+yyNAPjF 8pu2DYozAjdbTNORhTCfyW17/Xl21LJzlabRrkSiXZYH9QF504FXuiGz/JoKiV93xkNe W9Zw== X-Gm-Message-State: AOAM533VlpCGo4voYmRt0bJkpzkoL5oay2kS3cN4x+j9YovoEW76v8Pk z98vYd6X5TIGRH6eDdvn5J4MpZL4U+C8VyV4U9x7M1+O+uAH8A== X-Google-Smtp-Source: ABdhPJzM2m2hDOjwB31Gu1bCx1f43rcy/Ga2WGU9tyZGGqy/Qh6/tUu9kwWKpC1+YOoCu0UcmQ744zzsKEEwuAbSkqM= X-Received: by 2002:a05:6e02:545:: with SMTP id i5mr2973327ils.59.1595530914899; Thu, 23 Jul 2020 12:01:54 -0700 (PDT) MIME-Version: 1.0 References: <4acde791-2974-4f83-cf18-2a05918d483b@FreeBSD.org> <537545f7-1186-ca69-0c12-bf8a4b0f52ad@FreeBSD.org> In-Reply-To: From: Lonnie Cumberland Date: Thu, 23 Jul 2020 15:01:43 -0400 Message-ID: Subject: Re: Setting up Wayland on FreeBSD To: Ashish SHUKLA Cc: freebsd-questions@freebsd.org X-Rspamd-Queue-Id: 4BCMBs11vFz41CW X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=outstep-com.20150623.gappssmtp.com header.s=20150623 header.b=ptt7joKn; 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::129 is neither permitted nor denied by domain of lonnie@outstep.com) smtp.mailfrom=lonnie@outstep.com X-Spamd-Result: default: False [-2.45 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.979]; 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]; 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::129:from]; NEURAL_HAM_SHORT(-0.25)[-0.247]; 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" 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 19:01:58 -0000 Hello Ashish, I just followed your steps but now when I try to start up sway, hikari, or wayfire (installed it too), I get a DRM device error message: [backend/backend.c:304] Failed to open any DRM device I do have a GPU on this system, not a good one, but still do have one: GK107 GeForce GT 740 Am I missing something here? Cheers, Lonnie On Thu, Jul 23, 2020 at 1:43 PM Lonnie Cumberland wrote: > Thanks Ashish, > > I am going to give it all a try in just a few moments on a fresh install > of FreeBSD (12.1). > > Hope that it goes well. :) > Cheers, > Lonnie > > > On Thu, Jul 23, 2020 at 1:27 PM Ashish SHUKLA wrote: > >> On 7/23/20 9:22 PM, Lonnie Cumberland wrote: >> > 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? >> >> Yes. >> >> > I would then think that you did something like this from a fresh >> install: >> > >> > pkg install wayland >> > pkg install haikari >> >> I didn't explicitly install wayland. I installed "sway", and "hikari" >> both of which depend on "wayland" package. >> >> Apart from above mentioned packages, I also installed >> "graphics/drm-kmod" port to get the latest drivers for my AMD GPU. >> >> > 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? >> >> Yes, this should be it. >> >> There are also other helper packages which I have installed, although >> are completely optional: >> >> grim-1.3.1 Grab images from a Wayland compositor >> dmenu-wayland-0.1 Efficient dynamic menu for wayland >> slurp-1.2.0_1 Select a region in a Wayland compositor >> swayidle-1.6 Idle management daemon for Wayland >> swaylock-1.5_1 Screen locker for Wayland >> waybar-0.9.2_3 Highly customizable Wayland bar for Sway >> and wlroots-based compositors >> wev-1.0.0_1 Wayland event viewer >> wl-clipboard-2.0.0 Command-line copy/paste utilities for >> Wayland >> wlogout-1.1.1_1 Wayland-based logout menu >> redshift-1.12_1 Adjusts the color temperature of your >> screen >> >> All the best >> -- >> Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 >> >>