From owner-freebsd-x11@freebsd.org Wed Oct 2 21:19:15 2019 Return-Path: Delivered-To: freebsd-x11@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 BF6D31397BC for ; Wed, 2 Oct 2019 21:19:15 +0000 (UTC) (envelope-from jsm@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46k8CR4cb9z41rX; Wed, 2 Oct 2019 21:19:15 +0000 (UTC) (envelope-from jsm@FreeBSD.org) Received: from freebsd2.freebsd.lan (mail.northatlanticmusicsupplies.com [90.185.194.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: jsm) by smtp.freebsd.org (Postfix) with ESMTPSA id 3340FE726; Wed, 2 Oct 2019 21:19:15 +0000 (UTC) (envelope-from jsm@FreeBSD.org) Subject: Re: Xwayland under sway invisible running x11 apps. To: Jan Beich Cc: freebsd-x11@freebsd.org References: <018ae261-fe05-b8a3-13e8-1e96177025e8@FreeBSD.org> <5zl7-kki9-wny@FreeBSD.org> From: Jesper Schmitz Mouridsen Message-ID: Date: Wed, 2 Oct 2019 23:18:54 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 MIME-Version: 1.0 In-Reply-To: <5zl7-kki9-wny@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Oct 2019 21:19:15 -0000 On 02.10.2019 21.36, Jan Beich wrote: > Jesper Schmitz Mouridsen writes: > >> Hi >> >> Running sway, which starts XWayland enables me to start X11 apps.. >> >> I can see the apps runinng with xwininfo. >> >> However X11 apps are not rendered visible on the monitor. > Does forcing DRI3 via "export LIBGL_DRI3_ENABLE=1" or building > graphics/mesa-{libs,dri} with CFLAGS+=-D__DRM_NEXT__ help? > > Xwayland needs DRI3 but FreeBSD disables it as a kludge for drm-legacy-kmod: > graphics/mesa-dri/files/patch-src_glx_glxext.c > graphics/mesa-dri/files/patch-src_egl_drivers_dri2_platform__x11.c Thanks for the hints, reinstalling  mesa-{libs,dri} from ports did the trick..X11-apps are now visible I did not need to set -D__DRM_NEXT__ though, so I don't what was wrong.. I've drm-fbsd12.0-kmod-4.16.g20190814 installed. Regards jsm