OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Multimedia => Topic started by: Martin Iturbide on September 19, 2022, 08:04:14 pm

Title: [SOLVED] OS/2 Warp 4.52 VM, changing audio to Uniaud
Post by: Martin Iturbide on September 19, 2022, 08:04:14 pm
Hi

I'm playing with some Warp 4.52 VM. It had the SoundBlaster working with, but I want to test to change it to Uniaud with Intel HD (on VirtualBox).

Problem: I installed the UniAud drivers (Uniaud-20220807-beta.exe), added them on the config.sys, changed the VM to use Intel HD as audio, but I get no sound.

I remember that someone once post a trick that you have to update also some INIs to make that kind of change.  Am I remember correctly? What was the trick?

Regards
Title: Re: OS/2 Warp 4.52 VM, changing audio to Uniaud
Post by: David McKenna on September 19, 2022, 08:59:11 pm
 Hi Martin,

 You need to edit your MMPM2.INI file to use the new driver. Minstall is what normally does that. First you have to remove the Soundblaster driver using Minstall (tell it 0 cards to remove), then install UniAud using Minstall. Or do it by hand, but it is very tricky and can cause your system to not boot if not done right. Adding/removing sound cards on OS/2 is a true PITA.

Regards,

Title: Re: OS/2 Warp 4.52 VM, changing audio to Uniaud
Post by: Martin Iturbide on September 19, 2022, 10:05:25 pm
Thanks David.

I will try with MInstall first. Are you referring the one from Martin Kiewitz or the IBM one?.
 
It seems that modifying the INI directly, with all the stuff it has there, it will be long and hard.

Regards
Title: Re: OS/2 Warp 4.52 VM, changing audio to Uniaud
Post by: David McKenna on September 20, 2022, 12:05:46 am
 Hi Martin,

  The IBM one... the Kiewitz one always gave me problems when trying to uninstall, but it works well to install. Definitely hard to do by hand... if you have trouble, post your MMPM2.INI file and I'll take a stab at editing it it for UniAud... if you like to live dangerously :-)

Regards,
Title: Re: OS/2 Warp 4.52 VM, changing audio to Uniaud
Post by: Martin Iturbide on September 22, 2022, 11:38:54 pm
Hi

After some tries with the IBM MMInstall, I need to ask how to uninstall it.  I don't know to which path should I point the mminstal (or which driver to download) to put 0 card to remove sound blaster.

Regards
Title: Re: OS/2 Warp 4.52 VM, changing audio to Uniaud
Post by: Neil Waldhauer on September 23, 2022, 02:13:48 am
If I remember this correctly, you need to install 0 instances of your current driver. So you need to know what your current driver is, and you have to have the installation files.
Title: Re: OS/2 Warp 4.52 VM, changing audio to Uniaud
Post by: Lars on September 23, 2022, 06:51:39 am
Or you could try the uninstall that I once wrote and that is part of a uniaud install.
It will take file cardinfo.dll as a base of what to uninstall.
So, even if it was written for uniaud, you can use it in conjunction with the SB drivers. You just need to run it from the directory where the SB installation files are located. That should contain a file cardinfo.dll.
Title: Re: OS/2 Warp 4.52 VM, changing audio to Uniaud
Post by: David McKenna on September 23, 2022, 04:04:16 pm
 Hi Martin,

  Look in the C:\MMOS2\INSTALL folder. There should be a folder with the SoundBlaster install files in it....

Regards,
Title: Re: OS/2 Warp 4.52 VM, changing audio to Uniaud
Post by: mauro on September 24, 2022, 10:52:18 am
Hi Martin,

 You need to edit your MMPM2.INI file to use the new driver. Minstall is what normally does that. First you have to remove the Soundblaster driver using Minstall (tell it 0 cards to remove), then install UniAud using Minstall. Or do it by hand, but it is very tricky and can cause your system to not boot if not done right. Adding/removing sound cards on OS/2 is a true PITA.

Regards,

thanks to your post I have remembered what to do to complete the installation of the Uniaud; running the exe installer of the driver wasn't enough then.

