From owner-freebsd-questions@freebsd.org Mon Apr 20 09:38:28 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 56CE92BCDF4 for ; Mon, 20 Apr 2020 09:38:28 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-oi1-x241.google.com (mail-oi1-x241.google.com [IPv6:2607:f8b0:4864:20::241]) (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 495M823Qc8z41rm for ; Mon, 20 Apr 2020 09:38:26 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-oi1-x241.google.com with SMTP id j16so8166324oih.10 for ; Mon, 20 Apr 2020 02:38:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sxyzWqC1UfOK+HfrgR71c4uqObyP1rRw2Wb+KqkLzjI=; b=X/DDwMYixDOyC/2QBxjHlzUvpGe0VarKYMoaTvuw9wM+JSwl8W8T435DGMCTN0/KMu ChFhFW/zRsSJeGSabospNw6Lo9UVJW7tYUd6XoVJNwfDMAUs2yUfkJ3Cy07X6ZaPcMmA MzaY8UsCwZdyzDU/Uv0nnFTG81kQRGEK4tCn3N99VZgo2SsPVIQvAFo7w9Cg5OlFcDht Ga4XNHQgcIW2bjdujS7/TtW0DiOhbsbyBghGR2U+tqL7cMhjqh9ZzVEzr5sJqlbNC8W7 cXCEX6PHum89TReaCZ02B7wZiZNG1a/DEY5VKyTunSpmmdEAj0ZTOG6dvfHejAFMBkEl I4+g== 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=sxyzWqC1UfOK+HfrgR71c4uqObyP1rRw2Wb+KqkLzjI=; b=g8Bc2IcFcFQY2mWyhcIOKunOi4oIFra9LU13lYk2bwT4dFwYdq5gpvZVRnPdDdI8Qi NH6p5tmnI86qe7vjbu5zMpjo28DEgTo9yZKMD/HP8DxNJ09xLFjh1tnKUENHAMCA+9NC apMInnB/4B7kCX2OWGzVq6aIPapVSXxNm2+OjUrjPPOe1Mzldr67jkxAZmLS3WDoEN5e Foh2tfQ/fq0uBJxryLoC7ENlpuTI9JstsJVKA4YK551THR44JjgcGuYF7i/9n5kq9dQU 1mLesxKPamZTIp321pCd+NGc6VK9kRUC/mB7mm4q521o0qsoqwl/4ye0CCrjwdxlT/Ku +A/A== X-Gm-Message-State: AGi0PuapwYJXLXwm3KI4DEhPfYrL7vyFoZj1uo8X4kVpVPU68Xk97hSe HCpn2kxkcf3yCPU5CXuqS3P6AjwYzdU= X-Google-Smtp-Source: APiQypKjarUsW7+oHEaKtoC3T//nvOYX6FEJ3wwDOrOqncyToGyqoKNbqEAJl6G6Og3rSCWqWVtokA== X-Received: by 2002:a05:6808:a91:: with SMTP id q17mr9583500oij.102.1587375504792; Mon, 20 Apr 2020 02:38:24 -0700 (PDT) Received: from mail-ot1-f52.google.com (mail-ot1-f52.google.com. [209.85.210.52]) by smtp.gmail.com with ESMTPSA id i23sm72003otp.74.2020.04.20.02.38.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 20 Apr 2020 02:38:24 -0700 (PDT) Received: by mail-ot1-f52.google.com with SMTP id m13so7497546otf.6; Mon, 20 Apr 2020 02:38:24 -0700 (PDT) X-Received: by 2002:a9d:6046:: with SMTP id v6mr8247439otj.6.1587375503570; Mon, 20 Apr 2020 02:38:23 -0700 (PDT) MIME-Version: 1.0 References: <5058973.kMyvyFPq5o@amos> In-Reply-To: <5058973.kMyvyFPq5o@amos> From: Tomasz CEDRO Date: Mon, 20 Apr 2020 11:37:53 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Wayland on FreeBSD To: ihor@antonovs.family Cc: FreeBSD Questions Mailing List , freebsd-x11@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 495M823Qc8z41rm X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=X/DDwMYi; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2607:f8b0:4864:20::241) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-2.44 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[cedro.info]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cedro.info:+]; RCVD_IN_DNSWL_NONE(0.00)[1.4.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-0.14)[ip: (0.10), ipnet: 2607:f8b0::/32(-0.33), asn: 15169(-0.43), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_ALL(0.00)[] 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 09:38:28 -0000 On Mon, Apr 20, 2020 at 10:25 AM Ihor Antonov wrote: > 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: Discussion Groups / Mailing Lists are here to talk about, get knowledge, fix things, organize. There is nothing wrong with constructive critics. Look how many ideas showed up in just several last days :-) > 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". To be honest I did not realize the situation with X11 is that bad actually until recent problems with video drivers.. feedback from the lists opened my eyes a bit :-) Xorg has its benefits. I remember 15 years back (or more) connecting to my then Linux workstation over SSH from a Sun Terminal (that was something!) at the University and working like I was home :-) Wayland can offer VNC ;-) Xorg will work alongside Wayland. People will decide what tool suits their need (just as WindowManager or Web Server). It seems that Xorg reached its ceiling. Wayland seems Xorg alternative but lacks manpower and user base to get stable. Both projects are interesting and have their pros and cons. I am not convicting anyone to replace anything but to have more choices. > 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. I can understand that and I think the same way. My work depends on it, my money depends on it, my brand depends on it. Stability and Maintenance first of all. With this conservative approach, however, it is important not to miss opportunities. I also worked on MacBookPro and switched back to FreeBSD on my main desktop. Because this false comfort always puts your money into a vendor pocket and lags you behind something that you can use as a vendor. > 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". If you start using it, you notice and report problems, then you get familiar with it, then you can fix it or create something new on top :-) The problem with "proper BSD drivers" is this constantly changing "linuxisms" in both software architecture and, even worse, hardware design. World does not care about good standard and incremental developments anymore, revolutionary bleeding edge breakthroughs are the new cool, so the whole world is chasing its tail now. > 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) I am total enemy of removing anything that works. Imagine we can time travel. It would be awsome to have the same FreeBSD in the future and operate it the same was as today with all those old and new features. Perect is the enemy of Good. Look at Blender, that was, right next to FreeBSD, my favorite piece of software that I used to give as an example of perfect design and vision. Until 2.80 where they castrated its core unique concept of Game Engine that was there since 1994 that I have used for simulations, because "noone used that and it was to hard to maintain", instead they re-designed the GUI, making Blender nothing more than just another 3D application. Kind of Unification.The same with GIMP Toolbar Menu around 2008 that was removed by the new UX team because "no other program acts like that" and "according to microsoft software development is about enforcing vision". I can clearly understand why people here keep their attitude conservative, why "cool kids" are opposed, why maintenance is more important than having a new bells and whistles every year. Simply because this is OS of the Creators not the Consumers :-) > 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 wish I could run BSD on my Atari one day.. and you know that there is ATARI VCS coming up and we WILL run FreeBSD on it :-) :-) > 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. It will come to life by people who use it and share the results :-) I know what kern.evdev.rcpt_mask=12 means! And I knew that from the /usr/src hahaha ;-) > 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. The problem is Xorg was created by people who understood standards. In modern world everyone thinks they are Tesla and no one cares about standard, architecture, maintenance, because they are so brilliant they don't have to. This is so childish. Maybe first steps of Xorg looked similar to this udev-devd-evdev problem because different systems tried to do the same thing differently and there is no standard yet. People want to create "something that works" in the first place, but that's not all. Wayland would eventually have to adapt to different approaches, or we will always have to follow and create workarounds glue day by day as you mention. > 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!" I think these are important remarks from people that use FreeBSD in industrial applications. These are important priorities and core values. This is also why I stick to FreeBSD not Linux. And I surely use it as general purpose OS on my Servers and Desktops. Also I smile when I look at MacBooks, iPhones, PlayStations, or people watching Netflix, because people who thinks like me made their success and I find it inspiring :-) > > > Not everyone is so convinced that Wayland will replace Xorg. > On FreeBSD it simply never will. Yes. It will coexist. Because there is no need to delete anything that works well, people are free to chose what they want to use :-) Best regards!! :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info