OS/2, eCS & ArcaOS - Technical > Multimedia

Updated Uniaud32 build

<< < (184/209) > >>

Mark Szkolnicki:
Heh Paul!


--- Quote from: Paul Smedley on September 28, 2022, 01:59:41 am ---We don't currently support firmware loading... so if this chip needs firmware - it won't work. Warm boot from windows/linux works as the firmware is already loaded....

--- End quote ---

Just one further comment - I have two ArcaOS partitions - one which is my working partition (D:), the other is my ArcaOS test partition (F:) - the warm boot also has worked when switching from D: to F:, so I'm not sure if that explains the firmware already being loaded.

If Master Playback volume is present would that be addressed in the firmware as well, or is some other process involved (like generic HDA Audio?)

Don't know if that question makes any sense but trying to understand why the Recon3D "partially" works ie. can play stereo perfectly.

BTW, ran across this site:

https://forums.linuxmint.com/viewtopic.php?t=341022

It had someone there who is a moderator (alias Mr. Een) who is quite experienced in sound problems and has a blog related to fixing same in Linux:

http://mreen.epizy.com/SoundFixTips.html?i=1

Related to HDMI he was mentioning that many of the HDMI problems relate to the OS not redirecting sound through the HDMI cable to the monitor, instead of through the other speaker systems which may be present.

He added a command line to the post to assist the person asking for help, which did solve his problem:

d set-card-profile alsa_card.pci-0000_00_0e.0 output:hdmi-stereo

Doubt it would be of help to us, but at least an explanation as to what may be causing you grief with HDMI - most of his advice is related to settings in the Linux mixer programs, which is of no help with ArcaOS, as it seems the mixers in linux are much more feature rich.

But a good resource that might help explain things encountered in future, when audio problems are present.

Best!
 
M

Paul Smedley:
Hi Mark,

--- Quote from: Mark Szkolnicki on September 28, 2022, 07:13:39 pm ---
--- Quote from: Paul Smedley on September 28, 2022, 01:59:41 am ---We don't currently support firmware loading... so if this chip needs firmware - it won't work. Warm boot from windows/linux works as the firmware is already loaded....

--- End quote ---

Just one further comment - I have two ArcaOS partitions - one which is my working partition (D:), the other is my ArcaOS test partition (F:) - the warm boot also has worked when switching from D: to F:, so I'm not sure if that explains the firmware already being loaded.

If Master Playback volume is present would that be addressed in the firmware as well, or is some other process involved (like generic HDA Audio?)

--- End quote ---

I'm assuming that sound only works if linux or windows is booted first, then I'd expect it to keep working until a cold boot occurs.

ie Linux/Windows - then D: then F: would work. If this isn't what you're describing, please let me know.

No idea what causes the Master Playback to show - what driver versions are in play? ca0132 support was added relatively recently...

Mark Szkolnicki:
Heh Paul!


--- Quote from: Paul Smedley on September 29, 2022, 10:21:35 am ---Hi Mark,

I'm assuming that sound only works if linux or windows is booted first, then I'd expect it to keep working until a cold boot occurs.

ie Linux/Windows - then D: then F: would work. If this isn't what you're describing, please let me know.


--- End quote ---

Actually I have no Linux partitions, and the last time I booted my Windows partition (C:) was over six months ago on Manticore II.

D: is an ArcaOS partition running v5.0.7 - when I need Windows support on Manticore II I usually run VirtualBox on that partition. I use that partition exclusively for tasks like Internet search, messaging, playing games through ArcaOS (and DosBox running under ArcaOS), writing a lot of internal documents using Lotus Word Pro, Lotus Spreadsheets, etc. I also run VLC, SMPlayer, PM123, and various other multimedia software (including a rather neat legacy program call Warped Wave Editor (WaWE) and of course Tonigy). That partition is connected to the built-in AD1988B sound chipset as standard.

F: is a test partition running ArcaOS v5.0.7 and is dedicated solely to testing, although it has all the capabilities of the D: partition also installed - if I needed to (ie. something has screwed up with my working partition) I can switch to F: and run it successfully for days, until I can get the other partition working. Currently, I've left partition F: using the Recon3D through the 5:1 surround sound system, as I know AD1988B has no problems

Hyperfire is configured in exactly the same way, with two ArcaOS partitions, only it has the ALC892 sound chipset and the Sound Blaster Xi-Fi Titanium card. It also has a Windows partition (C:), which is rarely booted, and which I originally set up only to play games.

Just the emergency planner in me, Paul - I hate situations occurring where they can be planned for, but were not, and something serious occurred - my office is filled with battery back-ups, multiple surge protectors, etc., as well as a NetGear Server, for archive and back-up purposes.

