diff --git a/gui/qt/__init__.py b/gui/qt/__init__.py
index 15b7dc672..4bfd0fe6a 100644
--- a/gui/qt/__init__.py
+++ b/gui/qt/__init__.py
@@ -92,6 +92,7 @@ class ElectrumGui:
         #network.add_jobs([DebugMem([Abstract_Wallet, SPV, Synchronizer,
         #                            ElectrumWindow], interval=5)])
         QtCore.QCoreApplication.setAttribute(QtCore.Qt.AA_X11InitThreads)
+        QtCore.QCoreApplication.setAttribute(QtCore.Qt.AA_ShareOpenGLContexts)
         self.config = config
         self.daemon = daemon
         self.plugins = plugins