From owner-freebsd-x11@freebsd.org Mon Jun 3 23:27:38 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1C3B615C0F42 for ; Mon, 3 Jun 2019 23:27:38 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out.migadu.com (out.migadu.com [91.121.223.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.migadu.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5725574AEA for ; Mon, 3 Jun 2019 23:27:35 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: (Migadu outbound); Mon, 03 Jun 2019 23:27:28 +0000 Received: from [192.168.2.155] ([62.122.208.146]) by out.migadu.com (Haraka/2.8.16) with ESMTPSA id CDD2B7A8-8D84-404E-ACF2-2A977F29431E.1 envelope-from (authenticated bits=0) (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Mon, 03 Jun 2019 23:27:27 +0000 Date: Tue, 04 Jun 2019 02:27:26 +0300 User-Agent: K-9 Mail for Android In-Reply-To: References: <1558889689.59447.0@unrelenting.technology> <2E74BE3C-43D2-42C4-82F7-204B30F08D9E@unrelenting.technology> <5032d5b0-b165-8d1f-df45-403c3e3a6733@gjunka.com> <9E14501A-ADF5-4E4A-B10A-2E8BEDE2BCE9@unrelenting.technology> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: sway and libinput initialization failed To: Jan Beich CC: Grzegorz Junka ,freebsd-x11@freebsd.org From: Greg V Message-ID: <8269A3A7-BB71-4455-BACF-B49BB1346702@unrelenting.technology> DKIM-Signature: v=1; a=rsa-sha256; bh=sxsGAOZF5IY3GmSQAHhN440M70it004wz6FvYV4u3CU=; c=relaxed/simple; d=unrelenting.technology; h=from:subject:date:to; s=default; b=LH+ySm++6fmmTzP3+Jw1jY9TyROiBNSbOb1LXss58oWRWt7OKtjdC/mFmFxrq7vmrblV/1Jh7GtJhGJW2Y9G5DjItibiqVvRpJ+yZBhq9lQdfoxOKZXYriCIvvz2UzR2kKxDWWIje2DiXYbjgL+x3zUnJzaBsNDw+7tIhnQFayo= X-Rspamd-Queue-Id: 5725574AEA X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=unrelenting.technology header.s=default header.b=LH+ySm++; dmarc=pass (policy=none) header.from=unrelenting.technology; spf=pass (mx1.freebsd.org: domain of greg@unrelenting.technology designates 91.121.223.63 as permitted sender) smtp.mailfrom=greg@unrelenting.technology X-Spamd-Result: default: False [-6.61 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[unrelenting.technology:s=default]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:91.121.223.63]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[unrelenting.technology:+]; DMARC_POLICY_ALLOW(-0.50)[unrelenting.technology,none]; RCVD_IN_DNSWL_NONE(0.00)[63.223.121.91.list.dnswl.org : 127.0.10.0]; MX_GOOD(-0.01)[aspmx1.migadu.com,aspmx2.migadu.com]; NEURAL_HAM_SHORT(-0.98)[-0.977,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-2.63)[ip: (-9.90), ipnet: 91.121.0.0/16(-4.39), asn: 16276(1.16), country: FR(-0.01)]; ASN(0.00)[asn:16276, ipnet:91.121.0.0/16, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jun 2019 23:27:38 -0000 On June 4, 2019 12:05:00 AM GMT+03:00, Jan Beich wro= te: >Greg V writes: > >> On May 28, 2019 2:40:45 AM GMT+03:00, Grzegorz Junka > wrote: >>>However, the graphics seems to be not-accelerated (there is >noticeable=20 >>>"drag" when moving windows around)=2E I am running generic kernel=20 >>>12-RELEASE and up to date port (kld_list=3D"amdgpu" in rc=2Econf)=2E Th= e=20 >>>graphics card is Radeon RX Vega 64=2E Should the hardware acceleration= =20 >>>work, and if yes, is there any way to verify hardware acceleration is > >>>working as expected in either waylaynd or xorg? >> >> Sway does not have software rendering at all, IIRC llvmpipe software >> OpenGL wouldn't work either=2E So if sway is running, it's >> accelerated=2E Run sway with the --verbose flag and read the output, it >> will show the used renderer=2E (In the virtual console=E2=80=A6 but you= 'll see >> it after quitting sway) > >Xwayland requires LIBGL_DRI3_ENABLE=3D1 defined via environ(7) in order >to >to use (E)GL acceleration=2E It's a quirk not present in upstream Mesa or >your graphics/mesa-dev port=2E Right, good reminder=2E Doesn't apply to native Wayland apps=2E Might help= with KDE on Xorg though?? Maybe KWin does not auto enable compositing with= out DRI3=E2=80=A6 maybe=2E