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

Bug#999631: xserver-xorg-video-nouveau crashes "GL_OUT_OF_MEMORY in glTexSubImage" after update to libreoffice 1:7.0.4-4+deb11u1~bpo10+1



Package: xserver-xorg-video-nouveau
Version: 1:1.0.16-1
Severity: critical

... $ uname -a
Linux wjrws3 4.19.0-18-amd64 #1 SMP Debian 4.19.208-1 (2021-09-29)
x86_64 GNU/Linux


... $ apt show libc6 | grep ^Version
Version: 2.28-10

... $ cat /etc/debian_version 
10.11


after update of libreoffice, I get reproducible crashes of xserver
using libreoffice writer some minutes after opening document
no reproducible usage point in writer
stable for hours with open document but no active editing
no crashes yet when using calc

old 1:6.1.5-3+deb10u?
new 1:7.0.4-4+deb11u1~bpo10+1


"apt-get upgrade" (within buster, no upgrade to bullseye) did not help


extract of imho critical section of Xorg.0.log
----8<------------------------
....
[385404.243] (II) This device may have been added with another device
file.
[385404.486] (II) modeset(0): Disabling kernel dirty updates, not
required.
[385408.740] (II) event2  - USB Optical Mouse: Enabling spurious button
debouncing, see https://wayland.freedesktop.org/
libinput/doc/1.12.6/button-debouncing.html for details
[385750.415] (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage
[385750.415] (WW) glamor: Failed to allocate 16x16 FBO due to
GL_OUT_OF_MEMORY.
[385750.415] (WW) glamor: Expect reduced performance.
[385992.239] (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage
[386004.471] (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage
[386233.246] (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage
[387099.301] (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage
[387099.301] (EE) 
[387099.301] (EE) Backtrace:
[387099.301] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x139)
[0x559450d99b39]
[387099.302] (EE) 1: /lib/x86_64-linux-gnu/libpthread.so.0
(funlockfile+0x50) [0x7fda59c2277f]
...
Fatal server error:
[387099.304] (EE) Caught signal 11 (Segmentation fault). Server aborting
....
----8<------------------------

(complete log file of a crash event is attached)



searching the web for the error message,
I think the error is identified here:
https://bugs.freedesktop.org/show_bug.cgi?id=110500

I tried solution
https://bugs.freedesktop.org/show_bug.cgi?id=110500#c5

I can reproduce that "modeset(0)" messages are no longer in Xorg.0.log
I can find  "NOUVEAU(0)" messages now, as indicated in the fix
description.
Testing of stability is still going on.

background:
https://gitlab.freedesktop.org/xorg/xserver/-/issues/647
https://bugzilla.redhat.com/show_bug.cgi?id=1648475
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1853266
https://stackoverflow.com/questions/34204537/how-to-handle-gl-out-of-memory-error-during-glbufferdata


My system results from repeated upgrade, started from Jessie as far as I
can remember. So the error may be a result of incorrect upgrade of X
config, collected somewhere along the path.

It also may be that my graphic card is not up to date in terms of
memory:

lspci 
...
01:00.0 VGA compatible controller: NVIDIA Corporation G92 [GeForce 9800
GT] (rev a2)
...

anyway, crashing imho is never the expected behavour of a debian system.
I agree with links given above that X server should be robust against
old hardware, misconfig an ressource overdemand.


yours sincerely

-- 
Wolfgang Rosner
wrosner@tirnet.de

Attachment: Xorg.0.log.old-crash-2021-11-13_23-15
Description: Binary data

Attachment: reportbug.out
Description: Binary data


Reply to: