Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Oct 2019 19:56:38 +0200
From:      Jesper Schmitz Mouridsen <jsm@FreeBSD.org>
To:        Jan Beich <jbeich@FreeBSD.org>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: Xwayland under sway invisible running x11 apps.
Message-ID:  <29f995a8-6c3a-c001-67a2-0660a00e15ec@FreeBSD.org>
In-Reply-To: <cf9debf0-6671-9288-6a5e-93f78a9d9cbd@FreeBSD.org>
References:  <018ae261-fe05-b8a3-13e8-1e96177025e8@FreeBSD.org> <5zl7-kki9-wny@FreeBSD.org> <cf9debf0-6671-9288-6a5e-93f78a9d9cbd@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi

The difference was the wayland option in mesa-libs

it was turned off. Turning it back on and the problem is back. So there 
might be a problem with libEGL on ivybridge. Also see 
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237662.

Firefox with MOZ_ACCELERATED=1 renders a light gray surface and no 
visible context...

/jsm

On 02.10.2019 23.18, Jesper Schmitz Mouridsen wrote:
>
> On 02.10.2019 21.36, Jan Beich wrote:
>> Jesper Schmitz Mouridsen <jsm@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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?29f995a8-6c3a-c001-67a2-0660a00e15ec>