Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Jun 2019 02:27:26 +0300
From:      Greg V <greg@unrelenting.technology>
To:        Jan Beich <jbeich@FreeBSD.org>
Cc:        Grzegorz Junka <list1@gjunka.com>,freebsd-x11@freebsd.org
Subject:   Re: sway and libinput initialization failed
Message-ID:  <8269A3A7-BB71-4455-BACF-B49BB1346702@unrelenting.technology>
In-Reply-To: <v9xm-nzwj-wny@FreeBSD.org>
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> <v9xm-nzwj-wny@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On June 4, 2019 12:05:00 AM GMT+03:00, Jan Beich <jbeich@FreeBSD=2Eorg> wro=
te:
>Greg V <greg@unrelenting=2Etechnology> writes:
>
>> On May 28, 2019 2:40:45 AM GMT+03:00, Grzegorz Junka
><list1@gjunka=2Ecom> wrote:
>>>However, the graphics seems to be not-accelerated (there is
>noticeable=20
>>>"drag" when moving windows around)=2E I am running generic kernel=20
>>>12-RELEASE and up to date port (kld_list=3D"amdgpu" in rc=2Econf)=2E Th=
e=20
>>>graphics card is Radeon RX Vega 64=2E Should the hardware acceleration=
=20
>>>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=2E So if sway is running, it's
>> accelerated=2E Run sway with the --verbose flag and read the output, it
>> will show the used renderer=2E (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=2E It's a quirk not present in upstream Mesa or
>your graphics/mesa-dev port=2E

Right, good reminder=2E Doesn't apply to native Wayland apps=2E Might help=
 with KDE on Xorg though?? Maybe KWin does not auto enable compositing with=
out DRI3=E2=80=A6 maybe=2E



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8269A3A7-BB71-4455-BACF-B49BB1346702>