Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Linux/Wayland/EGL] Crash when changing game while other game is running #1992

Pixelnarium opened this issue Dec 21, 2020 · 0 comments


Copy link

My system is a i7-4750HQ 2Ghz notebook with the Iris Pro 5200 iGPU. I am running a current ArchLinux system using Sway as a Wayland compositor. I tried the mgba-qt 0.8.4 package directly from ArchLinux and also tried a master build (4ecf64a) inside flatpak ( ).

Just starting a game works. The crash appears while loading a ROM while a game is currently running. It does not happen when I close the current game via the Emulation menu before loading a new one. It does not happen using X11 or XWayland. It does not matter if a shader is in use or not.

GDB Backtrace (master build inside flatpak):

[Switching to Thread 0x7fffb52f7700 (LWP 23)]
0x00007fffd262b63d in update_buffers () from /usr/lib/x86_64-linux-gnu/GL/default/lib/
(gdb) backtrace
#0  0x00007fffd262b63d in update_buffers () at /usr/lib/x86_64-linux-gnu/GL/default/lib/
#1  0x00007fffd262ba58 in image_get_buffers () at /usr/lib/x86_64-linux-gnu/GL/default/lib/
#2  0x00007fffd196d728 in intel_update_renderbuffers () at /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/
#3  0x00007fffd196de29 in intel_prepare_render () at /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/
#4  0x00007fffd196a358 in brw_clear () at /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/
#5  0x000055555562fe5d in QGBA::PainterGL::stop() (this=0x7fffb52f8010) at src/platform/qt/DisplayGL.cpp:494
#6  0x00007ffff67bbe01 in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/
#7  0x00007ffff735d15f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/
#8  0x00007ffff678fdda in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/
#9  0x00007ffff6792811 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/
#10 0x00007ffff67e7ca3 in  () at /usr/lib/x86_64-linux-gnu/
#11 0x00007ffff51b185b in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/
#12 0x00007ffff51b1b08 in g_main_context_iterate.constprop () at /usr/lib/x86_64-linux-gnu/
#13 0x00007ffff51b1bd3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/
#14 0x00007ffff67e732f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/
#15 0x00007ffff678e79b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/
#16 0x00007ffff659f3be in QThread::exec() () at /usr/lib/x86_64-linux-gnu/
#17 0x00007ffff65a0501 in  () at /usr/lib/x86_64-linux-gnu/
#18 0x00007ffff788e4d2 in start_thread () at /usr/lib/x86_64-linux-gnu/
#19 0x00007ffff61e82a3 in clone () at /usr/lib/x86_64-linux-gnu/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

1 participant