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 --- Bug Reports --- Site News

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

  

Author Topic: Groovy Arcade gfx driver/xrandr mechanism  (Read 1019 times)

0 Members and 1 Guest are viewing this topic.

VanDusen

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 8
  • Last login:April 21, 2017, 05:10:36 pm
  • I want to build my own arcade controls!
Groovy Arcade gfx driver/xrandr mechanism
« on: February 08, 2013, 05:14:24 am »
Hello!

I tested groovy arcade with a Hantarex monitor and a simple breakout-cable (RGB/G/H/V) and its working.

Then i saved the xorg.conf and tried to use the modeline with lubuntu on the same hardware.

With a VGA2SCART-cable/TV-Set i get a picture. But non with the breakout-cable/Hantarex.

xrandr shows that the port where the breakout-cable is connected appears as disconnected and "xrandr --output DVI-1 --mode ..." doesn't work . With the VGA2SCART-cable/TV-Set it shows up as connected.

linux >xrandr --newmode "648x480x60.00-1525-1570" 13.129200 648 672 736 840 480 482 488 521 -HSync -VSync interlace

linux > xrandr --addmode DVI-1 "648x480x60.00-1525-1570"

linux >xrandr --output DVI-1 --mode "648x480x60.00-1525-1570"

linux > xrandr
240x240@58,795 48.7
DIN disconnected (normal left inverted right x axis y axis)
DVI-1 disconnected (normal left inverted right x axis y axis)
648x480x60.00-1525-1570 30.0
...

I don't belive that the old tube monitor sends EDID data. There must be some other kind of detection. How does Groovy Arcade do this?

Many thanks

VanDusen
« Last Edit: February 08, 2013, 05:24:46 am by VanDusen »

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Online Online
  • Posts: 6552
  • Last login:Today at 03:24:23 am
Re: Groovy Arcade gfx driver/xrandr mechanism
« Reply #1 on: February 08, 2013, 06:36:37 am »
Arcade monitors are not detected by the video card so you need to force the specific output to stay on from boot. I believe this is achieved by adding -video VGA-1:640x480ec in grubs kernel line.
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 or pasting it.

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

VanDusen

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 8
  • Last login:April 21, 2017, 05:10:36 pm
  • I want to build my own arcade controls!
Re: Groovy Arcade gfx driver/xrandr mechanism
« Reply #2 on: February 08, 2013, 08:43:38 am »
Many thanks!!! Works very well!