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: SwitchRes and minimum Pixel-Clock 7.12MHz  (Read 1862 times)

0 Members and 1 Guest are viewing this topic.

tb404

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:May 22, 2018, 04:06:11 pm
  • I want to build my own arcade controls!
SwitchRes and minimum Pixel-Clock 7.12MHz
« on: February 14, 2017, 06:59:50 am »
I have a ATI Radeon X1300Pro 256MB and it has minimum Pixel-Clock 7.12MHz.

I noticed when I run certain games the screen goes out of sync.


I am using the following SwitchRes parameter:

 pal
   
      crt_range0  15625.00-15625.00, 50.00-50.00, 1.500, 4.700, 5.800, 0.064, 0.160, 1.056, 0, 0, 192, 288, 448, 576


What can one do to make sure the pixel-clock doesn't go below 7.12MHz?

I can get around this problem using Xorg custom modelines by using horizontal resolution doubling, but I'm unsure how to put that to practice using SwitchRes.


buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1758
  • Last login:March 22, 2024, 12:55:20 am
  • Is running at 15kHz
Re: SwitchRes and minimum Pixel-Clock 7.12MHz
« Reply #1 on: February 14, 2017, 06:45:22 pm »
There's nothing in the range limits about the pixel clock, because the final factor is the horizontal resolution, which isn't specified there.

For windows there is however an option in both the older and the newer VMMaker to set a minimum pixel clock. If there are no modes in your system with a lower pixel clock, Switchres can't pick them. It doesn't really generate modes, it alters the timing of existing modes using the range limits. Either open vmmaker.ini for the older version, or look in the GUI under settings for the newer, which by default says "auto".

For Linux, I'd imagine it's the same in that if the modes aren't there, Switchres can't pick them? Anything on the border that has its vertical refresh altered might dip below, but a 640x240p @60 mode is 10kHz, so I don't think you'll get into trouble there.

I can't think of another way around right now. I'm not sure if you could leave Switchres active, and not use super resolutions but set the stretching options manually. I don't know what happens then. If you leave the nag screens up, I'm sure GM will tell you.

(I'm not sure dipping below the pixel clock is a sync issue per se so much as that the card simply fails to deliver anything intelligible, or defaults to a fallback mode such as 480p?)

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Re: SwitchRes and minimum Pixel-Clock 7.12MHz
« Reply #2 on: February 15, 2017, 01:49:03 am »
There's a dotclock_min option in mame.ini. Simply use it.
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 of pasting it.

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

tb404

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:May 22, 2018, 04:06:11 pm
  • I want to build my own arcade controls!
Re: SwitchRes and minimum Pixel-Clock 7.12MHz
« Reply #3 on: February 15, 2017, 02:52:57 pm »
awesome, works!

[SOLVED]

buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1758
  • Last login:March 22, 2024, 12:55:20 am
  • Is running at 15kHz
Re: SwitchRes and minimum Pixel
« Reply #4 on: February 15, 2017, 05:06:41 pm »
Hah, that was a much simpler way around :)

I hope I'm actually learning something from all this instead of merely making an idiot of myself.
« Last Edit: February 15, 2017, 05:09:29 pm by buttersoft »

Sledge

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 495
  • Last login:September 25, 2022, 05:22:55 am
Re: SwitchRes and minimum Pixel
« Reply #5 on: February 15, 2017, 10:41:50 pm »
I hope I'm actually learning something from all this instead of merely making an idiot of myself.
We all do that until we learn enough :)