Main > Software Forum

[Discontinued][17-09-22] RatRefresh - refresh rate switcher, stops LCD tearing

<< < (31/31)

sammargh:
Some pointers for nvidia users as I use this with a Vewlix Diamond Orange arcade cabinet. First off you cannot use any display port -> dvi adapter. The LCD monitor in my Vewlix has an extremely large number of supported refresh rates hidden away but is VGA & DVI only. I cannot confirm if it works on display port at all, but I do know HDMI, DVI, HDMI->DVI and VGA all work properly.

Also, I noticed when creating batch files that you need to pause the machine for a few seconds before launching a binary. Otherwise, the app may not launch, may boot in the wrong resolution or any other multiple of randomness. Here are the batch files I am using with Launchbox https://pastebin.com/BL7GbVBa

Since this project is discontinued, would it be possible to post the source? I would like to have it available should I need to "fix" my setup down the road.

p1mrx:
I made roughly the same thing for Linux, using xrandr:

refreshy.sh:

--- Code: ---#!/bin/bash -x
DISP="HDMI-2"
HZ="$1"
LINE="$(gtf 1280 960 $HZ | sed -n 's/.*Modeline "[^"]*" *//p')"
CLOCK="$(echo $LINE | awk '{print $1}')"
MODE="refreshy-$CLOCK"
xrandr --newmode "$MODE" $LINE 2>/dev/null
xrandr --addmode "$DISP" "$MODE"
sleep 0.1
xrandr --output "$DISP" --mode "$MODE"

--- End code ---

Here's how I extract the game's refresh rate from MAME:


--- Code: ---#!/bin/bash -x
GAME="$(basename "$1" .zip)"
HZ="$(mame -listxml "$GAME" | sed -n 's/.*refresh="\([0-9.]*\)".*/\1/p')"
refreshy.sh "$HZ"

# ... launch mame ...

--- End code ---

My copy of refreshy.sh restricts HZ to the limits of my panel (anything beyond 48-75 Hz shows "out of sync"), but that's too specific to bother sharing.

My Arcade1up BOE panel doesn't support VRR, so this is the only way I know to get butter-smooth scrolling at the correct speed.

Navigation

[0] Message Index

[*] Previous page

Go to full version