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

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


  

Author Topic: GroovyArcade (Linux) running slow on vert games  (Read 338 times)

0 Members and 1 Guest are viewing this topic.

jimmyj1979

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 29
  • I want to build my own arcade controls!
GroovyArcade (Linux) running slow on vert games
« on: January 04, 2019, 03:33:28 am »
Hey guys

I have a functional GroovyArcade setup now and most things are working great. I have a 15khz Nanao monitor working with my J-Pac and my ATI 45xx card.

The main issue is vert games are running at the wrong speed. either 50% or 75% of their proper speed. Any ideas? I did some googling but before i started tinkering i thought id ask the experts :)

Thanks
Jim

Doozer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 384
  • Z80 ERROR
Re: GroovyArcade (Linux) running slow on vert games
« Reply #1 on: January 04, 2019, 04:29:58 am »
Hi jimmyj1979,

It looks like your kernel do not have the interlaced resolution fix. Are you using the GA kernel or have you built your own?

jimmyj1979

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 29
  • I want to build my own arcade controls!
Re: GroovyArcade (Linux) running slow on vert games
« Reply #2 on: January 04, 2019, 07:57:24 am »
Hi mate

I am running the standard GA kernel. Any ideas or thoughts on how to remedy this?

Thanks in advance.

Jimmy

Doozer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 384
  • Z80 ERROR
Re: GroovyArcade (Linux) running slow on vert games
« Reply #3 on: January 04, 2019, 08:25:56 am »
Hi mate

I am running the standard GA kernel. Any ideas or thoughts on how to remedy this?

Thanks in advance.

Jimmy

If you know how to build  your own kernel, it will be easy to fix the issue. I have recently posted the patch to apply to the kernel source to fix the interlaced vblank interrupt routine. Unfortunately, I am away from computer and do not have easy mean to search the forum.

jimmyj1979

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 29
  • I want to build my own arcade controls!
Re: GroovyArcade (Linux) running slow on vert games
« Reply #4 on: January 04, 2019, 06:07:08 pm »
Thanks mate, sounds like you know what youre talking about! When you get a moment if you could find that thread you mentioned it would be highly appreciated :)

Peace!

jimmyj1979

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 29
  • I want to build my own arcade controls!
Re: GroovyArcade (Linux) running slow on vert games
« Reply #5 on: January 08, 2019, 08:55:56 pm »
I ended up with an adhoc fix

inside the /home/arcade/.mame folder i created an ini file for each vert shooter i wanted to play. For example if they rom was called jimmyj1979.zip i created jimmyj1979.ini and in that ini just put 'Resolution 240x320'. The games dont quite look right being a bit squashed but they run full speed with no tearing. Definitely playable until I get a cab with a vert monitor :)


Doozer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 384
  • Z80 ERROR
Re: GroovyArcade (Linux) running slow on vert games
« Reply #6 on: January 09, 2019, 05:15:54 am »
Thanks mate, sounds like you know what youre talking about! When you get a moment if you could find that thread you mentioned it would be highly appreciated :)

Peace!

Hi,

My fault, I haven't seen your post until today. Here is the fix for interlaced resolutions. It applies up to kernel 4.20.

Cheers!

Code: [Select]
--- linux-4.12_64/drivers/gpu/drm/drm_irq.c     2017-07-02 23:07:02.000000000 +0000
+++ linux-test-4.12/drivers/gpu/drm/drm_irq.c   2017-08-15 08:33:14.318147395 +0000
@@ -243,8 +243,9 @@
                      pipe, vblank->count, diff, cur_vblank, vblank->last);
 
        if (diff == 0) {
-               WARN_ON_ONCE(cur_vblank != vblank->last);
-               return;
+// AWK         WARN_ON_ONCE(cur_vblank != vblank->last);
+// AWK         return;
+               diff = 1;
        }
 
        /*

jimmyj1979

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 29
  • I want to build my own arcade controls!
Re: GroovyArcade (Linux) running slow on vert games
« Reply #7 on: January 09, 2019, 05:07:58 pm »
great! Thank you mate!

  
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31