Opened 5 years ago

Last modified 2 weeks ago

#11059 new bug

No sound on Haiku

Reported by: begasus Owned by: korli
Priority: normal Milestone: Unscheduled
Component: Drivers/Audio/HDA Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

Even though the Media Prefs gives me HD Audio I can't play or here any sound ...

Attachments (1)

syslog (173.4 KB ) - added by begasus 5 years ago.

Download all attachments as: .zip

Change History (20)

by begasus, 5 years ago

Attachment: syslog added

comment:1 by begasus, 5 years ago

In the process of this ticket I could mention that also the radeon driver isn't working (blacklisted here) and wifi doesn't show up also in Network Preferences

comment:2 by anevilyak, 5 years ago

Component: Audio & VideoDrivers/Audio/HDA
Owner: changed from nobody to korli

comment:3 by codewrangler, 5 years ago

You may want to try the OpenSound driver. Especially if you're running Haiku in VMWare.

http://haikuware.com/directory/view-details/drivers/audio/opensound-hpkg

in reply to:  3 ; comment:4 by luroh, 5 years ago

Replying to codewrangler:

http://haikuware.com/directory/view-details/drivers/audio/opensound-hpkg

There's something wonky about that package, causing problems with libogg. Have a look at its .PackageInfo file, it doesn't make any sense at all.

in reply to:  4 comment:5 by codewrangler, 5 years ago

Replying to luroh:

Replying to codewrangler:

http://haikuware.com/directory/view-details/drivers/audio/opensound-hpkg

There's something wonky about that package, causing problems with libogg. Have a look at its .PackageInfo file, it doesn't make any sense at all.

The .PackageInfo file just tells the package system where to put stuff. As for compatibility with specific codecs, you're kind of on your own. I didn't write OpenSound, I just put it in an HPKG file. Good luck :-)

comment:6 by luroh, 5 years ago

I don't think we're on the same page, did you look at the .PackageInfo file? The package claims to be libogg, packaged by Ingo, providing libogg 1.3.0, etc. The .PackageInfo file doesn't seem to have anything to do with opensound at all.

Last edited 5 years ago by luroh (previous) (diff)

in reply to:  6 ; comment:7 by codewrangler, 5 years ago

Replying to luroh:

I don't think we're on the same page, did you look at the .PackageInfo file? The package claims to be libogg, packaged by Ingo, providing libogg 1.3.0, etc. The .PackageInfo file doesn't seem to have anything to do with opensound at all.

Ok...now I see what you're saying. I'm not sure what that's about. I don't remember creating that file. However, I have an HPKG of OpenSound on my system and when expanded, it has than same .PackageInfo file and I have sound working on my system. If I get time, I will try to investigate it further.

in reply to:  7 ; comment:8 by luroh, 5 years ago

Replying to codewrangler:

If I get time, I will try to investigate it further.

Not sure if Haikuware lets you remove uploaded files, but if not, since this package actually caused the real libogg to be uninstalled from my system, perhaps you can replace the current Haikuware hpkg with a zero-byte sized file meanwhile.

in reply to:  8 ; comment:9 by codewrangler, 5 years ago

Replying to luroh:

Replying to codewrangler:

If I get time, I will try to investigate it further.

Not sure if Haikuware lets you remove uploaded files, but if not, since this package actually caused the real libogg to be uninstalled from my system, perhaps you can replace the current Haikuware hpkg with a zero-byte sized file meanwhile.

Ok...I fixed the .PackageInfo file and rebuilt the HPKG. It should work now without uninstalling ogg. You can get it on HaikuWare.com or from my site:

http://www.codewrangler.com/haikuos/

in reply to:  9 comment:10 by luroh, 5 years ago

Replying to codewrangler:

Ok...I fixed the .PackageInfo file and rebuilt the HPKG. It should work now without uninstalling ogg. You can get it on HaikuWare.com or from my site:

http://www.codewrangler.com/haikuos/

Looks good and works fine here, thanks a lot!

comment:11 by RJ_Master, 5 years ago

So, is there straight way to fix this, but not through workaround with OSS?

Spectrum bars are just fine showing that music or sound is playing but from speakers there no sound.

Tested on HP Probook 6460b and HP 615 notebooks

comment:12 by X512, 5 years ago

It seems that many users have problems with HDA sound on Haiku. So I think that that fixing HDA driver should be on higher priority. Personally I don't know HDA architecture and don't know how to fix this problem, but ic can be easy for developers who are familiar with HDA audio.

Also I tested small OS written in assembly "Kolibri OS" and it have working sound there Haiku don't. Kolibri OS HDA driver don't seems very complex.

comment:13 by X512, 5 years ago

Also it will be good to collect all HDA audio related bugs in one master ticket, for example this ticket.

comment:14 by RJ_Master, 5 years ago

Sorry, if I doing something wrong, but I just trying to help investigating bugs.

HDA *works* just fine on ASUS A8N5X R1.00 motherboard hrev47754 $lspci -nn 00:04.0 Unclassified device [00a2]: NVIDIA Corporation CK804 AC'97 Audio Controller [10de:0059] (rev 04)

comment:15 by pulkomandy, 5 years ago

X512: the HDA driver works on some, but not all machines. This is because HDA is only a part of the audio system, and you also need DMA, an audio codec (there are several different ones), and pin routing to the right audio output. On some machines the pin routing is nonstandard and you do get audio, but not on any easily reachable connector, or on the wrong one.

There is an HDA component on Trac to easily see what the open bugs are. This works better than putting everything in a single ticket, because each report must be handled separately and it would be difficult to know what's solved and what isn't, if everything was in a single ticket. Use this list: https://dev.haiku-os.org/query?status=!closed&component=Drivers%2FAudio%2FHDA

comment:16 by pulkomandy, 5 years ago

Milestone: R1/alpha5R1/beta1

comment:17 by pulkomandy, 5 years ago

Milestone: R1/beta1R1

comment:18 by pulkomandy, 14 months ago

Milestone: R1R1/beta2

comment:19 by pulkomandy, 2 weeks ago

Milestone: R1/beta2Unscheduled

Removing HDA audio tickets from Beta2 milestone, no one has worked on it and opensound is available at least as a stopgap.

Note: See TracTickets for help on using tickets.