Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mesa crash in i965 with bumblebee and libglvnd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mkplante
n00b
n00b


Joined: 20 Dec 2014
Posts: 6
Location: United States

PostPosted: Wed Aug 26, 2020 2:14 am    Post subject: mesa crash in i965 with bumblebee and libglvnd Reply with quote

I have a laptop with i965/nvidia-drivers and bumblebee/bbswitch installed, which has been working fine since 2013. I had not updated in a few months. After the recent removal of eselect-opengl, the switch to elogind, and adding libglvnd, my primary symptom is that the taskbar is missing and ksplashqml (and multiple other KDE apps) crashes when I start X. I do have a konsole that starts by default, so I've been able to do some troubleshooting. In particular, I have made a crash dump with debug symbols and it seems that the i965 part of mesa is dereferencing a null pointer. I have seen posts that point to changing the KDE theme, but systemsettings5 experiences a very similar crash. I do wonder if this bug in i965/mesa was always here but only revealed because my nvidia driver is no longer loading?

The faulting line is (with cfg=0x0) :

Code:
   return MIN2(max, cfg->n[GEN_L3P_URB] * get_l3_way_size(devinfo)) /
          get_urb_size_scale(devinfo);



Code:
Application: ksplashqml (ksplashqml), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
futex_wait_cancelable (private=0, expected=0, futex_word=0x5599094d6ff0) at ../sysdeps/nptl/futex-internal.h:183
[Current thread is 1 (Thread 0x7f2d68d2a4c0 (LWP 29538))]

