From owner-freebsd-x11@freebsd.org Wed Dec 20 16:40:34 2017 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 33CBDE93DD3 for ; Wed, 20 Dec 2017 16:40:34 +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 F400476230 for ; Wed, 20 Dec 2017 16:40:33 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: by hraggstad.unrelenting.technology (OpenSMTPD) with ESMTPSA id 9b024134 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Wed, 20 Dec 2017 16:33:48 +0000 (UTC) Subject: Re: Vote: making wayland=on default (also posted to ports@) To: gljennjohn@gmail.com Cc: freebsd-x11@freebsd.org References: <20171220132717.0eb5777d@ernst.home> <20171220153600.3b2b56b6@ernst.home> From: Greg V Message-ID: <26d81970-9d8c-4316-aeac-b14bec1465b3@unrelenting.technology> Date: Wed, 20 Dec 2017 19:33:46 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171220153600.3b2b56b6@ernst.home> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.25 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, 20 Dec 2017 16:40:34 -0000 On 12/20/2017 17:36, Gary Jennejohn wrote: > On Wed, 20 Dec 2017 12:53:20 +0000 > Johannes Lundberg wrote: > >>> Can you guarantee this? I seem to have mesa-libs stuff installed >>> even though I use the nvidia-driver. May be that pkg just >>> installed mesa-libs as a dependency for some other package. >>> >>> I'm using the AMD Ryzen which has no on-board graphics, so I'm >>> happily using my NVIDIA GPU and have absolutely no desire to >>> change because someone enables wayland by default. >>> >> x11-toolkits/gtk30 will get some added dependencies: >> libwayland-client.so:graphics/wayland \ >> libwayland-egl.so:graphics/mesa-libs \ >> libxkbcommon.so:x11/libxkbcommon >> >> Is this a problem for Nvidia users? > I imagine the only way to find out would be to try it. But if it's only gtk30, then it should > be possible to avoid using it. > > I have no idea what wayland entails, or what it's good for, so I can't voice an opinion. Of course there's no problem. Wayland is a protocol for communicating between apps (clients) and a compositor (server). If you use Xorg instead of a Wayland compositor, UI toolkits and applications including Wayland support by default changes *nothing* for you, aside from using a tiny little bit of disk space. All ports that need GBM/GLESv2/EGL/GL depend on mesa-libs! Nvidia does not conflict with it in any way, it uses differently named libraries e.g. libEGL-NVIDIA.so. // WAYLAND should be enabled by default in ports, and also EVDEV_SUPPORT should be enabled by default in the kernel! Currently you have to recompile the kernel yourself to get input devices working with Wayland compositors (or with xf86-input-libinput).