#9369 closed bug (invalid)
No longer sound/music in Haiku
Reported by: | Giova84 | Owned by: | korli |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Drivers/Audio/HDA | Version: | R1/Development |
Keywords: | No longer sound/music in Haiku | Cc: | |
Blocked By: | Blocking: | ||
Platform: | x86 |
Description
That's very strange: since i have upgraded Haiku Alpha 4.1 to the most recent nightlies, i no longer hear sounds/music in Haiku. The settings in the mediaprefs are always the same, my audio card (HDA) is still recognized, i can see music level/signal in MediaPlayer, media_server and media_server_addon start properly. and i no get any kind of error. If in MediaPrefs i do "restart media services" i can hear the tipical momentary "bump" in my loudspeakers, so this means that Haiku is still able to send audio signals, but i can't no longer hear sound and music!
Attachments (1)
Change History (18)
follow-up: 2 comment:1 by , 12 years ago
follow-up: 3 comment:2 by , 12 years ago
Replying to Giova84:
A news: if i replace hmulti_audio.media_addon, mixer.media_addon, media_server and media_server_addon taken from Haiku Alpha 4.1.. The situation has returned regular.
Weird because none of these components have been affected by a single commit... Could you try to bisect to find a nightly which works for you?
follow-up: 5 comment:3 by , 12 years ago
Replying to korli:
Could you try to bisect to find a nightly which works for you?
I really don't know what happened. I have upgraded to hrev45148, and now audio output works as expected. I haven't changed anything in mediaprefs (since my settings are always kept: i just upgrade the system folder over my Haiku installation) You can close this ticket :-)
follow-up: 6 comment:5 by , 12 years ago
Replying to Giova84:
I really don't know what happened. I have upgraded to hrev45148, and now audio output works as expected. I haven't changed anything in mediaprefs (since my settings are always kept: i just upgrade the system folder over my Haiku installation)
For reference, this really isn't a safe way to upgrade. There are more places where things might change between revisions than just system, and it's entirely likely you'll have other pieces that are either missing or out-of-date if you do this, which could lead to all kinds of weird problems.
comment:6 by , 12 years ago
Replying to anevilyak:
For reference, this really isn't a safe way to upgrade. There are more places where things might change between revisions than just system, and it's entirely likely you'll have other pieces that are either missing or out-of-date if you do this, which could lead to all kinds of weird problems.
Hi,
this way of upgrading, has never caused any issue for me (and in anyway i merge the whole "common" folder, since sometimes binaries and libraries are also updated in this folder in a new Haiku release) but in anyway i have also found the described issue on a fresh install of hrev45110 and hrev45142 nightlies.
follow-up: 8 comment:7 by , 12 years ago
After a reboot, i've lost sounds again. In the syslog i can see message about mixer:
build output tree: don't use mixer KERN: hda: Failed to setup new audio function group (No such device)!
I attach the full syslog.
by , 12 years ago
comment:8 by , 12 years ago
Replying to Giova84:
build output tree: don't use mixer KERN: hda: Failed to setup new audio function group (No such device)!
This is related to the Intel HDMI digital output, no link with your analog HDA device.
comment:9 by , 12 years ago
Ok, and in fact i only use hda, not HDMI digital output. Can you see something of interesting about the absence of audio, in the syslog? I'm on a fresh install, and in Haiku Alpha 4.1 i don't have this issue.
comment:10 by , 12 years ago
If i run Haiku as live cd (latest nightlies) and i open any kind of audio/media files, i can't hear sound from loudspeakers. And again with Alpha 4.1 as live cd too, all works fine. I think this ticket should be reopened?
follow-up: 15 comment:13 by , 12 years ago
Is it possible that sometimes it works depending on how you boot into Haiku? Sometimes, for example, a warm reboot from Windows or Linux might make a difference than a boot from power off.
comment:14 by , 12 years ago
Hi umccullough,
i will consider your note. But in anyway, audio/sounds in Haiku Alpha 4.1 works ok, when i reboot and shutdown from Windows 7. In anyway i'm trying with other nightlies too (at the moment i am trying a lot of old revision to see if someone of these works for me).
follow-up: 16 comment:15 by , 12 years ago
Replying to umccullough:
Is it possible that sometimes it works depending on how you boot into Haiku? Sometimes, for example, a warm reboot from Windows or Linux might make a difference than a boot from power off.
You was right. If i reboot from Windows 7 to Haiku, audio output doesn't work If i shutdown Windows 7 and then, when i turn on my PC and i boot directly to Haiku, audio output works as expected! Why this happens?
comment:16 by , 12 years ago
Replying to Giova84:
Why this happens?
Well, I can't fully explain the details, but the basic gist of it is that rebooting without powering down is a "warm reboot", and sometimes the hardware is left in a different state by the drivers from the other operating system. If the OS drivers don't properly reset the hardware, then it may not work properly without a full shutdown/reboot cycle.
Likewise, I've seen things only work after booting into windows/linux and then rebooting into Haiku, because the hardware is left in a "working" state by the other OS drivers.
comment:17 by , 12 years ago
Thank you for the explanation, i had heard about it, before, some time ago. There isn't a way, in Haiku, to reinitialize the devices at startup? In anyway, for me, Haiku Alpha 4.1 is not affected by this issue.
A news: if i replace hmulti_audio.media_addon, mixer.media_addon, media_server and media_server_addon taken from Haiku Alpha 4.1.. The situation has returned regular.