(qemu) ALSA lib confmisc.c:767:(parse_card) cannot find card '0' #42

Closed
opened 2025-12-28 23:22:24 +01:00 by adam · 4 comments
Owner

Originally created by @CaptainTux on GitHub (Jun 16, 2020).

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). [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...
adam closed this issue 2025-12-28 23:22:24 +01: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

@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

@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

@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 :)

@sickcodes commented on GitHub (Jun 16, 2020): Great :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#42