Thread 9 (Thread 0x7f2d4eae4700 (LWP 29569)):
[KCrash Handler]
#4  0x00007f2d66f79912 in gen_get_l3_config_urb_size (devinfo=devinfo@entry=0x55990927ca68, cfg=0x0) at ../mesa-20.0.8/src/intel/common/gen_l3_config.c:353
#5  0x00007f2d66f79a2d in gen_get_urb_config (devinfo=0x55990927ca68, l3_cfg=<optimized out>, tess_present=tess_present@entry=false, gs_present=gs_present@entry=false, entry_size=entry_size@entry=0x7f2d4eae2820, entries=entries@entry=0x7f2d4eae2830, start=0x7f2d4eae2840, deref_block_size=0x7f2d4eae27cc) at ../mesa-20.0.8/src/intel/common/gen_urb_config.c:68
#6  0x00007f2d66cbe213 in emit_urb_config (params=0x7f2d4eae28c0, deref_block_size=0x7f2d4eae27cc, batch=0x7f2d4eae2fc0) at ../mesa-20.0.8/src/mesa/drivers/dri/i965/genX_blorp_exec.c:261
#7  blorp_emit_pipeline (params=0x7f2d4eae28c0, batch=0x7f2d4eae2fc0) at ../mesa-20.0.8/src/intel/blorp/blorp_genX_exec.h:1262
#8  blorp_exec (params=0x7f2d4eae28c0, batch=0x7f2d4eae2fc0) at ../mesa-20.0.8/src/intel/blorp/blorp_genX_exec.h:1968
#9  gen75_blorp_exec (batch=<optimized out>, params=<optimized out>) at ../mesa-20.0.8/src/mesa/drivers/dri/i965/genX_blorp_exec.c:363
#10 0x00007f2d66e3288c in blorp_hiz_op (batch=batch@entry=0x7f2d4eae2fc0, surf=surf@entry=0x7f2d4eae2fe0, level=0, start_layer=start_layer@entry=0, num_layers=num_layers@entry=1, op=op@entry=ISL_AUX_OP_FAST_CLEAR) at ../mesa-20.0.8/src/intel/blorp/blorp.c:366
#11 0x00007f2d667f8221 in intel_hiz_exec (brw=brw@entry=0x559909a67ad0, mt=mt@entry=0x7f2d3c051d30, level=<optimized out>, start_layer=0, num_layers=num_layers@entry=1, op=op@entry=ISL_AUX_OP_FAST_CLEAR) at ../mesa-20.0.8/src/mesa/drivers/dri/i965/brw_blorp.c:1654
#12 0x00007f2d667fb705 in brw_fast_clear_depth (ctx=0x559909a67ad0) at ../mesa-20.0.8/src/mesa/drivers/dri/i965/brw_clear.c:227
#13 brw_clear (ctx=0x559909a67ad0, mask=<optimized out>) at ../mesa-20.0.8/src/mesa/drivers/dri/i965/brw_clear.c:261
#14 0x00007f2d6e32ccd2 in QSGBatchRenderer::Renderer::renderBatches (this=this@entry=0x7f2d3c007660) at /usr/src/debug/dev-qt/qtdeclarative-5.14.2-r4/qtdeclarative-everywhere-src-5.14.2/include/QtQuick/5.14.2/QtQuick/private/../../../../../src/quick/scenegraph/coreapi/qsgrenderer_p.h:131
#15 0x00007f2d6e32d3ef in QSGBatchRenderer::Renderer::render (this=<optimized out>) at /usr/src/debug/dev-qt/qtdeclarative-5.14.2-r4/qtdeclarative-everywhere-src-5.14.2/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp:4320
#16 0x00007f2d6e3127c0 in QSGRenderer::renderScene (bindable=..., this=0x7f2d3c007660) at /usr/src/debug/dev-qt/qtdeclarative-5.14.2-r4/qtdeclarative-everywhere-src-5.14.2/src/quick/scenegraph/coreapi/qsgrenderer.cpp:259
#17 QSGRenderer::renderScene (this=0x7f2d3c007660, bindable=...) at /usr/src/debug/dev-qt/qtdeclarative-5.14.2-r4/qtdeclarative-everywhere-src-5.14.2/src/quick/scenegraph/coreapi/qsgrenderer.cpp:219
#18 0x00007f2d6e312c93 in QSGRenderer::renderScene (this=<optimized out>, fboId=<optimized out>) at /usr/src/debug/dev-qt/qtdeclarative-5.14.2-r4/qtdeclarative-everywhere-src-5.14.2/src/quick/scenegraph/coreapi/qsgrenderer.cpp:211
#19 0x00007f2d6e37bd53 in QSGDefaultRenderContext::renderNextFrame (this=0x559909265250, renderer=0x7f2d3c007660, fboId=<optimized out>) at /usr/src/debug/dev-qt/qtdeclarative-5.14.2-r4/qtdeclarative-everywhere-src-5.14.2/src/quick/scenegraph/qsgdefaultrendercontext.cpp:223
#20 0x00007f2d6e3e3b41 in QQuickWindowPrivate::renderSceneGraph (this=this@entry=0x559909256640, size=..., surfaceSize=...) at /usr/src/debug/dev-qt/qtdeclarative-5.14.2-r4/qtdeclarative-everywhere-src-5.14.2/src/quick/items/qquickwindow.cpp:541
#21 0x00007f2d6e38900b in QSGRenderThread::syncAndRender (this=0x55990943bbb0, grabImage=0x0) at /usr/include/qt5/QtGui/5.14.2/QtGui/private/qrhi_p.h:1230
#22 0x00007f2d6e38d3d7 in QSGRenderThread::run (this=0x55990943bbb0) at /usr/src/debug/dev-qt/qtdeclarative-5.14.2-r4/qtdeclarative-everywhere-src-5.14.2/src/quick/scenegraph/qsgthreadedrenderloop.cpp:980
#23 0x00007f2d6c7b73cb in QThreadPrivate::start (arg=0x55990943bbb0) at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/src/corelib/thread/qthread_unix.cpp:342
#24 0x00007f2d6c0a9e67 in start_thread (arg=<optimized out>) at pthread_create.c:477
#25 0x00007f2d6c26071f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f2d4ffff700 (LWP 29555)):
#0  0x00007f2d6980c9ba in g_source_unref_internal (source=<optimized out>, context=<optimized out>, have_lock=<optimized out>) at ../glib-2.62.6/glib/gmain.c:2126
#1  0x00007f2d6980df55 in g_source_iter_next (iter=iter@entry=0x7f2d4fffec40, source=source@entry=0x7f2d4fffec38) at ../glib-2.62.6/glib/gmain.c:1014
#2  0x00007f2d6980f66f in g_main_context_check (context=context@entry=0x7f2d44000c20, max_priority=2147483647, fds=fds@entry=0x7f2d44004a60, n_fds=n_fds@entry=1) at ../glib-2.62.6/glib/gmain.c:3767
#3  0x00007f2d6980fcb3 in g_main_context_iterate (context=context@entry=0x7f2d44000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.62.6/glib/gmain.c:3951
#4  0x00007f2d6980fe2f in g_main_context_iteration (context=0x7f2d44000c20, may_block=may_block@entry=1) at ../glib-2.62.6/glib/gmain.c:4015
#5  0x00007f2d6c9b52bb in QEventDispatcherGlib::processEvents (this=0x7f2d44000b60, flags=...) at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/src/corelib/kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f2d6c96009b in QEventLoop::exec (this=this@entry=0x7f2d4fffee00, flags=..., flags@entry=...) at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/include/QtCore/../../src/corelib/global/qflags.h:136
#7  0x00007f2d6c7b639e in QThread::exec (this=this@entry=0x5599093bedc0) at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/include/QtCore/../../src/corelib/global/qflags.h:118
#8  0x00007f2d6df527a5 in QQmlThreadPrivate::run (this=0x5599093bedc0) at /usr/src/debug/dev-qt/qtdeclarative-5.14.2-r4/qtdeclarative-everywhere-src-5.14.2/src/qml/qml/ftw/qqmlthread.cpp:155
#9  0x00007f2d6c7b73cb in QThreadPrivate::start (arg=0x5599093bedc0) at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/src/corelib/thread/qthread_unix.cpp:342
#10 0x00007f2d6c0a9e67 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007f2d6c26071f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f2d64cc3700 (LWP 29554)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x7f2d600056d8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f2d60005688, cond=0x7f2d600056b0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7f2d600056b0, mutex=0x7f2d60005688) at pthread_cond_wait.c:638
#3  0x00007f2d66b96c2b in cnd_wait (mtx=0x7f2d60005688, cond=0x7f2d600056b0) at ../mesa-20.0.8/include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x559909398410) at ../mesa-20.0.8/src/util/u_queue.c:275
#5  0x00007f2d66b96847 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.8/include/c11/threads_posix.h:87
#6  0x00007f2d6c0a9e67 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f2d6c26071f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f2d654c4700 (LWP 29553)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x7f2d600056d8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f2d60005688, cond=0x7f2d600056b0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7f2d600056b0, mutex=0x7f2d60005688) at pthread_cond_wait.c:638
#3  0x00007f2d66b96c2b in cnd_wait (mtx=0x7f2d60005688, cond=0x7f2d600056b0) at ../mesa-20.0.8/include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x5599093983d0) at ../mesa-20.0.8/src/util/u_queue.c:275
#5  0x00007f2d66b96847 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.8/include/c11/threads_posix.h:87
#6  0x00007f2d6c0a9e67 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f2d6c26071f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f2d65cc5700 (LWP 29552)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x7f2d600056d8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f2d60005688, cond=0x7f2d600056b0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7f2d600056b0, mutex=0x7f2d60005688) at pthread_cond_wait.c:638
#3  0x00007f2d66b96c2b in cnd_wait (mtx=0x7f2d60005688, cond=0x7f2d600056b0) at ../mesa-20.0.8/include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x559909256bd0) at ../mesa-20.0.8/src/util/u_queue.c:275
#5  0x00007f2d66b96847 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.8/include/c11/threads_posix.h:87
#6  0x00007f2d6c0a9e67 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f2d6c26071f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f2d664c6700 (LWP 29551)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x7f2d600056d8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f2d60005688, cond=0x7f2d600056b0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7f2d600056b0, mutex=0x7f2d60005688) at pthread_cond_wait.c:638
#3  0x00007f2d66b96c2b in cnd_wait (mtx=0x7f2d60005688, cond=0x7f2d600056b0) at ../mesa-20.0.8/include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x559909255680) at ../mesa-20.0.8/src/util/u_queue.c:275
#5  0x00007f2d66b96847 in impl_thrd_routine (p=<optimized out>) at ../mesa-20.0.8/include/c11/threads_posix.h:87
#6  0x00007f2d6c0a9e67 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f2d6c26071f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f2d67d4f700 (LWP 29549)):
#0  g_mutex_unlock (mutex=0x7f2d58000c20) at ../glib-2.62.6/glib/gthread-posix.c:1375
#1  0x00007f2d6980f2ab in g_main_context_prepare (context=context@entry=0x7f2d58000c20, priority=priority@entry=0x7f2d67d4ecb0) at ../glib-2.62.6/glib/gmain.c:3524
#2  0x00007f2d6980fc3b in g_main_context_iterate (context=context@entry=0x7f2d58000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.62.6/glib/gmain.c:3934
#3  0x00007f2d6980fe2f in g_main_context_iteration (context=0x7f2d58000c20, may_block=may_block@entry=1) at ../glib-2.62.6/glib/gmain.c:4015
#4  0x00007f2d6c9b52bb in QEventDispatcherGlib::processEvents (this=0x7f2d58000b60, flags=...) at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/src/corelib/kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f2d6c96009b in QEventLoop::exec (this=this@entry=0x7f2d67d4edf0, flags=..., flags@entry=...) at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/include/QtCore/../../src/corelib/global/qflags.h:136
#6  0x00007f2d6c7b639e in QThread::exec (this=<optimized out>) at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/include/QtCore/../../src/corelib/global/qflags.h:118
#7  0x00007f2d6d983507 in ?? () from /usr/lib64/libQt5DBus.so.5
#8  0x00007f2d6c7b73cb in QThreadPrivate::start (arg=0x7f2d6da05da0) at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/src/corelib/thread/qthread_unix.cpp:342
#9  0x00007f2d6c0a9e67 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f2d6c26071f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f2d68571700 (LWP 29548)):
#0  0x00007f2d6c25611f in __GI___poll (fds=fds@entry=0x7f2d68570d28, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f2d6babbd02 in poll (__timeout=-1, __nfds=1, __fds=0x7f2d68570d28) at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x55990921e2a0, cond=cond@entry=0x55990921e2e0, vector=vector@entry=0x0, count=count@entry=0x0) at /usr/src/debug/x11-libs/libxcb-1.14/libxcb-1.14/src/xcb_conn.c:480
#3  0x00007f2d6babd98a in xcb_wait_for_event (c=c@entry=0x55990921e2a0) at /usr/src/debug/x11-libs/libxcb-1.14/libxcb-1.14/src/xcb_in.c:697
#4  0x00007f2d68742120 in QXcbEventQueue::run (this=0x5599092160a0) at /usr/src/debug/dev-qt/qtgui-5.14.2/qtbase-everywhere-src-5.14.2/src/plugins/platforms/xcb/qxcbeventqueue.cpp:228
#5  0x00007f2d6c7b73cb in QThreadPrivate::start (arg=0x5599092160a0) at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/src/corelib/thread/qthread_unix.cpp:342
#6  0x00007f2d6c0a9e67 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f2d6c26071f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f2d68d2a4c0 (LWP 29538)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x5599094d6ff0) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5599094d6fa0, cond=0x5599094d6fc8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5599094d6fc8, mutex=0x5599094d6fa0) at pthread_cond_wait.c:638
#3  0x00007f2d6c7bc72b in QWaitConditionPrivate::wait (deadline=..., this=0x5599094d6fa0) at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/src/corelib/thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x55990943bc08, deadline=...) at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/src/corelib/thread/qwaitcondition_unix.cpp:225
#5  0x00007f2d6c7bc7b9 in QWaitCondition::wait (this=0x55990943bc10, mutex=0x55990943bc08, time=time@entry=18446744073709551615) at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#6  0x00007f2d6e38b638 in QSGThreadedRenderLoop::polishAndSync (this=this@entry=0x559909262420, w=w@entry=0x559909516b80, inExpose=inExpose@entry=true) at /usr/src/debug/dev-qt/qtdeclarative-5.14.2-r4/qtdeclarative-everywhere-src-5.14.2/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1544
#7  0x00007f2d6e38c4d0 in QSGThreadedRenderLoop::handleExposure (this=0x559909262420, window=<optimized out>) at /usr/src/debug/dev-qt/qtdeclarative-5.14.2-r4/qtdeclarative-everywhere-src-5.14.2/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1321
#8  0x00007f2d6e38ceab in QSGThreadedRenderLoop::exposureChanged (this=0x559909262420, window=0x7f2d580144a0) at /usr/src/debug/dev-qt/qtdeclarative-5.14.2-r4/qtdeclarative-everywhere-src-5.14.2/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1216
#9  0x00007f2d6cd5fedd in QWindow::event (this=this@entry=0x7f2d580144a0, ev=ev@entry=0x7ffd00eefad0) at /usr/src/debug/dev-qt/qtgui-5.14.2/qtbase-everywhere-src-5.14.2/src/gui/kernel/qwindow.cpp:2363
#10 0x00007f2d6e3f11c9 in QQuickWindow::event (this=0x7f2d580144a0, e=0x7ffd00eefad0) at /usr/src/debug/dev-qt/qtdeclarative-5.14.2-r4/qtdeclarative-everywhere-src-5.14.2/src/quick/items/qquickwindow.cpp:1773
#11 0x00007f2d6c961165 in doNotify (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/include/QtCore/../../src/corelib/kernel/qobject.h:153
#12 0x00007f2d6c9611ee in QCoreApplication::notifyInternal2 (receiver=0x7f2d580144a0, event=0x7ffd00eefad0) at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/src/corelib/kernel/qcoreapplication.cpp:1075
#13 0x00007f2d6cd572df in QGuiApplicationPrivate::processExposeEvent (e=0x559909232f00) at /usr/src/debug/dev-qt/qtgui-5.14.2/qtbase-everywhere-src-5.14.2/src/gui/kernel/qguiapplication.cpp:3182
#14 0x00007f2d6cd5750b in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x559909232f00) at /usr/src/debug/dev-qt/qtgui-5.14.2/qtbase-everywhere-src-5.14.2/src/gui/kernel/qguiapplication.cpp:2003
#15 0x00007f2d6cd32a5a in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at /usr/src/debug/dev-qt/qtgui-5.14.2/qtbase-everywhere-src-5.14.2/src/gui/kernel/qwindowsysteminterface.cpp:1170
#16 0x00007f2d687430da in xcbSourceDispatch (source=<optimized out>) at /usr/src/debug/dev-qt/qtgui-5.14.2/qtbase-everywhere-src-5.14.2/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105
#17 0x00007f2d6980fb1c in g_main_dispatch (context=0x7f2d60005000) at ../glib-2.62.6/glib/gmain.c:3216
#18 g_main_context_dispatch (context=context@entry=0x7f2d60005000) at ../glib-2.62.6/glib/gmain.c:3881
#19 0x00007f2d6980fd98 in g_main_context_iterate (context=context@entry=0x7f2d60005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.62.6/glib/gmain.c:3954
#20 0x00007f2d6980fe2f in g_main_context_iteration (context=0x7f2d60005000, may_block=may_block@entry=1) at ../glib-2.62.6/glib/gmain.c:4015
#21 0x00007f2d6c9b52a0 in QEventDispatcherGlib::processEvents (this=0x559909215060, flags=...) at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#22 0x00007f2d6c96009b in QEventLoop::exec (this=this@entry=0x7ffd00eefdb0, flags=..., flags@entry=...) at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/include/QtCore/../../src/corelib/global/qflags.h:136
#23 0x00007f2d6c967e42 in QCoreApplication::exec () at /usr/src/debug/dev-qt/qtcore-5.14.2/qtbase-everywhere-src-5.14.2/include/QtCore/../../src/corelib/global/qflags.h:118
#24 0x0000559908699763 in main (argc=<optimized out>, argv=0x7ffd00eeff78) at /usr/src/debug/kde-plasma/plasma-workspace-5.18.5-r1/plasma-workspace-5.18.5/ksplash/ksplashqml/main.cpp:76
[Inferior 1 (process 29538) detached]


I have seen some references to primus, but I have never used it and it is masked anyway. I am going to take a look at items in

https://bugs.gentoo.org/show_bug.cgi?id=716918
https://forums.gentoo.org/viewtopic-t-1109970.html

but if there's a problem with mesa, I think it ought to be sorted out. glxinfo shows that nvidia is not being used (which I'm pretty sure wasn't the case previously).

Code:
    GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, GLX_OML_swap_method,
    GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,
    GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,
    Vendor: Intel Open Source Technology Center (0x8086)
    Device: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2) (0x416)
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 20.0.8
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
    GL_INTEL_performance_query, GL_KHR_blend_equation_advanced,
OpenGL version string: 3.0 Mesa 20.0.8
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
    GL_INTEL_performance_query, GL_KHR_blend_equation_advanced,
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 20.0.8
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:
    GL_INTEL_performance_query, GL_KHR_blend_equation_advanced,


Use flags on relevant packages:
Code:

 * Found these USE flags for x11-misc/bumblebee-3.2.1_p20190421:
 U I
 + + bbswitch            : Add dependency on sys-power/bbswitch for PM feature
 - - video_cards_nouveau : VIDEO_CARDS setting to build reverse-engineered driver for nvidia cards
 + + video_cards_nvidia  : VIDEO_CARDS setting to build driver for nvidia video cards

 * Found these USE flags for media-libs/mesa-20.0.8:
 U I
 + + X                    : Add support for X11
 + + abi_x86_32           : 32-bit (x86) libraries
 + + classic              : Build drivers based on the classic architecture.
 - - d3d9                 : Enable Direct 3D9 API through Nine state tracker. Can be used together with patched wine.
 - - debug                : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 + + dri3                 : Enable DRI3 support.
 + + egl                  : Enable EGL support.
 + + gallium              : Build drivers based on Gallium3D, the new architecture for 3D graphics drivers.
 + + gbm                  : Enable the Graphics Buffer Manager for EGL on KMS.
 - - gles1                : Enable GLESv1 support.
 + + gles2                : Enable GLESv2 support.
 + + llvm                 : Enable LLVM backend for Gallium3D.
 - - lm-sensors           : Enable Gallium HUD lm-sensors support.
 - - opencl               : Enable the Clover Gallium OpenCL state tracker.
 - - osmesa               : Build the Mesa library for off-screen rendering.
 - - test                 : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
 - - unwind               : Add support for call stack unwinding and function name resolution
 - - vaapi                : Enable Video Acceleration API for hardware decoding
 - - valgrind             : Compile in valgrind memory hints
 - - vdpau                : Enable the VDPAU acceleration interface for the Gallium3D Video Layer.
 + + video_cards_i915     : VIDEO_CARDS setting to build driver for Intel i915 video cards
 + + video_cards_i965     : VIDEO_CARDS setting to build driver for Intel i965 video cards
 + + video_cards_intel    : VIDEO_CARDS setting to build driver for Intel video cards
 - - video_cards_iris     : VIDEO_CARDS setting to build driver for Intel video cards Gen8 / Broadwell or newer
 - - video_cards_nouveau  : VIDEO_CARDS setting to build reverse-engineered driver for nvidia cards
 - - video_cards_r100     : VIDEO_CARDS setting to build only r100 based chips code for radeon
 - - video_cards_r200     : VIDEO_CARDS setting to build only r200 based chips code for radeon
 - - video_cards_r300     : VIDEO_CARDS setting to build only r300, r400 and r500 based chips code for radeon
 - - video_cards_r600     : VIDEO_CARDS setting to build only r600, r700, Evergreen and Northern Islands based chips code for radeon
 - - video_cards_radeon   : VIDEO_CARDS setting to build driver for ATI radeon video cards
 - - video_cards_radeonsi : VIDEO_CARDS setting to build only Southern Islands based chips code for radeon
 - - video_cards_virgl    : VIDEO_CARDS setting to build driver for virgil (virtual 3D GPU)
 - - video_cards_vmware   : VIDEO_CARDS setting to build driver for vmware video cards
 - - vulkan               : Enable Vulkan drivers
 - - vulkan-overlay       : Build vulkan-overlay-layer which displays Frames Per Second and other statistics
 + + wayland              : Enable support for dev-libs/wayland
 - - xa                   : Enable the XA (X Acceleration) API for Gallium3D.
 - - xvmc                 : Enable the XvMC acceleration interface for the Gallium3D Video Layer.
 + + zstd                 : Enable support for ZSTD compression

 * Found these USE flags for x11-drivers/nvidia-drivers-450.57-r1:
 U I
 + + X           : Install the X.org driver, OpenGL libraries, XvMC libraries, and VDPAU libraries
 + + abi_x86_32  : 32-bit (x86) libraries
 - - compat      : Install non-GLVND libGL for backwards compatibility
 + + driver      : Install the kernel driver module
 + + gtk3        : Install nvidia-settings with support for GTK+ 3
 + + kms         : Enable support for kernel mode setting (KMS)
 + + multilib    : On 64bit systems, if you want to be able to compile 32bit and 64bit binaries
 - - static-libs : Build static versions of dynamic libraries as well
 + + tools       : Install additional tools such as nvidia-settings
 - - uvm         : Install the Unified Memory kernel module (nvidia-uvm) for sharing memory between CPU and GPU in CUDA programs
 - - wayland     : Enable dev-libs/wayland backend


