I get frequent TTYs crashes when I switch TTYs.
Crash report is here -
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3135344140 (LWP 3308))]
Thread 5 (Thread 0x7f3131467700 (LWP 14527)):
#0 0x00007f313a49cba6 in ppoll () from /lib64/libc.so.6
#1 0x00007f3139001c41 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /usr/lib64/libQt5Core.so.5
#2 0x00007f31390030b9 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#3 0x00007f3138fb04fb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4 0x00007f3138dfa396 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#5 0x00007f3138dfb6e2 in ?? () from /usr/lib64/libQt5Core.so.5
#6 0x00007f31383ddfab in start_thread () from /lib64/libpthread.so.0
#7 0x00007f313a4a766f in clone () from /lib64/libc.so.6
Thread 4 (Thread 0x7f31177fe700 (LWP 3392)):
#0 0x00007f31383e3fdc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00007f31388e709a in ?? () from /usr/lib64/libQt5Script.so.5
#2 0x00007f31388e70bb in ?? () from /usr/lib64/libQt5Script.so.5
#3 0x00007f31383ddfab in start_thread () from /lib64/libpthread.so.0
#4 0x00007f313a4a766f in clone () from /lib64/libc.so.6
Thread 3 (Thread 0x7f31309c0700 (LWP 3377)):
#0 0x00007f313a49cba6 in ppoll () from /lib64/libc.so.6
#1 0x00007f3139001c41 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /usr/lib64/libQt5Core.so.5
#2 0x00007f31390030b9 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#3 0x00007f3138fb04fb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4 0x00007f3138dfa396 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#5 0x00007f3137b8cf25 in ?? () from /usr/lib64/libQt5Qml.so.5
#6 0x00007f3138dfb6e2 in ?? () from /usr/lib64/libQt5Core.so.5
#7 0x00007f31383ddfab in start_thread () from /lib64/libpthread.so.0
#8 0x00007f313a4a766f in clone () from /lib64/libc.so.6
Thread 2 (Thread 0x7f3132728700 (LWP 3348)):
#0 0x00007f313a49cba6 in ppoll () from /lib64/libc.so.6
#1 0x00007f3139001c41 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /usr/lib64/libQt5Core.so.5
#2 0x00007f31390030b9 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#3 0x00007f3138fb04fb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4 0x00007f3138dfa396 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#5 0x00007f31375ec565 in ?? () from /usr/lib64/libQt5DBus.so.5
#6 0x00007f3138dfb6e2 in ?? () from /usr/lib64/libQt5Core.so.5
#7 0x00007f31383ddfab in start_thread () from /lib64/libpthread.so.0
#8 0x00007f313a4a766f in clone () from /lib64/libc.so.6
Thread 1 (Thread 0x7f3135344140 (LWP 3308)):
[KCrash Handler]
#6 0x00007f3138af3081 in ?? () from /usr/lib64/libkwin4_effect_builtins.so.1
#7 0x00007f3138af3144 in ?? () from /usr/lib64/libkwin4_effect_builtins.so.1
#8 0x00007f3138af46b5 in ?? () from /usr/lib64/libkwin4_effect_builtins.so.1
#9 0x00007f3138af5093 in ?? () from /usr/lib64/libkwin4_effect_builtins.so.1
#10 0x00007f313a21a723 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib64/libkwin.so.5
#11 0x00007f3138a66a49 in ?? () from /usr/lib64/libkwin4_effect_builtins.so.1
#12 0x00007f313a21a723 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib64/libkwin.so.5
#13 0x00007f3138b57cbc in KWin::Effect::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib64/libkwineffects.so.12
#14 0x00007f313a21a723 in KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib64/libkwin.so.5
#15 0x00007f313a2054dc in KWin::Scene::finalPaintWindow(KWin::EffectWindowImpl*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib64/libkwin.so.5
#16 0x00007f313a21a5bb in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib64/libkwin.so.5
#17 0x00007f3138b57b4c in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib64/libkwineffects.so.12
#18 0x00007f313a21a563 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib64/libkwin.so.5
#19 0x00007f3138b57b4c in KWin::Effect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib64/libkwineffects.so.12
#20 0x00007f313a21a563 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib64/libkwin.so.5
#21 0x00007f3138b6043b in KWin::AnimationEffect::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib64/libkwineffects.so.12
#22 0x00007f313a21a563 in KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion, KWin::WindowPaintData&) () from /usr/lib64/libkwin.so.5
#23 0x00007f313a20b9b1 in KWin::Scene::paintWindow(KWin::Scene::Window*, int, QRegion, KWin::WindowQuadList) () from /usr/lib64/libkwin.so.5
#24 0x00007f313a208367 in KWin::Scene::paintSimpleScreen(int, QRegion) () from /usr/lib64/libkwin.so.5
#25 0x00007f31301a8302 in ?? () from /usr/lib64/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#26 0x00007f313a20aee0 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () from /usr/lib64/libkwin.so.5
#27 0x00007f313a21a315 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /usr/lib64/libkwin.so.5
#28 0x00007f3138b57aa1 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /usr/lib64/libkwineffects.so.12
#29 0x00007f313a21a2bd in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /usr/lib64/libkwin.so.5
#30 0x00007f3138b57aa1 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /usr/lib64/libkwineffects.so.12
#31 0x00007f313a21a2bd in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /usr/lib64/libkwin.so.5
#32 0x00007f3138b57aa1 in KWin::Effect::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /usr/lib64/libkwineffects.so.12
#33 0x00007f313a21a2bd in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /usr/lib64/libkwin.so.5
#34 0x00007f313a20ab8e in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, QMatrix4x4 const&, QRect const&) () from /usr/lib64/libkwin.so.5
#35 0x00007f31301b0579 in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () from /usr/lib64/qt5/plugins/org.kde.kwin.scenes/KWinSceneOpenGL.so
#36 0x00007f313a1fc91a in KWin::Compositor::performCompositing() () from /usr/lib64/libkwin.so.5
#37 0x00007f3138fdbcbb in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#38 0x00007f31399a5591 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#39 0x00007f31399acb30 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#40 0x00007f3138fb1829 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#41 0x00007f3139005053 in QTimerInfoList::activateTimers() () from /usr/lib64/libQt5Core.so.5
#42 0x00007f313900320c in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#43 0x00007f3133551b7e in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#44 0x00007f3138fb04fb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#45 0x00007f3138fb8652 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#46 0x00007f313a57b4ab in kdemain () from /usr/lib64/libkdeinit5_kwin_x11.so
#47 0x00007f313a3cfb7b in __libc_start_main () from /lib64/libc.so.6
#48 0x0000560a4207d08a in _start ()
[Inferior 1 (process 3308) detached]
This often disables opengl and distorts KDE.