@Martin , with the successful installation now I hear the system sounds but just that. If I run a video either from web or media player I only hear a rippy noise and video play very slowly making Seamonkey (in case of web streaming) almost unusable.
OS2 Warp. 4.52 on Virtualbox 6.x Windows hosted,  audio setted on Windows Direct Sound, ACH97 selection
Title: Re: OS/2 Warp 4.52 VM, changing audio to Uniaud
Post by: Dave Yeo on September 24, 2022, 05:36:50 pm
Hi mauro, you need "SET KAI_AUTOMODE=DART" in your environment (config.sys is simplest) to force the Mozilla apps to use DART rather then UNIAUD for sound. UNIAUD is broken as you found.
Edit: Actually the set command should work for any program using libkai for audio.
Title: Re: OS/2 Warp 4.52 VM, changing audio to Uniaud
Post by: Martin Iturbide on September 24, 2022, 06:32:02 pm
Hi Martin,

  Look in the C:\MMOS2\INSTALL folder. There should be a folder with the SoundBlaster install files in it....

Regards,

Thanks for the feedback, but I don't find nothing (control file or SB files) on the install folder.

I guess I need to find some SB control.scr file somewhere to do the uninstall with MMOS2.

Regards
Title: Re: OS/2 Warp 4.52 VM, changing audio to Uniaud
Post by: mauro on September 24, 2022, 08:44:29 pm
Hi mauro, you need "SET KAI_AUTOMODE=DART" in your environment (config.sys is simplest) to force the Mozilla apps to use DART rather then UNIAUD for sound. UNIAUD is broken as you found.
Edit: Actually the set command should work for any program using libkai for audio.

Hi Dave, in my config.sys I had the two active call sametime
SET KAI_AUTOMODE=DART
SET KAI_AUTOMODE=UNIAUD

so I tried to REM one first, then just one/other, then both.
Rebooted system on each change.
Nothing happened, system sound ok but no audio from video clip.

I believe there is some issue with Virtualbox audio filters.
Thank you

PS in the other UNIAUD thread I read Paul is continuously updating the drivers, I keep using a version downloaded on beginning september
Title: Re: OS/2 Warp 4.52 VM, changing audio to Uniaud
Post by: David McKenna on September 24, 2022, 09:12:49 pm
Hi Martin,

  Strange there is no folder with the soundblaster drivers... I guess you will have to find the original driver package and use that (maybe at Hobbes - or on the OS/2 Warp disk you used?). Open a command prompt, navigate to the folder with the soundblaster install files, then run Minstall there. Use '0' (zero) for the number of cards in order to remove it.

Regards,
Title: Re: OS/2 Warp 4.52 VM, changing audio to Uniaud
Post by: Martin Iturbide on September 25, 2022, 02:23:08 pm
Hi

I installed the Warp 4.52 Sound Blaster driver when I created the image with the "Warp 4 Setup and Installation". I search on the CD if there was the Sound Blaster driver alone with the .scr file and I was not able to find it.  Any other tip?

Regards
Title: Re: OS/2 Warp 4.52 VM, changing audio to Uniaud
Post by: David McKenna on September 25, 2022, 04:15:02 pm
Hi Martin,

  Without the install files, you are pretty much stuck with trying to edit MMPM2.INI by hand, unfortunately.

Regards,
Title: Re: OS/2 Warp 4.52 VM, changing audio to Uniaud
Post by: Pete on September 25, 2022, 05:10:29 pm
Hi Martin

The choice of SB driver packages should be in [CD/DVD]:\CID\SERVER\MMOS2\DRIVERS


Regards

Pete
Title: Re: OS/2 Warp 4.52 VM, changing audio to Uniaud
Post by: Martin Iturbide on September 25, 2022, 05:22:47 pm
Hi Pete

I can not find that MMOS2 directory on the Warp 4.52 CD.


Regards
Title: Re: OS/2 Warp 4.52 VM, changing audio to Uniaud
Post by: mauro on September 25, 2022, 06:36:47 pm
Hi

I installed the Warp 4.52 Sound Blaster driver when I created the image with the "Warp 4 Setup and Installation". I search on the CD if there was the Sound Blaster driver alone with the .scr file and I was not able to find it.  Any other tip?

Regards

I Martin, my case of Uniaud installation has the final step to go in the Multimedia Setup panel from System Setup folder. There I found the new tabs for UniAud Wave2 and UniAud Midi 2.  By checking their enabling checkbox you exclude the default Digital and Midi device previously enabled and I think (guess) they mean SB system. That has made Uniaud Drivers having effect on the multimedia system.  Even if, as told in previous post, the resulting sound isn't accettable.
Title: Re: OS/2 Warp 4.52 VM, changing audio to Uniaud
Post by: Dave Yeo on September 25, 2022, 06:56:44 pm
Can't you just use selective install to uninstall the drivers?
Title: Re: OS/2 Warp 4.52 VM, changing audio to Uniaud
Post by: Roderick Klein on September 25, 2022, 11:09:24 pm
Hi Pete

I can not find that MMOS2 directory on the Warp 4.52 CD.


Regards

You can not its not there... Well it it. It still lives in pack file in \os2image. In eCS and ArcaOS there is \MMOS2 directory.

Roderick
Title: Re: OS/2 Warp 4.52 VM, changing audio to Uniaud
Post by: Roderick Klein on September 25, 2022, 11:10:29 pm
Hi Martin,

  Strange there is no folder with the soundblaster drivers... I guess you will have to find the original driver package and use that (maybe at Hobbes - or on the OS/2 Warp disk you used?). Open a command prompt, navigate to the folder with the soundblaster install files, then run Minstall there. Use '0' (zero) for the number of cards in order to remove it.

Regards,

Correct you are one of the few OS/2 users that know the above :-)

Roderick
Title: Re: OS/2 Warp 4.52 VM, changing audio to Uniaud
Post by: Lars on September 26, 2022, 12:33:57 am
Thanks David.

I will try with MInstall first. Are you referring the one from Martin Kiewitz or the IBM one?.
 
It seems that modifying the INI directly, with all the stuff it has there, it will be long and hard.

Regards

To get rid of soundblaster:
0) BACKUP MMPM2.INI
1) in section [Drivers], remove from "Waveaudio=": IBMWAVESB01
2) in section [Drivers], remove from "Sequencer=": IBMSEQSB01
3) in section [Drivers], remove from "Ampmix=": IBMAMPMIXSB01
4) remove sections [IBMWAVESB01],[IBMWAVESB01-PLAY],[IBMWAVESB01-RECORD]
5) remove section [IBMSEQSB01]
6) remove section [IBMAMPMIXSB01]
7) check section [defaultnames], if any of the above driver names appear, remove that entry

Title: Re: OS/2 Warp 4.52 VM, changing audio to Uniaud
Post by: Martin Iturbide on September 26, 2022, 01:59:22 pm
Hi

Thanks for the feedback

I got that the trick was to use eCS or ArcaOS CD and I found the SB16D2 Driver to "reinstall with zero adapters". Rebooted.
I did that and I think it worked because some of the things on the MMPM2.INI that Lars listed were removed.

Now I installed UniAud "Uniaud-20211023.exe" rebooted and got no audio at all.
The config.sys now has
 DEVICE=C:\MMOS2\UNIAUD32.SYS /V
 DEVICE=C:\MMOS2\UNIAUD16.SYS /C
It recognize the HDA Intel at IRC 11. Sigmatel STARC9221 A1  on boot.

I'm still not sure what is still missing. I'm attaching the MMPM2.INI file.

Regards
Title: Re: OS/2 Warp 4.52 VM, changing audio to Uniaud
Post by: Lars on September 26, 2022, 04:11:33 pm
Your MMPM2.INI does not contain any entries regarding UNIAUD. No surprise that it does not work. Rerun the installation.
Title: [SOLVED] Re: OS/2 Warp 4.52 VM, changing audio to Uniaud
Post by: Martin Iturbide on September 26, 2022, 06:47:24 pm
SUCCESS !!! Thanks to all.

I think now I got the full procedure:

1) Uninstall the Sound Blaster driver with MINSTALL from the eCS or ArcaOS CDROM image.
 From: [CD/DVD]:\CID\SERVER\MMOS2\DRIVERS

2) Install the Uniaud Drivers using the WarpIn procedure

3) Install the Uniaud Drivers with MINSTAL from C:\MMOS2\INSTALL\UNIAUD

It think this is the procedure. I will keep testing the audio on the machine.

Thanks to all again.

Regards