From owner-freebsd-x11@freebsd.org Wed Oct 2 19:36:16 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 8ECD3137AC3 for ; Wed, 2 Oct 2019 19:36:16 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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 "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46k5wc3Grgz3Q4Q; Wed, 2 Oct 2019 19:36:16 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 4F07F500F; Wed, 2 Oct 2019 19:36:16 +0000 (UTC) From: Jan Beich To: Jesper Schmitz Mouridsen Cc: freebsd-x11@freebsd.org Subject: Re: Xwayland under sway invisible running x11 apps. References: <018ae261-fe05-b8a3-13e8-1e96177025e8@FreeBSD.org> Date: Wed, 02 Oct 2019 21:36:14 +0200 In-Reply-To: <018ae261-fe05-b8a3-13e8-1e96177025e8@FreeBSD.org> (Jesper Schmitz Mouridsen's message of "Wed, 2 Oct 2019 20:21:26 +0200") Message-ID: <5zl7-kki9-wny@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain 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 19:36:16 -0000 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