From owner-freebsd-questions@freebsd.org Mon Apr 20 08:24:56 2020 Return-Path: Delivered-To: freebsd-questions@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 570AD2BAD3B for ; Mon, 20 Apr 2020 08:24:56 +0000 (UTC) (envelope-from ngor@antonovs.family) Received: from mail.antonovs.family (mail.antonovs.family [100.25.240.195]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.antonovs.family", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 495KWC36DXz3Pfj for ; Mon, 20 Apr 2020 08:24:55 +0000 (UTC) (envelope-from ngor@antonovs.family) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antonovs.family; s=20200215; t=1587371087; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KB7N8BjBbOWqOw5HUS+8b5Axj4/hLNzbUn1Vp8oYMx0=; b=Y6CX3h0mvlOxT0FGNH0mcfL1nGDfJBqjpenaXm/8N7hJ1ksXaXertemxAdRRoPeqDSCTlI BGV9O3LQU8t4//Swhkwpg69CeNko6F5t2nvx+5TXC+9qLb6oeAzORi2QYYZgwJSJQax3z3 6knnpOKJs+zwhUprRJ8zAz4eQVcZFO8= Received: by mail.antonovs.family (OpenSMTPD) with ESMTPSA id faabe412 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Mon, 20 Apr 2020 08:24:47 +0000 (UTC) From: Ihor Antonov To: freebsd-questions@freebsd.org Reply-To: ihor@antonovs.family Subject: Re: Wayland on FreeBSD Date: Mon, 20 Apr 2020 01:24:43 -0700 Message-ID: <5058973.kMyvyFPq5o@amos> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Rspamd-Queue-Id: 495KWC36DXz3Pfj X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=antonovs.family header.s=20200215 header.b=Y6CX3h0m; dmarc=pass (policy=none) header.from=antonovs.family; spf=pass (mx1.freebsd.org: domain of ngor@antonovs.family designates 100.25.240.195 as permitted sender) smtp.mailfrom=ngor@antonovs.family X-Spamd-Result: default: False [-5.29 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[antonovs.family:s=20200215]; HAS_REPLYTO(0.00)[ihor@antonovs.family]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLYTO_DOM_EQ_FROM_DOM(0.00)[]; DKIM_TRACE(0.00)[antonovs.family:+]; DMARC_POLICY_ALLOW(-0.50)[antonovs.family,none]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(-3.29)[ip: (-8.99), ipnet: 100.24.0.0/13(-4.37), asn: 14618(-3.02), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; CTE_CASE(0.50)[]; ASN(0.00)[asn:14618, ipnet:100.24.0.0/13, country:US]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Apr 2020 08:24:56 -0000 On Sunday, 19 April 2020 23:49:42 PDT Clay Daniels wrote: > > On Fri, Apr 17, 2020 at 3:35 PM Tomasz CEDRO wrote: > > Hello world :-) > > > > Time to move from X11 to Wayland :-) > > > Not everyone is so convinced that Wayland will replace Xorg: > https://www.slant.co/versus/8634/8635/~wayland_vs_x > > https://www.secjuice.com/wayland-vs-xorg/ > > https://www.linux-magazine.com/Online/Features/What-s-Taking-Wayland-So-Long > _______________________________________________ That is exactly what I wanted to say, but kept my mouth shut, but since you started :) I apologize upfront for this, but after reading FreeBSD mailing lists for a while I just can't read this any more like this is something normal. Here it comes: Yes X is old and insecure. There are literally 2 developers still supporting it and both work for Red Hat. They have already announced that they are going to stop supporting it soon. OpenBSD folks at least attempted to make X better, but in the end even they have admitted that X11 is "a giant keylogger". BUT FreeBSD folks are conservative bunch, some especially don't like changes that come from "linsucks". Others say that FreeBSD is a server OS. Same "server OS advocates" comfortably sit behind their MacBooks. There are ones that make a living with it so any unnecessary change at the very least is ignored or at most is actively being not welcomed. Many actively complain at their own desktop team when it tries to keep Intel GPU drivers working (which requires following Linux DRM APIs), but nobody is trying to write "proper BSD Intel drivers". Don't get me wrong, there are people (like Warner Losh) in FreeBSD who are trying to keep the OS in the present, but even they have hard time convincing people that finishing the 25-year swing on removing malloc.h is the right thing to do. Many were not happy with removing bktr(4) Brooktree Video Capture card drivers (you can't find this hardware today even on a garage sale) There are many more examples, these are just the fresh ones. Read arch mailing list, I am not making this up). A few progressive developers are outnumbered by fanatics of retro-computing. "Don't fix what is already broken" they say, "nobody uses it anyway" :P I am afraid that on FreeBSD Wayland will remain a third-class citizen. Look at sway for example: it needs Linux Kernel event API (evdev, luckily on by default in 12), epoll-shim and eudev-shim, and then some magic with barely documented kern.evdev.rcpt_mask=12 in sysctl.conf to make it work. Why? Because FreeBSD folks are generally not interested in contributing proper kqueue and devd support to "linusucks" projects. As well as maintaining X11. Linux developers are not going to write that either. The amount of linuxisms and shims is only going to grow, the desktop team is fighting an uphill battle here, there is no proper infrastructure for them to give users good Wayland support. All they can offer is shims, hacks and workarounds. And so Wayland will slowly but surely replace X in Linux world. But even in 10 years FreeBSD hackers will keep using rotting X11, will keep stating that they had jails first, ZFS is cool, GPL is evil and Netflix uses FreeBSD on their servers. FreeBSD is not a general purpose OS. It is a server OS, It is retro OS. It is OS that fills the niche where closing sources is needed for commercial success. An OS you want to put somewhere and never ever touch it again. It is not a desktop OS, quoting someone from this very mailing list: "It is power to serve, not power to desktop!" > > Not everyone is so convinced that Wayland will replace Xorg. On FreeBSD it simply never will.