Skip to content

Qutebrowser installed by home-manager doesn't start: could not initialize GLX #1315

@JonathanReeve

Description

@JonathanReeve

Issue description

With programs.qutebrowser.enable = true, and using home-manager on Ubuntu, qutebrowser doesn't start, complaining that it can't initialize GLX.

To be honest, I don't really want home-manager to manage my installation of Qutebrowser, which is probably better done by my system—I just want it to manage my Qutebrowser configs. It'd be great if it were possible to have one but not the other.

FWIW, I can run Qutebrowser through my host system just fine, with /usr/bin/qutebrowser. But home-manager's version doesn't work.

The full error message is:

(process:23413): Gtk-WARNING **: 22:34:37.925: Locale not supported by C library.
	Using the fallback 'C' locale.
Gtk-Message: 22:34:37.926: Failed to load module "appmenu-gtk-module"
Gtk-Message: 22:34:38.059: Failed to load module "canberra-gtk-module"
Gtk-Message: 22:34:38.060: Failed to load module "canberra-gtk-module"
22:34:38 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)
22:34:38 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)
22:34:38 CRITICAL: Could not initialize GLX
Fatal Python error: Aborted

Current thread 0x00007f591b673240 (most recent call first):
  File "/nix/store/910621igsv9ihfjw27bjw6d0clxaadra-qutebrowser-1.12.0/lib/python3.7/site-packages/qutebrowser/app.py", line 478 in __init__
  File "/nix/store/910621igsv9ihfjw27bjw6d0clxaadra-qutebrowser-1.12.0/lib/python3.7/site-packages/qutebrowser/app.py", line 92 in run
  File "/nix/store/910621igsv9ihfjw27bjw6d0clxaadra-qutebrowser-1.12.0/lib/python3.7/site-packages/qutebrowser/qutebrowser.py", line 203 in main
  File "/nix/store/910621igsv9ihfjw27bjw6d0clxaadra-qutebrowser-1.12.0/bin/.qutebrowser-wrapped", line 9 in <module>
fish: 'qutebrowser' terminated by signal SIGABRT (Abort)

Technical details

  • system: "x86_64-linux"
  • host os: Linux 5.4.0-7634-generic, Pop!_OS, 20.04 LTS
  • multi-user?: no
  • sandbox: yes
  • version: nix-env (Nix) 2.3.6
  • channels(jon): "home-manager, nixpkgs-20.09pre228453.dcb64ea42e6"
  • nixpkgs: /home/jon/.nix-defexpr/channels/nixpkgs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions