Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Emulator issues vs MESS and crt_emudriver, (unable to set video mode)  (Read 3214 times)

0 Members and 1 Guest are viewing this topic.

buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1810
  • Last login:Yesterday at 06:52:13 pm
  • Is running at 15kHz
I'm adding a few emulators to my cab, specifically genesis and SNES. MAME/MESS is good for genesis, but won't load SegaCD games at all, is that right? I've tried Gens and Fusion, and both of these say they're "...unable to set a video mode" for fullscreen - I presume because at 1:1 settings it's something I don't have in the list like 256x240? 256x224? In the menus I'm selecting a fullscreen video mode of 320x240@60Hz 32bpp though...?

MESS (GroovyMAME .180) tells me that its SNES emulation is buggy, and I found it choppy on my laptop of roughly the same CPU power. (How can this be, am I doing something wrong? Bios too old? Surely it hasn't changed...) So I'm using SNES9X. At first I was getting the same error, "...unable to set video mode" with all the options - DirectDraw, D3D, OpenGL. I ticked and unticked the boxes, and resolutions, then restored to default, and now it's working fullscreen in 320x240@60 32bpp - though it produces some interlaced artifacting along the very bottom of the picture, like one pixel high. And there's some very slight vertical scaling/mismatching, I believe.

(Besides which, I'm using patched roms for translation, etc on both systems. Thus Switchres/MAME can't know what video modes to use anyway, and is probably setting the default mode for the system in those cases? Is that going to produce issues horizontally at all, if it's using a super resolution, or only vertically, say if the system goes into highres?)

If anyone knows a workaround for the above issues I'm all ears, otherwise...

Is the "...unable to set video mode" error fixable?

Is there a way to use switchres with other emulators? I see hints in the sticky, but nothing concrete. (I'm on W7, if that helps)

Is there a way to generate modelines below 240p? IIRC there isn't. The original SNES must have relied on overscan?
« Last Edit: December 18, 2016, 08:24:25 pm by buttersoft »

Dacasks

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 57
  • Last login:February 09, 2021, 09:30:30 pm
  • I want to build my own arcade controls!
Re: Emulator issues vs MESS and crt_emudriver, (unable to set video mode)
« Reply #1 on: December 19, 2016, 12:21:34 pm »
You know, even using a Groovymame setup for more than a year already, I share much of your doubts as well.

I really wished I could use other emus without screen tearing (specially Mednafen) and/or switchres correctly, but I guess would take different builds that took advantage of Crtemudriver.

So I'm basically settled with Groovymame for arcade gaming and some console gaming as well. Sega Cd Works good as far as I know (I do remember playing some Earthworm Jim on it, and it was really good from what I recall). If using Snes on Asio 0.171, let the CPU clock at 110% since it get rid of some slowdowns that doesn't happen on real hardware, as well as making some games playable, like Taekwondo and the Mega Shot on R-Type 3 Works correctly at this speed as well. It's something that I noticed on 0.180 that apparently got fixed by default.
« Last Edit: December 19, 2016, 12:23:17 pm by Dacasks »

Recapnation

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 353
  • Last login:May 16, 2025, 07:59:16 am
    • Eiusdemmodi
Re: Emulator issues vs MESS and crt_emudriver, (unable to set video mode)
« Reply #2 on: December 19, 2016, 06:17:40 pm »
For SFC, use Retro Arch's BSNES cores:

http://forum.arcadecontrols.com/index.php/topic,149052.0.html

D3D works for proper GUI display, though I'm quite sure it adds latency against other APIs, so keep it mind.

For PCE, Ootake is fine. For 32-bit systems onwards, think about getting the original hardware.

Mednafen can be used with Retro Arch, too.

buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1810
  • Last login:Yesterday at 06:52:13 pm
  • Is running at 15kHz
Re: Emulator issues vs MESS and crt_emudriver, (unable to set video mode)
« Reply #3 on: December 19, 2016, 10:38:17 pm »
TBH I tested MESS last night on the cab, and it works pretty well. I might stick with that, for obvious reasons :)

Thanks for the link though. SNES9X has a DDraw option,and Fusions in on the list, so the wrapper might help.

I'm actually using Magicengine for PCE, which can switch resolution just fine.

Recapnation

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 353
  • Last login:May 16, 2025, 07:59:16 am
    • Eiusdemmodi
Re: Emulator issues vs MESS and crt_emudriver, (unable to set video mode)
« Reply #4 on: December 20, 2016, 10:58:18 am »
What I gave you are the best emulators for both, accuracy and latency currently. ME and SNES9X are way too unreliable.

Dacasks

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 57
  • Last login:February 09, 2021, 09:30:30 pm
  • I want to build my own arcade controls!
Re: Emulator issues vs MESS and crt_emudriver, (unable to set video mode)
« Reply #5 on: December 20, 2016, 11:51:32 am »
For SFC, use Retro Arch's BSNES cores:

http://forum.arcadecontrols.com/index.php/topic,149052.0.html

D3D works for proper GUI display, though I'm quite sure it adds latency against other APIs, so keep it mind.

For PCE, Ootake is fine. For 32-bit systems onwards, think about getting the original hardware.

Mednafen can be used with Retro Arch, too.

Just tried Retroarch and regular Mednafen. Retroarch still runs at 30fps (interlaced, doesn't work with super resolutions). Mednafen works just like any other software, with screen tearing, etc... Am I missing something?

R-Typer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 143
  • Last login:September 09, 2024, 12:50:41 pm
  • C64 Rulez!!!!
Re: Emulator issues vs MESS and crt_emudriver, (unable to set video mode)
« Reply #6 on: December 20, 2016, 12:07:18 pm »
EDIT: OK, sorry I thought you were talking about psx emulation in retroarch.
« Last Edit: December 20, 2016, 12:10:54 pm by R-Typer »

Recapnation

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 353
  • Last login:May 16, 2025, 07:59:16 am
    • Eiusdemmodi
Re: Emulator issues vs MESS and crt_emudriver, (unable to set video mode)
« Reply #7 on: December 20, 2016, 01:12:35 pm »
Just tried Retroarch and regular Mednafen. Retroarch still runs at 30fps (interlaced, doesn't work with super resolutions). Mednafen works just like any other software, with screen tearing, etc... Am I missing something?

RA works with super wide resolutions similarly to GM -- there's not really much to it aside of defining the aspect ratio. But you don't need a super wide resolution to start using it without visual artifacts. Find a tutorial for basic and per-core configuration.

This may help too:

http://forum.arcadecontrols.com/index.php/topic,149052.msg1586903.html#msg1586903

http://forum.arcadecontrols.com/index.php/topic,149052.msg1596693.html#msg1596693

Dacasks

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 57
  • Last login:February 09, 2021, 09:30:30 pm
  • I want to build my own arcade controls!
Re: Emulator issues vs MESS and crt_emudriver, (unable to set video mode)
« Reply #8 on: December 20, 2016, 02:28:38 pm »
EDIT: OK, sorry I thought you were talking about psx emulation in retroarch.

Well, at least in my case I do want to know how to setup it properly to run at 60 fps (right now it works only at 30 fps)

Just tried Retroarch and regular Mednafen. Retroarch still runs at 30fps (interlaced, doesn't work with super resolutions). Mednafen works just like any other software, with screen tearing, etc... Am I missing something?



RA works with super wide resolutions similarly to GM -- there's not really much to it aside of defining the aspect ratio. But you don't need a super wide resolution to start using it without visual artifacts. Find a tutorial for basic and per-core configuration.

This may help too:

http://forum.arcadecontrols.com/index.php/topic,149052.msg1586903.html#msg1586903

http://forum.arcadecontrols.com/index.php/topic,149052.msg1596693.html#msg1596693

Hmmmmmm, how do I setup custom resolutions to different cores/machines? Cant find how

Recapnation

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 353
  • Last login:May 16, 2025, 07:59:16 am
    • Eiusdemmodi
Re: Emulator issues vs MESS and crt_emudriver, (unable to set video mode)
« Reply #9 on: December 20, 2016, 06:54:02 pm »
With corename.cfg files placed into a subfolder named "corename" which goes into the config folder, where "corename" follows strictly this nomenclature: https://wiki.libretro.com/index.php?title=Main_Page#Core_Software_Library

And gamename.cfg in corename folders are also valid.

Really -- look for an on-line guide. RA is so popular I'm sure you'll find many for this basic stuff.
« Last Edit: December 20, 2016, 06:55:36 pm by Recapnation »

Dacasks

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 57
  • Last login:February 09, 2021, 09:30:30 pm
  • I want to build my own arcade controls!
Re: Emulator issues vs MESS and crt_emudriver, (unable to set video mode)
« Reply #10 on: December 26, 2016, 10:19:36 am »
Had the opportunity of trying out RA this XMAS...

With vsync on the lag is unbearable. With off, the fps goes crazy. Tried to mess around with frame_delay options, but it's inconsistent

Also, even setting the native resolution of the machine in question, it would give scrolling issues of some sort.

I guess my direct question would be... if it's possible to use RA (or emulators overall) with good results just like Groovymame (native resolution working well, no scrolling issues, minimal input lag, etc...), because so far from what I saw... it's not

The PS1 driver on mess has so much potential I just can't believe it, it's just like running on the real machine when it's right but... I guess they're not working on it anymore.