New: X-Server crashes - GL error: GL_OUT_OF_MEMORY in glTexSubImage
https://bugs.freedesktop.org/show_bug.cgi?id=110500
Bug ID: 110500
Summary: X-Server crashes - GL error: GL_OUT_OF_MEMORY in
glTexSubImage
Product: Mesa
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: Drivers/DRI/nouveau
Assignee: [email protected]
Reporter: wixbisce-jFQLhMmostjmZLV5cmOKUwC/[email protected]
QA Contact: [email protected]
I try to convert someone from Windows to Linux. I installed Kubuntu 18.04.2 . Suddenly while using it the screen went black and afterwards i had the login screen.
cat /var/log/Xorg.0.log.old
[ 2309.613] (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage [ 2309.613] (WW) glamor: Failed to allocate 455x25 FBO due to GL_OUT_OF_MEMORY. [ 2309.613] (WW) glamor: Expect reduced performance. [ 2331.150] (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage [ 2331.150] (EE) [ 2331.150] (EE) Backtrace: [ 2331.151] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x139) [0x561f602bb459] [ 2331.151] (EE) 1: /lib/x86_64-linux-gnu/libpthread.so.0 (funlockfile+0x50) [0x7fa3b600a8df] [ 2331.151] (EE) 2: /usr/lib/xorg/modules/libglamoregl.so (glamor_get_pixmap_texture+0x7d) [0x7fa3b2a6155d] [ 2331.152] (EE) 3: /usr/lib/xorg/modules/libglamoregl.so (glamor_create_gc+0x78f4) [0x7fa3b2a73644] [ 2331.152] (EE) 4: /usr/lib/xorg/modules/libglamoregl.so (glamor_create_gc+0x7caf) [0x7fa3b2a73d6f] [ 2331.152] (EE) 5: /usr/lib/xorg/modules/libglamoregl.so (glamor_create_gc+0x8668) [0x7fa3b2a74888] [ 2331.152] (EE) 6: /usr/lib/xorg/modules/libglamoregl.so (glamor_create_gc+0xa26f) [0x7fa3b2a7807f] [ 2331.152] (EE) 7: /usr/lib/xorg/Xorg (DamageRegionAppend+0x6c6) [0x561f6023e996] [ 2331.153] (EE) 8: /usr/lib/xorg/modules/libglamoregl.so (glamor_create_gc+0x1110f) [0x7fa3b2a8645f] [ 2331.153] (EE) 9: /usr/lib/xorg/Xorg (AddTraps+0x423d) [0x561f602375ed] [ 2331.153] (EE) 10: /usr/lib/xorg/Xorg (SendErrorToClient+0x368) [0x561f6015e498] [ 2331.153] (EE) 11: /usr/lib/xorg/Xorg (InitFonts+0x3c8) [0x561f60162478] [ 2331.154] (EE) 12: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xe7) [0x7fa3b5c21b97] [ 2331.154] (EE) 13: /usr/lib/xorg/Xorg (_start+0x2a) [0x561f6014c13a] [ 2331.154] (EE) [ 2331.154] (EE) Segmentation fault at address 0x0 [ 2331.154] (EE) Fatal server error: [ 2331.154] (EE) Caught signal 11 (Segmentation fault). Server aborting
OS: Kubuntu 18.04.2 LTS release.
Hardware: 8GB RAM, Nvidia 9500 passive cooled GPU
Signature · 3 lines
You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 110500] X-Server crashes - GL error: GL_OUT_OF_MEMORY in glTexSubImage
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=110500
--- Comment #1 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Please use xf86-video-nouveau, not modesetting.
Signature · 3 lines
You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 110500] X-Server crashes - GL error: GL_OUT_OF_MEMORY in glTexSubImage
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=110500
--- Comment #2 from wixbisce-jFQLhMmostjmZLV5cmOKUwC/[email protected] <wixbisce-jFQLhMmostjmZLV5cmOKUwC/[email protected]> --- The package
https://packages.ubuntu.com/bionic-updates/xserver-xorg-video-nouveau-hwe-18.04
is already installed by default.
I have a /usr/lib/xorg/modules/drivers/nouveau_drv.so file.
lsmod |grep nouveau
nouveau 1851392 21 video 45056 1 nouveau i2c_algo_bit 16384 1 nouveau mxm_wmi 16384 1 nouveau ttm 110592 1 nouveau drm_kms_helper 172032 1 nouveau drm 458752 11 drm_kms_helper,ttm,nouveau wmi 24576 2 mxm_wmi,nouveau
I dont know how to use something special. I just installed the OS and have the issues i linked. I am using the LTS release for stability.
It crashed already few times.
It crashed few minutes again. Here the last log:
[ 4869.797] (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage [ 4869.797] (WW) glamor: Failed to allocate 455x1 FBO due to GL_OUT_OF_MEMORY. [ 4869.797] (WW) glamor: Expect reduced performance. [ 4869.798] (EE) [ 4869.798] (EE) Backtrace: [ 4869.798] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x139) [0x5630e630d459] [ 4869.798] (EE) 1: /lib/x86_64-linux-gnu/libpthread.so.0 (funlockfile+0x50) [0x7fea4ef6a8df] [ 4869.798] (EE) 2: /usr/lib/xorg/modules/libglamoregl.so (glamor_get_pixmap_texture+0x7d) [0x7fea4b9c155d] [ 4869.799] (EE) 3: /usr/lib/xorg/modules/libglamoregl.so (glamor_create_gc+0x78f4) [0x7fea4b9d3644] [ 4869.799] (EE) 4: /usr/lib/xorg/modules/libglamoregl.so (glamor_create_gc+0x7caf) [0x7fea4b9d3d6f] [ 4869.799] (EE) 5: /usr/lib/xorg/modules/libglamoregl.so (glamor_create_gc+0x8668) [0x7fea4b9d4888] [ 4869.799] (EE) 6: /usr/lib/xorg/modules/libglamoregl.so (glamor_create_gc+0xa26f) [0x7fea4b9d807f] [ 4869.799] (EE) 7: /usr/lib/xorg/Xorg (DamageRegionAppend+0x6c6) [0x5630e6290996] [ 4869.800] (EE) 8: /usr/lib/xorg/modules/libglamoregl.so (glamor_create_gc+0x1110f) [0x7fea4b9e645f] [ 4869.800] (EE) 9: /usr/lib/xorg/Xorg (AddTraps+0x423d) [0x5630e62895ed] [ 4869.800] (EE) 10: /usr/lib/xorg/Xorg (SendErrorToClient+0x368) [0x5630e61b0498] [ 4869.800] (EE) 11: /usr/lib/xorg/Xorg (InitFonts+0x3c8) [0x5630e61b4478] [ 4869.800] (EE) 12: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xe7) [0x7fea4eb81b97] [ 4869.800] (EE) 13: /usr/lib/xorg/Xorg (_start+0x2a) [0x5630e619e13a] [ 4869.800] (EE) [ 4869.800] (EE) Segmentation fault at address 0x0 [ 4869.800] (EE) Fatal server error: [ 4869.800] (EE) Caught signal 11 (Segmentation fault). Server aborting
Signature · 3 lines
You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 110500] X-Server crashes - GL error: GL_OUT_OF_MEMORY in glTexSubImage
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=110500
--- Comment #3 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- You might have it, but it's not being used. You probably see
modeset(0)
in your xorg logs (i.e. the "modesetting" driver) instead of
NOUVEAU(0)
which would imply it's using xf86-video-nouveau.
Signature · 3 lines
You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 110500] X-Server crashes - GL error: GL_OUT_OF_MEMORY in glTexSubImage
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=110500
Karol Herbst <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
QA Contact|[email protected] |[email protected] |rg | Component|Drivers/DRI/nouveau |Driver/nouveau Version|unspecified |git Product|Mesa |xorg
Signature · 3 lines
You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 110500] X-Server crashes - GL error: GL_OUT_OF_MEMORY in glTexSubImage
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=110500
Karol Herbst <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Product|xorg |Mesa
Component|Driver/nouveau |Drivers/DRI/nouveau
QA Contact|[email protected] |[email protected]
| |rgSignature · 3 lines
You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 110500] X-Server crashes - GL error: GL_OUT_OF_MEMORY in glTexSubImage
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=110500
--- Comment #4 from Karol Herbst <[email protected]> --- meh.. I want to move that bug to glamor, but that doesn't work. In either case, glamor shouldn't crash just because it couldn't allocate some memory and that has to get fixed.
We can workaround that issue for the user, but others might run into the same.
Signature · 3 lines
You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 110500] X-Server crashes - GL error: GL_OUT_OF_MEMORY in glTexSubImage
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=110500
--- Comment #5 from wixbisce-jFQLhMmostjmZLV5cmOKUwC/[email protected] <wixbisce-jFQLhMmostjmZLV5cmOKUwC/[email protected]> --- Karol Herbst gave me this here to put into/etc/X11/xorg.conf.d/20-nouveau.conf:
Section "Device"
Identifier "NvidiaCard"
Driver "nouveau"
BusID "PCI:01:00:0" # PCI bus address of the Nvidia GPU here
EndSection
I had to create xorg.conf.d first. Afterwards i put the config file there inside.
Now i also see in the xorg.log NOUVEAU(0). Lets hope the machine works fine now.
I think this should be fixed so that normal user dont have to struggle around with this. I think i am a more advanced user. The person i help here that would like to switch to Linux told me now about 10 times that he would not have been able to do that what i did (understand that its nouveau, report a bug, know about IRC, join IRC, dmesg things, lsmod things, ...).
This is a machine with 8 CPU cores, support up to 32GB of RAM, ... It have been updated few times. Its just for office usage. The GPU have 512MB of VRAM. I have played good looking games on 128MB of VRAM.
The system should not crash in office mode (browsing the emails in a email software, not browser).
Signature · 3 lines
You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 110500] X-Server crashes - GL error: GL_OUT_OF_MEMORY in glTexSubImage
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=110500
--- Comment #6 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- (In reply to wixbisce-jFQLhMmostjmZLV5cmOKUwC/[email protected] from comment #5)
Quoted 2 lines
I think this should be fixed so that normal user dont have to struggle around with this.
Agreed. Your distro has made some sort of modification which causes modeset to be preferred to nouveau. Feel free to inform them that this was a poor idea.
IMO, nouveau's GL implementation is a bad match for GLAMOR.
Signature · 3 lines
You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 110500] X-Server crashes - GL error: GL_OUT_OF_MEMORY in glTexSubImage
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=110500
--- Comment #7 from wixbisce-jFQLhMmostjmZLV5cmOKUwC/[email protected] <wixbisce-jFQLhMmostjmZLV5cmOKUwC/[email protected]> --- I talked with a developer. I get told, that when a driver provide a
functionality, that functionality should be working. They should be able to
rely on a normal, expected functionality.
For the note: Karol told me he would take a look into the memory issue because he know that this is a driver issue
In the meantime i had the issue that suddenly the picture start flickering. It then flicker whole time. The OS was unusable. The computer had to be restarted to stop this flickering.
I looked around in the internet and this seems to be also a driver issue. This issue is also now the second time there. It appear when i start scrolling up and down the https://bugzilla.freedesktop.org website with the Mozilla Firefox browser. Should i open a second bugreport for this issue or is it related? I cant find anything in dmesg or any other logfiles. The os is flickering when opening windows, scrolling in the webbrowser, or any other movement.
Signature · 3 lines
You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 110500] X-Server crashes - GL error: GL_OUT_OF_MEMORY in glTexSubImage
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=110500
--- Comment #8 from Jordan Belfort <[email protected]> --- The mistake messages originate from _glamor_create_tex() which is called by glamor_create_fbo(), and when this happens, pixmap_priv->fbo is set to NULL since, well, the FBO couldn't be distributed.
http://www.domyassignmentforme.com/help-homework
Signature · 3 lines
You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 110500] X-Server crashes - GL error: GL_OUT_OF_MEMORY in glTexSubImage
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=110500
--- Comment #9 from Karol Herbst <[email protected]> --- (In reply to wixbisce-jFQLhMmostjmZLV5cmOKUwC/[email protected] from comment #7)
Quoted 4 lines
I talked with a developer. I get told, that when a driver provide a functionality, that functionality should be working. They should be able to rely on a normal, expected functionality.
I don't see how that is a Nouveau issue except somebody shows otherwise. Sure Nouveau should be able to handle out of memory situations better, but the issue here is, that glamor crashes. This is nothing Nouveau could prevent.
Anyway, ignoring that out of memory issue for now. It's not even proven that the crash actually resulted from this out of memory error (even though it is likely). Glamor tries to workaround it, but fails.
Signature · 3 lines
You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 110500] X-Server crashes - GL error: GL_OUT_OF_MEMORY in glTexSubImage
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=110500
--- Comment #10 from Karol Herbst <[email protected]> --- anyway, there seem to be some glamor bugs filed against this already:
https://gitlab.freedesktop.org/xorg/xserver/issues?scope=all&utf8=%E2%9C%93&state=opened&search=OsLookupColor
Signature · 3 lines
You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 110500] X-Server crashes - GL error: GL_OUT_OF_MEMORY in glTexSubImage
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=110500
Karol Herbst <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |NOTOURBUG
Status|NEW |RESOLVEDSignature · 3 lines
You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 110500] X-Server crashes - GL error: GL_OUT_OF_MEMORY in glTexSubImage
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=110500
--- Comment #11 from Karol Herbst <[email protected]> --- If you don't think any of the glamor bugs fit, feel free to open a bug against glamor on gitlab.
Signature · 3 lines
You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 110500] X-Server crashes - GL error: GL_OUT_OF_MEMORY in glTexSubImage
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=110500
--- Comment #12 from Karol Herbst <[email protected]> --- also testing with a more updated stack might help as 18.04 still only uses X 1.19 and this issue might have been fixed already...
Signature · 3 lines
You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 110500] X-Server crashes - GL error: GL_OUT_OF_MEMORY in glTexSubImage
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=110500
--- Comment #13 from Karol Herbst <[email protected]> --- actually. this was tracked in this bug and is already fixed:
https://gitlab.freedesktop.org/xorg/xserver/issues/647
Signature · 3 lines
You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 110500] X-Server crashes - GL error: GL_OUT_OF_MEMORY in glTexSubImage
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=110500
--- Comment #14 from wixbisce-jFQLhMmostjmZLV5cmOKUwC/[email protected] <wixbisce-jFQLhMmostjmZLV5cmOKUwC/[email protected]> --- Thanks for the information. Now i try to understand what software version i
have to use to be able to use this fix so that the system stops crashing.
Signature · 3 lines
You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 110500] X-Server crashes - GL error: GL_OUT_OF_MEMORY in glTexSubImage
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=110500
--- Comment #15 from Juddy Piterson <[email protected]> --- If you jot a note down on paper, save it and use the rest of the sheet for your notes. American business waste 21 million tonnes of paper per annum! Ideally,
try to have your business as paperless as possible
https://essaywritingstore.com/writing-movie-critique . When it is absolutely necessary, print on both sides of the page. And don’t forget to recycle it!
Signature · 3 lines
You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 110500] X-Server crashes - GL error: GL_OUT_OF_MEMORY in glTexSubImage
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=110500
Amy Jones <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|git |11.1
URL| |http://essays-writers.net/w
| |rite-my-book-review.html
Component|Drivers/DRI/nouveau |Drivers/DRI/v3d
Assignee|[email protected] |[email protected]
|rg |
QA Contact|[email protected] |
|rg |Signature · 3 lines
You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau