Skip to content

Commit ba219f4

Browse files
committed
back to use QT_XCB_GL_INTEGRATION for solve problem with Xwayland and nvidia driver
1 parent 8f9c47e commit ba219f4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

bigbashview/usr/lib/bbv/main.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,14 +270,15 @@ def formatter(prog):
270270
print('Please install PySide6')
271271
sys.exit(1)
272272

273-
flags = ('--disable-logging --no-sandbox --single-process --disable-gpu-sandbox --in-process-gpu '
273+
flags = ('--disable-logging --no-sandbox --single-process --disable-gpu-sandbox --in-process-gpu --dawn-vulkan '
274274
'--autoplay-policy=no-user-gesture-required --disable-back-forward-cache --disable-breakpad '
275275
'--aggressive-cache-discard --disable-features=BackForwardCache,CacheCodeOnIdle,ConsumeCodeCacheOffThread,WebRtcAllowInputVolumeAdjustment')
276276
if args.gpu:
277277
flags += (' --enable-gpu-rasterization')
278278
else:
279+
os.environ['QT_QUICK_BACKEND'] = 'software'
280+
os.environ['QT_XCB_GL_INTEGRATION'] = 'none'
279281
if os.environ.get('QSG_RENDER_LOOP') == 'basic':
280-
os.environ['QT_QUICK_BACKEND'] = 'software'
281282
flags += (' --disable-gpu --disable-webgl --disable-accelerated-video-decode --disable-accelerated-video-encode --num-raster-threads=0')
282283
else:
283284
flags += (' --disable-webgl --disable-accelerated-video-decode --disable-accelerated-video-encode --num-raster-threads=0')

0 commit comments

Comments
 (0)