So as to warm boot and it working on F: after cold booting to D: and then rebooting to F:,  - the reason I mentioned it is that I can't see it enabling the firmware, the way the system is configured, as no Linux or Windows partition is involved at all.

The warm boot phenomenon is reproducible every time - so obviously something else is involved.


--- Quote from: Paul Smedley on September 29, 2022, 10:21:35 am ---No idea what causes the Master Playback to show - what driver versions are in play? ca0132 support was added relatively recently...

--- End quote ---

As you know, I got into this sound testing late (only started in March) and at the time I wrote a long post which I had printed out and referred back to today - the first version I tested was 5.14.7-20211028. At the time, referring back, I wrote that Master Playback volume was reported under PMUnimix but was not controlling the sound, stereo sound was only present from the front speakers, and I had to turn down the sound using the surround sound hardware controls as sound was blasting out at max. It also would only work after a cold reboot.

The behavior with this card is the same right up to 5.19.9, which I tested last week, as well as 5.15.70. Having access to your archives I can test further back, if you wish.

It was the reason that I had great hopes that the ArchLinux post a few posts back now may have had a solution, as the patch for CA0132 (the Recon3D is one such board) was actually published in detail and the changelog at the time also indicated they committed that, and many other sound fixes to kernel 4.18 rc-1.

Best as always!

M



Paul Smedley:
Hey Mark!!

Wow! That's super interesting! I guess it's not firmware load after all - as switching between two AOS partitions could not make the firmware load.

The patch you provided was interesting - but that code is from linux 4.18 - we're using linux 5.19.x code which would already include that code (or a later iteration of it).

Does it matter is you boot D: first then F: or f: first, then d:? What uniaud32 versions are in play on each partition? Just looking for clues..

Perhaps a log file from the 1st cold boot, then the 2nd warm boot where sound works. I'm not confident it will show anything, but who knows?

I'm also going to review my patches to patch_ca0132.c - ie from https://github.com/psmedley/uniaud32/commit/12e7ce146924b3e77056e75095e7b0a9a7571399 (I did an import of the netlabs SVN into github - it's easier to review code via the github gui, and it's also a backup)

With the surround speakers - I'm not surprised you have issues controlling volume - take a look at https://trac.netlabs.org/uniaud/browser/GPL/branches/uniaud32-exp/lib32/soundmixer.c#L398 and note the 'todo' comment. Adjusting the rear speakers is actually adjusting the overall mixer volume. I noticed this the other day looking at where I might be able to manipulate the 'auto mute' setting.

I'll be honest - I don't really understand how this code works - as I like to tell people, I'm not a programmer, I'm just a hacker :)

Cheers,

Paul

Mark Szkolnicki:
Heh Paul!


--- Quote from: Paul Smedley on September 30, 2022, 02:02:42 am ---Hey Mark!!

Wow! That's super interesting! I guess it's not firmware load after all - as switching between two AOS partitions could not make the firmware load.

The patch you provided was interesting - but that code is from linux 4.18 - we're using linux 5.19.x code which would already include that code (or a later iteration of it).

Does it matter is you boot D: first then F: or f: first, then d:? What uniaud32 versions are in play on each partition? Just looking for clues..

Perhaps a log file from the 1st cold boot, then the 2nd warm boot where sound works. I'm not confident it will show anything, but who knows?

I'm also going to review my patches to patch_ca0132.c - ie from https://github.com/psmedley/uniaud32/commit/12e7ce146924b3e77056e75095e7b0a9a7571399 (I did an import of the netlabs SVN into github - it's easier to review code via the github gui, and it's also a backup)

With the surround speakers - I'm not surprised you have issues controlling volume - take a look at https://trac.netlabs.org/uniaud/browser/GPL/branches/uniaud32-exp/lib32/soundmixer.c#L398 and note the 'todo' comment. Adjusting the rear speakers is actually adjusting the overall mixer volume. I noticed this the other day looking at where I might be able to manipulate the 'auto mute' setting.

I'll be honest - I don't really understand how this code works - as I like to tell people, I'm not a programmer, I'm just a hacker :)

Cheers,

Paul

--- End quote ---

Your a hacker, not a programmer - I'm a troubleshooter, not a programmer - out of that may come great things or not, Sir <grin>

We're both asking the crazy questions, Paul - sometimes out of that may come interesting solutions.

Have never been the person to merely confirm - I want to know W-H-Y ...... because in the past lives have depended on it

A busy day where I accomplished a number of important things albeit minor, society wise, then our new statutory holiday and long weekend, in Canada - National Truth and Indigenous Reconciliation day tomorrow - probably will will not be much different than today  ???

Off for my ride - will see if I can provide any clues as to what is happening here later or tomorrow, after perusing your complete post and Best!

M


Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version