Author Topic: Updated Uniaud32 build  (Read 370783 times)

mauro

  • Sr. Member
  • ****
  • Posts: 408
  • Karma: +3/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #735 on: August 09, 2022, 06:59:10 am »

Hi Mauro.

I would do it this way.
- Install the full Uniaud using the latest full installer. (ftp://ftp.netlabs.org/pub/uniaud/Uniaud-20211023.exe)
- Check everything is fine on the VM
- Later install the latest devbuild that Paul's offers here.

Regards

Good, thank you

mauro

  • Sr. Member
  • ****
  • Posts: 408
  • Karma: +3/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #736 on: September 01, 2022, 09:13:20 am »
Hi Mauro!


Back in March, after going through 46 pages of posts, I put together a Testing Guide for my own use, as a quick reference source.

I spruced it up a bit today and have attached it below - hope you will find it of some use.

If anyone has any comments related to the guide, let me know and I will update it.

Best!

Mark

Thank to you as well Mark,  very useful job

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #737 on: September 03, 2022, 01:08:08 am »
Just an update on the issues with non-HDA hardware and the linux 5.15.x based builds.

I now understand what is different between the HDA driver, and the non-HDA drivers - but I'm not clear yet on what I need to do to fix it.

Steven Levine has provided some invaluable assistance, but I'm wagering I'm missing something obvious that is the final piece of the puzzle.

I'll keep working on it as time permits - it's driving me crazy!

Cheers,

Paul

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #738 on: September 03, 2022, 11:55:20 am »
Hey All,

Just an update on the issues with non-HDA hardware and the linux 5.15.x based builds.

I now understand what is different between the HDA driver, and the non-HDA drivers - but I'm not clear yet on what I need to do to fix it.

Steven Levine has provided some invaluable assistance, but I'm wagering I'm missing something obvious that is the final piece of the puzzle.

I'll keep working on it as time permits - it's driving me crazy!

Well after spending way too much time on this yesterday, I had an idea today that seems to have fixed the trap on non-HDA hardware.

New debug and release builds at https://smedley.id.au/tmp/uniaud32-linux-5.15.59-20220903.zip

Note: with my AC97 testing on Virtualbox, I'm getting an error initialising the hardware with the release build on a cold boot. If I do a cold boot with the debug driver, then switch to the release driver, then sound works fine - so some secret sauce is still missing :/

Interested in any feedback on this build - even to ensure that I didn't break anything on HDA hardware - but particularly interested in any pci based sound cards, and AC97 - as those use a different code path to the HDA driver.

Cheers,

Paul

Eugene Tucker

  • Sr. Member
  • ****
  • Posts: 368
  • Karma: +12/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #739 on: September 03, 2022, 05:56:30 pm »
Paul just letting you know the the HDA driver is still working well on my system.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #740 on: September 04, 2022, 03:48:36 am »
This one should fix non-HDA hardware (at least in my limited testing):
https://smedley.id.au/tmp/uniaud32-linux-5.15.59-20220904.zip

mauro

  • Sr. Member
  • ****
  • Posts: 408
  • Karma: +3/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #741 on: September 04, 2022, 10:37:54 am »

Enable serial port in Virtualbox, and there's an option to save the serial port output to a text file.
Make com.sys (or pscom.sys) is loaded
add /p:1 to the uniaud32 driver line in config.sys
reboot

Cheers,

Paul.

this is something my VirtualBox prevent me doing.
If I enable Serial Port Com 1 in "file Raw" mode , and set a local folder on my host , then VM machine won't boot : "VERR_ACCESS_DENIED" on folder (it's my Public Document folder on Windows)

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #742 on: September 04, 2022, 11:16:53 am »

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #743 on: September 04, 2022, 11:17:39 am »

Enable serial port in Virtualbox, and there's an option to save the serial port output to a text file.
Make com.sys (or pscom.sys) is loaded
add /p:1 to the uniaud32 driver line in config.sys
reboot

this is something my VirtualBox prevent me doing.
If I enable Serial Port Com 1 in "file Raw" mode , and set a local folder on my host , then VM machine won't boot : "VERR_ACCESS_DENIED" on folder (it's my Public Document folder on Windows)

Sorry, I have NFI about Virtualbox ona a Windows host... Works a treat on Ubuntu :)

mauro

  • Sr. Member
  • ****
  • Posts: 408
  • Karma: +3/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #744 on: September 04, 2022, 11:23:50 am »

Enable serial port in Virtualbox, and there's an option to save the serial port output to a text file.
Make com.sys (or pscom.sys) is loaded
add /p:1 to the uniaud32 driver line in config.sys
reboot

