X11 weston lockup

Michal Suchanek hramrach at gmail.com
Mon Feb 9 05:23:38 PST 2015


On 9 February 2015 at 12:44, Daniel Stone <daniel at fooishbar.org> wrote:
> Hi,
>
> On 9 February 2015 at 11:37, Michal Suchanek <hramrach at gmail.com> wrote:
>> On 9 February 2015 at 12:35, Michal Suchanek <hramrach at gmail.com> wrote:
>>> I tried to run weston under X and noticed that cursor updates are very sluggish.
>>>
>>> After a while any updates in the weston window stopped completely (eg.
>>> cursor does not move, clock shows old time).
>>>
>>> Is there any point debugging this issue or is it just expected that
>>> the x11 plugin sometimes breaks?
>
> No, it's definitely not expected. A few of us still use it quite
> often, and not only does it seem to work in general, but it definitely
> should work as well.
>
> If updates freeze, I expect this is due to EGL blocking. DRI3 seems to
> be the primary cause of this: could you please try to use DRI2 and see
> how that goes?

I don't see any indication of dri3 being used or not in the weston
output so I checked the Xorg log and it says that dri2 is used:
[    21.375] (II) [drm] nouveau interface version: 1.2.1
[    21.375] (II) Loading sub module "dri2"
[    21.375] (II) LoadModule: "dri2"
[    21.375] (II) Module "dri2" already built-in
[    21.375] (--) NOUVEAU(0): Chipset: "NVIDIA NVC1"
[    21.375] (II) NOUVEAU(0): Creating default Display subsection in
Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[    21.375] (==) NOUVEAU(0): Depth 24, (--) framebuffer bpp 32
...
[    21.578] (II) NOUVEAU(0): Channel setup complete.
[    21.579] (II) NOUVEAU(0): [COPY] async initialised.
[    21.582] (II) NOUVEAU(0): [DRI2] Setup complete
[    21.582] (II) NOUVEAU(0): [DRI2]   DRI driver: nouveau
[    21.582] (II) NOUVEAU(0): [DRI2]   VDPAU driver: nouveau
[    21.810] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    21.810] (II) AIGLX: enabled GLX_ARB_create_context
[    21.810] (II) AIGLX: enabled GLX_ARB_create_context_profile
[    21.810] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[    21.810] (II) AIGLX: enabled GLX_INTEL_swap_event
[    21.810] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[    21.810] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[    21.810] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[    21.810] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[    21.810] (II) AIGLX: Loaded and initialized nouveau
[    21.810] (II) GLX: Initialized DRI2 GL provider for screen 0
[    21.811] (II) NOUVEAU(0): NVEnterVT is called.
[    21.930] (II) NOUVEAU(0): Setting screen physical size to 211 x 158

Thanks

Michal


More information about the wayland-devel mailing list