Weird Mouse Cursor bug in MAME (non-libretro)
-
@barbudreadmon said in Weird Mouse Cursor bug in MAME (non-libretro):
My 2 cents : MAME standalone dislikes running on a headless system.
Probably because is not a common configuration on Linux.
@JSM you may try to run it under a desktop session and see if it behaves differently.
If it works, you can install thematchbox
window manager and modify theemulators.cfg
configuration file and prependXINIT:
to the standalonemame
launching command. Runcommand will take care of starting thex11
session and the emulator. -
This sounds like it's probably a great work around.
Stupid questions:
-
Is matchbox available to install from the retropie config menu, or do I have to do a manual install? (in which case I would need to know the command line to get the install downloaded and running.)
-
prepending XINIT - a little more detail on this would be helpful. Where is XINIT stored, and are you saying just copy and pasted the edited MAME standalone launch command into it, or is XINIT a protocol? (sorry, I know this is a noob question, but I'm not a Linux expert)
-
-
Is matchbox available to install from the retropie config menu, or do I have to do a manual install? (in which case I would need to know the command line to get the install downloaded and running.)
It's not installable separately, but you can install it via command line (
sudo apt install matchbox-window-manager
). If you install thesteamlink
port, then it will be installed as part of the dependencies for it so you don't have to install it manually - I recommend you do this.prepending XINIT - a little more detail on this would be helpful. Where is XINIT stored, and are you saying just copy and pasted the edited MAME standalone launch command into it, or is XINIT a protocol? (sorry, I know this is a noob question, but I'm not a Linux expert)
XINIT:
tellsruncommand
that the emulator should be launched in a minimal desktop session and it takes care of launching it for you, without adding any extra scripts. By default, for themame
system, theemulators.cfg
would contain:mame = "/opt/retropie/emulators/mame/mame %BASENAME%"
replace it with
mame = "XINIT:/opt/retropie/emulators/mame/mame %BASENAME%"
-
@mitu yeah, thanks for the idea, but this didn't work either.
-
@JSM If standalone MAME can't work properly on a pi, i suppose you'll have to use lr-mame, FWIW i found the post mentioning how to get working hiscores in lr-mame.
Or you could use one of the better libretroized cores, tbh i'd recommend avoiding lr-mame and lr-mame2016 since they can't even display shaders on vertical games properly.
-
@barbudreadmon The whole point of using LR-MAME or MAME standalone was that they are the only ones to produce correct, accurate faithful sound for a number of games. FBneo is a hacky mess that still uses inaccurately implemented samples and speed hacks, and MAME2003 isn't even close to accurate on sound or colors. 2010 and 2016 are crash filled messes.
At the end of the day just telling people "we can't figure out how to fix this minor bug in this universally accepted standard emulator in our RPi platform, so why don't you use this hack-filled inaccurate version that is 18 years out of date" is pretty much the worst version of "help" you can offer. Especially when the person reporting the bugs specifically said, numerous times "please don't suggest other emulators". It's the equivalent of taking your car to the mechanic to get a tire patched and he tells you to buy his used car with bald tires instead.
-
@JSM said in Weird Mouse Cursor bug in MAME (non-libretro):
FBneo is a hacky mess that still uses inaccurately implemented samples and speed hacks
You obviously don't understand what you are talking about, so please stay respectful about people's work. Why do you think FBNeo devs regularily appear on MAME changelog ? Most of the time both emulators will be equally accurate, sometimes one or the other is more accurate.
As for the samples, there is no way a sound directly recorded from the arcade board would be inaccurate, if anything MAME's netlist (their analog circuitry library) is more likely to be inaccurate since it is emulation, meaning there could be bugs in the library (and there probably are, since they have been fixing it over the years) or the handcrafted digital representation of the analog circuitry. MAME's approach might be equally accurate if it has no bugs, but there would still be the drawback that it's more costly ressource-wise.
Don't get this wrong, MAME isn't using netlist because it's "more accurate" (again there is literally no way emulation could be more accurate than the real thing), they are using netlist because this is a preservation project, and it's more worthwile in that context to document a circuitry blueprint than to use recorded sounds.
Also note that FBNeo is actually using both methods : the samples method when proper samples are available, and the analog circuitry emulation when there aren't. There is no need for 2 preservation projects so we prefer a more pragmatic approach.
@JSM said in Weird Mouse Cursor bug in MAME (non-libretro):
we can't figure out how to fix this minor bug in this universally accepted standard emulator in our RPi platform
This is a MAME bug, ask the MAME team.
-
It's not a MAME bug. It doesn't happen in MAME on any other platform. It only happens in the Retropie build. It is a Retropie bug. More specifically, it is a bug in how this specific build of MAME behaves only on Retropie.
Samples are always inaccurate, to varying degrees. These aren't direct digital copies of the audio from the ROM at it's orignal bitrate and waveform bandwidth. They are analog waveform recordings (magnetic media recorded approximations), converted to low resolution digital audio format. They are subject to the quality of the recording format, equipment, and media and knowledge of audio capture engineering used by the sample recorder.
They are the functional difference between an MP3 converted at 128kb and the original master recordings made in a studio on 2inch analog tape (or 96Khz Digital audio capture in Protools, etc.) They are sampled and then converted to a lower resolution (lossy conversion) format to allow for quick playback due to smaller file size, based on game mechanic triggers in the emulation.
I'm not an emulation coding expert, which is why I come here to report bugs for others to correct in the emulators. That is what this forum is for.
But I am a professional audio engineer. I have a bachelors degree in Audio Engineering from Berklee. I work as a studio engineer and producer in one of the premier recording houses on the east coast. While I appreciate that you feel you have to "defend your turf" because you're on the FBNeo dev team, please don't try to lecture me on audio quality.
-
@JSM said in Weird Mouse Cursor bug in MAME (non-libretro):
It's not a MAME bug. It doesn't happen in MAME on any other platform. It only happens in the Retropie build. It is a Retropie bug. More specifically, it is a bug in how this specific build of MAME behaves only on Retropie.
We have no specific patches added to MAME - it's a straight compile from vanilla sources. See here.
I'm not an emulation coding expert, which is why I come here to report bugs for others to correct in the emulators. That is what this forum is for.
Yes, this forum is for bug reports and support. Unfortunately there's nothing we can do to fix the behavior you're seeing - looks to be an upstream bug/issue, as @barbudreadmon mentioned.
When there's something that's Pi specific and we can track it down to a CPU/Architecture issue, we report this ourselves upstream or sometimes we are able to provide a patch. In this case they don't seem to be interested in accepting the bug report and fixing or providing a diagnostic.
-
@mitu It is RetroPie specific, because it does not occur on any other platform. It only occurs in the RetroPie build of MAME. It is not a bug that exists in any other build of MAME, anywhere.
-
RetroPie is not a 'platform' - is just a vanilla RasPI OS (Buster) as distributed by the Raspberry Pi folks. As I said - there's nothing special about our MAME build.
-
@JSM said in Weird Mouse Cursor bug in MAME (non-libretro):
It's not a MAME bug. It doesn't happen in MAME on any other platform.
Again, it is a MAME bug, because retropie isn't applying any change to the MAME code...
@JSM said in Weird Mouse Cursor bug in MAME (non-libretro):
Samples are always inaccurate, to varying degrees. These aren't direct digital copies of the audio from the ROM at it's orignal bitrate and waveform bandwidth. They are analog waveform recordings (magnetic media recorded approximations), converted to low resolution digital audio format. They are subject to the quality of the recording format, equipment, and media and knowledge of audio capture engineering used by the sample recorder.
They are the functional difference between an MP3 converted at 128kb and the original master recordings made in a studio on 2inch analog tape (or 96Khz Digital audio capture in Protools, etc.) They are sampled and then converted to a lower resolution (lossy conversion) format to allow for quick playback due to smaller file size, based on game mechanic triggers in the emulation.
I'm not an emulation coding expert, which is why I come here to report bugs for others to correct in the emulators. That is what this forum is for.
But I am a professional audio engineer. I have a bachelors degree in Audio Engineering from Berklee. I work as a studio engineer and producer in one of the premier recording houses on the east coast. While I appreciate that you feel you have to "defend your turf" because you're on the FBNeo dev team, please don't try to lecture me on audio quality.And yet, when you compare a Donkey Kong cabinet with both emulators, FBNeo actually sounds way closer to the cabinet.
Note that the dkong samples were carefully re-recorded long ago, if you were to use the original samples that were released back around 1998 (probably the ones you refer to with your "magnetic media") then yes, the quality would be bad. -
@barbudreadmon said in Weird Mouse Cursor bug in MAME (non-libretro):
Again, it is a MAME bug, because retropie isn't applying any change to the MAME code...
Just to expand on this and on the fact that's happening only on the 'RetroPie platform' : what's specific to RetroPie is the fact that we're running without a desktop environment (as you mentioned earlier).
This means we're using the RPI SDL's drivers for rendering and event/input handling. There might be issues with that specific RPI driver, which, due to the limited target audience, might not appear on other platforms (PC/X11/Windows/etc.).
However, by running
mame
in the desktop env - as tested earlier - means that a well known and used Linux rendering path/driver in SDL is used (X11).Since the issue appears also in this configuration, as @JSM reported, then I don't think the RPI driver is at fault here - as far as this rendering path is concerned, the RPI is just a normal Linux desktop environment. -
@mitu Yeah, only a MAMEdev could tell what's going on since they have the better knowledge of their codepath.
-
@barbudreadmon said in Weird Mouse Cursor bug in MAME (non-libretro):
And yet, when you compare a Donkey Kong cabinet with both emulators, FBNeo actually sounds way closer to the cabinet.
No, it doesn't. Not even close. I've tested it at Funspot in NH with their real cabinets. Plus I played them all in real time in 1981-83.
FBNeo sounds like the NES version. Not the original Arcade version.
-
@JSM said in Weird Mouse Cursor bug in MAME (non-libretro):
No, it doesn't. Not even close.
Sound on the real cabinet isn't muffled the way MAME emulates it. You can easily find videos of the real cabinet with good enough audio to confirm this, and anyway bad audio would muffle the audio but not the other way around. I suppose maybe the amp present on those cabinets isn't emulated by MAME or something, iirc they consider it's not part of the machine. FBNeo won't have this issue since the recorded sounds are most likely already amplified.
@JSM said in Weird Mouse Cursor bug in MAME (non-libretro):
I've tested it at Funspot in NH with their real cabinets. Plus I played them all in real time in 1981-83.
Meaning in noisy environments and/or very long ago.
-
@barbudreadmon said in Weird Mouse Cursor bug in MAME (non-libretro):
@JSM said in Weird Mouse Cursor bug in MAME (non-libretro):
No, it doesn't. Not even close.
Sound on the real cabinet isn't muffled the way MAME emulates it. >
Yes, it is. On every real cabinet I've ever played. As recently as a few months ago.
You can easily find videos of the real cabinet with good enough audio to confirm this, and anyway bad audio would muffle the audio but not the other way around. I suppose maybe the amp present on those cabinets isn't emulated by MAME or something, iirc they consider it's not part of the machine. FBNeo won't have this issue since the recorded sounds are most likely already amplified.
LOL. This is the same argument you pulled last time this discussion came up on reddit and the video link you posted was a compressed, pixelatted mess on youtube.
@JSM said in Weird Mouse Cursor bug in MAME (non-libretro):
I've tested it at Funspot in NH with their real cabinets. Plus I played them all in real time in 1981-83.
Meaning in noisy environments and/or very long ago.
No, meaning actual, recent, real world experience. Unlike you googling up youtube videos of a cab you've never played in real life.
-
@JSM said in Weird Mouse Cursor bug in MAME (non-libretro):
Yes, it is. On every real cabinet I've ever played. As recently as a few months ago.
Ok, so you are saying literally every video of that cabinet you can find on internet are fakes, because there isn't a single video that confirm your version.
@JSM said in Weird Mouse Cursor bug in MAME (non-libretro):
LOL. This is the same argument you pulled last time this discussion came up on reddit and the video link you posted was a compressed, pixelatted mess on youtube.
Oh, so you are that super toxic guy from reddit a few months ago that was insulting people who were telling you the exact same thing, aka the fact that all videos of the cab confirm FBNeo is closer to the real thing. I remember you were even telling some well-known player (not billy mitchell) was playing on a mame cab and not the real cab to justify yourself when someone (not me) pointed you to some dkong video. So you knew who i was and still decided to insult a project i work on in this topic, while i even spent half an hour searching through my browser history to find that lr-mame hiscore tutorial to help you.
@JSM said in Weird Mouse Cursor bug in MAME (non-libretro):
No, meaning actual, recent, real world experience
Which isn't worth a shit in noisy environments like those.
Anyone interested can search for videos of the real cab and see who is right, so you aren't worth spending more time arguing.
-
@barbudreadmon said in Weird Mouse Cursor bug in MAME (non-libretro):
@JSM said in Weird Mouse Cursor bug in MAME (non-libretro):
Yes, it is. On every real cabinet I've ever played. As recently as a few months ago.
Ok, so you are saying literally every video of that cabinet you can find on internet are fakes, because there isn't a single video that confirm your version.
@JSM said in Weird Mouse Cursor bug in MAME (non-libretro):
LOL. This is the same argument you pulled last time this discussion came up on reddit and the video link you posted was a compressed, pixelatted mess on youtube.
Oh, so you are that super toxic guy from reddit a few months ago that was insulting people who were telling you the exact same thing, aka the fact that all videos of the cab confirm FBNeo is closer to the real thing. I remember you were even telling some well-known player (not billy mitchell) was playing on a mame cab and not the real cab to justify yourself when someone (not me) pointed you to some dkong video. So you knew who i was and still decided to insult a project i work on in this topic, while i even spent half an hour searching through my browser history to find that lr-mame hiscore tutorial to help you.
@JSM said in Weird Mouse Cursor bug in MAME (non-libretro):
No, meaning actual, recent, real world experience
Which isn't worth a shit in noisy environments like those.
Anyone interested can search for videos of the real cab and see who is right, so you aren't worth spending more time arguing.
Lol.
Yes. I am the same guy. No, I wasn’t , and still aren’t anything approaching “toxic”.
I posted a thread with a bug report about a specific version of MAME, and instead of getting useful answers or an actual case opened to investigate and repair the bug, I got you, FBNeo “dev” and superfan # 1 telling me “just use FBNeo, it’s better!” Even though both times I explicitly asked in my FIRST POST, “please don’t recommend other emulators, I’m asking how we can fix this version.” And regardless of me asking politely for no alternative emu recommendations, you came into both threads and made both of them an argument.
Go away.
-
@JSM said in Weird Mouse Cursor bug in MAME (non-libretro):
instead of getting useful answers or an actual case opened to investigate and repair the bug
I did answer from the beginning :
- for MAME standalone, you should ask the MAME team, because retropie is using vanilla MAME without any change, so they are the only people who can help you
- for MAME libretro, i told you that it was possible to save hiscores, according to something i read, and linked the tutorial later, right before you started being disrespectful toward my project out of nowhere
@JSM said in Weird Mouse Cursor bug in MAME (non-libretro):
Even though both times I explicitly asked in my FIRST POST, “please don’t recommend other emulators, I’m asking how we can fix this version.” And regardless of me asking politely for no alternative emu recommendations, you came into both threads and made both of them an argument.
No you didn't say anything of the sort in this topic, the first time you talked about other emulators was only to be disrespectful about them. I can't guess you'll be toxic if i suggest trying other emulators, and i was only trying to be helpful since the answers allowing you to keep using current MAME didn't seem to be of any help. If an emulator appears to be broken in an unsolvable way, i suggest trying other emulators, that's the right thing to do.
@JSM said in Weird Mouse Cursor bug in MAME (non-libretro):
just use FBNeo, it’s better!
No, i never told you once to use FBNeo, you were the first person to bring that name, only to make false and disrespectful statements about it. I couldn't care less which emulator people are using, and considering the kind of person you are, i'll be grateful if you don't use my work.
At this point it's pretty clear you are toxic and a compulsive liar.
@mitu i'm past the point where i'll be able to stay polite if that guy dares answering again, so i recommend closing 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.