Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
119 user(s) are online (27 user(s) are browsing News)

Members: 1
Guests: 118

eastone, more...

Support us!

Headlines


Recent Replied Topics
Hardware News : New AHI driver for AmigaOS4
Posted by geennaam on 2021/4/1 9:40:10 (3924 reads) News by the same author
Hardware News

April 1st, 2021

I am pleased to announce the immediate availability of a new AHI driver for AmigaOS4.1. This driver supports PCIe soundcards that comply with the Intel HD Audio (Azalia) specification.



Resized Image

Analog recording ( for now 16bit up to 192kHz) as well as analog playback (up to 7.1 channels and up to 32bit/384kHz) are supported. Support for digital inputs and outputs is planned for a next release.


AHI prefs offers both 16bit and 32bit HIFI modes. These modes basically determine what audio resolution goes into AHI. The output of the AHI HIFI mixing routine will always be 32bit. This driver will automatically select the best available resolution for playback.

A basic mixer tool is included to provide volume control.

Which cards do work (verified):
- Creative Labs Soundblaster Audigy FX (24bit/192kHz 5.1)
- Startech PEXSOUND7CH (24bit/192kHz 7.1) -> Available under many different brands
- Fransande 411944 (24bit/192kHz 7.1) -> Available under many different brands

Cards that should work:
- Terratec AUREON 7.1 PCIe (will arive shortly for verfication)
- Basically every combination of HDaudio controllers and HD audio multichannel codecs (eg. CA0113, CM8288, CM8888, CM9882A ALC898 etc)

Older cards that might work (no guarantees):
- Asus Xonar Phoebus solo (CM8888 in combination with high quality discrete DACs)
- Powercolor Devil HDX (CM8888 in combination with discrete DACs)

Cards that do not work (yet):
- Core3d (CA0132) based Sound Blasters (Eg Z, AE-5, AE-7, AE-9 etc). These cards have a DSP (ca0132) instead of an audio codec. Support is planned but don't hold your breath because extensive and undocumented configuration is required.

Cards that will never work:
- PCIe Asus soundcards that are on sale now. These cards are either AV100 ( rebadged CMI8788), CM8786 or C-media 6632AX (USB chip) based. Neither of these chips comply with the Intel HDaudio standard.
- Sound blaster Audigy RX and all other EMU based or X-FI based sound blasters. (do not comply with the Intel HD audio standard)Resized Image
- Non-PCIe soundcards in general like external USB cards.

See readme for more information.

The driver is called HDaudio_AHI.lha and is available for download from OS4Depot

Printer friendly page Send this story to a friend
The comments are owned by the author. We aren't responsible for their content.
Author Thread
Cap
Published: 2021/4/1 10:07  Updated: 2021/4/1 10:07
Just popping in
Joined: 12/01/2006
From: Melton Mowbray.Rural Capital of Food and Drink
Comments: 116
 Fools Day.
Good day to release software. 😁😁😁
geennaam
Published: 2021/4/1 11:26  Updated: 2021/4/1 11:27
Quite a regular
Joined: 12/06/2006
From: Beverland
Comments: 708
 Is it? :-)
The driver is still in the uploads queue of os4depot. So I couldn't provide a direct link yet. For the time being you can download it from there.
kas1e
Published: 2021/4/1 12:10  Updated: 2021/4/1 12:13
Home away from home
Joined: 09/11/2007
From: Russia
Comments: 9109
 Yeah!
Yeah, that what i call real new developer join ! Instead of crying how all bad, just asking few questions, dealing with annoying issues in process and then just give final product. Those ones who only talk and fancy dream about how all can be, need to check how real things should be done when one for real want to do something.

Will buy one of these cards for sure. Thanks !
geennaam
Published: 2021/4/1 12:32  Updated: 2021/4/1 12:38
Quite a regular
Joined: 12/06/2006
From: Beverland
Comments: 708
 Re: Yeah!
Thanks
When I bought my X5000 last december there was no driver available for any soundcard that is still on sale. That's where the idea was born to write this driver. I would recommend you to buy one of the many available cm8828+cm9882A 7.1 card with digital daughter boards. You can find a selection for example here.
DStastny
Published: 2021/4/1 15:05  Updated: 2021/4/1 15:05
Just popping in
Joined: 01/03/2017
From: Atlanta GA
Comments: 87
 How about this?
https://www.amazon.com/Creative-Blaste ... e-Headphone/dp/B00EO6X4XG Sound has been the one thing annoying me since day one of X5000. If this works I can get by tomorrow :) Nice work!
geennaam
Published: 2021/4/1 15:22  Updated: 2021/4/1 15:24
Quite a regular
Joined: 12/06/2006
From: Beverland
Comments: 708
 Re: How about this?
@ DStasny

Yes, that one works.

Discovery is currently slow (adds a couple of seconds to the startup of your machine because I have to discover a lot of nodes/widgets) and sound control a bit slugish (same reason). But that will improve when I implement a specific profile for that card.

Still I would recommend to use this card: CM8828+CM9882A

