MAME on Debian looking "blurred"

want to talk about MESS/model b/beebem/b-em/electrem/elkulator? do it here!
Post Reply
User avatar
sweh
Posts: 1969
Joined: Sat Mar 10, 2012 12:05 pm
Location: New York, New York
Contact:

MAME on Debian looking "blurred"

Post by sweh » Thu Sep 13, 2018 2:32 am

I have a Debian based desktop with a 1920x1080 monitor.

Debian comes with MAME 0.182 as an installable package ("apt-get install mame").
I have the .200 ROM collection (via archive.org).

I can run "mame bbcb" and it works. So far, so good.

Now I run "mame bbcb -flop1 MrEe.ssd". Press shift+f12... and the machine reboots and Mr Ee loads and plays. It actually plays pretty well.

BUT... everything looks a little blurred. It's as if the space taken up for the LED labels at the bottom is causing bad scaling of the main image.

Except it looks like it's really only modes 2/5 that are blurred (at least to my eyes). Just switching modes and looking at standard text shows a blur for modes 2/5.

Any ideas on why this is happening?
Rgds
Stephen

User avatar
Pernod
Posts: 1317
Joined: Fri Jun 08, 2012 10:01 pm
Location: Croydon, UK
Contact:

Re: MAME on Debian looking "blurred"

Post by Pernod » Thu Sep 13, 2018 11:21 am

Try the other video rendering options:
https://docs.mamedev.org/commandline/co ... eo-options

So "mame bbcb -flop1 MrEe.ssd -video opengl"

MAME 0.182 is over 18 months old and I've many improvements since then, especially for the Electron. Any issues you find will likely be fixed in later releases.
Last edited by Pernod on Thu Sep 13, 2018 11:32 am, edited 1 time in total.
- Nigel

BBC Model B, ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, BeebZIF, etc.

User avatar
sweh
Posts: 1969
Joined: Sat Mar 10, 2012 12:05 pm
Location: New York, New York
Contact:

Re: MAME on Debian looking "blurred"

Post by sweh » Thu Sep 13, 2018 10:06 pm

Hmm. opengl was the default. "bgfx" also was blurry. "soft" was excellent quality... but the CPU load was clearly taxing 'cos it caused audio to stutter.

Maybe I'll see about compiling the latest one... but I'm afraid it'll send me into dev library dependency hell if I'm not careful!
Rgds
Stephen

User avatar
sweh
Posts: 1969
Joined: Sat Mar 10, 2012 12:05 pm
Location: New York, New York
Contact:

Re: MAME on Debian looking "blurred"

Post by sweh » Fri Sep 14, 2018 12:08 am

Well, the dependency issue didn't matter. It was mostly a clean build. Took about 1hr20 on my old AMD Phenom(tm) II X4 830 Processor machine.

So now I have mame 0.201 (64bit) running.

And the results appear identical... except "soft" mode is even slower. Still perfect picture, but slow and choppy audio "Average speed: 82.61%"
Rgds
Stephen

User avatar
Pernod
Posts: 1317
Joined: Fri Jun 08, 2012 10:01 pm
Location: Croydon, UK
Contact:

Re: MAME on Debian looking "blurred"

Post by Pernod » Fri Sep 14, 2018 12:17 am

Do machines other than bbcb show the same issue? Can you post your mame.ini?
- Nigel

BBC Model B, ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, BeebZIF, etc.

User avatar
sweh
Posts: 1969
Joined: Sat Mar 10, 2012 12:05 pm
Location: New York, New York
Contact:

Re: MAME on Debian looking "blurred"

Post by sweh » Fri Sep 14, 2018 1:48 am

It's hard to know if others are blurred 'cos I didn't play many arcade games when I was a kid, so I don't know if the visuals are right or not :-)

Defender, Pacman, Ms-Pacman, Robotron, Gauntlet, Tron, Marble Madness, Galaga all seem OK. Even BBC in any mode except 2 and 5 are OK.

$HOME/.mame/mame.ini attached. Inside $HOME/mame/ directory is just the roms/ subdirectory with a gazillion zip files.
Attachments
mame.ini
(9.06 KiB) Downloaded 4 times
Rgds
Stephen

User avatar
Pernod
Posts: 1317
Joined: Fri Jun 08, 2012 10:01 pm
Location: Croydon, UK
Contact:

Re: MAME on Debian looking "blurred"

Post by Pernod » Fri Sep 14, 2018 9:56 am

The majority of your settings match mine, apart from the obvious SDL vs Windows options. I generally run mine in windowed mode though, so try adding "-window 1" to the commandline.
- Nigel

BBC Model B, ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, BeebZIF, etc.

User avatar
sweh
Posts: 1969
Joined: Sat Mar 10, 2012 12:05 pm
Location: New York, New York
Contact:

Re: MAME on Debian looking "blurred"

Post by sweh » Sat Sep 15, 2018 12:48 pm

Window mode doesn't make any difference.

FWIW, here's an example of how it looks using opengl
opengl.png
vs soft video.
soft.png
Rgds
Stephen

User avatar
sweh
Posts: 1969
Joined: Sat Mar 10, 2012 12:05 pm
Location: New York, New York
Contact:

Re: MAME on Debian looking "blurred"

Post by sweh » Sat Sep 15, 2018 12:56 pm

Ah...

Code: Select all

-gl_glsl -gl_glsl_filter 0
Seems to help massively.

And setting those options in mame.ini gives me nice clean MrEe :-)
Rgds
Stephen

User avatar
Pernod
Posts: 1317
Joined: Fri Jun 08, 2012 10:01 pm
Location: Croydon, UK
Contact:

Re: MAME on Debian looking "blurred"

Post by Pernod » Sat Sep 15, 2018 2:52 pm

sweh wrote:
Sat Sep 15, 2018 12:56 pm
Ah...

Code: Select all

-gl_glsl -gl_glsl_filter 0
Seems to help massively.

And setting those options in mame.ini gives me nice clean MrEe :-)
Glad you found a suitable setting. I don't use opengl, only bgfx on Windows. Best settings will vary depending on user preference, OS, and graphics card capabilities.
- Nigel

BBC Model B, ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, BeebZIF, etc.

Post Reply