[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#943893: glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage



On Thu, Oct 31, 2019 at 05:24:52PM +0100, Michel Dänzer wrote:
> On 2019-10-31 3:11 p.m., Agustin Martin Domingo wrote:
> > Package: xserver-xorg-core
> > Version: 2:1.20.4-1
> > Severity: important
> > 
> > Dear Maintainer,
> > 
> > X session crashes randomly, losing unsaved information.
> > 
> > Xorg.0.log (attached below) shows that a segfault is aborting the server.
> > 
> > Error starts with
> > 
> >   glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage
> > 
> > Browsing for that error I found
> > 
> >   [Bug 110500 - X-Server crashes - GL error: GL_OUT_OF_MEMORY in glTexSubImage ]
> >   https://bugs.freedesktop.org/show_bug.cgi?id=110500
> > 
> > with a similar backtrace.
> > 
> > Very similar backtraces (but for /usr/bin/Xwayland instead of
> > /usr/lib/xorg/modules/libglamoregl.so) are reported in 
> > 
> >   [Sometimes my Ubuntu Log me out and close all applications]
> >   https://gitlab.freedesktop.org/xorg/xserver/issues/833.
> > 
> > and
> > 
> >   [https://gitlab.freedesktop.org/xorg/xserver/issues/647]
> >   https://gitlab.freedesktop.org/xorg/xserver/issues/647
> > 
> > This last one seems already fixed upstream, and there is a suggestion that
> > Xwayland 1.20.5 contains the fix. Since I see libglamoregl.so in my
> > backtrace I am setting xserver-xorg-core as affected package. Please
> > reassign if aprppriate.
> 
> The root cause seems to be a memory leak in the nouveau drivers. While
> glamor can be made more robust against not being able to allocate/update
> OpenGL textures, at some point it won't be able to continue if no memory
> can be allocated, so it's better to address the leak.

Thanks for the info.

Seems that this has already been reported against the nouveau driver,

[Xorg crashes randomly because of memory leak]
https://bugs.freedesktop.org/show_bug.cgi?id=110714

Bad news in that bug report are that 1.20.5 is reported not helping.

Regards,

-- 
Agustin


Reply to: