[GH-ISSUE #46] (qemu) ALSA lib confmisc.c:767:(parse_card) cannot find card '0' #42

Closed
opened 2026-02-27 22:07:36 +03:00 by kerem · 4 comments
Owner

Originally created by @CaptainTux on GitHub (Jun 16, 2020).
Original GitHub issue: https://github.com/sickcodes/Docker-OSX/issues/46

log.txt
So I am having an issue with ALSA, see the log attached.
I did everything in the README and tried running docker with

$ docker run --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx

I tried to find a solution online, I suppose it is not exactly an issue with the docker image, but I couldn't find anything that works.

I am running Manjaro with XMonad, I have all the alsa libs and drivers installed, not sure what else I can do...

Originally created by @CaptainTux on GitHub (Jun 16, 2020). Original GitHub issue: https://github.com/sickcodes/Docker-OSX/issues/46 [log.txt](https://github.com/sickcodes/Docker-OSX/files/4785702/log.txt) So I am having an issue with ALSA, see the log attached. I did everything in the README and tried running docker with ```shell $ docker run --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx ``` I tried to find a solution online, I suppose it is not exactly an issue with the docker image, but I couldn't find anything that works. I am running Manjaro with XMonad, I have all the alsa libs and drivers installed, not sure what else I can do...
kerem closed this issue 2026-02-27 22:07:36 +03:00
Author
Owner

@sickcodes commented on GitHub (Jun 16, 2020):

The problem is the display. Alsa errors show up for everyone.

Have you tried all the troubleshooting docs in the readme?

echo $DISPLAY


ls -lha /dev/kvm

<!-- gh-comment-id:644698490 --> @sickcodes commented on GitHub (Jun 16, 2020): The problem is the display. Alsa errors show up for everyone. Have you tried all the troubleshooting docs in the readme? ``` echo $DISPLAY ls -lha /dev/kvm ```
Author
Owner

@CaptainTux commented on GitHub (Jun 16, 2020):

image
yes I looked at the trouble shooting docs, didn't help
I tried docker run --privileged -e "DISPLAY=${DISPLAY:-:0}" -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx, but gtk initialization always fails

EDIT: after running xhost +, I'm getting image

<!-- gh-comment-id:644699907 --> @CaptainTux commented on GitHub (Jun 16, 2020): ![image](https://user-images.githubusercontent.com/34196765/84767911-8c98b600-afd3-11ea-8650-47a7073949bd.png) yes I looked at the trouble shooting docs, didn't help I tried `docker run --privileged -e "DISPLAY=${DISPLAY:-:0}" -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx`, but gtk initialization always fails EDIT: after running `xhost +`, I'm getting ![image](https://user-images.githubusercontent.com/34196765/84768520-a4bd0500-afd4-11ea-8cb7-8f57f0d49b60.png)
Author
Owner

@CaptainTux commented on GitHub (Jun 16, 2020):

Never mind, somehow it works now with the original command
docker run --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx
the problem seems to have been that I was unable to connect to the X-server and gtk failed

<!-- gh-comment-id:644709012 --> @CaptainTux commented on GitHub (Jun 16, 2020): Never mind, somehow it works now with the original command `docker run --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx` the problem seems to have been that I was unable to connect to the X-server and gtk failed
Author
Owner

@sickcodes commented on GitHub (Jun 16, 2020):

Great :)

<!-- gh-comment-id:644710394 --> @sickcodes commented on GitHub (Jun 16, 2020): Great :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Docker-OSX#42
No description provided.