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

Sound not work ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for USB on Linux #22705

Closed
charlesneimog opened this issue May 7, 2024 · 2 comments
Assignees
Labels
playback General playback issue regression MS4 Regression on a prior release

Comments

@charlesneimog
Copy link

charlesneimog commented May 7, 2024

Issue type

General playback bug

Bug description

ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for USB
10:42:56.690 | ERROR | main_thread     | AudioModule::setupAudioDriver | audio output open failed

I am on Linux

Steps to reproduce

Just use some sound card, then unplug it.

You can restart the Linux, I always get this

ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for USB
10:42:56.690 | ERROR | main_thread     | AudioModule::setupAudioDriver | audio output open failed

Screenshots/Screen recordings

No response

MuseScore Version

4.3

Regression

Yes, this used to work in a previous version of MuseScore 4.x

Operating system

Linux

Additional context

(base) ➜  Downloads ./MuseScore-Studio-4.3.0.241231431-x86_64.AppImage
/usr/lib/libjack.so.0
/usr/lib/libnss3.so
10:42:56.412 | INFO  | main_thread     | GlobalModule::onPreInit | log path: /home/neimog/.local/share/MuseScore/MuseScore4/logs/MuseScore_240507_104256.log
10:42:56.412 | INFO  | main_thread     | GlobalModule::onPreInit | === Started MuseScore 4.3.0, build number 241231431 ===
10:42:56.423 | INFO  | main_thread     | LanguagesService::effectiveLanguageCode | System language code: "en-US"
10:42:56.438 | WARN  | main_thread     | IpcSocket::connect | failed connect to server
10:42:56.438 | WARN  | main_thread     | IpcSocket::connect | failed connect to server
10:42:56.438 | INFO  | main_thread     | IpcSocket::connect | success connected to ipc server
10:42:56.439 | INFO  | 129672146839232 | IpcServer::listen | id: "98692382a1d04622b1d4cd21bf52e3a9"
10:42:56.622 | INFO  | main_thread     | DiagnosticsModule::onInit | success start crash handler
ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for USB
10:42:56.690 | ERROR | main_thread     | AudioModule::setupAudioDriver | audio output open failed
@muse-bot muse-bot added playback General playback issue regression MS4 Regression on a prior release labels May 7, 2024
@charlesneimog
Copy link
Author

With sound card, the audio it pretty buggy.

untitled.mp4

@charlesneimog
Copy link
Author

#16667 solve my problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
playback General playback issue regression MS4 Regression on a prior release
Projects
None yet
Development

No branches or pull requests

3 participants