Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio problem on Steam Deck #7447

Closed
joishere opened this issue Nov 7, 2022 · 39 comments
Closed

Audio problem on Steam Deck #7447

joishere opened this issue Nov 7, 2022 · 39 comments

Comments

@joishere
Copy link

joishere commented Nov 7, 2022

Hello,
On Steam Deck, tested with the last Beta (2022/11/05 19:56) :
There is a problem with the audio.
The two speakers play sound from the same side of the audio channel (the left). The right one is muted.
To reproduce the problem, just find a sound file that plays left and then right: when it plays left, you can hear both speakers, when it plays right, you can't hear anything.

@liberodark
Copy link

liberodark commented Nov 8, 2022

Hi,

On the same version have no issue about the sound. Have retry for your issue and i can reproduce now.
Im going to try on other steam deck.

You can run batocera-audio list & batocera-audio list-profiles

Best Regards

@joishere
Copy link
Author

joishere commented Nov 8, 2022

Hi,

On the same version have no issue about the sound. Have retry for your issue and i can reproduce now. Im going to try on other steam deck.

You can run batocera-audio list & batocera-audio list-profiles

Best Regards

Hi,
Not at home at the moment, I'll do this tonight.
For information, here is the mp3 file I use to test (not mine, found using google) :
http://www.aoakley.com/articles/stereo-test.mp3

@liberodark
Copy link

liberodark commented Nov 8, 2022

Thank you im retry with your mp3 file;
That work too for me.

@joishere
Copy link
Author

joishere commented Nov 8, 2022

Thank you im retry with your mp3 file; That work too for me.

You hear when it tests the right side ?

@liberodark
Copy link

liberodark commented Nov 8, 2022

Hi @nadenislamarre Have check with Modhack have this issue too.
You can confirm on your side with your Steam Deck ?

@liberodark
Copy link

liberodark commented Nov 8, 2022

Steam Deck Model OK

[root@BATOCERA /userdata/system]# batocera-audio list-profiles
auto auto
output:hdmi-stereo@alsa_card.pci-0000_05_00.1 HD-Audio Generic Digital Stereo (HDMI) Output
pro-audio@alsa_card.pci-0000_05_00.1 HD-Audio Generic Pro Audio
pro-audio@alsa_card.pci-0000_05_00.6 HD-Audio Generic Pro Audio
[root@BATOCERA /userdata/system]# batocera-audio list
auto auto
alsa_output.pci-0000_05_00.1.hdmi-stereo Renoir Radeon High Definition Audio Controller Digital Stereo (HDMI)

Steam Deck Model KO (Sound issue)

[root@BATOCERA /userdata/system]# batocera-audio list-profiles
auto auto
pro-audio@alsa_card.pci-0000_04_00.1 HD-Audio Generic Pro Audio
pro-audio@alsa_card.pci-0000_04_00.5-platform-acp5x_mach.0 acp5x Pro Audio
[root@BATOCERA /userdata/system]# batocera-audio list
auto auto
alsa_output.pci-0000_04_00.5-platform-acp5x_mach.0.pro-output-0 Raven/Raven2/FireFlight/Renoir Audio Processor Pro
alsa_output.pci-0000_04_00.5-platform-acp5x_mach.0.pro-output-1 Raven/Raven2/FireFlight/Renoir Audio Processor Pro 1

@joishere
Copy link
Author

joishere commented Nov 8, 2022

My Steam Deck (512GB) - KO :

[root@BATOCERA-DECK /userdata/system]# batocera-audio list
auto auto
alsa_output.pci-0000_04_00.5-platform-acp5x_mach.0.pro-output-0 Raven/Raven2/FireFlight/Renoir Audio Processor Pro
alsa_output.pci-0000_04_00.5-platform-acp5x_mach.0.pro-output-1 Raven/Raven2/FireFlight/Renoir Audio Processor Pro 1
[root@BATOCERA-DECK /userdata/system]# batocera-audio list-profiles
auto auto
pro-audio@alsa_card.pci-0000_04_00.1 HD-Audio Generic Pro Audio
pro-audio@alsa_card.pci-0000_04_00.5-platform-acp5x_mach.0 acp5x Pro Audio

@joishere
Copy link
Author

Updated to beta "2022/11/09 19:32", same problem.

@nadenislamarre
Copy link
Collaborator

i've found nothing on my side.
is it however reallhy a problem ? i play wihtout getting the issue.

@joishere
Copy link
Author

Thank you @nadenislamarre for watching.

Yes, this is really a problem.
There is a whole side of the stereo missing.
On most machines this may not be too noticeable, but on the Amiga for example, which has 100% stereo separation (in real life and on the libretro cores), half the music is missing.

@joishere
Copy link
Author

2022/11/16 23:38 : same problem

@joishere
Copy link
Author

joishere commented Nov 18, 2022

i've found nothing on my side. is it however reallhy a problem ? i play wihtout getting the issue.

@nadenislamarre you play without issue because not all steam deck are affected.

@nadenislamarre
Copy link
Collaborator

i reproduce. however, i've not found why this happen.

@ldu71
Copy link

ldu71 commented Nov 19, 2022

Hello there,

Brand new to the community, but long time user of Batocera.

Received my Steam Deck 512Gb 2 days ago, and I'm having sound issues as well.

[root@BATOCERA-DECK /userdata/system]# batocera-audio list
auto auto
alsa_output.pci-0000_04_00.5-platform-acp5x_mach.0.pro-output-0 Raven/Raven2/FireFlight/Renoir Audio Processor Pro
alsa_output.pci-0000_04_00.5-platform-acp5x_mach.0.pro-output-1 Raven/Raven2/FireFlight/Renoir Audio Processor Pro 1
[root@BATOCERA-DECK /userdata/system]# batocera-audio list-profiles
auto auto
pro-audio@alsa_card.pci-0000_04_00.1 HD-Audio Generic Pro Audio
pro-audio@alsa_card.pci-0000_04_00.5-platform-acp5x_mach.0 acp5x Pro Audio

so, KO model.

I didn't really had the chance to get the "no right channel" issue as I have a cracking noise all the time as soon as the Steam Deck is producing sound (splash video, theme background music, anything). I can disable this by turning off all the sounds in the menus, but it's directly there when launching a game. And it doesn't stop directly if I quit the game, it stays for about 1 minutes.

As I'm totally new to the Steam Deck and still discovering it, I already tried enabling and disabling many things in the BIOS, as well as tried many different supports for installation, thinking it might be a speed problem (microSD A1 and A2, from USB stick, from internal SSD) but no luck right now :( Then I've found this topic, which make me think the latest revision of Steam Deck may have definately something different looking at OK and KO outputs.

Remind me of that old "hanging note" bug on Sound Blaster cards when using MIDI devices with DSP higher than v4.05 :D

@nadenislamarre
Copy link
Collaborator

can you :

  1. connect on batocera via ssh
  2. run : alsamixer
  3. choose f6, then acp5x
  4. with arrows keys, you can change the mixers. As you can notice, the steamdeck has a lot of them (more than 60 !). probably one is to change to avoid this sound. can you try to find it please ?

image

@ldu71
Copy link

ldu71 commented Nov 19, 2022

Ok, looks like this is also related to the right side issue.

I've disabled everything on both sound cards "HD audio generic" (only 4 S/PDIF for this one) and "acp5x" ("OO" to "MM"). I've put every sliders to 0 on "acp5x" and the only sliders that look to have some effect are Left Digital PCM (dB Gain) and Right Digital PCM (dB Gain). Or I thought they were. If I slide down the right one, no more sound at all, even with Left Digital PCM set to 100 (dB gain: 12,00), meaning no music, but no cracking sound neither.

If I can test anything else, please let me know. I'll try to do my best (not very good with Linux, but with the right informations, I can do a lot).

Forgot to say : of course when screen fade with screen saver or power saving, no sounds or music, and no more cracking. Don't know if this is revelant or not.

