From owner-freebsd-questions@freebsd.org Mon Apr 20 01:39:06 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 AF5E52B22EF for ; Mon, 20 Apr 2020 01:39:06 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-oo1-xc34.google.com (mail-oo1-xc34.google.com [IPv6:2607:f8b0:4864:20::c34]) (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 4958Vx3r22z4NNC for ; Mon, 20 Apr 2020 01:39:05 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-oo1-xc34.google.com with SMTP id t12so1391763oot.2 for ; Sun, 19 Apr 2020 18:39:05 -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; bh=V2oNRt2ZpE7vmYBReLMs31q7VdQL5UdLcbG624ByaWs=; b=XIJ6/tOdlAus41rVOIPqy7z3y23CjUMFX8yeAKDAhKDwZ8ytP6AHNbtqydwMiGkZQB w30Ut4OYRYQm6w43C+3xa4KdP7UpZZgN+dS/pE2rZ4uMYLoprZjK9sNEBSaHX3U7XZnX HszDNPUpxylMIV393+dvIOmzb3gIRPgvyGpo8B6XMkQr9yC8jpVZ8chqlZjWjP0F0H7Y u5rWC5WP61CKXv8pyX8JcJ2y3Mgcjw39NAzvZ4Lzfw05VkpsLg6lY9mb24AFZgzcqu3d d6ixZJKJ7CKOVSVbed9QkOMKDW8QPmnO1/cQUqzIhLtHlhJ3enKeTsu4PczrQZCRzhnF gXtA== 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; bh=V2oNRt2ZpE7vmYBReLMs31q7VdQL5UdLcbG624ByaWs=; b=XGm6pt6gX5Cg8OHoMIF2hWiNnsza29XmP+wBTuS7whWYaVg/kXbjWp7iQ01jdlNLUP m3T4DKuVVitXWj3xaXmEDh8geSZHnXodJF2mdxUMpw/H697PDM5GAT4hjtyNTmBY1Hd/ C3Q+eNDr3N/FRa5wWlyZRpLLuI4rZqZ8t4Q105lKg/jjm7/vyfl0XjShnDEl75mxLwWC 8jP4txpGwLjOSt/OOAtTR2eBtHADm8k+o+jO+1Iu5F+wuML4tOsPKdeFUG2OeEHEnfiJ k7VtAlyxBYzISQmHYCp1uHcozUpNuLaOJ3AKTtkqX6aAWE7oCpfuvDN/Uje1k7irz01O pQrA== X-Gm-Message-State: AGi0PubvlFGeaxEakEnyziCg7JEUvsKjdbFRaSJeDHVxzky5dNaFoDz8 oCLddz8fPb0g/ARDUb1C9EaDb4HsLJA= X-Google-Smtp-Source: APiQypJ45gaFm6TtA1zf9S3479FHoJxs4FgEv4p667lQyhyKacpuTjTacEkCx+U5ILRMI261F4Kf9A== X-Received: by 2002:a4a:ba0b:: with SMTP id b11mr9378020oop.44.1587346744148; Sun, 19 Apr 2020 18:39:04 -0700 (PDT) Received: from mail-ot1-f43.google.com (mail-ot1-f43.google.com. [209.85.210.43]) by smtp.gmail.com with ESMTPSA id q15sm10001687otk.78.2020.04.19.18.39.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 19 Apr 2020 18:39:03 -0700 (PDT) Received: by mail-ot1-f43.google.com with SMTP id m18so6701402otq.9; Sun, 19 Apr 2020 18:39:03 -0700 (PDT) X-Received: by 2002:a9d:6847:: with SMTP id c7mr5785123oto.159.1587346743086; Sun, 19 Apr 2020 18:39:03 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Tomasz CEDRO Date: Mon, 20 Apr 2020 03:38:33 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Wayland on FreeBSD To: FreeBSD Questions Mailing List , freebsd-x11@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4958Vx3r22z4NNC X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=XIJ6/tOd; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2607:f8b0:4864:20::c34) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-3.97 / 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)[]; 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:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[4.3.c.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(-1.67)[ip: (-7.54), 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 01:39:06 -0000 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). I would prefer to stick to Enlightenment and its running on Wayland since version 0.20. New version of Enlightenment (0.22.4 -> 0.23.1) based on EFL (1.20.7 -> 1.23.3) is already working on my machine and will show up in ports shortly: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245596 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245594 Enlightenment has and needs new Wayland support that is based on ecore_wl2 from EFL. Someone hardcoded Linux DMA code into src/lib/ecore_wl2/ecore_wl2_buffer.c and that part of EFL does not build anymore on FreeBSD (not mandatory to run on Xorg). The good news is that EFL builds with both old Wayland support (wl-deprecated switch) and new one required for Enlightenment (wl switch) when all linuxisms are commented out from ecore_wl2_buffer.c. This means if we find a FreeBSD specific replacement for those DMA transfers all should work fine..? https://github.com/Enlightenment/efl/blob/master/src/lib/ecore_wl2/ecore_wl2_buffer.c The question is whether we should use some sort of DRM / GPU related DMA code or generic BUS DMA code? I have no experience over here.. the memory is a memory but if that affects video performance I guess video framebuffer should be used directly on a video card? :-) Best regards :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info