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: Can GroovyMAME output 15KHz on CRT and 1366x768 on LCD at the same time?  (Read 3821 times)

0 Members and 1 Guest are viewing this topic.

punkysuen

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 38
  • Last login:February 12, 2022, 12:25:37 am
  • I want to build my own arcade controls!
Sorry that I need such a weird combination. It is because I want to achieve a goal with limited resources.
I have one Sega New Net City (NNC) cabinet and one Vewlix Chinese clone, and I want to play 4 players co-op MAME games as 2p + 2p solution on these cabinets.
My PC has AMD R9 290 and installed art_emudriver, 15KHz output on NNC works great.
From AMD R9 290, I plug NNC through HDMI port with a HDMI-to-VGA adapter, while plugging Vewlix clone through DisplayPort with DP-to-VGA adapter.
However, my Vewlix clone does not accept super resolution, so when I want to play 2p + 2p, I need to set 640x480 mirror on Windows.

Can GroovyMAME output 15KHz on NNC and 1366x768 on Vewlix clone at the same time?

Thanks so much.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: Can GroovyMAME output 15KHz on CRT and 1366x768 on LCD at the same time?
« Reply #1 on: November 28, 2019, 07:14:06 am »
You can do that but you need two desktops (extended desktop) instead of cloned (mirror). Then use -numscreens 2 in mame.ini, and use the -screen options to map each screen, say -screen0 \\.\DISPLAY1 -screen1 \\.\DISPLAY2. Switchres only works on -screen0, so that one must be your CRT. Use -resolution1 to set the resolution for your LCD (you'd better stick to its native mode). It's tricky to get it working, but it works (unless they've broken it upstream).
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

punkysuen

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 38
  • Last login:February 12, 2022, 12:25:37 am
  • I want to build my own arcade controls!
Re: Can GroovyMAME output 15KHz on CRT and 1366x768 on LCD at the same time?
« Reply #2 on: November 28, 2019, 10:10:42 am »
Thank you very much!
I got it working.
The only minor problem is that I cannot get the image on LCD fill fully with proper ratio, there are little letterbox on the top and bottom.
I have tried several combination on aspect, resolution and view, but with no luck.
Where can I find all valid options for aspect, resolution and view in the ini file?
Sorry that I searched but cannot find the exact documentation.


Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 847
  • Last login:Today at 09:27:34 am
  • Forking GroovyArcade
    • forum.arcadecontrols.com/index.php/topic,160023.0.html
    • GroovyArcade active fork
Re: Can GroovyMAME output 15KHz on CRT and 1366x768 on LCD at the same time?
« Reply #3 on: November 28, 2019, 05:42:37 pm »
It looks just great !

punkysuen

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 38
  • Last login:February 12, 2022, 12:25:37 am
  • I want to build my own arcade controls!
Re: Can GroovyMAME output 15KHz on CRT and 1366x768 on LCD at the same time?
« Reply #4 on: November 29, 2019, 04:17:27 am »
It looks just great !

Thanks~

The wiring is just interesting to figuring out.
I place the PC inside NNC, so there are tons of cables going from NNC to Vewlix, while two USB cables from the controls on Vewlix going back to NNC.
And, I use a 3.5mm splitter to send audio signal from the PC to both cabinets.

Zebra

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 619
  • Last login:August 19, 2021, 01:12:24 pm
  • I want to build my own arcade controls!
Re: Can GroovyMAME output 15KHz on CRT and 1366x768 on LCD at the same time?
« Reply #5 on: November 30, 2019, 01:26:25 pm »
You will find the problem of blank space on LCD monitors. Crt arcade monitors use an analog vertical and horizontal stretch to make games fill the same size and aspect ratio screen with a whole bunch of obscure resolutions.

If you output 224 line games like SF2 to an lcd in native res it will appear letterboxed as the pixel aspect is not 4:3. This is why mame offers a digital image stretch so you create the same non-square pixel look and make each game fill the screen on fixed pixel displays. If you use the digital stretch in mame options to make the game fill the screen on your LCD, it will be too tall on your crt but, you should be able to use the pots to reduce the vertical image size and make it fit both screens.

Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 847
  • Last login:Today at 09:27:34 am
  • Forking GroovyArcade
    • forum.arcadecontrols.com/index.php/topic,160023.0.html
    • GroovyArcade active fork
Re: Can GroovyMAME output 15KHz on CRT and 1366x768 on LCD at the same time?
« Reply #6 on: November 30, 2019, 04:21:43 pm »
I'm definitely no mame pro, but wasn't unevenstretch made for that ?

punkysuen

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 38
  • Last login:February 12, 2022, 12:25:37 am
  • I want to build my own arcade controls!
Re: Can GroovyMAME output 15KHz on CRT and 1366x768 on LCD at the same time?
« Reply #7 on: December 14, 2019, 01:47:40 pm »
Sorry that I did not explain the situation clearly enough.
When I output to DISPLAY2, the two letterboxes appears as unexpected.
It is because there is no letterboxes if I just use the 1366x768 LCD display.
The image keeps the correct aspect ratio, so if I am outputting to DISPLAY2 and there are letterboxes, the image becomes a bit smaller.

And, I have one more question.
Can I only apply HLSL on DISPLAY2 only?
Since I have the perfect result on DISPLAY1, I don't want to apply HLSL on both displays.

Thanks.


Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: Can GroovyMAME output 15KHz on CRT and 1366x768 on LCD at the same time?
« Reply #8 on: December 23, 2019, 04:09:20 am »
Sorry that I did not explain the situation clearly enough.
When I output to DISPLAY2, the two letterboxes appears as unexpected.
It is because there is no letterboxes if I just use the 1366x768 LCD display.
The image keeps the correct aspect ratio, so if I am outputting to DISPLAY2 and there are letterboxes, the image becomes a bit smaller.

This happens because in order to guess the physical screen's aspect ratio, MAME uses the current resolution from your main desktop, which probably is 4:3. But since you're also targeting an LCD as your second monitor, that aspect ratio is wrong for it. You must explicitely tell MAME which aspect ratio your second monitor is. If your first monitor is screen0, and your seccond monitor is screen1, what you do is to set -aspect1 16:9 (in mame.ini). This way it should scale the same way as it does when you only use the LCD display.


Quote
And, I have one more question.
Can I only apply HLSL on DISPLAY2 only?
Since I have the perfect result on DISPLAY1, I don't want to apply HLSL on both displays.

Thanks.

No, you can't apply HLSL only to display2, as far as I know. Not sure if BGFX allows you to do so.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi