sway and libinput initialization failed
Greg V
greg at unrelenting.technology
Mon Jun 3 23:27:38 UTC 2019
On June 4, 2019 12:05:00 AM GMT+03:00, Jan Beich <jbeich at FreeBSD.org> wrote:
>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.
Right, good reminder. Doesn't apply to native Wayland apps. Might help with KDE on Xorg though?? Maybe KWin does not auto enable compositing without DRI3… maybe.
More information about the freebsd-x11
mailing list