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: GroovyArcade live-CD 2020  (Read 389085 times)

0 Members and 2 Guests are viewing this topic.

Sonny_Jim_Pin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 17
  • Last login:February 25, 2024, 08:00:13 am
  • I want to build my own arcade controls!
Re: GroovyArcade live-CD New Release 2020
« Reply #1120 on: October 28, 2021, 03:13:27 am »
Just installed Groovyarcade livecd, very happy with it apart from a bizarre problem:

Every so often the joysticks will 'switch sides', in that the right hand side becomes player 1 and the left hand side becomes player 2.  What's really weird is that if I run 'jstest /dev/input/js0' and wiggle the left hand stick it works as expected, same with js1.

In both Attract Mode and Groovymame, left side controls becomes JOY2 and right side becomes JOY1.  For now I've 'fixed it' by disabling the second controller.

I would blame the rather odd joystick input method I've got, which is one of these cheapo PC -> JAMMA boards:



It plugs into the parallel port and uses the positively ancient gamecon driver, acting as 2 SNES pads.  It's certainly possible that this is the culprit, although I have some other USB controllers I could test with.

Is there some controller mapping Groovymame/Attract mode does?  As I'd always expect js0 is player 1, js1 is player 2.

makya

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 76
  • Last login:December 24, 2023, 06:58:12 pm
  • I want to build my own arcade controls!
Re: GroovyArcade live-CD New Release 2020
« Reply #1121 on: October 29, 2021, 10:10:21 am »
Isn't it related to what's described here?
->https://docs.mamedev.org/advanced/devicemap.html

Sonny_Jim_Pin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 17
  • Last login:February 25, 2024, 08:00:13 am
  • I want to build my own arcade controls!
Re: GroovyArcade live-CD New Release 2020
« Reply #1122 on: October 30, 2021, 12:41:29 am »
I skimmed that earlier and assumed that it was referring to Windows, as there's other mechanisms in Linux to achieve similar.  Also it's referring to VID and PID, which are USB related, whereas the device I'm using is parallel port based.  I'll have another look and see if I can't work it out, thanks.

EDIT:  I get this is dmesg, which is interesting:

Quote
[   46.774441] input: SNES pad as /devices/virtual/input/input9
[   46.774568] input: SNES pad as /devices/virtual/input/input10
I guess linux joystick devices (and device tree in general) have changed slightly since I last poked at it.  It would make sense that groovymame/AM are looking at a different device than /dev/input/js*

EDIT2:  Ok so I guess this is where I want to start looking:

Quote
Joystick: Start initialization
Input: Adding joystick #0: SNESpad (device id: 15000000010000000100000000010000)
Joystick: SNES pad [GUID 15000000010000000100000000010000]
Joystick:   ...  2 axes, 8 buttons 0 hats 0 balls
Joystick:   ...  Physical id 0 mapped to logical id 1
Joystick:   ...  Does not have haptic capability
Input: Adding joystick #1: SNESpad (device id: 15000000010000000100000000010000)
Joystick: SNES pad [GUID 15000000010000000100000000010000]
Joystick:   ...  2 axes, 8 buttons 0 hats 0 balls
Joystick:   ...  Physical id 1 mapped to logical id 2
Joystick:   ...  Does not have haptic capability
Joystick: End initialization
Interesting to note that both devID and GUID are the same.....
« Last Edit: October 30, 2021, 01:13:00 am by Sonny_Jim_Pin »

Lenin Stimpy

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:January 02, 2022, 06:14:29 pm
  • I want to build my own arcade controls!
Re: GroovyArcade live-CD New Release 2020
« Reply #1123 on: December 18, 2021, 12:28:59 am »
Howdy,

I'm trying to replace a big old GroovyMAME setup with a little SFF Groovyarcade for my Blast City.

I wanted to check how I can fix the resolution of the GASetup menu so that it doesn't try to hit resolutions outside of what my screen can display.  Once I get into the front end it Groovyarcade drives the correct resolution, but not for the setup screen or for games - the setup screen gets driven at 1024x768 for some reason.  Just the frontend is at 640/480 31khz.

Details:

PC:
FitPC 4 Pro - Little box with an AMD SOC that includes a Radeon8400GE.
Connected via a Vention AIDB0 to the FITPC HDMI port.
Nanao MS2931 screen using a DSUB connector to avoid the arcade voltage problems.

I'm guessing its to do with using an HDMI port - GAsetup is using whatever the adaptor reports via EDID.  How can I set fixed modes for GASetup instead?

Thanks all for your work on this project!

Couple more bits of info:

I am using a 1600p LCD to access GASetup, and switching the cable to test on my CRT.  Everything works from the LCD.
I can see the xorg.conf has the correct Groovy-configured settings for an MS2931.
« Last Edit: December 18, 2021, 12:48:01 am by Lenin Stimpy »

abispac

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1492
  • Last login:Yesterday at 02:26:20 pm
Re: GroovyArcade live-CD New Release 2020
« Reply #1124 on: June 20, 2022, 04:59:55 pm »
Just installed Groovyarcade livecd, very happy with it apart from a bizarre problem:

Every so often the joysticks will 'switch sides', in that the right hand side becomes player 1 and the left hand side becomes player 2.  What's really weird is that if I run 'jstest /dev/input/js0' and wiggle the left hand stick it works as expected, same with js1.

In both Attract Mode and Groovymame, left side controls becomes JOY2 and right side becomes JOY1.  For now I've 'fixed it' by disabling the second controller.

I would blame the rather odd joystick input method I've got, which is one of these cheapo PC -> JAMMA boards:



It plugs into the parallel port and uses the positively ancient gamecon driver, acting as 2 SNES pads.  It's certainly possible that this is the culprit, although I have some other USB controllers I could test with.

Is there some controller mapping Groovymame/Attract mode does?  As I'd always expect js0 is player 1, js1 is player 2.
Here in Mexico this is aa very common interface, but we use it in windows not linux, either under dos with the snes driver or under windows xp or 7x86 under psxpad driver. I wasnt aware that was a linux driver. Now tell me, GA works out of the box or do you have to install the driver? if so how? As with windows, we need to intall this as snes controls with 3 controllers not 2. Thanks for your time.

Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 816
  • Last login:March 15, 2024, 06:37:57 am
  • Forking GroovyArcade
    • forum.arcadecontrols.com/index.php/topic,160023.0.html
    • GroovyArcade active fork
Re: GroovyArcade live-CD 2020
« Reply #1125 on: June 22, 2022, 05:39:00 am »
The kernel driver for that device is totally out of date, not even sure it would work with a modern kernel. Haven't tried though