Author Topic: Updated Uniaud32 build  (Read 113164 times)

Paul Smedley

  • Hero Member
  • *****
  • Posts: 959
  • Karma: +92/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #375 on: January 01, 2021, 09:37:20 am »
Edit: https://smedley.id.au/tmp/uniaud32-linux-5.4.86-20210101b.zip *might* fix the mixer controls.. at least here unimix -list shows sensible output, and pmunimix seems to work.

If others can confirm, I'll commit the fix.

FWIW - pmunimix works correctly on T60 (Analog Devices HDA), X250 (Realtek HDA) & Virtualbox (Sigmatel HDA) with the 20210101b build.

YMMV

Ian Manners

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 418
  • Karma: +6/-0
  • I am the computer, it is me.
    • View Profile
    • ComKal Networks Australia
Re: Updated Uniaud32 build
« Reply #376 on: January 01, 2021, 11:19:15 am »
uniaud32-linux-5.4.86-20210101b.zip   no work :(
Sound Blaster SB1040 PCIe 2007
==============================
Command line mixer for UNIAUD32. Version 1.1
Detected UNIAUD version 2.02.05
Detected 1 audio adapter(s)
Error: invalid number of PCM instances for adapter 0
Card info for adapter 0:
  num: 0
  id: Creative
  driver: HDA-Intel
  name: HDA Creative
  longname: HDA Creative at 0xfeafc000 irq 16
  mixer:
  componenets: HDA:1102000a,11021006,00100000

Cheers
Ian B Manners

Paul Smedley

  • Hero Member
  • *****
  • Posts: 959
  • Karma: +92/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #377 on: January 01, 2021, 11:48:24 am »
I'll check tomorrow, but I don't think the code for that Creative HDA is enabled. It might be easy to enable it....

Edit: I think we need to add http://trac.netlabs.org/uniaud/browser/GPL/branches/uniaud32-next/alsa-kernel/pci/hda/patch_ca0110.c in order to support that chip.
« Last Edit: January 01, 2021, 11:59:29 am by Paul Smedley »

OS4User

  • Sr. Member
  • ****
  • Posts: 339
  • Karma: +9/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #378 on: January 01, 2021, 12:05:00 pm »

David McKenna

  • Sr. Member
  • ****
  • Posts: 400
  • Karma: +15/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #379 on: January 01, 2021, 03:13:04 pm »
 Paul,

 A very mixed bag with the 5.4 versions:

0101 release - boots, no sound, only 3 controls in PMUnimix, hesitations where system sounds would occur
0101 debug - boots, loud sound, only 4 controls in PMUnimix, hesitations before system sounds occur
0101b release - TrapE in UNIAUD32, I uploaded a dump to dropbox
0101b debug - boots, proper sound, PMUnimix shows 9 controls, hesitations before system sounds occur

 Tried these all both warm and cold boot and they were consistent. I'll attach alsahlp$ logs for the 3 that booted (all taken immediately after booting to desktop).

Regards,
« Last Edit: January 01, 2021, 03:17:46 pm by David McKenna »

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3564
  • Karma: +34/-0
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Updated Uniaud32 build
« Reply #380 on: January 01, 2021, 03:17:38 pm »
Hi Martin,

Thanks for testing. Next steps will be to upload current sources to Netlabs, then try and fix some of the reported issues.

Cheers,

Paul

Paul, as an alternative, Adrian (Netlabs) gave me administrator access to Netlabs github account: https://github.com/netlabsorg
If you prefer a git this can be al alternative, otherwise everything is ok at Netlabs trak.

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

Ian Manners

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 418
  • Karma: +6/-0
  • I am the computer, it is me.
    • View Profile
    • ComKal Networks Australia
Re: Updated Uniaud32 build
« Reply #381 on: January 01, 2021, 03:23:32 pm »
Hi Paul,

Quote
I'll check tomorrow, but I don't think the code for that Creative HDA is enabled. It might be easy to enable it....

Not a priority unless others want it, I just had that PCIe card in the spares box but if it's easy, thanks :)
Cheers
Ian B Manners

Eugene Tucker

  • Full Member
  • ***
  • Posts: 197
  • Karma: +7/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #382 on: January 01, 2021, 03:53:22 pm »
I would like it. I have a machine that I will switch over to ArcaOS in the near future and retire the another. And it has a built is Sound Blaster Recon.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3564
  • Karma: +34/-0
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Updated Uniaud32 build
« Reply #383 on: January 01, 2021, 04:50:30 pm »

Time for a glass of wine :)

https://smedley.id.au/tmp/uniaud32-linux-5.4.86-20210101.zip - produces sound with ac97 and hda hardware in Virtualbox.

Will try on real hardware this afternoon.

I tried "uniaud32-linux-5.4.86-20210101.zip " on ArcaOS 5.0.6 on the Thinkpad L420.
No Trap. But it does not produce any sounds.

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

David McKenna

  • Sr. Member
  • ****
  • Posts: 400
  • Karma: +15/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #384 on: January 01, 2021, 04:56:30 pm »
 Gave the 5.4 0101b version a try on my laptop:

Command line mixer for UNIAUD32. Version 1.1
Detected UNIAUD version 2.02.06
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 0xd4730000 irq 22
  mixer: Intel ID 2806
  componenets: HDA:111d7605,103c17b7,00100107 HDA:11c11040,103c3066,00100200 HDA:80862806,80860101,00100000

  Get a TrapE in UNIAUD32 with the release version (no dump partition on this), but the debug version seems to work correctly. Only thing is the card does not appear in the hardware manager, and there is an error in alsahlp$... attached.

Regards,
« Last Edit: January 01, 2021, 05:02:49 pm by David McKenna »

roberto

  • Hero Member
  • *****
  • Posts: 648
  • Karma: +2/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #385 on: January 01, 2021, 06:46:18 pm »
This version  https://smedley.id.au/tmp/uniaud32-linux-5.4.86-20210101b.zip , in debug,  is working especially well for me, very well.
 But I see discrepancies with what David M. shows us.
 [C:\MMOS2]unimix -card
Command line mixer for UNIAUD32. Version 1.1
Detected UNIAUD version 2.02.05                          ==>2.02.05  David 06 ???
Detected 2 audio adapter(s)
Error: invalid number of PCM instances for adapter 1
Card info for adapter 0:
  num: 0
  id: PCH
  driver: HDA-Intel
  name: HDA Intel PCH
  longname: HDA Intel PCH at 0xd2520000 irq 22
  mixer: IDT 92HD81B1X5
  componenets: HDA:111d7605,103c1630,00100105 HDA:11c11040,103c3066,00100200

 I notice a faster functioning of the browser, with many more websites open.
saludos

David McKenna

  • Sr. Member
  • ****
  • Posts: 400
  • Karma: +15/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #386 on: January 01, 2021, 07:03:41 pm »
 Hi roberto,

 I captured that unimix -card with the original version before applying Paul's new version. Wanted to make sure to show the correct info. Sorry to be confusing...

Regards,

Paul Smedley

  • Hero Member
  • *****
  • Posts: 959
  • Karma: +92/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #387 on: January 01, 2021, 09:23:32 pm »
Hi Dave!
A very mixed bag with the 5.4 versions:

0101 release - boots, no sound, only 3 controls in PMUnimix, hesitations where system sounds would occur
0101 debug - boots, loud sound, only 4 controls in PMUnimix, hesitations before system sounds occur
0101b release - TrapE in UNIAUD32, I uploaded a dump to dropbox
0101b debug - boots, proper sound, PMUnimix shows 9 controls, hesitations before system sounds occur

 Tried these all both warm and cold boot and they were consistent. I'll attach alsahlp$ logs for the 3 that booted (all taken immediately after booting to desktop).
Thanks for the detailed report - this is where I admit that all of my testing has been with the DEBUG build and I've been assuming the only differences is the compiler flags.

Confirming that 0101b release - also gives me a TrapE in UNIAUD32 in Virtualbox, which is a good thing as at least I can reproduce it.

Also good to see that 0101b debug fixes the mixers for you - which confirms we need to fix krealloc.

Cheers,

Paul

Paul Smedley

  • Hero Member
  • *****
  • Posts: 959
  • Karma: +92/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #388 on: January 01, 2021, 09:25:09 pm »
Hi Dave,

Just tried the 1229b version of 4.19 and I get a TrapE in UNIAUD32 at boot. Also uploaded a trap dump into Dropbox. Let me know if I should also try the previous 1229 version...

Do you recall if this was with the DEBUG or RELEASE driver? If it was the RELEASE, please test with the DEBUG.

Cheers,

Paul

David McKenna

  • Sr. Member
  • ****
  • Posts: 400
  • Karma: +15/-0
    • View Profile
Re: Updated Uniaud32 build
« Reply #389 on: January 01, 2021, 09:40:30 pm »
 Hi Paul,

  That was with the release version - what I typically try first. Just tried the debug version and that one works perfectly - 9 controls in PMUnimix, no hesitations, and shows up in the hardware manager.

  Guess i didn't try it then because of the flurry of releases at that time. I'll try to be more rigorous about testing in future. Thanks for your Olympian efforts at modernizing UniAud! Alsahlp$ attached...