audio issues

Greetings, new openbsd user here.

I bought a new desktop pc last week and installed obsd 7.5 (stable) on it. I ran 'syspatch' and 'fw_update' and 'pkg_add -Uu'. Here is the dmesg: https://0x0.st/XLg3.txt and mixerctl: https://0x0.st/XLgY.txt

I connected my PS5 console via the line-in rear aux jack to the pc and my headset via the front jack. Upon booting i can immedietly hear the sound of my PS5, before logging into my user. Running 'sndioctl output.mute=1' will mute it, but trying to change the volume has no effect. 'sndioctl output.volume=0,1' is as loud as 'sndioctl output.volume=1'. The PS5 also does not get listed at all when I simply run 'sndioctl', as an app I mean. The audio just exists.

Next, any application that is run on the pc itself cannot produce audio. When i try to watch a video with firefox on youtube, the video plays fine but no audio. These are the errors it prints in the terminal: https://0x0.st/XLCD.log Ncspot, a ncurses spotify client will print 'stream error: portaudio not initialized' when I try to play a song. Both firefox and ncspot get listed in 'sndioctl'.

I have no prior experience with obsd and sndio, so I'm at a loss. Since I can hear the audio of my PS5, I assume that my pc is capable of playing audio (correct me if I'm wrong with that assumption). So I must be missing something, somewhere. Without knowing what the problem is however, I do not know how to look for a solution. That's why I hope anyone here can help me or point me in the right direction. I have read the man pages of sndio, sndiod, sndioctl but again, I do not even know what I'm looking for. Is there a setting not set somewhere? Are permissions wrong somewhere? Here are the permissions of the audio devices: https://0x0.st/X9rK.txt I also ran the commands in the faq about audio debugging. However audioctl play.{bytes,errors} will always output 0 and not increase.

I log in on ttyC0 as my user and start X with xinit instead of xdm, in case that matters. Aside from that the only changes I made are changing the permissions of my users home (/home/user) to 700 and adding umask 077 to ~/.profile. I tested with different permissions and it made no difference though. Also, unplugging the PS5 from my pc does not change anything either.

Apologies for the wall of text.


Update 2: I just found this in the bugs mailing list https://marc.info/?l=openbsd-bugs&m=170967461619230&w=2

This seems to be a known bug apparently with AMD 17h/1xh HD Audio and Realtek ALC897 codecs.

I will try suggested solution once I'm able to buy an adapter:

     1. Connect a USB-to-headphones adapter to a USB outlet of the PC, and connect the headphones to the adapter.
     2. Type `sndioctl server.device=1`, as described in `https://www.openbsd.org/faq/faq13.html#usbaudio`.
     3. Type `aucat -i file.wav`.
     4. Result: The audio signal can be heard on the headphones.

I deepy apologize for wasting everyone's time, but am grateful that people were willing to try and help.

Before posting here I only checked the misc@ mailing list, so this is my bad. In the future I will know to check bugs@.