Re: sway and libinput initialization failed
Greg V <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.x11 |
|---|---|
| Message-ID | <[email protected]> |
On June 4, 2019 12:05:00 AM GMT+03:00, Jan Beich <[email protected]> wrote: >Greg V <[email protected]> writes: > >> On May 28, 2019 2:40:45 AM GMT+03:00, Grzegorz Junka ><[email protected]> 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. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-x11 To unsubscribe, send any mail to "[email protected]"