OS Software




Graphics Resolution Curl

Started by FrizzleFried, May 24, 2025, 10:44 AM

Previous topic - Next topic

FrizzleFried

Administrator
*****
Sr. Member
Posts: 181
Location: Treasure Valley, ID
Logged
I get a curl at the top 1" of my horizontal screen when running 336x240.  Is there a way I can adjust a single graphics resolutions timing?  (Very much noticeable when playing Marble Madness II)...


dee2eR

Administrator
*****
Hero Member
Posts: 310
Logged
#1
marble madness 2 issn't in the mameinfo file for the res switching to work right.  Try adding this to /boot/launchers/mameinfo.txt: rom=marblmd2 sourcefile=atarisy1.cpp
 type=raster
 rotate=0
 width=336
 height=240
 refresh=59.922743
 pixclock=7159090
 htotal=456
 hbend=0
 hbstart=336 vtotal=262 vbend=0 vbstart=240

atarisys1 may not be right, I'm not sure, but it wont break anything...

It's also not in the aml file for mame275.  Add this line to /boot/launchers/aml/mame275.aml: marblmd2;Marble Madness 2 (proto);mame275;;1991;Atari Games;Maze / Marble Madness;3P sim;0;trackball;good;1;raster;;;;

EDIT:  I should dig through the res switching code so it uses a res/refresh that doessn't curl when it isn't aware of the original specs.

FrizzleFried

Administrator
*****
Sr. Member
Posts: 181
Location: Treasure Valley, ID
Logged
Marble Madness 2 uses joysticks...

Will try changes out.

FrizzleFried

Administrator
*****
Sr. Member
Posts: 181
Location: Treasure Valley, ID
Logged
Changes seemed to help... a bit.  Thank you.

I can use the scaling option and it will lower the image enough to be below the curl.  The curl is still there though... top about 3/4 of an inch now... I had a similar issue with my monitor with the Pi4 Outrun rig I have... I had to adjust the HDMI timings until i could pull the curl out.
 
I figured the same may be true in this case.

dee2eR

Administrator
*****
Hero Member
Posts: 310
Logged
The resolutions are done differently now, they're still tweakable but I'd have to go through it myself to write a decent guide to doing it, been a while since I tweaked them last so it's not fresh in the mind.  The modelines are in /home/pi/.confilg/wayfire.ini if you want to poke around, be careful as it's a very important file - but if it goes wrong you can always restore it with the copy in the 2 player config.

That res/refresh must be very close to OK, it doesn't show any curl on my PVM.

If you want you can also just adjust the resSwitch.sh script in launchers to not use that particular res as a workaround.

Flynn Lives

Global Moderator
*****
Full Member
Posts: 57
Location: Fort Worth TX
Logged
what version ROM? I cannot get this to load.
The Grid. A digital frontier. I tried to picture clusters of information as they moved through the computer. What did they look like? Chips? Motorcycles? Were the circuits like freeways? I kept dreaming of a world I thought I'd never see. And then. One day. I got in.

dee2eR

Administrator
*****
Hero Member
Posts: 310
Logged

Flynn Lives

Global Moderator
*****
Full Member
Posts: 57
Location: Fort Worth TX
Logged
fixed, had it trying to launch from 275.
The Grid. A digital frontier. I tried to picture clusters of information as they moved through the computer. What did they look like? Chips? Motorcycles? Were the circuits like freeways? I kept dreaming of a world I thought I'd never see. And then. One day. I got in.