emerge --info:
Code:

Portage 2.3.103 (python 3.6.11-final-0, default/linux/amd64/17.0, gcc-9.3.0, glibc-2.31-r6, 4.4.192-gentoo-mkp20190922 x86_64)
=================================================================
System uname: Linux-4.4.192-gentoo-mkp20190922-x86_64-Intel-R-_Core-TM-_i7-4900MQ_CPU_@_2.80GHz-with-gentoo-2.6
KiB Mem:    32822452 total,   3012968 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 21 Aug 2020 22:35:20 +0000
Head commit of repository gentoo: a94210842e8505ad3cc68007e77a514d339845d6

sh bash 5.0_p18
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r1::gentoo, 3.6.11-r2::gentoo, 3.7.8-r2::gentoo, 3.8.5::gentoo
dev-util/cmake:           3.16.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo, 9.3.0-r1::gentoo
sys-devel/gcc-config:     2.3.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo
    priority: -1000

mkp_local_overlay
    location: /etc/portage/usr-local-portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE dlj-1.1 Oracle-BCLA-JavaSE AdobeFlash-11.x"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl alsa amd64 bzip2 cli crypt cups dbus dga directfb double-precision dri dts dv dvd elogind emacs fbcon fftw fortran gdbm gif gs gtk iconv jpeg libglvnd libtirpc mp3 multilib ncurses netpbm nls nptl opencl opengl openmp pam pcre png posix qt3support readline seccomp split-usr sse sse2 ssl ssse3 tcpd threads tiff truetype unicode v4l v4l2 win32codecs wma wmf xattr xinerama xml zlib" ABI_X86="64 32" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_core authn_dbd authn_dbm authn_default authn_file authz_dbm authz_core authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so socache_shmcb slotmem_shm speling status unique_id unixd userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev libinput synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7 python3_6" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="dummy nvidia intel v4l i965 i915" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Any idea if there's a problem with mesa? I should also point out this is after doing an emerge -e system ; emerge -e world (as a very last check because gcc went from 9.2.0 to 9.3.0, just to remove all doubt).


Aside: I am encountering different problems (the taskbar is missing many icons such as the launcher, even though the kde launcher "works", clicking in the blank space) with another nvidia laptop (no intel graphics) after the same update, but not resulting in a crash, so I have some more digging to do. The /etc is pretty well synced between both with etckeeper, so it should be a good check. This one has also undergone an emerge -e system, world. Something is really hosed up after this update.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum