Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Jun 2019 23:05:00 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Greg V <greg@unrelenting.technology>
Cc:        Grzegorz Junka <list1@gjunka.com>, freebsd-x11@freebsd.org
Subject:   Re: sway and libinput initialization failed
Message-ID:  <v9xm-nzwj-wny@FreeBSD.org>
In-Reply-To: <9E14501A-ADF5-4E4A-B10A-2E8BEDE2BCE9@unrelenting.technology> (Greg V.'s message of "Tue, 28 May 2019 13:35:12 %2B0300")
References:  <c033f9e8-e179-86c1-6c91-5062f7ad9692@gjunka.com> <1558889689.59447.0@unrelenting.technology> <d1d41fcc-8838-0307-c35f-8d8ac350ed91@gjunka.com> <2E74BE3C-43D2-42C4-82F7-204B30F08D9E@unrelenting.technology> <5032d5b0-b165-8d1f-df45-403c3e3a6733@gjunka.com> <9E14501A-ADF5-4E4A-B10A-2E8BEDE2BCE9@unrelenting.technology>

next in thread | previous in thread | raw e-mail | index | archive | help
Greg V <greg@unrelenting.technology> writes:

> On May 28, 2019 2:40:45 AM GMT+03:00, Grzegorz Junka <list1@gjunka.com> w=
rote:
>>However, the graphics seems to be not-accelerated (there is noticeable=20
>>"drag" when moving windows around). I am running generic kernel=20
>>12-RELEASE and up to date port (kld_list=3D"amdgpu" in rc.conf). The=20
>>graphics card is Radeon RX Vega 64. Should the hardware acceleration=20
>>work, and if yes, is there any way to verify hardware acceleration is=20
>>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=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. It's a quirk not present in upstream Mesa or
your graphics/mesa-dev port.



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