(petit aparté : bonjour Nicolas, je ne sais pas si c'est permis ici, mais pour la compréhension, je suis francophone de Belgique. Avec votre prénom et votre localisation, je suppose que vous parlez aussi français :D. Peut-être plus simple de communiquer ainsi ?)

@joishere
Copy link
Author

With a headset plugged into the jack, there is no problem, I can hear the right side correctly!

@ldu71 : je crois que tout le monde parle français dans ce fil, après je ne connais pas les règles, s'il faut obligatoirement s'exprimer en anglais ou pas....

@nadenislamarre
Copy link
Collaborator

people read feom around the world. english is preferable to share with others.

@ldu71
Copy link

ldu71 commented Nov 20, 2022

ok guys, no prob. If I can help further with more tests, let me know.

@ldu71
Copy link

ldu71 commented Nov 23, 2022

Problem still present using latest build batocera-x86_64-36-20221122.img

@dmanlfc
Copy link
Collaborator

dmanlfc commented Dec 14, 2022

@ldu71 - try this build here: https://drive.google.com/drive/folders/1_bqmR7CoZ78i7DolYt5b-RRqB5c-LPyN?usp=share_link

then boot into your steamdeck & via ssh do the following:
mount -o remount,rw /boot
echo intel-dsp-config=sof >> /boot/batocera-boot.conf
mount -o remount,r /boot
reboot

see if that improves audio.

@joishere
Copy link
Author

@ldu71 - try this build here: https://drive.google.com/drive/folders/1_bqmR7CoZ78i7DolYt5b-RRqB5c-LPyN?usp=share_link

then boot into your steamdeck & via ssh do the following: mount -o remount,rw /boot echo intel-dsp-config=sof >> /boot/batocera-boot.conf mount -o remount,r /boot reboot

see if that improves audio.

@dmanlfc : thank you, tested, but not better 😢

@dmanlfc
Copy link
Collaborator

dmanlfc commented Dec 14, 2022

Ok thanks for confirming

@ldu71
Copy link

ldu71 commented Dec 15, 2022

Nope, unfortunately. Still awful sound :(

@dmanlfc
Copy link
Collaborator

dmanlfc commented Dec 21, 2022

@joishere / @ldu71

Please try again - same link as above, however once installed do this via terminal / ssh:

nano /etc/modprobe.d/intel-dsp.conf
edit the line options snd-intel-dspcfg dsp_driver=1 & set it to options snd-intel-dspcfg dsp_driver=3
save & exit, then type batocera-save-overlay
then reboot

let me know...

@joishere
Copy link
Author

@joishere / @ldu71

Please try again - same link as above, however once installed do this via terminal / ssh:

nano /etc/modprobe.d/intel-dsp.conf edit the line options snd-intel-dspcfg dsp_driver=1 & set it to options snd-intel-dspcfg dsp_driver=3 save & exit, then type batocera-save-overlay then reboot

let me know...

@dmanlfc
It was already set to 3.
So I tried setting to 1 but it seems that "batocera-save-overlay" doesn't save this file.

@dmanlfc
Copy link
Collaborator

dmanlfc commented Dec 22, 2022

Already set to 3? the default is 1...
batocera-save-overlay doesn't save this file leads me to believe you have much bigger problems as it should...
can you confirm /etc/init.d/S06audio doesn't write to this file

@calgon2000
Copy link

Hello there. I have the same problem mentionned in this thread: Amiga sound is only mono on my Steam Deck which is quite annoying. Is there anything new about that? Thanks

@LouisCypher93
Copy link

Hi i have the same issue with my steam deck and amiga with Batocera. The sourd is good with the headset but just in mono with the speakers have you find a solution ? Thanks for your help

@calgon2000
Copy link

Can't remember exactly how I did it. It was something with the audio channels inside the emulation configuration but can't figure out where :( Might have the problem in the near future :(

@LouisCypher93
Copy link

Thanks à lot for your answer. I have found the solution in puae retroarch audio settings. The first item. Have à good day

@Lolomotu
Copy link

Lolomotu commented Mar 2, 2023

Where did you go to change the puae settings?

@Lolomotu
Copy link

Lolomotu commented Mar 3, 2023

Hi What setting are you changing?

@MushGuyDS
Copy link

Hello, I can confirm that the issue is still present in the stable v36 build. Stereo still works properly through headphones, though.

@vangar
Copy link

vangar commented Mar 14, 2023

Just installed 36 today and mono audio here too

@dmanlfc
Copy link
Collaborator

dmanlfc commented Mar 16, 2023

When this issue is closed, then the issue is fixed. Until then we're fully aware of the problem.

@joishere
Copy link
Author

joishere commented May 1, 2023

When this issue is closed, then the issue is fixed. Until then we're fully aware of the problem.

@dmanlfc : Does the team have a clue how to solve the problem?

@M1ch3l77
Copy link

M1ch3l77 commented May 1, 2023

On the last batocera BETA, on steam deck, the Audio problem is fixed but I don't know what have they changed.

@joishere
Copy link
Author

joishere commented May 4, 2023

On the last batocera BETA, on steam deck, the Audio problem is fixed but I don't know what have they changed.

Thanks for the information, good news!
Indeed it works, thanks to the Batocera team.
I close the ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests