From owner-freebsd-x11@freebsd.org Wed Oct 2 21:38:44 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 719DC139DF5 for ; Wed, 2 Oct 2019 21:38:44 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-oi1-x244.google.com (mail-oi1-x244.google.com [IPv6:2607:f8b0:4864:20::244]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) 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 46k8dw2Pj8z42vd; Wed, 2 Oct 2019 21:38:43 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-oi1-x244.google.com with SMTP id i185so699027oif.9; Wed, 02 Oct 2019 14:38:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3jgFyS4jrgz7qgNPnc2B13NJ39UO9zVkbvsESzpREPk=; b=H61M4WmADITr/koeU7+h1DNf5cNdOnyh8EPRnV5vtF47Ynn+5jhJ43CeHtXH1E3b1r VnL/rrUgokfdi2CoBSLNqPjnQD0gLT77gBexJdWUF5OJLLyU6Ac3YnTvg1uIbBvURG+f tPhAcRJ3nOQCqCRfDmPm9pmutz6ti6a21pS3Pj6RL5k4f+YvWYvZIZ6gqGIVAhevkiPg nXBllGfDlExXxYFuZEhPD2jpTSX5bkcJNmMkv70x/c5T/+6v2N4dnZGtUYsmZUIgOm+I AWfMZ7EACm0DlYj/h6UinUf/jha+p8o8xeVJcf98j8OUXO2EgBLMRHguTRzRJCa46NlE D8Uw== 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=3jgFyS4jrgz7qgNPnc2B13NJ39UO9zVkbvsESzpREPk=; b=IeRGh5ACini9zeVye/ALB0asHUiW7/bhbYt7HHOoDTCuha4CCGfT6eacc5aSI6Eehv EGereZjhXkucET1EbQJT49QTgflS80W/YKLcsk9oEG5xmQd9v6NnPpr3fXddP/TGeaTq syxc+VlnhFpVetwGDEReCFhvUoBJ7LUnFUxGFypSI07fJMUuIDEpdhjfA+6BsN7wsdTb vs6Ts2Q8MinjKpueV0op2yD2YxiJz2MRM72CHbAQsJWpZOkJUePLexjoqPmUbRbyYTn4 23dLa9Tqi/hRiXopSQ1fEgqZKUg4nLVBjsEU/M1XZNMcUJQJvvWo8+XPlcnsBwp9gg4M xxRg== X-Gm-Message-State: APjAAAXZKGOWMqbm71isrcIE5Hl36iFl8ouVIkX8cbyh/3VrJNRqd0sO HTT6EQGfMLlGbWJst7Y5N6hOPO9Ftmc/pwXsiYfrkA== X-Google-Smtp-Source: APXvYqyeEAFLyVmsqXweiZsX7Su8GsfLNMeBFzhR/66YKdMj2n7whA7NZMemXpTNU3+JZdtEr96xfrSx62m3cDMHM4A= X-Received: by 2002:a54:4f8f:: with SMTP id g15mr172973oiy.62.1570052322278; Wed, 02 Oct 2019 14:38:42 -0700 (PDT) MIME-Version: 1.0 References: <018ae261-fe05-b8a3-13e8-1e96177025e8@FreeBSD.org> <5zl7-kki9-wny@FreeBSD.org> In-Reply-To: From: Johannes Lundberg Date: Wed, 2 Oct 2019 14:38:31 -0700 Message-ID: Subject: Re: Xwayland under sway invisible running x11 apps. To: Jesper Schmitz Mouridsen Cc: Jan Beich , freebsd-x11@freebsd.org X-Rspamd-Queue-Id: 46k8dw2Pj8z42vd X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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:38:44 -0000 This should work without patches once we are on xorg 1.20. Hopefully that= =E2=80=99s not too far away. On Wed, Oct 2, 2019 at 14:19 Jesper Schmitz Mouridsen wrote: > > 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=3D1" or building > > graphics/mesa-{libs,dri} with CFLAGS+=3D-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 > > _______________________________________________ > freebsd-x11@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" >