Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#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!

hrev45142 since hrev45110

Attachments (1)

syslog (127.3 KB ) - added by Giova84 11 years ago.

Download all attachments as: .zip

Change History (18)

comment:1 by Giova84, 11 years ago

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.

in reply to:  1 ; comment:2 by korli, 11 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?

in reply to:  2 ; comment:3 by Giova84, 11 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 :-)

comment:4 by korli, 11 years ago

Resolution: invalid
Status: newclosed

OK

in reply to:  3 ; comment:5 by anevilyak, 11 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.

in reply to:  5 comment:6 by Giova84, 11 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.

comment:7 by Giova84, 11 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 Giova84, 11 years ago

Attachment: syslog added

in reply to:  7 comment:8 by korli, 11 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 Giova84, 11 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 Giova84, 11 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?

comment:11 by korli, 11 years ago

Again, could you try to bisect to find a nightly which works for you?

comment:12 by Giova84, 11 years ago

Sure, i will :-) Stay tuned!

comment:13 by umccullough, 11 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 Giova84, 11 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).

in reply to:  13 ; comment:15 by Giova84, 11 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?

in reply to:  15 comment:16 by umccullough, 11 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 Giova84, 11 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.

Note: See TracTickets for help on using tickets.