From owner-freebsd-x11@freebsd.org Sun Sep 22 18:08:15 2019 Return-Path: Delivered-To: freebsd-x11@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 364851287D5 for ; Sun, 22 Sep 2019 18:08:15 +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 46bwRf1Rt7z43W6 for ; Sun, 22 Sep 2019 18:08:13 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: (Migadu outbound); Sun, 22 Sep 2019 18:08:12 +0000 Received: from wms1-eu-central.migadu.com (wms1-eu-central.migadu.org [172.104.244.218]) by out.migadu.com (Haraka/2.8.16) with ESMTPSA id 94F1E751-6FEF-4E8E-B388-B24A28F8FB11.1 envelope-from (authenticated bits=0) (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Sun, 22 Sep 2019 18:08:12 +0000 MIME-Version: 1.0 Date: Sun, 22 Sep 2019 18:08:11 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: RainLoop/1.12.1 From: greg@unrelenting.technology Message-ID: <81039c4b5ae0c2d4bd97dcc07852e279@unrelenting.technology> Subject: Re: Xorg with evdev input devices To: "Vasily Postnicov" Cc: freebsd-x11@freebsd.org In-Reply-To: References: <300f65b7469c608ad4cd32a9ad6c41d6@unrelenting.technology> <320f3ff12f7aeb4eed823ea6e5eee70a@unrelenting.technology> DKIM-Signature: v=1; a=rsa-sha256; bh=WZbdkN1tDI6xthu5HH9JfFPIM/f8BjjptcfnaYYbfQ0=; c=relaxed/simple; d=unrelenting.technology; h=from:subject:date:to; s=default; b=H+A7FixrKiNVQFKf9AR1N/hLjuRZLuTyY0LyWmuhj4IVmKPJgT5rT5egGHXeFZwzbM6YSqeQs7xABz3cw9VbjL1T3gqnXK4KhNSHkUcDLG5I/3Cdu3u1pSnl+szKMohsMl/OZwdJAzJ9lNHKqzWbg5oRrK3VeYcsyDqf4QT2dq4= X-Rspamd-Queue-Id: 46bwRf1Rt7z43W6 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=unrelenting.technology header.s=default header.b=H+A7Fixr; 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 [-5.56 / 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]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:91.121.223.63]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[unrelenting.technology:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[63.223.121.91.list.dnswl.org : 127.0.10.0]; FROM_NO_DN(0.00)[]; DMARC_POLICY_ALLOW(-0.50)[unrelenting.technology,none]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-2.56)[ip: (-9.85), ipnet: 91.121.0.0/16(-4.40), asn: 16276(1.44), country: FR(-0.00)]; ASN(0.00)[asn:16276, ipnet:91.121.0.0/16, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Sun, 22 Sep 2019 18:08:15 -0000 September 22, 2019 8:59 PM, "Vasily Postnicov" w= rote:=0A=0A> Huh, that is quite interesting info. I had some problems wit= h OpenCL as in that bug, now they are=0A> gone. My drm-kmod version is dr= m-fbsd12.0-kmod-4.16.g20190814 (the most recent), so the problem=0A> ment= ioned is fixed. clinfo and vulkaninfo are working.=0A> =0A> But with sway= , I now see this=0A> =0A>> amdgpu_query_info(ACCEL_WORKING) failed (-13)= =0A> =0A> That is EACCES again. Looks like the bug ressurected for waylan= d at least. This message appears as=0A> I try to launch emacs (with hotke= y). I use GDK_BACKEND=3Dwayland=0A=0AYeah, Emacs GUI still requires X11 = =E2=80=94 despite being wrapped in GTK, it does a lot of raw X11 stuff.= =0A=0AThere was some porting work http://emacs.1067599.n8.nabble.com/port= ing-to-Wayland-td326678.html but looks like it's not done/merged yet.=0A= =0A> Xwayland is 1.19.1_11,1=0A> =0A> Any ideas how to fix this?=0A=0AApp= arently updating to xwayland 1.20 helps, according to the last comment in= that thread.=0A=0Ahttps://github.com/FreeBSDDesktop/freebsd-ports/tree/f= eature/xserver-1.20 =E2=86=90 the ports branch with the xorg 1.20 update= =0A=0AI haven't tested that, I've disabled xwayland completely.=0AIf that= doesn't help, that thread has my workaround patch that disables permissi= on checks.