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

qutebrowser - Failed to load module "canberra-gtk-module" #308290

Closed
iskyd opened this issue May 1, 2024 · 6 comments
Closed

qutebrowser - Failed to load module "canberra-gtk-module" #308290

iskyd opened this issue May 1, 2024 · 6 comments
Labels
0.kind: bug Something is broken

Comments

@iskyd
Copy link

iskyd commented May 1, 2024

Describe the bug

Can't run qutebrowser on Ubuntu 22.04 using Wayland

Steps To Reproduce

Steps to reproduce the behavior:

nix-shell qutebrowser
qutebrowser

Expected behavior

Expect quterbwoser to run correctly

Notify maintainers

@dotlambda
@rnhmjoj
@timd

Metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 6.5.0-28-generic, Ubuntu, 22.04.4 LTS (Jammy Jellyfish), nobuild`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.20.4`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

Add a 👍 reaction to issues you find important.

@iskyd iskyd added the 0.kind: bug Something is broken label May 1, 2024
@rnhmjoj
Copy link
Contributor

rnhmjoj commented May 1, 2024

Does it start with nix-shell --pure -p qutebrowser --run qutebrowser?

@iskyd
Copy link
Author

iskyd commented May 1, 2024

@rnhmjoj it doens't give any errors but I got no GUI running.

@iskyd
Copy link
Author

iskyd commented May 1, 2024

Tried with nixGL and it works fine.

@rnhmjoj
Copy link
Contributor

rnhmjoj commented May 1, 2024

Tried with nixGL and it works fine.

With or without nix-shell --pure?

On a non-NixOS system I'm afraid you need to use nixGL, unless you disable hardware acceleration entirely.
The canberrak-gtk-module error, though, is probably due to an impurity in your environment, given it disappears when running in nix-shell --pure.

@iskyd
Copy link
Author

iskyd commented May 1, 2024

I'm running it without using
nix --extra-experimental-features "nix-command flakes" run --impure github:nix-community/nixGL -- qutebrowser

Indeed I'm still getting
Gtk-Message: 20:16:54.042: Failed to load module "canberra-gtk-module"
but everything seems to work fine.

I don't know how to run the same thing using --pure

@rnhmjoj
Copy link
Contributor

rnhmjoj commented May 1, 2024

Gtk-Message: 20:16:54.042: Failed to load module "canberra-gtk-module"

Ok, it's not a fatal error, then.

Since the problem is openGL, I'm closing as duplicate of #9415.

@rnhmjoj rnhmjoj closed this as completed May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

No branches or pull requests

2 participants