From owner-freebsd-questions@freebsd.org Mon Apr 20 10:20: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 7F10B2BE22C; Mon, 20 Apr 2020 10:20:56 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from mail.daemonic.se (mail.daemonic.se [176.58.89.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 495N526VZYz45Dv; Mon, 20 Apr 2020 10:20:54 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 495N505YbRz3lbm; Mon, 20 Apr 2020 10:20:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=daemonic.se; h= content-transfer-encoding:content-language:content-type :content-type:in-reply-to:mime-version:user-agent:date:date :message-id:from:from:references:subject:subject:received :received; s=20151023; t=1587377909; bh=N9xTWGFHQQEOmOH4fRNvEA8K z3+pWNWyNioHCodbeYY=; b=QXOEv8wodOnUHHzQNjniLWNG2YCYmd+TjNHYD8Jc x3gCpDuM2bj1RbqaifrnTTkxaYl9PsKoypL4z0d3U3nimWPRRjNWb3Zsa/i+H/yL TLgx8q5wXhceuMzLDgS2HEfFiAyLXGFCPcIcfoCJfhC6VCGRI+pbb++jjkejLABl DyM= X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([IPv6:::1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [IPv6:::1]) (amavisd-new, port 10587) with ESMTPS id WpTW2u-T8m7Z; Mon, 20 Apr 2020 10:18:29 +0000 (UTC) Received: from garnet.daemonic.se (unknown [IPv6:2001:470:dca9:201:21b9:f28e:5614:8414]) by mail.daemonic.se (Postfix) with ESMTPSA id 495N2F1HHpz3mCm; Mon, 20 Apr 2020 10:18:29 +0000 (UTC) Subject: Re: Wayland on FreeBSD To: Greg V , Frederic Chardon Cc: freebsd-x11@freebsd.org, FreeBSD Questions Mailing List References: <6c7abdcf-aeef-4af4-b8f4-9d7fd0e45cf0@localhost> From: Niclas Zeising Message-ID: <7fba319c-c012-8893-3ce0-e2a166c38d2d@daemonic.se> Date: Mon, 20 Apr 2020 12:18:28 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <6c7abdcf-aeef-4af4-b8f4-9d7fd0e45cf0@localhost> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 495N526VZYz45Dv X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=daemonic.se header.s=20151023 header.b=QXOEv8wo; dmarc=pass (policy=none) header.from=daemonic.se; spf=pass (mx1.freebsd.org: domain of zeising@daemonic.se designates 176.58.89.161 as permitted sender) smtp.mailfrom=zeising@daemonic.se X-Spamd-Result: default: False [-5.19 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[daemonic.se:s=20151023]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[daemonic.se:+]; DMARC_POLICY_ALLOW(-0.50)[daemonic.se,none]; IP_SCORE(-3.69)[ip: (-9.72), ipnet: 176.58.89.0/24(-4.86), asn: 36236(-3.80), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:36236, ipnet:176.58.89.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[freebsd]; SUSPICIOUS_RECIPS(1.50)[] 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:20:56 -0000 On 2020-04-20 12:07, Greg V wrote: > Apr 20, 2020 12:56:35 PM Frederic Chardon : >=20 >> Le dim. 19 avr. 2020 =C3=A0 13:50, Jan Beich a =C3= =A9crit : >> >>> >>> >>> I'm using Sway myself primarily with X11 applications. For example, >>> "vblank_mode=3D0 glxgears" shows 3x more FPS than on real Xorg server= . ;) >>> >> >> I decided to give it a try, is hardware acceleration supposed to work? >> glxgears gives 10x less fps than with X, and 3D is incredibly >> sluggish. >> eglinfo output that leads me to believe it is not: >> GBM platform: >> i965_dri.so does not support the 0xffffffff PCI ID. >> >> It is with sway, -current from yesterday, intel HD4000 iGPU (Ivybridge= i5-3320M) >> no difference between drm-devel-kmod or drm-current-kmod. >=20 > Sway itself wouldn't even start without hardware rendering, it doesn't = *have* a software renderer. >=20 > For the X applications like glxgears, I guess with the mesa build that'= s in official ports currently you still need that DRI3 something environm= ent variable.. You shouldn't need that one. We switched the default to use DRI3 not=20 long after xorg-server was updated to 1.20. https://svnweb.freebsd.org/ports?view=3Drevision&revision=3D528071 It should also be in the latest quarterly branch. Regards --=20 Niclas