From owner-freebsd-x11@freebsd.org Tue Jan 8 18:21:15 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 090591486187; Tue, 8 Jan 2019 18:21:15 +0000 (UTC) (envelope-from gnikl@justmail.de) Received: from mout3.freenet.de (mout3.freenet.de [195.4.92.93]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (Client CN "*.freenet.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DEA1E70CFF; Tue, 8 Jan 2019 18:21:13 +0000 (UTC) (envelope-from gnikl@justmail.de) Received: from [195.4.92.164] (helo=mjail1.freenet.de) by mout3.freenet.de with esmtpa (ID gnikl@justmail.de) (port 25) (Exim 4.90_1 #2) id 1ggvzr-0001Qv-7u; Tue, 08 Jan 2019 19:21:03 +0100 Received: from [::1] (port=58258 helo=mjail1.freenet.de) by mjail1.freenet.de with esmtpa (ID gnikl@justmail.de) (Exim 4.90_1 #2) id 1ggvzr-00082a-7F; Tue, 08 Jan 2019 19:21:03 +0100 Received: from sub8.freenet.de ([195.4.92.127]:53052) by mjail1.freenet.de with esmtpa (ID gnikl@justmail.de) (Exim 4.90_1 #2) id 1ggvxV-0005dO-Ir; Tue, 08 Jan 2019 19:18:37 +0100 Received: from p5b3b306c.dip0.t-ipconnect.de ([91.59.48.108]:49243 helo=localhost) by sub8.freenet.de with esmtpsa (ID gnikl@justmail.de) (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256) (port 465) (Exim 4.90_1 #2) id 1ggvxV-0004P8-F5; Tue, 08 Jan 2019 19:18:37 +0100 Date: Tue, 8 Jan 2019 19:18:30 +0100 From: Gunther Nikl To: Greg V Cc: freebsd-x11@freebsd.org, freebsd-questions@freebsd.org Subject: Re: AMDGPU RX580 OpenCL Message-ID: <20190108191830.00004a83@justmail.de> In-Reply-To: <1546691721.1768.0@smtp.migadu.com> References: <20190102070113.1e9781fc9ac1c37bba8f1800@sohara.org> <1546646937.2475.3@smtp.migadu.com> <20190105122042.00004687@justmail.de> <1546691721.1768.0@smtp.migadu.com> X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.30; i686-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit X-Originated-At: 91.59.48.108!49243 X-Rspamd-Queue-Id: DEA1E70CFF X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [0.97 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; NEURAL_HAM_MEDIUM(-0.78)[-0.783,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; IP_SCORE(-0.00)[country: DE(-0.01)]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[justmail.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_SHORT(0.58)[0.584,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[emig.freenet.de,emig.freenet.de,emig.freenet.de,emig.freenet.de]; NEURAL_SPAM_LONG(0.38)[0.384,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[93.92.4.195.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:5430, ipnet:195.4.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[108.48.59.91.zen.spamhaus.org : 127.0.0.10] 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: Tue, 08 Jan 2019 18:21:15 -0000 Greg V wrote: > > Slightly OT, but can you describe what is required to get Wayland > > running? What additional software is required? Can I (still) use > > xterm, > > Opera 12, etc? > > Yes, you can run any X apps, Xwayland makes that work. Are you using Xwayland yourself? > So, if you want Wayland, > > - most importantly, you need a kernel built with the EVDEV_SUPPORT > option, otherwise you won't get any input devices AFAIK, this requires at least 11.2? > - (btw you can use evdev+libinput in Xorg too) Do I need something special for Xorg when building/configuring? > - EVDEV_SUPPORT has been enabled by default in CURRENT and > 12-STABLE, so 12.1 will be the first release to get evdev out of the > box I think I am on 11.2-RELEASE. Then I have to build a custom kernel. > - set sysctl kern.evdev.rcpt_mask=12 to get events from individual > keyboards/mice instead of the multiplexer — important for touchpads Ok. > - also it's very nice to have a kernel with > https://reviews.freebsd.org/rS342768 (just landed in CURRENT, will be > merged into 12-STABLE after a week) — otherwise unresponsive > applications can make the whole desktop unresponsive (kinda like in > the good old Mac OS 9.x days :D) — but it was surprisingly rare, I > lived with that bug for over a year I noticed that differential. I suppose the patch can be applied on 11.2+? > - for now, you need access permissions on /dev/input* devices — I've > been working on fixing that, there are patches (on differential for > the kernel, on github for libudev-devd) but you can just chmod g+rw > /dev/input/* and ignore security lol > > - you need mesa, the UI toolkits, etc. built with wayland support — > thankfully, it's on by default in ports now, so it should all be in > the official packages already :) Up-to here it should be doable. > - well, you need a compositor: > - there's Sway https://github.com/swaywm/sway which has FreeBSD > support and it's already in a sort of user friendly state (for > advanced users :D) > - there's my development fork of Weston > https://github.com/myfreeweb/weston + it needs to be launched with > https://github.com/myfreeweb/loginw — this is in development, not > really documented > - KDE Plasma5 kwin_wayland — won't run directly on the desktop > right now I think, only in a window. I'll need to investigate > ConsoleKit2… This looks bit more involved. Thank you for these instructions! I think this will help me get started. Regards, Gunther Nikl