[Solved] Sound issue through HDMI with lr-px68x (X68000 Emulator)
-
@adambegood I would start by reproducing my setup, then we can narrow down the issue.
-
@zering Makes sense - I took out the other BIOS, no joy.
Does the emulator generate sram.dat? I am sure I didn't add it, it's not in the Docs.
Here's a verbose log, but I can't see anything obvious. https://pastebin.com/04Tnea0e
-
@adambegood Now that you mentiin it, it's possible but I can't confirm either way. I've had the bios set up for something like two years.
So are we thinking that the issue is with the way you're outputting sound? -
@zering said in Sound issue with lr-px68x (X68000 Emulator):
@adambegood Now that you mentiin it, it's possible but I can't confirm either way. I've had the bios set up for something like two years.
So are we thinking that the issue is with the way you're outputting sound?100% - I just tried it through the headphone jack, went into Audio to change the output, and it all worked fine. Then changed back to HDMI and the issue is still there. Not sure how to remedy that though...
On the upside, I can listen to it through headphones without any bother, which is good!
-
@adambegood Well glad you've found some sort of fix at least!
-
@zering said in Sound issue through HDMI with lr-px68x (X68000 Emulator):
@adambegood Well glad you've found some sort of fix at least!
I think I will still leave this open though. If anyone has any thoughts on how to fix it, that would be good. My worry is that maybe it has something to do with my config for RetroPie, which works for everything else! I don't really want to change it. Maybe I will post it to see if anyone thinks it looks weird (or different to yours, Zering - as yours work with HDMI output).
But good to have the headphones option, yeah!
-
These are the Config lines that may be relevant, I am unsure which may be the issue though.
disable_overscan=1 hdmi_force_hotplug=1 hdmi_drive=2 dtparam=audio=on dtoverlay=vc4-fkms-v3d max_framebuffers=2 overscan_scale=1
@Zering - I am sorry you are my eternal guinea pig, but could you let me know what you have so I can see where we differ please?
-
@adambegood No problem. Where would I find the relevant file?
-
@zering said in Sound issue through HDMI with lr-px68x (X68000 Emulator):
@adambegood No problem. Where would I find the relevant file?
There are two things I am interested in seeing actually - one is the above, which is in boot/config.txt. You can do
"sudo edit config.txt"from the terminal in Emulation Station as well, I believe - or just SCP into it as normal.There is also a config in BIOS/keropi that is created when the emulator is run, here is mine: https://pastebin.com/tFiaAUn8
There are some MIDI settings in there that I can't see in RetroArch, so I wonder if those are different for you also?
Take your time with this, there is no hurry - and thank you.
I am trying out each of the individual BIOSes to see if any of them makes an impact, but all are the same so far as I can tell.
Edit: Actually, ipmrom30.dat has a different BIOS graphic to the other ones and then doesn't load for me. But that isn't really helpful anyway.
Further edit: Actually, it's:
sudo nano /boot/config.txt
-
@adambegood Here are my settings :
#disable_overscan=1
hdmi_force_hotplug=1
#hdmi_drive=2
dtparam=audio=on
dtoverlay=vc4-fkms-v3d
max_framebuffers=2
overscan_scale=1I don't see any difference, so my guess is the problem isn't related to those settings.
Here is my config file from keropi : https://paste.ubuntu.com/p/zj82RbQ5Kp/
Let me know if any of this helps.
-
@zering said in Sound issue through HDMI with lr-px68x (X68000 Emulator):
@adambegood Here are my settings :
#disable_overscan=1
hdmi_force_hotplug=1
#hdmi_drive=2
dtparam=audio=on
dtoverlay=vc4-fkms-v3d
max_framebuffers=2
overscan_scale=1I don't see any difference, so my guess is the problem isn't related to those settings.
Here is my config file from keropi : https://paste.ubuntu.com/p/zj82RbQ5Kp/
Let me know if any of this helps.
Thanks so much, @Zering ! I'm out all day today but when I get back I'll have a look at this. Cheers!
Edit: A couple of your config.txt settings are commented out where mine aren't but I've tried getting rid of those and it makes no difference.
I'm going for a run but I'll see if the keropi config can help after.
Further Edit: My "framerate" parameter was set to 7 rather than 1. It seems to change it back by default every time also, which is interesting but doesn't fix anything!
-
I'll leave this open - it is solved in that if I switch Output to Headphones then everything is fine. If anyone can think of anything else I can test to get HDMI sound working, I'd be interested! Thanks.
Edit: I'm just playing it through with Headphones - the music is so good! Would be nice to be able to play it through my normal speakers also.
-
@adambegood How far did you get? The stage 3 music is so awesome.
-
@zering said in Sound issue through HDMI with lr-px68x (X68000 Emulator):
@adambegood How far did you get? The stage 3 music is so awesome.
I think I did get to Stage 3! I had to stop as my Wife wanted me to spend some of the evening with her, but I'll try to get through it all tomorrow if poss.
Edit: Out of interest, I tried this on the big TV in the living room, rather than my Office monitor. The result is exactly the same, the sound dips throughout. I wondered if it was something to do with the automatic setting the Pi was doing for my monitor.
-
@adambegood Could it be linked to the resolution and frequency of your monitors?
-
@zering said in Sound issue through HDMI with lr-px68x (X68000 Emulator):
@adambegood Could it be linked to the resolution and frequency of your monitors?
It could be but I'm not really sure how to determine that... I've got a TV in the kitchen as well I suppose, could test it on that. I'm going to have a play on headphones now anyway!
Edit: Got to Level 3, the music is v good. I played Buster as well, the other game with dodgy music. Fine on headphones. I bet some other X68000 games have this issue for me also, I just wouldn't have noticed it.
Further Edit: I'm not sure what would help further with anyone working out what is going on, but I did this in the terminal so including it just in case.
tvservice -s state 0xa [HDMI CUSTOM RGB lim 16:9], 1920x1080 @60.00Hz, progressive
-
I ran an update through RetroPie Setup over night, and now the sound is sorted on lr-px68k. I've no idea which package did it - I don't think it was the emulator itself as I reinstalled that from Source while I was trying to sort this issue.
But something has sorted it out. @Folly, if you are bothered about your HDMI sound not working on X68000, an update on RetroPie Setup has sorted that for me. I wish I knew more specifically how, but I am glad it is fixed.
@Zering - thanks for all the help!
-
@adambegood No worries at all, I'm glad it's finally working for you. Now you can properly enjoy the best game on the X68000!
-
@zering said in [Solved] Sound issue through HDMI with lr-px68x (X68000 Emulator):
@adambegood No worries at all, I'm glad it's finally working for you. Now you can properly enjoy the best game on the X68000!
Indeed, glad to have it in the gaming stable! Hope your Pi repairs are going well today.
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.