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

Failed to load PipeWire inside Snap #275

Closed
4 tasks done
pablodz opened this issue Jun 23, 2021 · 12 comments
Closed
4 tasks done

Failed to load PipeWire inside Snap #275

pablodz opened this issue Jun 23, 2021 · 12 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@pablodz
Copy link

pablodz commented Jun 23, 2021

Describe the bug
Error Failed to load pipewire

To Reproduce
Steps to reproduce the behavior:

  1. Install on Ubuntu 21.04 / pipewire 0.3.30
  2. Open soundux
  3. Error happens

Screenshots

image

Desktop:

  • Environment: Snap latest
  • Version: 0.2.7
    Additional context
    Add any other context about the problem here.

Checklist

I confirm that...

  • I have collected all the required information and read all the comments in this document
  • I searched for an existing bug report for this issue
  • the problem does occur with the reproduction steps I provided
  • what I described is indeed a problem

Logs:*

>>> soundux
[15:47:42] [success] Config read
[15:47:42] [success] LibWnck found - Icon support is enabled
[15:47:42] [failure] Failed to create AudioBackend instance
[15:47:42] [message] Using DISPLAY :0

(soundux:31143): Gtk-WARNING **: 10:47:42.368: Theme parsing error: gtk.css:4422:33: Junk at end of value for border

(soundux:31143): Gtk-WARNING **: 10:47:42.368: Theme parsing error: gtk.css:4434:33: Junk at end of value for border

(soundux:31143): Gtk-WARNING **: 10:47:42.368: Theme parsing error: gtk.css:4446:33: Junk at end of value for border

(soundux:31143): Gtk-WARNING **: 10:47:42.368: Theme parsing error: gtk.css:4454:33: Junk at end of value for border
[15:47:42] [warning] Failed to find iconPath for tray icon

(WebKitWebProcess:31272): Gtk-WARNING **: 10:47:42.470: Theme parsing error: gtk.css:4422:33: Junk at end of value for border

(WebKitWebProcess:31272): Gtk-WARNING **: 10:47:42.470: Theme parsing error: gtk.css:4434:33: Junk at end of value for border

(WebKitWebProcess:31272): Gtk-WARNING **: 10:47:42.470: Theme parsing error: gtk.css:4446:33: Junk at end of value for border

(WebKitWebProcess:31272): Gtk-WARNING **: 10:47:42.470: Theme parsing error: gtk.css:4454:33: Junk at end of value for border

(WebKitWebProcess:31272): Gtk-WARNING **: 10:47:42.531: Theme parsing error: gtk.css:4422:33: Junk at end of value for border

(WebKitWebProcess:31272): Gtk-WARNING **: 10:47:42.531: Theme parsing error: gtk.css:4434:33: Junk at end of value for border

(WebKitWebProcess:31272): Gtk-WARNING **: 10:47:42.531: Theme parsing error: gtk.css:4446:33: Junk at end of value for border

(WebKitWebProcess:31272): Gtk-WARNING **: 10:47:42.531: Theme parsing error: gtk.css:4454:33: Junk at end of value for border

(WebKitWebProcess:31272): Atk-CRITICAL **: 10:47:42.555: atk_state_set_contains_state: assertion 'ATK_IS_STATE_SET (set)' failed

(WebKitWebProcess:31272): GLib-GObject-CRITICAL **: 10:47:42.555: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(WebKitWebProcess:31272): Atk-CRITICAL **: 10:47:42.564: atk_state_set_contains_state: assertion 'ATK_IS_STATE_SET (set)' failed

(WebKitWebProcess:31272): GLib-GObject-CRITICAL **: 10:47:42.564: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(WebKitWebProcess:31272): Atk-CRITICAL **: 10:47:42.564: atk_state_set_contains_state: assertion 'ATK_IS_STATE_SET (set)' failed

(WebKitWebProcess:31272): GLib-GObject-CRITICAL **: 10:47:42.564: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
[15:47:44] [failure] Failed to load pipewire
[15:47:44] [failure] Failed to create AudioBackend instance
[15:47:46] [message] UI exited
[15:47:46] [success] Config written

@pablodz pablodz added the bug Something isn't working label Jun 23, 2021
@Curve
Copy link
Member

Curve commented Jun 23, 2021

I think the snap is broken currently, sorry please use the flatpak

@Curve Curve changed the title error soundux with pipewire 0.3.30 Snapcraft is broken Jun 23, 2021
@pablodz
Copy link
Author

pablodz commented Jun 23, 2021

The snap is broken currently, sorry please use the flatpak

Wow, really fast response, thanks mate, I'll try again :) with flatpak

@D3SOX
Copy link
Member

D3SOX commented Jun 23, 2021

I think the Snap currently only works with PulseAudio on Ubuntu > 20.04
Did you change your audio system to PipeWire yourself? If you didn't change anything just click on PulseAudio.
Ubuntu 21.04 just pre-installs PipeWire but it's not used as the default audio server.

@pablodz
Copy link
Author

pablodz commented Jun 23, 2021

I think the Snap currently only works with PulseAudio on Ubuntu > 20.04
Did you change your audio system to PipeWire yourself? If you didn't change anything just click on PulseAudio

Yeah, I uninstalled pulseaudio from my system and installing only pipewire doing this https://github.com/pablodz/pipewire_python/blob/main/docs/INSTALL_PIPEWIRE.md

@D3SOX
Copy link
Member

D3SOX commented Jun 23, 2021

Try sudo apt install libpipewire-0.3-dev and restart Soundux. This may fix it since it's a known bug in the current release when the development headers for it are not installed.

@D3SOX D3SOX changed the title Snapcraft is broken Failed to load PipeWire inside Snap Jun 23, 2021
@D3SOX
Copy link
Member

D3SOX commented Jun 23, 2021

doing this https://github.com/pablodz/pipewire_python/blob/main/docs/INSTALL_PIPEWIRE.md

I did that in a VM and it removed the whole desktop lol

@pablodz
Copy link
Author

pablodz commented Jun 23, 2021

Try sudo apt install libpipewire-0.3-dev and restart Soundux. This may fix it since it's a known bug in the current release when the development headers for it are not installed.

Ohh, I see

doing this https://github.com/pablodz/pipewire_python/blob/main/docs/INSTALL_PIPEWIRE.md

I did that in a VM and it removed the whole desktop lol

lol xd sorry for that, I'll specify all the packages to remove manually, that script removes gnome 3?
gdm3 (if yes, just install sudo apt install gdm3). I'll take a closer look in a few hours

@D3SOX D3SOX self-assigned this Jun 23, 2021
@D3SOX D3SOX added the help wanted Extra attention is needed label Jun 23, 2021
@D3SOX
Copy link
Member

D3SOX commented Jun 23, 2021

I reinstalled the Ubuntu minimal desktop with tasksel and I can reproduce that problem. Still, I don't know how to fix this. The whole Snap architecture only causes problems for me compared to Flatpak and I don't even find something about these errors online.

@pablodz
Copy link
Author

pablodz commented Jun 24, 2021

How can I build snapcraft package of soundux?, maybe I can give a hand on that

@Curve
Copy link
Member

Curve commented May 15, 2022

We're probably going to abandon the snap package, sorry.

If anyone's experienced with snap feel free to try and package Soundux, if you do please reach out to us :)

@Curve Curve closed this as completed May 15, 2022
@pablodz
Copy link
Author

pablodz commented May 15, 2022

Ok, anyway, nice try

@D3SOX
Copy link
Member

D3SOX commented May 16, 2022

FYI see my comment in the other issue #276 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants