Qutebrowser not launching on arm64

Bug #1963276 reported by avdzm
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qutebrowser (Debian)
Fix Released
Unknown
qutebrowser (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hello all,

I am using Ubuntu Mate ARM 64bit on a Raspberry PI400.

qutebrowser from the apt repository does not launch.

Below is the output from launching qutebroswer from the terminal.

qutebrowser
17:03:08 WARNING: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
17:03:08 WARNING: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
17:03:08 CRITICAL: Could not initialize GLX
Fatal Python error: Aborted

Current thread 0x0000ffff87ea4010 (most recent call first):
  File "/usr/lib/python3/dist-packages/qutebrowser/app.py", line 472 in __init__
  File "/usr/lib/python3/dist-packages/qutebrowser/app.py", line 92 in run
  File "/usr/lib/python3/dist-packages/qutebrowser/qutebrowser.py", line 201 in main
  File "/usr/bin/qutebrowser", line 11 in <module>
fish: “qutebrowser” terminated by signal SIGABRT (Abort)

Below is the apt policy details
apt policy qutebrowser
qutebrowser:
  Installed: 1.10.1-1
  Candidate: 1.10.1-1
  Version table:
 *** 1.10.1-1 500
        500 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 Packages
        100 /var/lib/dpkg/status

Below is the os-release
cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.4 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.4 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

I am happy to provide additional information.

Revision history for this message
avdzm (alecos85) wrote :

I have found the same bug report that was reported in debian mailing list from May 2020.
https://<email address hidden>/msg1744611.html
No solution though...

Revision history for this message
Norbert (nrbrtx) wrote :

Please run `apport-collect 1963276`

Revision history for this message
Axel Beckert (xtaran) wrote :

@alecos85: "No solution" is not true. That bug has been closed by the reporter that upgrading qutebrowser to a more recent version has solved the issue. (Although I suspect that actually an Qt upgrade in the same timeframe was the real reason for this being fixed. See upstream's comment in that bug report.)

Hint: Don't rely on external mailing list archives when reading Debian bug reports. Read the bug report in Debian's Bug Tracking System directly: https://bugs.debian.org/960384

Changed in qutebrowser (Debian):
status: Unknown → Fix Released
Revision history for this message
avdzm (alecos85) wrote :

@Norbert
I have done the apport this morning.

Revision history for this message
avdzm (alecos85) wrote :

@Axel
From the link you provided in post 3.
I saw on debian uses a newer version than what is on ubuntu mate's repo.

So I have tried downloading source code for qutebrowser
https://github.com/qutebrowser/qutebrowser/archive/refs/tags/v2.4.0.tar.gz
run "setup.py install" runs successfully, but fails to launch with the same error message.

CRITICAL: Could not initialize GLX

I have also tried using git clone to get the latest version (2.4.0 as well).
setup runs successfully, but it still fails to launch.

I have tried installing various packages that have glx in apt's repos, but no luck.
Note: I have installed falcon just to try out, it launches and renders pages fine,

I'll post a bug report on qutebrowser's page.

thank you all

Revision history for this message
avdzm (alecos85) wrote :

Hello again,

I have managed to get the git version of qutebrowser working by installing 2 other packages.
python3-pyside2.qtwebengine and python3-qtpy.

I hope someone else finds this use full.

Revision history for this message
Axel Beckert (xtaran) wrote : Re: [Bug 1963276] Re: Qutebrowser not launching on arm64

Hi,

avdzm wrote:
> I saw on debian uses a newer version than what is on ubuntu mate's repo.

Right, I noticed this, too. (Was surprised how old the version in
20.04 is. But then again there were indeed a lot of qutebrowser
releases since early 2020.)

For Debian I could have been able to help out with Backports, but for
Ubuntu someone else would need to do that (in case it would have
helped in your case, too).

> So I have tried downloading source code for qutebrowser
> https://github.com/qutebrowser/qutebrowser/archive/refs/tags/v2.4.0.tar.gz
> run "setup.py install" runs successfully, but fails to launch with the same error message.
>
> CRITICAL: Could not initialize GLX

Thanks for testing this. Indeed interesting that this still shows up
with 2.4.0. This points towards the issue being indeed in the Qt
version of Ubuntu 20.04.

Have you tried upstream's suggestion in the Debian bug report and
installed and tried another web browser with the same rendering
engine, e.g. "falkon"?

If falkon fails with the same error, the cause of the issue is not in
qutebrowser. (But it is obviously affected nevertheless.)

> I'll post a bug report on qutebrowser's page.

Could help as well although I suspect that he will ask to try out
falkon as well. But maybe he knows a workaround (in case it's indeed a
Qt issue).

  Regards, Axel
--
 ,''`. | Axel Beckert <email address hidden>, https://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
  `- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE

Revision history for this message
avdzm (alecos85) wrote :

I also have a raspberry pi4 4gb on that i use raspberry pi os,
which we all now it is based on debian bullseye.

On debian's repo, qutebrowser is on version 2.0.2 (via apt).
Qutebrowser installed fine with no issues.

Now i am curious, if I install the apt version of qutebrowser (including python3-pyside2.qtwebengine and python3-qtpy), if it will work.

now i am trying to get the webengie working. so far i have only manged with webkit.

no longer affects: ubuntu-mate
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.