-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
HassOS 4.17 Installed On Virtualbox Does Not Detect Soundcard #1070
Comments
Home Assistant OS seems not to have the AC97 drivers built-in. This is also a rather old audio codec. Try using Intel HD Audio, this should work. |
Thank-you.
|
Hi, I think I am at the same problem here... Installed a fresh Hassos using the QCOW2 image on a Proxmox hypervisor. I think both of the intel-hda belong to the two HDMI outputs and the AC97 will probably be a "Realtek" analog audio device on the mainboard that gives me the 3.5mm audio headphone jack. Passing the AC97 audio device to the VM does not show up in the hardware page of the supervisor. If more info is needed let me know. It would be great if the OS would be able to support the AC97 audio device! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi, |
There hasn't been any activity on this issue recently. To keep our backlog manageable we have to clean old issues, as many of them have already been resolved with the latest updates. |
@owenostrander Did you find a solution to this? Has anyone? |
For VirtualBox its crucial that you choose "Intel HD Audio" as Audio Controller. I created a PR to fix the instructions: https://github.com/home-assistant/home-assistant.io/pull/20708/files. |
Also make sure to not select the "Null Audio Driver" as Host Audio Driver. This is a dummy driver which will lead to no sound 🔇 |
So I selected Intel HD Audio as the audio, and now I get this right at the bottom of my audio logs.
|
@vandad51 works here without problems and no such errors.
Please open a new issue with all relevant information. |
👋 @owenostrander, thanks for reporting an issue! This issue is assumed to be fixed in the latest stable release. Please reopen in case you can still reproduce the issue with the latest stable release. You can find the latest stable release at https://github.com/home-assistant/operating-system/releases/latest |
Please see the attached screen capture. I am getting sound, but, something is still not configured correctly. If I need to open a new issue, could someone please let me know where to open one? Thank-you |
@owenostrander since you are the original poster of this issue we can just reopen. Can you share the latest version details? What is your Host Audio Driver? To me it seems the VirtualBox is somehow not keeping up with processing the audio samples. Is your system busy? |
I appreciate it. Host Machine: Virtual Box: HomeAssistant: I am attempting to use Mopidy, to play tts messages over my whole-home audio system. Thank-you again, and please let me know if I left anything you need out. |
Do you remember the VirtualBox Audio setting for that virtual machine? Was it something other than "Intel HD Audio"? You are using a bit outdated VirtualBox version, and there have been fixes around Audio/HDA in releases after 5.2.30 (see https://www.virtualbox.org/wiki/Changelog-5.2). I don't think I can do much from HAOS side. It VirtualBox has this Wiki page describing how to debug Audio issues with VirtualBox: https://www.virtualbox.org/wiki/AudioDebug |
There hasn't been any activity on this issue recently. To keep our backlog manageable we have to clean old issues, as many of them have already been resolved with the latest updates. |
Hardware Environment
Installed in Virtualbox, using standard vdi installation.
Virtualbox Version 5.2.30 r130521 (Qt5.6.2)
Host system: Windows 10 PRO
Intel(R) Core(TM) i7-3770 CPU @ 3.40 Ghz
12.0GB RAM
64-bit Operating System, x64-based processor
Host System Sound, video and game Controllers:
Intel(R) Display Audio
Realtek High Definition Audio
Virtualbox Audio Settings:
Host Audio Driver: Windows DirectSound
Audio Controller: ICH AC97
Extended Features: Enable Audio Output (selected)
Home Assistant OS release:
Initially installed as 4.16, then immediately upgraded to 4.17.
Error was unknown at that time
System Health
Home Assistant Core Integration
version: 0.118.5
installation_type: Home Assistant OS
dev: false
hassio: true
docker: true
virtualenv: false
python_version: 3.8.6
os_name: Linux
os_version: 5.4.77
arch: x86_64
timezone: America/Los_Angeles
Hass.io
host_os: HassOS 4.17
update_channel: stable
supervisor_version: 2020.12.6
docker_version: 19.03.12
disk_total: 38.7 GB
disk_used: 9.7 GB
healthy: true
supported: true
board: ova
supervisor_api: ok
version_api: ok
installed_addons: Samba share (9.3.0), Mosquitto broker (5.1), File editor (5.2.0), Duck DNS (1.12.4), Check Home Assistant configuration (3.6.0), ESPHome (1.15.3), Nginx Proxy Manager (0.8.2), Home Assistant Google Drive Backup (0.102.0), Grafana (5.3.6), InfluxDB (3.7.9), AirCast (2.4.1), MariaDB (2.2.1), Mopidy (0.2.7)
Lovelace
dashboards: 1
mode: storage
views: 8
resources: 12
Supervisor logs:
20-12-08 14:56:47 INFO (MainThread) [supervisor.host.info] Updating local host information
20-12-08 14:56:47 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
20-12-08 14:56:47 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
20-12-08 14:56:47 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
20-12-08 14:56:47 INFO (MainThread) [supervisor.host.services] Updating service information
20-12-08 14:56:47 INFO (MainThread) [supervisor.host.network] Updating local network information
20-12-08 14:56:48 INFO (MainThread) [supervisor.api.security] /core/info access from cebe7a76_hassio_google_drive_backup
20-12-08 14:56:48 INFO (MainThread) [supervisor.api.security] /supervisor/info access from cebe7a76_hassio_google_drive_backup
20-12-08 14:56:48 INFO (MainThread) [supervisor.api.security] /snapshots access from cebe7a76_hassio_google_drive_backup
20-12-08 14:56:48 INFO (MainThread) [supervisor.api.security] /snapshots/3021122c/info access from cebe7a76_hassio_google_drive_backup
20-12-08 14:56:48 INFO (MainThread) [supervisor.api.security] /snapshots/1a36d2ae/info access from cebe7a76_hassio_google_drive_backup
20-12-08 14:56:48 INFO (MainThread) [supervisor.api.security] /snapshots/956eb934/info access from cebe7a76_hassio_google_drive_backup
20-12-08 14:56:50 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
20-12-08 14:56:50 INFO (MainThread) [supervisor.host] Host information reload completed
20-12-08 14:56:58 INFO (MainThread) [supervisor.api.security] /addons/a0d7b954_grafana/info access from cebe7a76_hassio_google_drive_backup
20-12-08 14:56:58 INFO (MainThread) [supervisor.api.security] /addons/cebe7a76_hassio_google_drive_backup/info access from cebe7a76_hassio_google_drive_backup
20-12-08 14:56:58 INFO (MainThread) [supervisor.api.security] /addons/core_check_config/info access from cebe7a76_hassio_google_drive_backup
20-12-08 14:56:58 INFO (MainThread) [supervisor.api.security] /addons/core_check_config/start access from cebe7a76_hassio_google_drive_backup
20-12-08 14:56:59 INFO (SyncWorker_2) [supervisor.docker.interface] Cleaning addon_core_check_config application
20-12-08 14:57:06 INFO (SyncWorker_2) [supervisor.docker.addon] Starting Docker add-on homeassistant/amd64-addon-check_config with version 3.6.0
20-12-08 14:57:06 INFO (MainThread) [supervisor.api.security] /addons/core_mosquitto/info access from cebe7a76_hassio_google_drive_backup
20-12-08 14:57:06 INFO (MainThread) [supervisor.api.security] /addons/15ef4d2f_esphome/info access from cebe7a76_hassio_google_drive_backup
20-12-08 14:57:06 INFO (MainThread) [supervisor.api.security] /addons/a0d7b954_aircast/info access from cebe7a76_hassio_google_drive_backup
20-12-08 14:57:06 INFO (MainThread) [supervisor.api.security] /addons/core_duckdns/info access from cebe7a76_hassio_google_drive_backup
20-12-08 14:57:06 INFO (MainThread) [supervisor.api.security] /addons/53caca22_mopidy/info access from cebe7a76_hassio_google_drive_backup
20-12-08 14:57:06 INFO (MainThread) [supervisor.api.security] /addons/a0d7b954_influxdb/info access from cebe7a76_hassio_google_drive_backup
20-12-08 14:57:06 INFO (MainThread) [supervisor.api.security] /addons/core_samba/info access from cebe7a76_hassio_google_drive_backup
20-12-08 14:57:06 INFO (MainThread) [supervisor.api.security] /addons/a0d7b954_nginxproxymanager/info access from cebe7a76_hassio_google_drive_backup
20-12-08 14:57:06 INFO (MainThread) [supervisor.api.security] /addons/core_mariadb/info access from cebe7a76_hassio_google_drive_backup
20-12-08 14:57:06 INFO (MainThread) [supervisor.api.security] /addons/core_configurator/info access from cebe7a76_hassio_google_drive_backup
20-12-08 14:57:06 INFO (MainThread) [supervisor.api.security] /addons/core_configurator/start access from cebe7a76_hassio_google_drive_backup
20-12-08 14:57:06 WARNING (MainThread) [supervisor.addons.validate] Unknown options username
20-12-08 14:57:06 WARNING (MainThread) [supervisor.addons.validate] Unknown options password
20-12-08 14:57:06 WARNING (MainThread) [supervisor.addons.validate] Unknown options ssl
20-12-08 14:57:06 WARNING (MainThread) [supervisor.addons.validate] Unknown options certfile
20-12-08 14:57:06 WARNING (MainThread) [supervisor.addons.validate] Unknown options keyfile
20-12-08 14:57:06 WARNING (MainThread) [supervisor.addons.validate] Unknown options allowed_networks
20-12-08 14:57:06 WARNING (MainThread) [supervisor.addons.validate] Unknown options banned_ips
20-12-08 14:57:06 WARNING (MainThread) [supervisor.addons.validate] Unknown options banlimit
20-12-08 14:57:06 WARNING (MainThread) [supervisor.addons.validate] Unknown options notify_service
20-12-08 14:57:09 INFO (SyncWorker_5) [supervisor.docker.addon] Starting Docker add-on homeassistant/amd64-addon-configurator with version 5.2.0
20-12-08 14:59:18 INFO (SyncWorker_5) [supervisor.docker.interface] Restarting homeassistant/qemux86-64-homeassistant
20-12-08 14:59:26 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
20-12-08 15:00:02 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
20-12-08 15:26:02 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
20-12-08 15:55:23 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
20-12-08 15:55:23 INFO (MainThread) [supervisor.resolution.check] System checks complete
20-12-08 15:56:05 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
20-12-08 15:56:50 INFO (MainThread) [supervisor.api.security] /snapshots access from cebe7a76_hassio_google_drive_backup
20-12-08 16:26:08 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
20-12-08 16:55:23 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
20-12-08 16:55:23 INFO (MainThread) [supervisor.resolution.check] System checks complete
20-12-08 16:56:11 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
20-12-08 16:56:47 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
20-12-08 16:56:51 INFO (MainThread) [supervisor.api.security] /snapshots access from cebe7a76_hassio_google_drive_backup
20-12-08 17:03:27 INFO (MainThread) [supervisor.host.info] Updating local host information
20-12-08 17:03:27 INFO (MainThread) [supervisor.host.services] Updating service information
20-12-08 17:03:27 INFO (MainThread) [supervisor.host.network] Updating local network information
20-12-08 17:03:28 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
20-12-08 17:03:28 INFO (MainThread) [supervisor.host] Host information reload completed
20-12-08 17:26:14 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
20-12-08 17:55:23 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
20-12-08 17:55:23 INFO (MainThread) [supervisor.resolution.check] System checks complete
20-12-08 17:56:17 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
Journal logs:
Kernel logs:
Description of problem:
Home Assistant is not detecting the sound card on the host machine for output.
The text was updated successfully, but these errors were encountered: