Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
160 user(s) are online (7 user(s) are browsing News)

Members: 0
Guests: 160

more...

Headlines


Recent Replied Topics
Hardware News : New AHI driver for AmigaOS4
Posted by geennaam on 2021/4/1 9:40:10 (3359 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: 671
 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: 8940
 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: 671
 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: 671
 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: 311
 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: 8940
 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: 643
 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: 3014
 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
Just can't stay away
Joined: 05/01/2009
From: Czech Republic
Comments: 1598
 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: 671
 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: 671
 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: 398
 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: 5402
 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: 671
 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: 5402
 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: 671
 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: 267
 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: 671
 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: 267
 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: 8940
 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: 454
 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
General
Site sponsors
Advertise Here

Site statistics
Registered members
  1671
Logged in last:
  24 hours, 66
  7 days, 127
  30 days, 174

Top Posters
1 kas1e
kas1e 8940
2 Raziel
Raziel 5402
3 LiveForIt
LiveForIt 3771
4 samo79
samo79 3750
5 ChrisH
ChrisH 3582
6 Chris
Chris 3361
7 orgin
orgin 3266
8 328gts
328gts 3014
9 Hans
Hans 2659
10 Antique
Antique 2613

New Members
kishigo
kishigo 03/25/2024
amigait
amigait 03/21/2024
fordprefect
fordprefect 03/06/2024
brufnus
brufnus 02/21/2024
Sugo77
Sugo77 02/11/2024
tomkrk78
tomkrk78 02/01/2024
Radar103
Radar103 01/28/2024
alanb
alanb 01/21/2024
Calab
Calab 01/20/2024
nikitas
nikitas 01/15/2024


Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project