No sound in rpi4, but only on one tv....
-
This seems related to the other issue (malformed/bad EDID sent by the TV). Are you running EmulationStation from the desktop environment or are you using the default configuration that comes with the RetroPie image ?
I'm not sure what you mean by "desktop environment". I'm running everything pretty much as vanilla and out-of-the-box as you can get. I followed this guide: https://retropie.org.uk/docs/First-Installation/
I think I'm running the default configuration. I really don't think I messed with anything outside of that guide other than running the scraper built into the EmulationStation UI to get some box art for my roms and downloading some splashscreens and EmulationStation themes.
In any case, adding that line didn't seem to make a difference. Just to make sure I did this correctly: I inserted the sd card into my pc, but I did not see a /boot/ folder, but I did see a config.txt file in the root of the sd card. I added the line you suggested at the bottom and saved the file, then put the card back into the rpi4 and booted it up. I launched a few games and still got the error message and still have no audio. Did I miss anything?
-
@blkhwks19 said in No sound in rpi4, but only on one tv....:
Did I miss anything?
No, that looks correct. Can you also try with
hdmi_safe=1
instead ? This should force a lower resolution mode but ignore completely what the TV reports.
Before adding the option above, can you also run - from the terminal, after exiting EmulationStation - the following commands and post the output:tvservice -s tvservice -m CEA
-
@mitu Here's my terminal output for the commands you listed, before adding the "hdmi_safe=1" line:
tvservice -s
state 0x6 [DVI CUSTOM RGB full 16:9], 1920x1080 @ 60.00Hz, progressive
tvservice -m CEA
Group CEA has 8 modes: mode 1: 640x480 @ 60Hz 4:3, clock:25MHz progressive mode 2: 720x480 @ 60Hz 4:3, clock:27MHz progressive mode 3: 720x480 @ 60Hz 16:9, clock:27MHz progressive mode 4: 1280x720 @ 60Hz 16:9, clock:74MHz progressive mode 5: 1920x1080 @ 60Hz 16:9, clock:74MHz interlaced mode 6: 720x480 @ 60Hz 4:3, clock:27MHz x2 interlaced mode 7: 720x480 @ 60Hz 16:9, clock:27MHz x2 interlaced (native) mode 16: 1920x1080 @ 60Hz 16:9, clock:148MHz progressive
Replaced "hdmi_force_edid_audio=1" with "hdmi_safe=1" in the same config.txt file. I don't see the error message when launching games now, but still no audio. Also resulted in a weird display. The picture no longer fills the screen (there's a pretty wide black border around each edge) and everything looks a bit stretched and/or zoomed. Something looks not quite right, it definitely must have forced a not-ideal resolution for my tv.
-
@blkhwks19 said in No sound in rpi4, but only on one tv....:
I don't see the error message when launching games now, but still no audio.
Check if your audio is correctly configured to use HDMI - see https://retropie.org.uk/forum/topic/26628/ and see if your audio settings are set to HDMI as explained in the 1st post.
-
@mitu According to that post, in the RetroPie audio menu it looks like it should be switched from Auto to HDMI, which is what I did.
As for the ES audio menu my current settings are:
Audio Card: Default (left this alone according to the post)
Audio Device: PCM (I don't see HDMI as an option, only PCM, Speaker, Master, Digital and Analogue)
OSX Audio Device: I see Local, HDMI, Both, ALSA:HW:0,0, and ALSA:HW:1,0. The post said to set it to ALSA, but I'm not sure if that's one of the options I listed or not. It's currently set to HDMI.I also ran uname -r at the terminal to check my kernel version. It's 4.19.97-v71+. According to the post my system should not be affected, if I have that right?
Calling it a night tonight, I'm around all day tomorrow to continue troubleshooting though!
-
@blkhwks19 said in No sound in rpi4, but only on one tv....:
I also ran uname -r at the terminal to check my kernel version. It's 4.19.97-v71+. According to the post my system should not be affected, if I have that right?
That's weird, because the 4.7.1 image ships with the 5.4.72 kernel.
-
i just realized that in this case a Raspberry Pi4 (2GB) runs with the image for the Pi4-400.
I dont know if this is in any way responsible for the sound-issue, but i guess for a Pi4 the P4-Image should be used, and for the Pi4-400 the Pi4-400-Image (?) -
@sirhenrythe5th said in No sound in rpi4, but only on one tv....:
I dont know if this is in any way responsible for the sound-issue, but i guess for a Pi4 the P4-Image should be used, and for the Pi4-400 the Pi4-400-Image (?)
There are is just one image for both models.
-
Any other recommendations to try at this point?
-
@blkhwks19 said in No sound in rpi4, but only on one tv....:
Any other recommendations to try at this point?
What image have you used to install RetroPie ? The 4.7.1 image doesn't have the kernel version you posted before.
-
@mitu I went here: https://retropie.org.uk/download/
... and clicked on the button for Raspberry Pi 4/400. Right now that downloads 4.7.1, but I did this about 3 weeks ago, so maybe it was a different version then? I may have been wrong about 4.7.1, is there a way I can tell which image is currently installed?
-
@blkhwks19 said in No sound in rpi4, but only on one tv....:
I may have been wrong about 4.7.1, is there a way I can tell which image is currently installed?
Which version of RetroPie does it show up, when you start the RetroPie-Setup script, in the RetroPie menu ?
Any other recommendations to try at this point?
Run
alsamixer
and check if the volume is not set at 0 or the sound output is not muted. Slim chance, if the configuration works with other TVs, but just to make sure. -
@mitu
I ran alsamixer, looks like 100 PCM, so doesn't look like anything is muted or anything there.Which version of RetroPie does it show up, when you start the RetroPie-Setup script, in the RetroPie menu ?
4.6, so yeah I was wrong earlier, apologies. So does that change anything or shed any light on what my issue is?
-
@blkhwks19 said in No sound in rpi4, but only on one tv....:
So does that change anything or shed any light on what my issue is?
Not really, but it's important for the audio configuration.
-
@mitu Ok, then I guess I'm not sure what, if anything, to do next to troubleshoot? Are we heading towards a solution of starting over and re-imaging? Obviously, I'd prefer to avoid that if possible, but it's sounding like I may be out of options here?
-
Ok I bit the bullet and started over and re-imaged my sd card. Here's my new version details:
4.7.1 Raspberry Pi 4/400 image
5.4.72 kernel
ES 2.9.6RPAfter imaging, the only steps I took were the following:
- Change keyboard layout from UK to US
- Connect to my wifi network
- Change resolution from Default (monitor preferred) to 1920x1080. (For whatever reason, the out of the box installation had the picture not quite filling my screen on all tvs. Changing this solved that)
- Copied over a few roms via wifi
As for the audio problem, I once again get audio just fine on other tvs but still no audio on this tv, the same one in question from the start of this thread. Starting to think this tv may just be too old and out of date to work with the new version of retropie (in terms of audio).
I also tried adding the hdmi lines to the config file as suggested earlier, but no luck with those.
Any other troubleshooting thoughts to try? I'm stumped and out of ideas at this point...
-
Try using another microHDMI cable, switch HDMI ports - both on the Pi and on the TV -, try lowering the resolution (720p instead of 1080p).
-
@mitu Tried all of that, no luck still....
-
@blkhwks19 So I fired it up today for the first time in a while, and I had sound on the preblematic tv! =] I have no idea how, i didnt mess with it or the tv in any way.
So I began playing around with other settings, mostly things like installing some themes, adding a splashscreen, scraped some box art, etc. Typical stuff that doesnt really mess with how things work under the hood. Got all done with that and launched a game......and no sound again =[
The ONLY thing I can think of is that once I got all the tweaks set I wanted, I shut it down, pulled the sd card out and popped it into my pc to check the config.txt file, I wasnt sure what I had left set on or off so just wanted to see what was there. I didnt change anything, put the sdcard back in the rpi4 and booted it up, and got some sdcard errors. Weird. Turned it off and made sure the sdcard was seated properly, and it booted up. Not sure if doing any of this had any impact on the sound issue?
Any thoughts on all that? Getting sound only to have it taken away is demoralizing and such a helpless feeling.
-
@blkhwks19 Got my sound back! Did a whole bunch of reserach and checked into some config.txt options and tried adding:
hdmi_drive=2
... and it seems to work now! Tried in my other tvs and back in this one and everything seems to work. Figured I'd report in case anyone else has spent the time and effort following my long attempt at fixing this =]
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.