[Solved] Sound issue through HDMI with lr-px68x (X68000 Emulator)
-
@zering said in Sound issue with lr-px68x (X68000 Emulator):
@adambegood Just to let you know, the opening screen is not supposed to have any music.
I'll look into the issue on my end as soon as I can sort out my drive issue.I'm sure mine was trying to make some kind of noise at that point... Maybe it is part of my issue. Good to know though, thank you!
-
@adambegood Here are my settings for comparison with yours :
Menu font size normal
CPU Speed 10 Mhz
RAM Size 2MB
Use Analog OFF
Joypads Default
ADPCM Volume 15
OPM Volume 12
Swap Disks on Drive FDD1
Save Disk Paths ON -
@zering Thank you, mine are the same....
-
@adambegood As it turns out my Bios files are different.
I have cgrom.dat
iplrom.dat
sram.datThat could be the issue.
I can't provide sums at this time. -
@zering said in Sound issue with lr-px68x (X68000 Emulator):
@adambegood As it turns out my Bios files are different.
I have cgrom.dat
iplrom.dat
sram.datThat could be the issue.
I can't provide sums at this time.The Docs do say to have one BIOS and the font so maybe I could get rid of the others... I do have sram.dat also
-
@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?
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.