From owner-freebsd-x11@freebsd.org Tue Aug 14 15:39:21 2018 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7F424107BC93 for ; Tue, 14 Aug 2018 15:39:21 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from hraggstad.unrelenting.technology (hraggstad.unrelenting.technology [71.19.146.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hraggstad.unrelenting.technology", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 053DD75776 for ; Tue, 14 Aug 2018 15:39:20 +0000 (UTC) (envelope-from greg@unrelenting.technology) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=unrelenting.technology; h=date:from:subject:to:message-id; s=default; bh=/yoa9+V3zckhtCRBEeOxhaeynREcDUXyxfMnyGp6DRQ=; b=F6gzaeeJzpWyJBBrzBRtGdazNZNe+GAw+0schEiOvJYkMNxXP04XWRo2goLn/VrOlrqYSzaWdg1mf7TTmb1fOBOkPGjJBA5oSPF3/yNh5ZbrD82Sc2Ki3wUO85YkJFq7isj4K0MQhsnreayywsigTep3mabEUwksC6N/jCrqD70= Received: by hraggstad.unrelenting.technology (OpenSMTPD) with ESMTPSA id f2e182e8 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Tue, 14 Aug 2018 15:39:11 +0000 (UTC) Date: Tue, 14 Aug 2018 18:39:05 +0300 From: Greg V Subject: Re: testing Weston Wayland compositor on FreeBSD without Xorg To: Denis Polygalov Cc: FreeBSD X11 mailing list Message-Id: <1534261145.1656.1@hraggstad.unrelenting.technology> In-Reply-To: References: X-Mailer: geary/0.12.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2018 15:39:21 -0000 On Tue, Aug 14, 2018 at 4:31 PM, Denis Polygalov wrote: > I'm trying to run Weston port: > > https://reviews.freebsd.org/D10599 > > on a machine (let's say "host A") with and without using Xorg. > I'm using approach previously described by Greg: > > https://lists.freebsd.org/pipermail/freebsd-x11/2018-July/021414.html > > It works on the host A if launched under Xorg. > The same approach works on host B (drm-next-kmod, Intel drivers) > from under Xorg *and* via weston-launch. > > It does not work on the host A if launched directly i.e. "% > weston-launch". > > The host A is: > > % uname -a > FreeBSD AmaDeuS 11.2-RELEASE-p1 FreeBSD 11.2-RELEASE-p1 #0: Sun Aug > 12 19:40:55 JST 2018 denis@AmaDeuS:/usr/obj/usr/src/sys/AMADEUS > amd64 > % pkg info | egrep "drm|gpu|mesa" > drm-next-kmod-4.11.g20180619 > gpu-firmware-kmod-g20180319_1 > libdrm-2.4.92,1 > mesa-dri-18.1.2 > mesa-libs-18.1.2 Hm, the only thing I can think of is the auth problems we have with amdgpu starting with 4.11 https://github.com/FreeBSDDesktop/kms-drm/issues/33 but that didn't break Weston, only Xwayland/Vulkan/OpenCL/some games. Another breakage I remember is with amdgpu's new (4.15) display code (compat.linuxkpi.dc="1" in /boot/loader.conf): https://github.com/myfreeweb/weston/commit/400fdc3c1c031bac380ef93649ecfbe48ec5b912 But you're on 4.11, so you don't have that option. Double check what's different betweet your Intel and AMD boxes, are the permissions/groups correct, etc.