this is something my VirtualBox prevent me doing.
If I enable Serial Port Com 1 in "file Raw" mode , and set a local folder on my host , then VM machine won't boot : "VERR_ACCESS_DENIED" on folder (it's my Public Document folder on Windows)

Sorry, I have NFI about Virtualbox ona a Windows host... Works a treat on Ubuntu :)

ok I have same OS2 VM Ubuntu hosted too, I'll try that later on, the fact is that my "OS2 VM for testing" is on Windows.
Thank you

mauro

  • Sr. Member
  • ****
  • Posts: 408
  • Karma: +3/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #745 on: September 04, 2022, 11:24:29 am »


Hi Mauro.

I would do it this way.
- Install the full Uniaud using the latest full installer. (ftp://ftp.netlabs.org/pub/uniaud/Uniaud-20211023.exe)
- Check everything is fine on the VM
- Later install the latest devbuild that Paul's offers here.

Regards

Done,
in VM settings Windows Direct Sound as driver host , and ICH AC97 as controller

and also added
DEVICE=C:\MMOS2\UNIAUD32.SYS
DEVICE=C:\MMOS2\UNIAUD16.SYS /C

statement in config.sys as per Mark's how-to indications.

When VM boots, I get the message "The system cannot find the file C:\MMOS2\UNIAUD16.SYS"
infact no such file there. I expected it was at least installed by the Uniaud-20211023.exe execution.
Must be there?
Paul's patch does not have this file in the Zip folders, only 32 version which I copied in C:\MMOS2 .
So, no sound in VM (Warp 4.52) by these steps

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #746 on: September 04, 2022, 12:00:24 pm »


Hi Mauro.

I would do it this way.
- Install the full Uniaud using the latest full installer. (ftp://ftp.netlabs.org/pub/uniaud/Uniaud-20211023.exe)
- Check everything is fine on the VM
- Later install the latest devbuild that Paul's offers here.

Regards

Done,
in VM settings Windows Direct Sound as driver host , and ICH AC97 as controller

and also added
DEVICE=C:\MMOS2\UNIAUD32.SYS
DEVICE=C:\MMOS2\UNIAUD16.SYS /C

statement in config.sys as per Mark's how-to indications.

When VM boots, I get the message "The system cannot find the file C:\MMOS2\UNIAUD16.SYS"
infact no such file there. I expected it was at least installed by the Uniaud-20211023.exe execution.
Must be there?
Paul's patch does not have this file in the Zip folders, only 32 version which I copied in C:\MMOS2 .
So, no sound in VM (Warp 4.52) by these steps

I woudl absolutely expect Uniaud-20211023.exe to include uniaud16.sys...

Just confirmed with wic that it does.

try:
wic -x u:Uniaud-20211023.exe 1

...and copy uniaud16.sys to x:\mmos2

Cheers,

Paul

mauro

  • Sr. Member
  • ****
  • Posts: 408
  • Karma: +3/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #747 on: September 04, 2022, 01:46:10 pm »


try:
wic -x u:Uniaud-20211023.exe 1

...and copy uniaud16.sys to x:\mmos2

Cheers,

Paul

"SYS1041: The name wic is not recognized as an
internal or external command, operable program or batch file."

a missing application to be installed?

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4713
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Updated Uniaud32 build
« Reply #748 on: September 04, 2022, 03:01:53 pm »


try:
wic -x u:Uniaud-20211023.exe 1

...and copy uniaud16.sys to x:\mmos2

Cheers,

Paul

"SYS1041: The name wic is not recognized as an
internal or external command, operable program or batch file."

a missing application to be installed?

Hi Mauro.
wic.exe is located in C:\sys\install\WARPIN. You can add it to your path and libpath to run it on the command line session.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

David McKenna

  • Hero Member
  • *****
  • Posts: 743
  • Karma: +24/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #749 on: September 04, 2022, 03:18:54 pm »
 Hi Paul,

  I gave these new builds a try, 20220904b gives me a TrapE on boot. 20220903 and 20220904 both seem to work at first, but I lose sound altogether within a few minutes of booting. Haven't determined what might be causing that though. My sound card:

[C:\]unimix -card
Command line mixer for UNIAUD32. Version 1.1
Detected UNIAUD version 3.01.04
Detected 1 audio adapter(s)
Card info for adapter 0:
  num: 0
  id: PCH
  driver: HDA-Intel
  name: HDA Intel PCH
  longname: HDA Intel PCH at 0xf7220000 irq 16
  mixer: Realtek ALC887-VD
  componenets: HDA:10ec0887,1458a182,00100302 HDA:8086280b,80860101,00100000

Regards,