Hi.
I have proxmox on a Gigabyte Z87X-D3H + Core i7-4770 + 16GB ram
I'm trying to passthrough onboard audio card to an openvz container, but it doesn't work.
This motherboard has haswell microarchitecture, I don't know if this is a problem.
Proxmox detects hardware as it load modules
Steps I made:
0. googled and read every entry about "openvz sound card passthrough"
1. Created container (debian wheezy template)
2. edited container conf to add DEVNODES="snd/controlC1:rw snd/hwC1D0:rw snd/pcmC1D3p:rw snd/pcmC1D7p:rw snd/pcmC1D8p:rw snd/timer:rw"
3. installed and configured into container x11vnc, xvfb, openbox, xterm, alsa* to get a minimal desktop (accesible through vnc)
4. alsamixer doesn't recognize sound card
5. /dev/snd inside container are created but root.root ownership and 600 permissions
6. tried to disable udev inside container
7. tried pulseaudio instead alsa
8. tried udev rules to change ownership (GROUP=audio MODE=0666)
I've tried following wiki instructions about qemu+passthrough and it works, but guest performance is not good.
Still looking for making work audio inside a container...
Any thoughts?
I have proxmox on a Gigabyte Z87X-D3H + Core i7-4770 + 16GB ram
Code:
# pveversion -v
proxmox-ve-2.6.32: 3.3-138 (running kernel: 2.6.32-33-pve)
pve-manager: 3.3-2 (running version: 3.3-2/995e687e)
pve-kernel-2.6.32-33-pve: 2.6.32-138
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.7-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.10-1
pve-cluster: 3.0-15
qemu-server: 3.1-35
pve-firmware: 1.1-3
libpve-common-perl: 3.0-19
libpve-access-control: 3.0-15
libpve-storage-perl: 3.0-23
pve-libspice-server1: 0.12.4-3
vncterm: 1.1-8
vzctl: 4.0-1pve6
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 2.1-9
ksm-control-daemon: 1.1-1
glusterfs-client: 3.5.2-1
This motherboard has haswell microarchitecture, I don't know if this is a problem.
Proxmox detects hardware as it load modules
Code:
# lspci -v
[...]
00:03.0 Audio device: Intel Corporation Haswell HD Audio Controller (rev 06)
Subsystem: Intel Corporation Device 2010
Flags: bus master, fast devsel, latency 0, IRQ 35
Memory at f0434000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Kernel driver in use: snd_hda_intel
[...]
# tree /dev/snd
/dev/snd
├── by-path
│ ├── pci-0000:00:03.0 -> ../controlC1
│ └── platform-pcspkr -> ../controlC0
├── controlC0
├── controlC1
├── hwC1D0
├── pcmC0D0p
├── pcmC1D3p
├── pcmC1D7p
├── pcmC1D8p
└── timer
Steps I made:
0. googled and read every entry about "openvz sound card passthrough"
1. Created container (debian wheezy template)
2. edited container conf to add DEVNODES="snd/controlC1:rw snd/hwC1D0:rw snd/pcmC1D3p:rw snd/pcmC1D7p:rw snd/pcmC1D8p:rw snd/timer:rw"
3. installed and configured into container x11vnc, xvfb, openbox, xterm, alsa* to get a minimal desktop (accesible through vnc)
4. alsamixer doesn't recognize sound card
5. /dev/snd inside container are created but root.root ownership and 600 permissions
6. tried to disable udev inside container
7. tried pulseaudio instead alsa
8. tried udev rules to change ownership (GROUP=audio MODE=0666)
I've tried following wiki instructions about qemu+passthrough and it works, but guest performance is not good.
Still looking for making work audio inside a container...
Any thoughts?
Last edited: