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: GDI and ArcadeVGA  (Read 2066 times)

0 Members and 1 Guest are viewing this topic.

Diewrecked

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 179
  • Last login:June 20, 2012, 07:34:08 am
  • I want to build my own arcade controls!
GDI and ArcadeVGA
« on: September 03, 2010, 06:04:36 am »
Hi guys

I know the ArcadeVGA notes on the Ultimarc site say to use DirectDraw and disable hardware stretching, but whenever I use DirectDraw with any number of permutations of the other settings, the games do not display correctly: I'll get the width squashed to 50%, or the height doubled to 200% and only be able to see the bottom half - you get the gist. However when I use GDI everything displays perfectly.

My question is: what is the difference between GDI and DirectDraw in the context of the ArcadeVGA card in MAME, and would selecting GDI automatically enable/disable hardware stretching? I'd like the optimum display with this card but obviously not at the cost of not being able to see the whole image on the games!

Many thanks all


Gray_Area

  • -Banned-
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3363
  • Last login:June 23, 2013, 06:52:30 pm
  • -Banned-
Re: GDI and ArcadeVGA
« Reply #1 on: September 06, 2010, 06:45:04 pm »
-Banned-

Diewrecked

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 179
  • Last login:June 20, 2012, 07:34:08 am
  • I want to build my own arcade controls!
Re: GDI and ArcadeVGA
« Reply #2 on: September 07, 2010, 06:55:05 am »
Hi GrayArea, thanks for coming back. I did see this explanation of GDI before I created this thread but it doesn't explain how GDI relates to hardware stretching. I asked Andy at Ultimarc this question (I sent him that link actually!) and he didn't know either which is why I thought I'd ask you guys.

Do you know what the implications are of running MAME with GDI on an ArcadeVGA please?

Many TIA

Gray_Area

  • -Banned-
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3363
  • Last login:June 23, 2013, 06:52:30 pm
  • -Banned-
Re: GDI and ArcadeVGA
« Reply #3 on: September 09, 2010, 07:12:12 pm »
I think the answer is in here:

Because of the additional text processing and resolution independence capabilities in GDI+, text rendering is performed by the CPU [2] and it is nearly an order of magnitude slower than in GDI.[3] Chris Jackson, an application compatibility expert working for Microsoft published some tests indicating that a piece of text rendering code he had written could render 99,000 glyphs per second in GDI, but the same code using GDI+ rendered 16,600 glyphs per second.

Games run really slow on my system when using GDI. Unless you're using a super gaming card, I doubt video card much matters here. I don't know why GDI is an option in current MAME. It doesn't seem to be a relevant use.

Regarding the results of your DD use, it would help to know what monitor you're using, and what games are being displayed wonky.
-Banned-