sway and libinput initialization failed

Jan Beich jbeich at FreeBSD.org
Mon Jun 3 21:05:08 UTC 2019


Greg V <greg at unrelenting.technology> writes:

> On May 28, 2019 2:40:45 AM GMT+03:00, Grzegorz Junka <list1 at gjunka.com> wrote:
>>However, the graphics seems to be not-accelerated (there is noticeable 
>>"drag" when moving windows around). I am running generic kernel 
>>12-RELEASE and up to date port (kld_list="amdgpu" in rc.conf). The 
>>graphics card is Radeon RX Vega 64. Should the hardware acceleration 
>>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. So if sway is running, it's
> accelerated. Run sway with the --verbose flag and read the output, it
> will show the used renderer. (In the virtual console… but you'll see
> it after quitting sway)

Xwayland requires LIBGL_DRI3_ENABLE=1 defined via environ(7) in order to
to use (E)GL acceleration. It's a quirk not present in upstream Mesa or
your graphics/mesa-dev port.


More information about the freebsd-x11 mailing list