batocera-linux / batocera.linux

batocera.linux
https://batocera.org
Other
2k stars 514 forks source link

No sound or WiFi with Steam Deck OLED #10478

Closed osuman30 closed 10 months ago

osuman30 commented 11 months ago

Batocera build version

Current stable version 38c 2023/10/14

Your architecture

Steam deck OLED

Your Graphic Processor Unit (GPU)

Integrated (e.g. Intel HD 550; RX Vega 8)

Graphical brand

AMD

Issue description

I have a batocera micro ssd that works great on my SD LCD. When I try it on the SD OLED I get no sound and no WiFi. The only sound output option is DUMMY output. Thanks

Expected result

No response

Reproduction steps

No option to select for audio output except DUMMY OUTPUT Wifi will not work. Believe its missing drivers since these are the two components that are new on the OLED version

Logs and data

No response

Checklist

dmanlfc commented 11 months ago

Ship me an OLED & I will fix it 🤣🤣🤣

dmanlfc commented 11 months ago

Try v39 beta without any customisation

SilentD76 commented 11 months ago

I also have the same issues and when I first loaded it the screen was rotated had to switch it from auto to 90

dmanlfc commented 11 months ago

What is the output of batocera-info ?

dmanlfc commented 11 months ago

Also create a support file from v39 beta please so we can look at the logs.

SilentD76 commented 11 months ago

Also create a support file from v39 beta please so we can look at the logs.

batocera-support-20231124184102.tar.gz

dmanlfc commented 11 months ago

Also create a support file from v39 beta please so we can look at the logs.

batocera-support-20231124184102.tar.gz

Thanks I will look at it soon. Can you provide the output of batocera-info please?

dmanlfc commented 11 months ago

You're using a custom build of v39, what have you changed?

Using Steam OS, provide the output of the following from the terminal:

  1. find / -name sof-vangogh-code.bin
  2. find / -name sof-vangogh-data.bin
  3. find / -name sof-vangogh.ri
  4. lsmod | grep '^snd'
madelk commented 11 months ago

Does this help?

grep.txt find.txt

madelk commented 11 months ago

IDK if you need those files, but if you do

sof-vangogh-data.zip sof-vangogh-code.zip

madelk commented 11 months ago

Here’s my support file too. It’s a fresh install so hopefully this should be clean. Only setting I changed was rotating the screen IIRC

batocera-support-20231126185706.tar.zip

dmanlfc commented 11 months ago

@madelk excellent, thanks. what I need you to do as a test is copy those sof-vangogh* files to /usr/lib/firmware/amd/sof/ on your Batocera SDCard.

To do that copy them from Steam OS to your Batocera /userdata/system folder first. Then boot Batocera off the SDCard Next from the terminal or ssh type mkdir -p /usr/lib/firmware/amd/sof After creating the directory, type cp /userdata/system/sof-vangogh*.bin /usr/lib/firmware/amd/sof/ Finally type batocera-save-overlay then reboot Hopefully that will give you sound. Let me know. I will need some information from you if it works too.

madelk commented 11 months ago

@dmanlfc no such luck. But I did never find a sof-vangogh.ri

image

dmanlfc commented 11 months ago

@madelk can I have a new support file please?

madelk commented 11 months ago

@madelk can I have a new support file please?

batocera-support-20231127041746.tar.gz

dmanlfc commented 11 months ago

ahh my bad, we need to copy the bin files to /lib/firmware/amd/sof on Batocera So mkdir -p /lib/firmware/amd/sof then copy the files to that location save the overlay & reboot

dmanlfc commented 11 months ago

working @madelk ?

madelk commented 11 months ago

@dmanlfc Sadly not. Was just getting the support file batocera-support-20231127044706.tar.gz

dmanlfc commented 11 months ago

ok getting closer, can you upload this file from SteamOS? - /usr/lib/firmware/amd/sof-tplg/sof-vangogh-nau8821-max.tplg so I can add it to our image. then you need to copy that file to /lib/firmware/amd/sof-tplg/ in Batocera. this directory should already exist.

madelk commented 11 months ago

@dmanlfc batocera-support-20231127051131.tar.gz I wish I had better news for you!

dmanlfc commented 11 months ago

upload the file anyway :-)

madelk commented 11 months ago

Oops. I should have done better reading! Here we go! sof-vangogh-nau8821-max.tplg.zip

dmanlfc commented 11 months ago

@madelk in SteamOS, can you lsmod | grep '^acp' thanks

madelk commented 11 months ago

image @dmanlfc

dmanlfc commented 11 months ago

ok @madelk in SteamOS do find / -name acp5x and show me the output please.

madelk commented 11 months ago

@dmanlfc image

dmanlfc commented 11 months ago

ok upload all the files from /usr/share/alsa/ucm2/AMD/acp5x & /usr/share/alsa/ucm2/conf.d/acp5x here please.

madelk commented 11 months ago

alsa.zip Because I'm lazy

dmanlfc commented 11 months ago

Ok I will look later, just out for a few hours

madelk commented 11 months ago

@dmanlfc About time for me to head to sleep anyhow. But I can pick up on anything tomorrow after work. Good working with you tonight, I hope this was helpful!

SilentD76 commented 11 months ago

@dmanlfc About time for me to head to sleep anyhow. But I can pick up on anything tomorrow after work. Good working with you tonight, I hope this was helpful!

Well done, i couldn't get anything done.

SilentD76 commented 11 months ago

Not sure if it relates but have noticed the OLED is running on an older firmware than the LCD 🤔. I take it there is some driver differences

dmanlfc commented 11 months ago

By firmware, are you meaning the BIOS?

SilentD76 commented 11 months ago

By firmware, are you meaning the BIOS?

Yeah bios 👍

dmanlfc commented 11 months ago

It's natural it will be a different version. it will be modified for the newer hardware.

dmanlfc commented 11 months ago

@madelk copy the ucm2 folder into the same location in the Batocera image /usr/share/alsa/ and overwrite the existing folder & all the files. then batocera-save-overlay again & reboot.

madelk commented 11 months ago

@dmanlfc No audio even after yeeting the whole folder over batocera-support-20231127143016.tar.gz

dmanlfc commented 11 months ago

any output from lsmod | grep acp-bt-codec ?

madelk commented 11 months ago

any output from lsmod | grep acp-bt-codec ?

Nothing

dmanlfc commented 11 months ago

try changing this setting... https://wiki.batocera.org/audio_issues?s[]=dsp#i_still_don_t_have_any_sound

dmanlfc commented 11 months ago

also @madelk please provide the output file from SteamOS by doing dmesg > dmesg.log

madelk commented 11 months ago

No sound and no output from that command 😞

dmanlfc commented 11 months ago

No sound and no output from that command 😞

i want the file :-) it's in the location in SteamOS where you ran it.

madelk commented 11 months ago

Oh crap, run that command in SteamOS! My bad! On it!

madelk commented 11 months ago

dmesg.log Here we go

dmanlfc commented 11 months ago

@madelk I take it bluetooth also doesn't work?

madelk commented 11 months ago

@madelk I take it bluetooth also doesn't work?

I've never tried bluetooth in Batocera before. But I'm not seeing anything get listed when I try to pair manually. Just sits on Please Wait

dmanlfc commented 11 months ago

ok i think it's related. the audio topology is expecting what seems like a bluetooth codec. i will have to provide a modified kernel to test wifi & bluetooth. i'm on holiday in bali but will be back later in the week & can then give you a test build with an updated kernel to test.

madelk commented 11 months ago

I appreciate you @dmanlfc Enjoy your holiday!

wade764 commented 11 months ago

If I can help with testing please let me know! I am also having the same issue with the OLED model.