Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Sep 2019 18:08:11 +0000
From:      greg@unrelenting.technology
To:        "Vasily Postnicov" <shamaz.mazum@gmail.com>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: Xorg with evdev input devices
Message-ID:  <81039c4b5ae0c2d4bd97dcc07852e279@unrelenting.technology>
In-Reply-To: <CADnZ6BnGBZpVf9_zzoz4mV96m2DJwwDSuNHhQGn_Xnwdq=zpfQ@mail.gmail.com>
References:  <CADnZ6BnGBZpVf9_zzoz4mV96m2DJwwDSuNHhQGn_Xnwdq=zpfQ@mail.gmail.com> <CADnZ6B=foNChKaH6j%2Bx4pv4Z6g2ycCL7yiuLvDZSAOBHOa4ugw@mail.gmail.com> <bceb7ed1804dd98d9c186c42b08473c1@unrelenting.technology> <CADnZ6Bnzdk_kr608wg8t8Ugth%2BS8zMDy18w7KhoLWbLoBXCjJg@mail.gmail.com> <300f65b7469c608ad4cd32a9ad6c41d6@unrelenting.technology> <CADnZ6BmbYDM7Y-WQbfqQ4Y-gRv9awWS30ZtQk2Kz9tOUYXxHHw@mail.gmail.com> <320f3ff12f7aeb4eed823ea6e5eee70a@unrelenting.technology>

index | next in thread | previous in thread | raw e-mail

September 22, 2019 8:59 PM, "Vasily Postnicov" <shamaz.mazum@gmail.com> wrote:

> Huh, that is quite interesting info. I had some problems with OpenCL as in that bug, now they are
> gone. My drm-kmod version is drm-fbsd12.0-kmod-4.16.g20190814 (the most recent), so the problem
> mentioned is fixed. clinfo and vulkaninfo are working.
> 
> But with sway, I now see this
> 
>> amdgpu_query_info(ACCEL_WORKING) failed (-13)
> 
> That is EACCES again. Looks like the bug ressurected for wayland at least. This message appears as
> I try to launch emacs (with hotkey). I use GDK_BACKEND=wayland

Yeah, Emacs GUI still requires X11 — despite being wrapped in GTK, it does a lot of raw X11 stuff.

There was some porting work http://emacs.1067599.n8.nabble.com/porting-to-Wayland-td326678.html but looks like it's not done/merged yet.

> Xwayland is 1.19.1_11,1
> 
> Any ideas how to fix this?

Apparently updating to xwayland 1.20 helps, according to the last comment in that thread.

https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xserver-1.20 ← the ports branch with the xorg 1.20 update

I haven't tested that, I've disabled xwayland completely.
If that doesn't help, that thread has my workaround patch that disables permission checks.


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?81039c4b5ae0c2d4bd97dcc07852e279>