From owner-freebsd-questions@freebsd.org Mon Apr 20 10:12:52 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 0D08B2BDE5A for ; Mon, 20 Apr 2020 10:12:52 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-ot1-x344.google.com (mail-ot1-x344.google.com [IPv6:2607:f8b0:4864:20::344]) (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 495Mvl1R2Nz44fT for ; Mon, 20 Apr 2020 10:12:50 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-ot1-x344.google.com with SMTP id m18so7569238otq.9 for ; Mon, 20 Apr 2020 03:12:50 -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=JkvzuRT4bAilELPf+wgcEqkCEkMe71D1SZUFcygdi0c=; b=MlfXhEywonkk5FuqqModO4XRQgxbPn5UdutKqbwc6tzGgNcfnbeg26YQUn//5vcp/P AeJX+orz5qZKbpVUXVnbHEkSL6lCN3L2cP8wBimRgmTWRfxjXePDtp6tEe95/bKO0boJ bNrKvzBtFjxZyDJ1l2DjSSx0/y04KFIpYt0z6XbNZv+uddv9e0Z5bZeCjp5y3/7nFMHy tMCYj56cWMR1Gh7Lnv1zpKUZ25DqNsT9j2G2ACcPAqHQW3RtR6uDWi7qAZPQ2kYskTx5 CNlYROyEpby85BA8fw/LJoPcN9uqvDTKR36e4GBhzEmPOdFbY05WZgf4F94DFUmjZfWs Bd2Q== 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=JkvzuRT4bAilELPf+wgcEqkCEkMe71D1SZUFcygdi0c=; b=EXvzLYCIha6h1JxEOATo5Yb98oLfBPAmBjhuy/8Z+PuzoEw76OSPvwXXqewAPR4ZHK ttnNSQ66nx3S5EwEoVAo4TeD3w1ZK85dVJl8+LDt8CKBGqhDpRSPTjhdEInMwjGUnX9A cBHsQn0c0OHb7meuFdY8ZBWnS2pY74fzrPmsyDzQ3GPrBahhGSEu8HnjlVzDXIt4nP4W 0DNAEUz9UEOLYfLoHCgtCjQyxpRIH4nOtfATh6GC90Cbrp+V5mwLLGGKz50DFJIKI+xQ CgnShmKywhLIk2qVIADt7skek+GcU7Z7fSGB6YYN1n9X/+I+BTTj+Uv9/UTd/22ZO3g9 kjdQ== X-Gm-Message-State: AGi0PubMs+JY9UD40LQkvndBENURy44LVo4uhzyK5ggkJRzP7zl90bVE z0j5714pulT0SjUSPeKuVUjcdbR6qiA= X-Google-Smtp-Source: APiQypJL+62KvVeNKzBJA5Zf+gdA8RC/AbG4+JK13a8StbpGP/168zmYq6F4do7MUgmiISTqKiVK+Q== X-Received: by 2002:a05:6830:1b65:: with SMTP id d5mr8578448ote.141.1587377569893; Mon, 20 Apr 2020 03:12:49 -0700 (PDT) Received: from mail-oi1-f177.google.com (mail-oi1-f177.google.com. [209.85.167.177]) by smtp.gmail.com with ESMTPSA id f5sm156655oos.8.2020.04.20.03.12.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 20 Apr 2020 03:12:49 -0700 (PDT) Received: by mail-oi1-f177.google.com with SMTP id k133so8240373oih.12; Mon, 20 Apr 2020 03:12:49 -0700 (PDT) X-Received: by 2002:aca:f4d0:: with SMTP id s199mr9540923oih.161.1587377568929; Mon, 20 Apr 2020 03:12:48 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Tomasz CEDRO Date: Mon, 20 Apr 2020 12:12:19 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Wayland on FreeBSD To: Niclas Zeising Cc: FreeBSD Questions Mailing List , freebsd-x11@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 495Mvl1R2Nz44fT X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=MlfXhEyw; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2607:f8b0:4864:20::344) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-2.38 / 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]; TAGGED_RCPT(0.00)[freebsd]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[cedro.info]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cedro.info:+]; RCVD_IN_DNSWL_NONE(0.00)[4.4.3.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.08)[ip: (0.41), 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 10:12:52 -0000 On Mon, Apr 20, 2020 at 11:14 AM Niclas Zeising wrote: > On 2020-04-20 03:38, Tomasz CEDRO wrote: > > On Fri, Apr 17, 2020 at 10:34 PM Tomasz CEDRO wrote: > >> I would like to use Enlightenment (0.23.1) + Wayland. > > > > I did manage to run Wayland + Hikari so Wayland works on FreeBSD :-) > > Ports version is 1.18 and lags behind only one release (1.20 is 1.19 > > with some readme added). > > Are you referring to the wayland versions here? Looking at the source > for both wayland and wayland-protocols, FreeBSD ports are at the latest > versions, wayland 1.18, and wayland-protocols 1.20. Exactly! I mean we are really up to date but there seems no use of it yet..? People (including me) are confused with Xorg drivers while there may be totally better solution right next to it :-) I am new to Wayland, I saw some really minimalistic WM for it, but I know Enlightenment, it is known to work on Wayland, and this is the beautiful fully featured WM that we all know from Xorg. This could provide nice transition for people that want to try out the Wayland and maybe work on it everyday. This could also gather community and improve both Wayland and Enlightenment on FreeBSD as a strong base, then focus on more subtle works. I can understand the need for something smaller and faster than Xorg. I remember playing with MESA back then in 1998 with first 3D acceleration cards. I remember DirectFB to skip Xorg for graphics on embedded systems. I even remember when Drag-n-Drop in Xorg had several implementations. Embedded Systems and IoT will enforce using Wayland sooner or later. In its core concept its just drawing over the frame buffer memory so what's the big deal? It seems the only problem to run Enlightenment on Wayland is hardcoded Linux DMA code in EFL: https://github.com/Enlightenment/efl/blob/master/src/lib/ecore_wl2/ecore_wl2_buffer.c Do you know Niclas if current DRM drivers provide such DMA capabilities? Maybe this is also part of KMS standard? Maybe I should try with generic bus_dma(9) with no efficiency loss? Any hints welcome :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info