Summary: | KWin crashes in makeInterleavedArrays | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Ryan Dotts <rdotts> |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | 123gop321, ascaris, bogdan.ilchyshyn, brelandjohn, budheswarbaghel, caslubas, cesar.czr, chadmclancy, ciop1971, cmenard, DarkCacok1, darkwingbuck13, elvistonyrency, emanuel.angelo, ferow2k, genusterok, gladhorn, guyu2876, hm.xdrv, joshfowler, joshua.rich, kde, kontakt, lfercorrea, marcorion, marius.alksnys, mateus.nazario, mich.delbianco, myshanskii.aleks, nate, null, pablo.niklas, rodrigo.chang, ruthog, sikvenci9, softexpert, supersasho, techxgames, tudurom, uavtech2002, vkrevs, walker.lfreitas, zahed.rimon |
Priority: | VHI | Keywords: | drkonqi |
Version: | 5.13.5 | Flags: | vlad.zahorodnii:
NVIDIA+
|
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=460480 | ||
Latest Commit: | https://commits.kde.org/kwin/212d87a32ef15b9baf6102060639c06fa580e965 | Version Fixed In: | 5.21 |
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi Crash report on Kubuntu 19.04 after waking up from sleep New crash information added by DrKonqi |
Description
Ryan Dotts
2018-10-07 20:36:49 UTC
*** Bug 400038 has been marked as a duplicate of this bug. *** *** Bug 398860 has been marked as a duplicate of this bug. *** *** Bug 400016 has been marked as a duplicate of this bug. *** Created attachment 115915 [details]
New crash information added by DrKonqi
kwin_x11 (5.14.1) using Qt 5.11.2
- What I was doing when the application crashed:
Had just resumed from standby and logged in. The little bug icon was already in the system tray when the lock screen was cleared. Using proprietary Nvidia drivers.
-- Backtrace (Reduced):
#6 0x00007f9e7d9c9d7f in _mm_stream_si128(long long __vector(2)*, long long __vector(2)) (__B=..., __A=0x7f9e5415e940) at /usr/lib/gcc/x86_64-linux-gnu/7/include/emmintrin.h:1473
#7 KWin::WindowQuadList::makeInterleavedArrays (this=this@entry=0x7fff93ae8e18, type=type@entry=7, vertices=vertices@entry=0x7f9e5415e940, textureMatrix=...) at ./libkwineffects/kwineffects.cpp:1313
#8 0x00007f9e554eaa5b in KWin::SceneOpenGL2Window::performPaint (this=this@entry=0x565280d58640, mask=mask@entry=10, region=..., data=...) at ./plugins/scenes/opengl/scene_opengl.cpp:1487
#9 0x00007f9e554f3f13 in KWin::SceneOpenGL2::performPaintWindow (this=<optimized out>, w=<optimized out>, mask=<optimized out>, region=..., data=...) at ./plugins/scenes/opengl/scene_opengl.cpp:1108
#10 0x00007f9e554f4047 in KWin::SceneOpenGL2::finalDrawWindow (this=this@entry=0x565280efab00, w=w@entry=0x56528113cba0, mask=mask@entry=10, region=..., data=...) at ./plugins/scenes/opengl/scene_opengl.cpp:1090
*** Bug 400790 has been marked as a duplicate of this bug. *** Created attachment 116184 [details]
New crash information added by DrKonqi
kwin_x11 (5.12.6) using Qt 5.9.5
- What I was doing when the application crashed:
resuming from suspension to ram (stand-by)
- Unusual behavior I noticed:
alpha layer becomes noisy (windows using opengl or desktop icons with didascaly), i think this is caused by nvidia driver miscommunication
- Custom settings of the application:
nvidia driver 390.77
-- Backtrace (Reduced):
#6 0x00007f0e604fd2af in KWin::WindowQuadList::makeInterleavedArrays(unsigned int, KWin::GLVertex2D*, QMatrix4x4 const&) const () from /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
[...]
#10 0x00007f0e634f2956 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
#11 0x00007f0e604f9620 in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#12 0x00007f0e634f28ee in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
[...]
#14 0x00007f0e634f28ee in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
*** Bug 401256 has been marked as a duplicate of this bug. *** Created attachment 116449 [details]
New crash information added by DrKonqi
kwin_x11 (5.14.3) using Qt 5.11.2
- What I was doing when the application crashed:
Resuming from standby. As soon as I finished entering the unlock password, the ladybug icon indicating the kwin crash was already there in the systray.
-- Backtrace (Reduced):
#6 0x00007f5286d83d7f in _mm_stream_si128(long long __vector(2)*, long long __vector(2)) (__B=..., __A=0x7f51b2e46460) at /usr/lib/gcc/x86_64-linux-gnu/7/include/emmintrin.h:1473
#7 KWin::WindowQuadList::makeInterleavedArrays (this=this@entry=0x7ffc7277e3a8, type=type@entry=7, vertices=vertices@entry=0x7f51b2e46460, textureMatrix=...) at ./libkwineffects/kwineffects.cpp:1313
#8 0x00007f51cb0daa5b in KWin::SceneOpenGL2Window::performPaint (this=this@entry=0x55588e5842b0, mask=mask@entry=2, region=..., data=...) at ./plugins/scenes/opengl/scene_opengl.cpp:1487
#9 0x00007f51cb0e3f13 in KWin::SceneOpenGL2::performPaintWindow (this=<optimized out>, w=<optimized out>, mask=<optimized out>, region=..., data=...) at ./plugins/scenes/opengl/scene_opengl.cpp:1108
#10 0x00007f51cb0e4047 in KWin::SceneOpenGL2::finalDrawWindow (this=this@entry=0x555890876be0, w=w@entry=0x55588dfda1c0, mask=mask@entry=2, region=..., data=...) at ./plugins/scenes/opengl/scene_opengl.cpp:1090
Created attachment 116743 [details]
New crash information added by DrKonqi
kwin_x11 (5.14.4) using Qt 5.11.2
- What I was doing when the application crashed:
Just resumed from sleep. Oddly, it only happens when I am using any window decoration theme OTHER than Breeze. When I use Breeze, this crash doesn't happen, and the icon captions do not get corrupted as they do with the others.
-- Backtrace (Reduced):
#6 0x00007f33ceb24d7f in _mm_stream_si128(long long __vector(2)*, long long __vector(2)) (__B=..., __A=0x7f33a4adda50) at /usr/lib/gcc/x86_64-linux-gnu/7/include/emmintrin.h:1473
#7 KWin::WindowQuadList::makeInterleavedArrays (this=this@entry=0x7ffdab2c7c10, type=type@entry=7, vertices=vertices@entry=0x7f33a4adda50, textureMatrix=...) at ./libkwineffects/kwineffects.cpp:1313
#8 0x00007f33a5fa7a5b in KWin::SceneOpenGL2Window::performPaint (this=this@entry=0x563f2f01d990, mask=mask@entry=2, region=..., data=...) at ./plugins/scenes/opengl/scene_opengl.cpp:1487
#9 0x00007f33a5fb0f13 in KWin::SceneOpenGL2::performPaintWindow (this=<optimized out>, w=<optimized out>, mask=<optimized out>, region=..., data=...) at ./plugins/scenes/opengl/scene_opengl.cpp:1108
#10 0x00007f33a5fb1047 in KWin::SceneOpenGL2::finalDrawWindow (this=this@entry=0x563f2f041a50, w=w@entry=0x563f2eb1a3c0, mask=mask@entry=2, region=..., data=...) at ./plugins/scenes/opengl/scene_opengl.cpp:1090
*** Bug 402180 has been marked as a duplicate of this bug. *** *** Bug 402643 has been marked as a duplicate of this bug. *** *** Bug 402567 has been marked as a duplicate of this bug. *** *** Bug 403095 has been marked as a duplicate of this bug. *** *** Bug 403673 has been marked as a duplicate of this bug. *** *** Bug 403952 has been marked as a duplicate of this bug. *** *** Bug 404645 has been marked as a duplicate of this bug. *** *** Bug 404738 has been marked as a duplicate of this bug. *** *** Bug 405427 has been marked as a duplicate of this bug. *** Created attachment 120605 [details]
Crash report on Kubuntu 19.04 after waking up from sleep
This is also happening after waking up from sleep on my Kubuntu 19.04 PC
Operating System: Kubuntu 19.04
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.57.0
Qt Version: 5.12.2
Kernel Version: 5.0.0-16-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-6500 CPU @ 3.20GHz
Memory: 15.6 GiB of RAM
GPU: GeForce GTX 1060 6GB (NVIDIA 430 driver)
*** Bug 409864 has been marked as a duplicate of this bug. *** *** Bug 410171 has been marked as a duplicate of this bug. *** I would guess this is an alignment issue, see the Intel Intrinsics Guide: https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=load_si128&expand=5191,3063,5661,3343 Load 128-bits of integer data from memory into dst using a non-temporal memory hint. mem_addr must be aligned on a 16-byte boundary or a general-protection exception may be generated. In other words: we should check the alignment of dstP as far as I can tell. I guess my previous comment can be discarded, looking at the backtraces, the pointers seem to be aligned, this is puzzling. I cannot reproduce it. *** Bug 410884 has been marked as a duplicate of this bug. *** @Frederik My guess is that we don't reset GLVertexBuffer::streamingBuffer() on a graphics reset. *** Bug 411385 has been marked as a duplicate of this bug. *** I did some more graphics reset patches in Qt and I think our handling is wrong. The reset flag is set on until you call makeCurrent a second time, then it's cleared. We have a tonne of places, especially screen change handling code, that calls makeCurrent without a graphics reset check. My theory is that if we get in here, we could have a reset that we don't handle. I'll flood my kwin with qDebug and see if I can trigger that happening. Edit: I was talking nonsense. I’ve moved on from Plasma since I started using a notebook. I’m going to close this issue for now. *** Bug 411420 has been marked as a duplicate of this bug. *** Shot in the dark, but is anyone who can readibly reproduce this bug going to Akademy? *** Bug 411781 has been marked as a duplicate of this bug. *** *** Bug 412528 has been marked as a duplicate of this bug. *** *** Bug 412773 has been marked as a duplicate of this bug. *** *** Bug 413214 has been marked as a duplicate of this bug. *** *** Bug 413153 has been marked as a duplicate of this bug. *** Can someone who can reproduce this run QT_LOGGING_RULES="kwin_scene_opengl.debug=true;libkwinglutils.debug=true'" kwin_x11 --replace from a terminal trigger a crash and then paste the whole output here please. *** Bug 413381 has been marked as a duplicate of this bug. *** (In reply to David Edmundson from comment #37) > Can someone who can reproduce this run > from a terminal trigger a crash and then paste the whole output here please. sudo QT_LOGGING_RULES="kwin_scene_opengl.debug=true;libkwinglutils.debug=true'" kwin_x11 --replace [sudo] password for : qt.core.logging: Ignoring malformed logging rule: 'libkwinglutils.debug=true'"' QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' kwin_xkbcommon: XKB: couldn't find a Compose file for locale "en_GB.UTF-8," QPainter::begin: Paint device returned engine == 0, type: 3 QPainter::setRenderHint: Painter must be active to set rendering hints QPainter::setWindow: Painter not active QPainter::setClipRect: Painter not active QPainter::save: Painter not active QPainter::setRenderHint: Painter must be active to set rendering hints QPainter::setPen: Painter not active QPainter::setBrush: Painter not active QPainter::setClipRect: Painter not active QPainter::drawRects: Painter not active QPainter::restore: Unbalanced save/restore QPainter::save: Painter not active QPainter::setRenderHint: Painter must be active to set rendering hints QPainter::setBrush: Painter not active QPainter::setPen: Painter not active QPainter::drawRects: Painter not active QPainter::restore: Unbalanced save/restore QPainter::begin: Paint device returned engine == 0, type: 3 QPainter::setRenderHint: Painter must be active to set rendering hints QPainter::setWindow: Painter not active QPainter::setClipRect: Painter not active QPainter::save: Painter not active QPainter::setRenderHint: Painter must be active to set rendering hints QPainter::setPen: Painter not active QPainter::setBrush: Painter not active QPainter::setClipRect: Painter not active QPainter::drawRects: Painter not active QPainter::restore: Unbalanced save/restore QPainter::save: Painter not active QPainter::setRenderHint: Painter must be active to set rendering hints QPainter::setBrush: Painter not active QPainter::setPen: Painter not active QPainter::drawRects: Painter not active QPainter::restore: Unbalanced save/restore QPainter::begin: Paint device returned engine == 0, type: 3 QPainter::setRenderHint: Painter must be active to set rendering hints QPainter::setWindow: Painter not active QPainter::setClipRect: Painter not active QPainter::save: Painter not active QPainter::setRenderHint: Painter must be active to set rendering hints QPainter::setPen: Painter not active QPainter::setBrush: Painter not active QPainter::setClipRect: Painter not active QPainter::drawRects: Painter not active QPainter::restore: Unbalanced save/restore QPainter::save: Painter not active QPainter::setRenderHint: Painter must be active to set rendering hints QPainter::setBrush: Painter not active QPainter::setPen: Painter not active QPainter::drawRects: Painter not active QPainter::restore: Unbalanced save/restore OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce 940MX/PCIe/SSE2 OpenGL version string: 4.6.0 NVIDIA 430.50 OpenGL shading language version string: 4.60 NVIDIA Driver: NVIDIA Driver version: 430.50 GPU class: Unknown OpenGL version: 4.6 GLSL version: 4.60 X server version: 1.20.4 Linux kernel version: 5.2 Requires strict binding: no GLSL shaders: yes Texture NPOT support: yes Virtual Machine: no qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1590, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1591, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1592, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1594, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1596, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1597, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1600, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1601, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1602, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1604, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1606, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1607, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1694, resource id: 113246239, major code: 3 (GetWindowAttributes), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1695, resource id: 113246239, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1718, resource id: 23068677, major code: 18 (ChangeProperty), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1868, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1869, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1874, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1875, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1922, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1923, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1924, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1926, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1928, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1929, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 4997, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 4998, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 4999, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 5000, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 5001, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 5002, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 5003, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 21446, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 21911, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 21912, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 21913, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 21914, resource id: 0, major code: 14 (GetGeometry), minor code: 0 kf5.kcoreaddons.kdirwatch: Cannot watch QRC-like path ":/icons/hicolor/index.theme" file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/windowswitcher/WindowSwitcher.qml:44:19: QML ScrollView: Binding loop detected for property "height" file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/windowswitcher/WindowSwitcher.qml:44:19: QML ScrollView: Binding loop detected for property "height" qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 23891, resource id: 113247936, major code: 3 (GetWindowAttributes), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 23895, resource id: 113247936, major code: 3 (GetWindowAttributes), minor code: 0 There's no need to run things as root.
>qt.core.logging: Ignoring malformed logging rule: 'libkwinglutils.debug=true'"'
Heh, my fault
QT_LOGGING_RULES="kwin_scene_opengl.debug=true;libkwinglutils.debug=true" kwin_x11 --replace
(In reply to David Edmundson from comment #40) > There's no need to run things as root. > > >qt.core.logging: Ignoring malformed logging rule: 'libkwinglutils.debug=true'"' > > Heh, my fault And I, in turn, didn't check what was being run as su :)) >QT_LOGGING_RULES="kwin_scene_opengl.debug=true;libkwinglutils.debug=true" kwin_x11 --replace QT_LOGGING_RULES="kwin_scene_opengl.debug=true;libkwinglutils.debug=true" kwin_x11 --replace kwin_xkbcommon: XKB: couldn't find a Compose file for locale "en_GB.UTF-8," Module 'org.kde.kwin.decoration' does not contain a module identifier directive - it cannot be protected from external registrations. kwin_scene_opengl: Initializing OpenGL compositing OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce 940MX/PCIe/SSE2 OpenGL version string: 4.6.0 NVIDIA 430.50 OpenGL shading language version string: 4.60 NVIDIA Driver: NVIDIA Driver version: 430.50 GPU class: Unknown OpenGL version: 4.6 GLSL version: 4.60 X server version: 1.20.4 Linux kernel version: 5.2 Requires strict binding: no GLSL shaders: yes Texture NPOT support: yes Virtual Machine: no kwin_scene_opengl: 0x0: OpenGL debug output initialized kwin_scene_opengl: Initializing fences for synchronization with the X command stream kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 1 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_DYNAMIC_DRAW) will use SYSTEM HEAP memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 1 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_DYNAMIC_DRAW) has been mapped WRITE_ONLY in SYSTEM HEAP memory (fast). kwin_scene_opengl: OpenGL 2 compositing successfully initialized kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 2 (bound to GL_ELEMENT_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20084: Texture state usage warning: The texture object (0) bound to texture image unit 0 does not have a defined base level and cannot be used for texture mapping. kwin_scene_opengl: 0x20092: Program/shader state performance warning: Vertex shader in program 1 is being recompiled based on GL state. qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1350, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1351, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1352, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1354, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1356, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1357, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1360, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1361, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1362, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1364, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1366, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1367, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1438, resource id: 85983260, major code: 3 (GetWindowAttributes), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1439, resource id: 85983260, major code: 14 (GetGeometry), minor code: 0 kwin_scene_opengl: 0x20084: Texture state usage warning: The texture object (0) bound to texture image unit 0 does not have a defined base level and cannot be used for texture mapping. qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1563, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1564, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1567, resource id: 0, major code: 14 (GetGeometry), minor code: 0 kwin_scene_opengl: 0x20084: Texture state usage warning: The texture object (0) bound to texture image unit 0 does not have a defined base level and cannot be used for texture mapping. kwin_scene_opengl: 0x20092: Program/shader state performance warning: Vertex shader in program 10 is being recompiled based on GL state. qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6045, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6050, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6051, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6052, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6108, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6109, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6113, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6114, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6115, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6136, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6137, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6142, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6143, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6146, resource id: 0, major code: 14 (GetGeometry), minor code: 0 file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/windowswitcher/WindowSwitcher.qml:44:19: QML ScrollView: Binding loop detected for property "height" file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/windowswitcher/WindowSwitcher.qml:44:19: QML ScrollView: Binding loop detected for property "height" qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 7585, resource id: 85983758, major code: 3 (GetWindowAttributes), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 7589, resource id: 85983758, major code: 3 (GetWindowAttributes), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 7590, resource id: 85983758, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 7942, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 8090, resource id: 85983766, major code: 20 (GetProperty), minor code: 0 kwin_scene_opengl: Triple buffering detection: "Available" - Mean block time: 0.770832 ms qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 61538, resource id: 0, major code: 14 (GetGeometry), minor code: 0 That was running up to the point of the crash? (In reply to David Edmundson from comment #42) > That was running up to the point of the crash? Sorry, seems like I am stupid enough. Looks like this time I caught the crash, didn't I? QT_LOGGING_RULES="kwin_scene_opengl.debug=true;libkwinglutils.debug=true" kwin_x11 --replace kwin_xkbcommon: XKB: couldn't find a Compose file for locale "en_GB.UTF-8," Module 'org.kde.kwin.decoration' does not contain a module identifier directive - it cannot be protected from external registrations. kwin_scene_opengl: Initializing OpenGL compositing OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce 940MX/PCIe/SSE2 OpenGL version string: 4.6.0 NVIDIA 430.50 OpenGL shading language version string: 4.60 NVIDIA Driver: NVIDIA Driver version: 430.50 GPU class: Unknown OpenGL version: 4.6 GLSL version: 4.60 X server version: 1.20.4 Linux kernel version: 5.2 Requires strict binding: no GLSL shaders: yes Texture NPOT support: yes Virtual Machine: no kwin_scene_opengl: 0x0: OpenGL debug output initialized kwin_scene_opengl: Initializing fences for synchronization with the X command stream kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 1 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_DYNAMIC_DRAW) will use SYSTEM HEAP memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 1 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_DYNAMIC_DRAW) has been mapped WRITE_ONLY in SYSTEM HEAP memory (fast). kwin_scene_opengl: OpenGL 2 compositing successfully initialized kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 2 (bound to GL_ELEMENT_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20084: Texture state usage warning: The texture object (0) bound to texture image unit 0 does not have a defined base level and cannot be used for texture mapping. kwin_scene_opengl: 0x20092: Program/shader state performance warning: Vertex shader in program 1 is being recompiled based on GL state. qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1350, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1351, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1352, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1354, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1356, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1357, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1360, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1361, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1362, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1364, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1366, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1367, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1438, resource id: 71303196, major code: 3 (GetWindowAttributes), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1439, resource id: 71303196, major code: 14 (GetGeometry), minor code: 0 kwin_scene_opengl: 0x20084: Texture state usage warning: The texture object (0) bound to texture image unit 0 does not have a defined base level and cannot be used for texture mapping. qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1570, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1571, resource id: 0, major code: 14 (GetGeometry), minor code: 0 qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1572, resource id: 0, major code: 14 (GetGeometry), minor code: 0 kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 1 (bound to GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB (0), GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB (1), and GL_ARRAY_BUFFER_ARB, usage hint is GL_DYNAMIC_DRAW) stored in HOST MEMORY has been updated. kwin_scene_opengl: 0x20092: Program/shader state performance warning: Fragment shader in program 16 is being recompiled based on GL state. kwin_scene_opengl: 0x20092: Program/shader state performance warning: Vertex shader in program 16 is being recompiled based on GL state. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 1 (bound to GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB (0), GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB (1), and GL_ARRAY_BUFFER_ARB, usage hint is GL_DYNAMIC_DRAW) stored in SYSTEM HEAP memory has been updated. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 1 (bound to GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB (0), GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB (1), and GL_ARRAY_BUFFER_ARB, usage hint is GL_DYNAMIC_DRAW) will use SYSTEM HEAP memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 1 (bound to GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB (0), GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB (1), and GL_ARRAY_BUFFER_ARB, usage hint is GL_DYNAMIC_DRAW) will use SYSTEM HEAP memory as the source for buffer object operations. kwin_scene_opengl: 0x20092: Program/shader state performance warning: Fragment shader in program 19 is being recompiled based on GL state. kwin_scene_opengl: 0x20092: Program/shader state performance warning: Vertex shader in program 19 is being recompiled based on GL state. kwin_scene_opengl: 0x20092: Program/shader state performance warning: Fragment shader in program 25 is being recompiled based on GL state. kwin_scene_opengl: 0x20092: Program/shader state performance warning: Vertex shader in program 25 is being recompiled based on GL state. Application::crashHandler() called with signal 11; recent crashes: 1 KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = kwin_x11 path = /usr/bin pid = 2366 KCrash: Arguments: /usr/bin/kwin_x11 --replace KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit sock_file=/run/user/1000/kdeinit5__0 kwin_xkbcommon: XKB: couldn't find a Compose file for locale "en_GB.UTF-8," Module 'org.kde.kwin.decoration' does not contain a module identifier directive - it cannot be protected from external registrations. kwin_scene_opengl: Initializing OpenGL compositing OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce 940MX/PCIe/SSE2 That's perfect, thanks. What's important above is the line we don't see in this output: qCWarning(LIBKWINGLUTILS) << "GL error: context lost"; Maybe I haven't got some debug packages? I have had libkwinglutils11-dbgsym and some more qt5 dbgsym packages, but should I have something special? (In reply to David Edmundson from comment #37) > Can someone who can reproduce this run > > > QT_LOGGING_RULES="kwin_scene_opengl.debug=true;libkwinglutils.debug=true'" > kwin_x11 --replace > > from a terminal trigger a crash and then paste the whole output here please. qt.core.logging: Ignoring malformed logging rule: 'libkwinglutils.debug=true'' Module 'org.kde.kwin.decoration' does not contain a module identifier directive - it cannot be protected from external registrations. kwin_scene_opengl: Initializing OpenGL compositing OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce MX130/PCIe/SSE2 OpenGL version string: 4.6.0 NVIDIA 430.26 OpenGL shading language version string: 4.60 NVIDIA Driver: NVIDIA Driver version: 430.26 GPU class: Unknown OpenGL version: 4.6 GLSL version: 4.60 X server version: 1.20.4 Linux kernel version: 5.0 Requires strict binding: no GLSL shaders: yes Texture NPOT support: yes Virtual Machine: no kwin_scene_opengl: 0x0: OpenGL debug output initialized kwin_scene_opengl: Initializing fences for synchronization with the X command stream kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 1 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_DYNAMIC_DRAW) will use SYSTEM HEAP memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 1 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_DYNAMIC_DRAW) has been mapped WRITE_ONLY in SYSTEM HEAP memory (fast). kwin_scene_opengl: OpenGL 2 compositing successfully initialized kf5.kcoreaddons.desktopparser: Property type "Url" is not a known QVariant type. Found while parsing property definition for "X-KWin-Video-Url" in "/usr/share/kservicetypes5/kwineffect.desktop" kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 2 (bound to GL_ELEMENT_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20084: Texture state usage warning: The texture object (0) bound to texture image unit 0 does not have a defined base level and cannot be used for texture mapping. kwin_scene_opengl: 0x20092: Program/shader state performance warning: Vertex shader in program 1 is being recompiled based on GL state. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. QXcbConnection: XCB error: 3 (BadWindow), sequence: 5797, resource id: 31457300, major code: 18 (ChangeProperty), minor code: 0 kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: Attempting to reset compositing. kwin_scene_opengl: Initializing OpenGL compositing OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce MX130/PCIe/SSE2 OpenGL version string: 4.6.0 NVIDIA 430.26 OpenGL shading language version string: 4.60 NVIDIA Driver: NVIDIA Driver version: 430.26 GPU class: Unknown OpenGL version: 4.6 GLSL version: 4.60 X server version: 1.20.4 Linux kernel version: 5.0 Requires strict binding: no GLSL shaders: yes Texture NPOT support: yes Virtual Machine: no kwin_scene_opengl: 0x0: OpenGL debug output initialized kwin_scene_opengl: Initializing fences for synchronization with the X command stream kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 1 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_DYNAMIC_DRAW) will use SYSTEM HEAP memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 1 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_DYNAMIC_DRAW) has been mapped WRITE_ONLY in SYSTEM HEAP memory (fast). kwin_scene_opengl: OpenGL 2 compositing successfully initialized kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 2 (bound to GL_ELEMENT_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. BlurConfig::instance called after the first use - ignoring kwin_scene_opengl: 0x20084: Texture state usage warning: The texture object (0) bound to texture image unit 0 does not have a defined base level and cannot be used for texture mapping. kwin_scene_opengl: 0x20092: Program/shader state performance warning: Vertex shader in program 1 is being recompiled based on GL state. CoverSwitchConfig::instance called after the first use - ignoring QXcbConnection: XCB error: 3 (BadWindow), sequence: 6880, resource id: 92274692, major code: 18 (ChangeProperty), minor code: 0 DesktopGridConfig::instance called after the first use - ignoring QXcbConnection: XCB error: 3 (BadWindow), sequence: 7098, resource id: 94371844, major code: 18 (ChangeProperty), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 7300, resource id: 96468996, major code: 18 (ChangeProperty), minor code: 0 FlipSwitchConfig::instance called after the first use - ignoring KscreenConfig::instance called after the first use - ignoring PresentWindowsConfig::instance called after the first use - ignoring SheetConfig::instance called after the first use - ignoring SlideConfig::instance called after the first use - ignoring SlidingPopupsConfig::instance called after the first use - ignoring ZoomConfig::instance called after the first use - ignoring kwin_scene_opengl: Attempting to reset compositing. QXcbConnection: XCB error: 3 (BadWindow), sequence: 8319, resource id: 31457313, major code: 18 (ChangeProperty), minor code: 0 kwin_scene_opengl: Initializing OpenGL compositing OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce MX130/PCIe/SSE2 OpenGL version string: 4.6.0 NVIDIA 430.26 OpenGL shading language version string: 4.60 NVIDIA Driver: NVIDIA Driver version: 430.26 GPU class: Unknown OpenGL version: 4.6 GLSL version: 4.60 X server version: 1.20.4 Linux kernel version: 5.0 Requires strict binding: no GLSL shaders: yes Texture NPOT support: yes Virtual Machine: no kwin_scene_opengl: 0x0: OpenGL debug output initialized kwin_scene_opengl: Initializing fences for synchronization with the X command stream kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 1 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_DYNAMIC_DRAW) will use SYSTEM HEAP memory as the source for buffer object operations. kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 1 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_DYNAMIC_DRAW) has been mapped WRITE_ONLY in SYSTEM HEAP memory (fast). kwin_scene_opengl: OpenGL 2 compositing successfully initialized kwin_scene_opengl: 0x20071: Buffer detailed info: Buffer object 2 (bound to GL_ELEMENT_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations. kwin_scene_opengl: 0x20084: Texture state usage warning: The texture object (0) bound to texture image unit 0 does not have a defined base level and cannot be used for texture mapping. kwin_scene_opengl: 0x20092: Program/shader state performance warning: Vertex shader in program 1 is being recompiled based on GL state. BlurConfig::instance called after the first use - ignoring CoverSwitchConfig::instance called after the first use - ignoring DesktopGridConfig::instance called after the first use - ignoring FlipSwitchConfig::instance called after the first use - ignoring KscreenConfig::instance called after the first use - ignoring PresentWindowsConfig::instance called after the first use - ignoring SheetConfig::instance called after the first use - ignoring SlideConfig::instance called after the first use - ignoring SlidingPopupsConfig::instance called after the first use - ignoring ZoomConfig::instance called after the first use - ignoring QXcbConnection: XCB error: 3 (BadWindow), sequence: 11511, resource id: 90178286, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 9 (BadDrawable), sequence: 11512, resource id: 90178286, major code: 14 (GetGeometry), minor code: 0 QXcbConnection: XCB error: 3 (BadWindow), sequence: 11515, resource id: 90178286, major code: 3 (GetWindowAttributes), minor code: 0 QXcbConnection: XCB error: 9 (BadDrawable), sequence: 11516, resource id: 90178286, major code: 14 (GetGeometry), minor code: 0 *** Bug 413546 has been marked as a duplicate of this bug. *** After last Update KDE Neon 5.17.2 the folders and files names on desktop now looks fine (not strange colors and pixels) the kwin keep crashing and restarting after reactive from suspend, but the names now are better. *** Bug 413997 has been marked as a duplicate of this bug. *** *** Bug 413917 has been marked as a duplicate of this bug. *** *** Bug 414480 has been marked as a duplicate of this bug. *** *** Bug 414457 has been marked as a duplicate of this bug. *** *** Bug 414434 has been marked as a duplicate of this bug. *** Alright, the streaming vertex buffer should be okay after a graphics reset since the GlxBackend destroys it, which leaves with another option - perhaps kwin attempts to render something before it has a chance to process the Scene::resetCompositing signal. I have ordered an NVIDIA video card, so hopefully I'll be able to investigate this problem more thoroughly soon. So, I've been running nvidia for quite a while and haven't managed to reproduce the crash yet. Each time a graphics reset occurs, KWin recovers from it successfully. :( I'm not sure whether I should be happy or sad about it. Git commit 212d87a32ef15b9baf6102060639c06fa580e965 by David Edmundson. Committed on 10/01/2020 at 14:24. Pushed by davidedmundson into branch 'master'. [scenes/opengl] Remove outdated hack to reset vertex buffers Summary: Scene opengl has a callback for when we have a GL error. One of the handlers for an error calls scheduleVboReInit the history shows it was a forerunner to the GLX_NV_robustness_video_memory_purge but resetting only one tiny part based on debug output. When we get here we schedule a reset of the vertex buffer, via a timer. When the timer is caled we have no idea what GL context was last current, if it's not the currect context then the main scene GLVertexBuffer will be deleted but not correctly re-initialised. We have two very common crashes with a corrupted GLVertexBuffer::streamingBuffer() which would match up perfectly. Given that we now have a proper mechanism to reset the entire scene, we don't need this timer based hack and resolve that problem. Related: bug 372305 Reviewers: #kwin Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D26556 M +0 -31 plugins/scenes/opengl/scene_opengl.cpp https://commits.kde.org/kwin/212d87a32ef15b9baf6102060639c06fa580e965 Note, I could not reproduce this crash and this fix is based on a strong theory. If we get a duplicate with Plasma 5.18beta or newer, please reopen. *** Bug 416203 has been marked as a duplicate of this bug. *** *** Bug 421666 has been marked as a duplicate of this bug. *** *** Bug 422028 has been marked as a duplicate of this bug. *** Created attachment 132020 [details]
New crash information added by DrKonqi
kwin_x11 (5.19.4) using Qt 5.14.2
- What I was doing when the application crashed:The laptop had suspended and upon relogin, the Kwin crashed, Chrome and other software had render issues too.
-- Backtrace (Reduced):
#4 0x00007f472f45244f in _mm_stream_si128(long long __vector(2)*, long long __vector(2)) (__B=..., __A=0x7f4700ac65f0) at /usr/lib/gcc/x86_64-linux-gnu/7/include/emmintrin.h:1474
#5 KWin::WindowQuadList::makeInterleavedArrays (this=this@entry=0x7f4714032760, type=type@entry=7, vertices=vertices@entry=0x7f4700ac65f0, textureMatrix=...) at ./libkwineffects/kwineffects.cpp:1158
#6 0x00007f471027b5b0 in KWin::OpenGLWindow::performPaint (this=0x5618a779cd50, mask=<optimized out>, region=..., _data=...) at ./plugins/scenes/opengl/scene_opengl.cpp:1471
#7 0x00007f471027160a in KWin::SceneOpenGL2::performPaintWindow (this=<optimized out>, w=0x5618a75f0350, mask=<optimized out>, region=..., data=...) at ./plugins/scenes/opengl/scene_opengl.cpp:1063
#8 0x00007f4732c27f21 in KWin::EffectsHandlerImpl::drawWindow (this=0x5618a75d0950, w=<optimized out>, mask=<optimized out>, region=..., data=...) at ./effects.cpp:480
*** Bug 428473 has been marked as a duplicate of this bug. *** Tons of dupes, bumping priority. *** Bug 430648 has been marked as a duplicate of this bug. *** *** Bug 436868 has been marked as a duplicate of this bug. *** *** Bug 438021 has been marked as a duplicate of this bug. *** *** Bug 429217 has been marked as a duplicate of this bug. *** *** Bug 430160 has been marked as a duplicate of this bug. *** No reports from a Plasma version newer than 5.20. I think we consider it to have been fixed in 5.21 or a newer version. |