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

Doesn't start with QT 6.7 next to update - ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf #8188

Open
T0MuX opened this issue May 5, 2024 · 3 comments
Labels
status: can't reproduce Issues which can't be reproduced. status: needs triage Issues/PRs which need some deeper investigation.

Comments

@T0MuX
Copy link

T0MuX commented May 5, 2024

Version info:

qutebrowser v3.1.0
Git commit: 
Backend: QtWebEngine 5.15.16, based on Chromium 87.0.4280.144
Qt: 5.15.13

CPython: 3.12.3
PyQt: 5.15.10

Qt wrapper: PyQt5 (via --qt-wrapper)

!!! It doesn't start anymore with PyQt6, but with PyQt5. However PyQt 6.7.0-2 is installed.

Does the bug happen if you start with --temp-basedir?:
Yes (only with Qt6)

Description
I just updated my entire system, rebooted, and since this.
When I start QB, a Window appears but with nothing in it (just the previous background, frozen). In the same time, I see the following in console. I start it twice : one with pyqt5 qt wrapper + temp-basedir, and one just with temp-basedir (on default pyqt6).

[t0mux@atelier-pc ~]$ qutebrowser --qt-wrapper PyQt5 --temp-basedir
/home/t0mux/.gtkrc-2.0:9: error: unexpected identifier 'Hourglass', expected character '='
22:52:57 WARNING: libpng warning: iCCP: profile 'icc': 0h: PCS illuminant is not D50
^C22:59:35 INFO: SIGINT/SIGTERM received, shutting down!
22:59:35 INFO: Do the same again to forcefully quit.
[t0mux@atelier-pc ~]$ qutebrowser --temp-basedir
/home/t0mux/.gtkrc-2.0:9: error: unexpected identifier 'Hourglass', expected character '='
22:59:44 WARNING: Path override failed for key base::DIR_APP_DICTIONARIES and path '/usr/bin/qtwebengine_dictionaries'
Path override failed for key base::DIR_APP_DICTIONARIES and path '/usr/lib/qt6/qtwebengine_dictionaries'
Path override failed for key base::DIR_APP_DICTIONARIES and path '/usr/lib/qt6/qtwebengine_dictionaries'
22:59:44 INFO: libpng warning: iCCP: profile 'icc': 0h: PCS illuminant is not D50
22:59:45 WARNING: QOpenGLContext::makeCurrent() called with non-opengl surface 0x5fc762297640
22:59:45 WARNING: QRhiGles2: Failed to make context current. Expect bad things to happen.
22:59:45 WARNING: Failed to create QRhi for QBackingStoreRhiSupport
[3713:3744:0505/225945.133657:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.133791:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.133889:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.133990:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.134088:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.134181:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.134270:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.134365:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.134461:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.134550:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.134648:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.134747:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.134851:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.134994:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.135101:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.135199:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.135301:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.135437:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.135545:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.135650:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.135742:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.135832:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.135921:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.136035:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.136172:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.136284:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.136377:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.136475:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.136574:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.136663:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.136748:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.136836:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.136925:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.137015:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.137110:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.137243:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.137337:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.137424:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.137519:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)
[3713:3744:0505/225945.137610:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: Aucun fichier ou dossier de ce nom (2)

My OS is Artix Linux with Runit. Fully updated at this time.
I also tried to set another theme in qt6ct (I actually use qt6gtk2), but I have exactly the same issue with all others themes.

How to reproduce
Honestly I don't know if this is easily reproducible :( maybe with someone else using theme same distribution ?

@toofar
Copy link
Member

toofar commented May 6, 2024

Is this with wayland or X11?
Do you have QSG_RHI_BACKEND set to anything in your environment?
Can you try with qutebrowser --temp-basedir -s qt.force_software_rendering software-opengl?

Not sure what's going on here. This message seems quite confused:

QOpenGLContext::makeCurrent() called with non-opengl surface 0x5fc762297640

but I'm not seeing anything recent show on for that error on a web search.

@The-Compiler
Copy link
Member

@T0MuX any update? FWIW this doesn't seem like anything qutebrowser could fix.

@The-Compiler The-Compiler added status: can't reproduce Issues which can't be reproduced. status: needs triage Issues/PRs which need some deeper investigation. labels May 10, 2024
@T0MuX
Copy link
Author

T0MuX commented May 12, 2024

Hi guys, sorry for the little delay. I have no QSG_RHI_BACKEND set.
I tried with qutebrowser --temp-basedir -s qt.force_software_rendering software-opengl, the only difference is I don't see anymore the 3 WARNING and the exporting buffer loop. Now it's :

[t0mux@atelier-pc ~]$ qutebrowser --temp-basedir -s qt.force_software_rendering software-opengl
/home/t0mux/.gtkrc-2.0:9: error: unexpected identifier 'Hourglass', expected character '='
07:24:20 WARNING: Path override failed for key base::DIR_APP_DICTIONARIES and path '/usr/bin/qtwebengine_dictionaries'
Path override failed for key base::DIR_APP_DICTIONARIES and path '/usr/lib/qt6/qtwebengine_dictionaries'
Path override failed for key base::DIR_APP_DICTIONARIES and path '/usr/lib/qt6/qtwebengine_dictionaries'
07:24:21 INFO: libpng warning: iCCP: profile 'icc': 0h: PCS illuminant is not D50
07:24:21 WARNING: QOpenGLContext::makeCurrent() called with non-opengl surface 0x62394b14bee0
07:24:21 WARNING: QRhiGles2: Failed to make context current. Expect bad things to happen.
07:24:21 WARNING: Failed to create QRhi for QBackingStoreRhiSupport
[3483:8:0512/072421.802824:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.

But same result in Xorg :
image

EDIT : just to remind, it's OK with PyQT5 wrapper :

qutebrowser --qt-wrapper PyQt5 --temp-basedir
/home/t0mux/.gtkrc-2.0:9: error: unexpected identifier 'Hourglass', expected character '='
07:28:33 WARNING: libpng warning: iCCP: profile 'icc': 0h: PCS illuminant is not D50

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: can't reproduce Issues which can't be reproduced. status: needs triage Issues/PRs which need some deeper investigation.
Projects
None yet
Development

No branches or pull requests

3 participants