This is a better value for money. The version without digital in/out is the same price as the soundblaster FX.
DStastny
Published: 2021/4/1 15:38  Updated: 2021/4/1 15:38
Just popping in
Joined: 01/03/2017
From: Atlanta GA
Comments: 87
 Thanks!
Bought what you recommended! Really excited about this! Doug
Skateman
Published: 2021/4/1 17:16  Updated: 2021/4/1 17:16
Not too shy to talk
Joined: 10/28/2017
From: Netherlands
Comments: 324
 Great!!
Thanks for making more hardware usable to the NG Amiga`s. I know in what timeframe you developed this driver...its amazing. Keep up the good work!
kas1e
Published: 2021/4/1 18:14  Updated: 2021/4/1 18:14
Home away from home
Joined: 09/11/2007
From: Russia
Comments: 9109
 SB
@geennaam

I found this one in my local shop:

https://www.dns-shop.ru/product/bd0d11 ... creative-sb-audigy-fx-51/

Which is "Creative Labs Soundblaster Audigy FX", and cost here 45$.

And have a question in light of your latest posts : is this one have no issues with slower startup for few seconds, etc ? This one fully works as expected ?

Thanks!
ktadd
Published: 2021/4/1 18:22  Updated: 2021/4/1 18:22
Quite a regular
Joined: 12/06/2006
From: California, Unitied States
Comments: 675
 Re: New AHI driver for AmigaOS4
Will this work with the X1000?

According to Ranger it looks like the audio is on the PCI-e bus
and it identifies the sound as follows:

0x4383 Rev: 0x00 (SBx00 Azalia (Intel HDA))
328gts
Published: 2021/4/1 19:10  Updated: 2021/4/1 19:11
Home away from home
Joined: 07/07/2009
From: Man Cave, Canada
Comments: 3127
 Re: New AHI driver for AmigaOS4
@ geennaam

congrats on bringing a new AHI driver for OS4.1

..must admit I thought it was a good ol April fools prank when I first saw it though lol
trixie
Published: 2021/4/1 19:11  Updated: 2021/4/1 19:11
Amigans Defender
Joined: 05/01/2009
From: Czech Republic
Comments: 1624
 Re: Is it? :-)
@geennaam

Well done, thank you!
geennaam
Published: 2021/4/1 19:59  Updated: 2021/4/2 16:10
Quite a regular
Joined: 12/06/2006
From: Beverland
Comments: 708
 Re: SB
@kas1e,

Yes, that is the Soundblaster Audigy FX. This one is fully supported.

It is not an issue. Just the result of fully discovering the audio card at boot each time. What I will next is make a fixed configuration of several known codecs. Also the one on the Soundblaster audigy FX. Then it will fly through initialization and will also be more responsive in adjusting volume. Now, it needs to adjust about 20 different widgets for a volume step increase. While I only have to adjust 3 (in case of 5.1 audio).
geennaam
Published: 2021/4/1 20:05  Updated: 2021/4/1 20:05
Quite a regular
Joined: 12/06/2006
From: Beverland
Comments: 708
 Re: New AHI driver for AmigaOS4
@ktadd

I'm not sure, you can always try. But there is already an audio driver for the X1000 called HDaudio. Would't you want to use this one instead.?

Anyways, if you want to try then you have to add the vendor id and device id to hda.cards in envarc:.
khayoz
Published: 2021/4/1 21:25  Updated: 2021/4/1 21:25
Not too shy to talk
Joined: 01/10/2007
From: Stockholm Sweden
Comments: 411
 Re: New AHI driver for AmigaOS4
@geennaam
Thank you very much for doing this!
Raziel
Published: 2021/4/1 21:27  Updated: 2021/4/1 21:27
Home away from home
Joined: 11/26/2006
From: a dying planet
Comments: 5556
 Re: New AHI driver for AmigaOS4
@ktadd
@geenaam

Doesn't work on X1000

I get a deep freeze of the system once the first sound ought to be played (that is with only the files in place, not even used in Sound prefs yet)

I get this on serial:
Couldn't find a mix or mux
HD audio card found: Vendor = 1002, Device = 4383


If you want to support it (since it is the same chip base, i'm ready for testing)
geennaam
Published: 2021/4/1 23:20  Updated: 2021/4/1 23:51
Quite a regular
Joined: 12/06/2006
From: Beverland
Comments: 708
 Re: New AHI driver for AmigaOS4
ok. First of all, there is already an AHI driver for the X1000. Using this driver feels a bit redundant.

But let me explain those two messages.
Couldn't find a mic or mux means that the hda codec discovery routine evaluated all available widgets and none of them were identiefied as a mixer. This is a bit misleading because i do not search for muxes yet. Have to check if there is a loophole somewhere in case none is detected.

The second message means that the init routine has succesfully finished and also prints which hardware was found and initialised in the hda.cards file.

From here on we are good to go.

Are you sure that you have removed "HDaudio.audio" from devs:AHI? This driver is hardcoded for the same hardware. Also make sure that no mixer for that X1000 driver is loaded. Because both the X1000 mixer and the X1000 hdaudio.audio driver will open the same hardware and conflict with my driver.
Raziel
Published: 2021/4/2 6:56  Updated: 2021/4/2 8:34
Home away from home
Joined: 11/26/2006
From: a dying planet
Comments: 5556
 Re: New AHI driver for AmigaOS4
@geenaam

No problem, the hdaudio driver works well with the onboard sound chip, just thought you might want to extend your driver's support
Plus it's always nice to get something that might be enhanced with more stuff, like your Mixer etc.

I completely removed the hdaudio stuff from both AHI and AudioModules, but i kept the Sound settings in place (which still pointed to hdaudio), maybe that was the culprit?

I don't think i have any kind of Mixers installed.

It freezes on booting into Workbench, since i have the startup sound enabled
geennaam
Published: 2021/4/2 11:47  Updated: 2021/4/2 11:47
Quite a regular
Joined: 12/06/2006
From: Beverland
Comments: 708
 Re: New AHI driver for AmigaOS4
That is actually not a bad idea. It will help make my discovery routines more robust. I will come back to you about that.

I enabled the startup sound on my setup and experience no lockup. Sound is played as expected. I also have no mixer in wbstartup so it's not loaded yet.

I think the X1000 contains an IDT 92HD700 codec. And this codec indeed doesn't feature a mixer. Instead two multiplexers are available. But like I said above. I don't discover them yet because all audio codecs that I've encountered so far have at least one mixer.

But my driver simply skips input selection when no mixer is detected. So this issue must be somewhere else.

The internal buildup very different from what i've seen so far. So it's actually a good test case.
mufa
Published: 2021/4/2 11:51  Updated: 2021/4/2 11:51
Not too shy to talk
Joined: 11/27/2006
From: Poland
Comments: 270
 Re: Is it? :-)
Sometimes I record something through the microphone on my Amigas. On x1000 and built-in HDAUDIO chip everything works OK. Unfortunately on x5000 with CMI8738 card, everything is quietly recorded and unfortunately there is no possibility to volume up the recorded sound. For example, in Ahirecord Input Gain is inactive. That's why I thought about buying SoundBlaster Audigy FX. Question, Is on this card and on your driver I will be able to adjust the volume of the input sound?
geennaam
Published: 2021/4/2 12:04  Updated: 2021/4/2 12:04
Quite a regular
Joined: 12/06/2006
From: Beverland
Comments: 708
 Re: Is it? :-)
yes you can control the monitor volume and input gain with all tested cards. So not only The sound blaster audigy FX but also the CM8828 cards.

I used AHIrecord from os4depot to test this functionality.
mufa
Published: 2021/4/2 12:20  Updated: 2021/4/2 12:20
Not too shy to talk
Joined: 11/27/2006
From: Poland
Comments: 270
 Re: Is it? :-)
Thanks
kas1e
Published: 2021/4/2 14:42  Updated: 2021/4/2 14:42
Home away from home
Joined: 09/11/2007
From: Russia
Comments: 9109
 promote
@geennaam
Promote your driver on Facebook amigaos4 group a bit, and made a fancy video of installing/testing it with SB Audigy FX:

https://youtu.be/iGE1Hm1LF1I
SinanSam460
Published: 2021/4/13 15:54  Updated: 2021/4/13 15:54
Not too shy to talk
Joined: 07/16/2012
From: Istanbul
Comments: 461
 Confirmation
Works very well X5000/020 + Creative Soundblaster Audigy FX (Model SB1570 RevC)
DStastny
Published: 2021/4/14 0:36  Updated: 2021/4/14 0:36
Just popping in
Joined: 01/03/2017
From: Atlanta GA
Comments: 87
 Re: How about this?
Wanted to let you know installed card you linked and tested. Works great. My X5000 no longer has any PCI cards. I have one problematic fan to address and my system has been pretty much rebuilt.

Thank you for efforts on driver. If you have a donation setup I would be happy to throw a enough for a beverage or two

Regards
Doug
sailor
Published: 2024/3/31 19:53  Updated: 2024/3/31 19:53
Not too shy to talk
Joined: 04/23/2021
From: Central Bohemia, Czech Republic
Comments: 435
 Thanks!
It is good news! Thank you very much @geennaam!
General
Site sponsors
 
Contact us on discord to advertise here.

Site statistics
Registered members
  1722
Logged in last:
  24 hours, 70
  7 days, 128
  30 days, 189

Random Photo
Modified Commodore A590 External Hard Drive

New Articles List

New Members
Amigafreak02
Amigafreak02 11/15/2024
Drakken
Drakken 11/14/2024
ybbasepiw
ybbasepiw 11/11/2024
Mr_byte
Mr_byte 11/06/2024
ghettofinger
ghettofinger 10/30/2024
VaultDweller
VaultDweller 10/30/2024
Greenslade
Greenslade 10/11/2024
komyash
komyash 09/20/2024
Correine
Correine 09/16/2024
Falke_34
Falke_34 09/14/2024


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project