[qutebrowser] xvfb/opengl error running tests

Florian Bruhin me at the-compiler.org
Mon Sep 26 08:08:15 CEST 2016


Hey Ryan,

* Ryan Roden-Corrent <ryan at rcorre.net> [2016-09-25 19:26:30 -0400]:
> Tests are failing on my machine due to the following warning:
> 
>     QtWarningMsg: QXcbIntegration: Cannot create platform OpenGL context,
>     neither GLX nor EGL are enabled
> 
> This only happens on my desktop with an Nvidia card, my laptop with integrated
> graphics is fine. Has anyone else seen this? Is there a way to make the tests
> ignore a particular warning?
> 
> It works fine if I don't use xvfb, but that gets kind of annoying.

Yeah, someone else reported the same as well:
https://github.com/The-Compiler/qutebrowser/issues/1819

You can probably make it work by installing mesa-libgl but that'll
conflict with nvidia-libgl :-/

This change in Qt *might* help:
https://codereview.qt-project.org/#/c/167643/
...but for some reason it's been abandoned.

* Ryan Roden-Corrent <ryan at rcorre.net> [2016-09-25 20:30:54 -0400]:
> Related question: how can I pass CLI args to the test process?

You currently can't. I opened
https://github.com/The-Compiler/qutebrowser/issues/1976 for it, as it
sounds useful indeed.

Florian

-- 
http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://listi.jpberlin.de/pipermail/qutebrowser/attachments/20160926/90993740/attachment.asc>


More information about the qutebrowser mailing list