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

No plug named alsa #57

Open
deuteragenie opened this issue Jun 3, 2021 · 5 comments
Open

No plug named alsa #57

deuteragenie opened this issue Jun 3, 2021 · 5 comments
Assignees
Labels
enhancement snap Things relative to the snap Linux version

Comments

@deuteragenie
Copy link

deuteragenie commented Jun 3, 2021

After a fresh snap install of r21.02 on Ubuntu, the app recommends to use the alsa plug when starting the first time.

However, a "sudo snap connect ultrastar-worldparty:alsa" result in the following:

error: snap "ultrastar-worldparty"has no plug named "alsa"

What gives ?

Subsequent starts of the app use PulseAudio

EDIT1:
r21.02 v60, on Ubuntu 21.04, fresh install of the OS

EDIT2:
Looks like the alsa plug was removed recently:

953cdd5#diff-1c27324f013705cbf0c49f3d3bb103c7069ed5988889d426c10cfc25684f0a31

So I gather that:

a) The recommendation message is not in-line with the latest snap/code, and needs to be updated.
b) Defaulting to pulseaudio is incorrect, if the recommendation (see above) is to use alsa

@ultrastares ultrastares deleted a comment from deuteragenie Jun 4, 2021
@ultrastares ultrastares deleted a comment from deuteragenie Jun 4, 2021
@TeLiXj
Copy link
Contributor

TeLiXj commented Jun 4, 2021

Please, the next time that you want to write a new comment edit the first if you don't have an answer.

After a fresh snap install of r21.02 on Ubuntu, the app recommends to use the alsa plug when starting the first time.

where is that recommendation? as you said the alsa permission was removed

@TeLiXj TeLiXj added the snap Things relative to the snap Linux version label Jun 4, 2021
@deuteragenie
Copy link
Author

Thanks.

I was unable (and still am) to edit the original text with the complementary information. Maybe a browser issue.
Unfortunately, I could not capture the text recommending to use the alsa plug.
Is there a way to "reset" the config to the default to try to get that message back ?

Also, please note that the app defaults to pulseaudio, whereas that recommendation was to use alsa...

@TeLiXj
Copy link
Contributor

TeLiXj commented Jun 4, 2021

You can remove the snap with purge, I can't remember exactly but could be similar to sudo snap remove --purge ultrastar-worldparty
Alsa is used internally if needed because the permission audio-playback and audio-record can do it, but all it's without user interaction

@deuteragenie
Copy link
Author

deuteragenie commented Jun 4, 2021

Here is the message just after a fresh install:

Testing for explicit PulseAudio choice...
Testing for ALSA permissions...
UltraStar WorldParty may have better audio device support if granted
permission to access the ALSA audio system.

If you experience audio problems, you may wish to grant this access
by using the Software Centre or the Snap Store to add the 'alsa'
permission to UltraStar WorldParty. It is safe to continue without
doing so.

You can also grant this permission by running the following command
in a Terminal window:

sudo snap connect ultrastar-worldparty:alsa

If you choose to continue and later wish to change your mind, you can
remove the file
/home/usr/snap/ultrastar-worldparty/common/Always use PulseAudio.

Type [p] to re-test after granting [p]ermission,
[s] to [s]tart and not ask again,
[a] to start and [a]sk again next time, or
[c] to [c]ancel (default)

As the alsa plug has been disabled, this recommendation is ineffective.

@TeLiXj
Copy link
Contributor

TeLiXj commented Jun 4, 2021

Wow this message is new for me! IDK when was added to the snap!! Thanks for notifying us ;)
The message only appear when you use the command, not using the shortcut. If you want to execute the game using it press s and should works fine.
I'll try to remove it in the next version

@TeLiXj TeLiXj self-assigned this Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement snap Things relative to the snap Linux version
Projects
None yet
Development

No branches or pull requests

2 participants