Xwayland under sway invisible running x11 apps.
Johannes Lundberg
johalun0 at gmail.com
Wed Oct 2 21:38:44 UTC 2019
This should work without patches once we are on xorg 1.20. Hopefully that’s
not too far away.
On Wed, Oct 2, 2019 at 14:19 Jesper Schmitz Mouridsen <jsm at freebsd.org>
wrote:
>
> On 02.10.2019 21.36, Jan Beich wrote:
> > Jesper Schmitz Mouridsen <jsm at FreeBSD.org> writes:
> >
> >> Hi
> >>
> >> Running sway, which starts XWayland enables me to start X11 apps..
> >>
> >> I can see the apps runinng with xwininfo.
> >>
> >> However X11 apps are not rendered visible on the monitor.
> > Does forcing DRI3 via "export LIBGL_DRI3_ENABLE=1" or building
> > graphics/mesa-{libs,dri} with CFLAGS+=-D__DRM_NEXT__ help?
> >
> > Xwayland needs DRI3 but FreeBSD disables it as a kludge for
> drm-legacy-kmod:
> > graphics/mesa-dri/files/patch-src_glx_glxext.c
> > graphics/mesa-dri/files/patch-src_egl_drivers_dri2_platform__x11.c
>
> Thanks for the hints, reinstalling mesa-{libs,dri} from ports did the
> trick..X11-apps are now visible
>
> I did not need to set -D__DRM_NEXT__ though, so I don't what was wrong..
>
> I've drm-fbsd12.0-kmod-4.16.g20190814 installed.
>
> Regards
>
> jsm
>
> _______________________________________________
> freebsd-x11 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe at freebsd.org"
>
More information about the freebsd-x11
mailing list