Advertisement
Guest User

Untitled

a guest
Jul 24th, 2021
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.43 KB | None | 0 0
  1. #
  2. # Switchres config
  3. #
  4.  
  5. # Monitor preset. Sets typical monitor operational ranges:
  6. #
  7. # generic_15, ntsc, pal Generic CRT standards
  8. # arcade_15, arcade_15ex Arcade fixed frequency
  9. # arcade_25, arcade_31 Arcade fixed frequency
  10. # arcade_15_25, arcade_15_25_31 Arcade multisync
  11. # vesa_480, vesa_600, vesa_768, vesa_1024 VESA GTF
  12. # pc_31_120, pc_70_120 PC monitor 120 Hz
  13. # h9110, polo, pstar Hantarex
  14. # k7000, k7131, d9200, d9800, d9400 Wells Gardner
  15. # m2929 Makvision
  16. # m3129 Wei-Ya
  17. # ms2930, ms929 Nanao
  18. # r666b Rodotron
  19. #
  20. # Special presets:
  21. # custom Defines a custom preset. Use in combination with crt_range0-9 options below.
  22. # lcd Will keep desktop's resolution but attempt variable refresh, use in combination with lcd_range
  23. #
  24. monitor pc_31_120
  25.  
  26. # Define a custom preset, use monitor custom to activate
  27. # crt_range0-9 HfreqMin-HfreqMax, VfreqMin-VfreqMax, HFrontPorch, HSyncPulse, HBackPorch, VfrontPorch, VSyncPulse, VBackPorch, HSyncPol, VSyncPol, ProgressiveLinesMin, ProgressiveLinesMax, InterlacedLinesMin, InterlacedLinesMax
  28. # e.g.: crt_range0 15625-15750, 49.50-65.00, 2.000, 4.700, 8.000, 0.064, 0.192, 1.024, 0, 0, 192, 288, 448, 576
  29. crt_range0 auto
  30. crt_range1 auto
  31. crt_range2 auto
  32. crt_range3 auto
  33. crt_range4 auto
  34. crt_range5 auto
  35. crt_range6 auto
  36. crt_range7 auto
  37. crt_range8 auto
  38. crt_range9 auto
  39.  
  40. # Set the operational refresh range for LCD monitor, e.g. lcd_range 50-61
  41. lcd_range auto
  42.  
  43. # Force a custom modeline, in XFree86 format. This option overrides the active monitor preset configuration.
  44. modeline auto
  45.  
  46. # Forces an user mode, in the format: width x height @ refresh. Here, 0 can used as a wildcard. At least one of the three values
  47. # must be defined. E.g. user_mode 0x240 -> SR can freely choose any width based on the game's requested video mode, but will
  48. # force height as 240.
  49. user_mode 1920x0@120
  50.  
  51.  
  52. #
  53. # Display config
  54. #
  55.  
  56. # Select target display
  57. # auto Pick the default display
  58. # 0, 1, 2, ... Pick a display by index
  59. # \\.\DISPLAY1, ... Windows display name
  60. # VGA-0, ... X11 display name
  61. display auto
  62.  
  63. # Choose a custom video backend when more than one is available.
  64. # auto Let Switchres decide
  65. # adl Windows - AMD ADL (AMD Radeon HD 5000+)
  66. # ati Windows - ATI legacy (ATI Radeon pre-HD 5000)
  67. # powerstrip Windows - PowerStrip (ATI, Nvidia, Matrox, etc., models up to 2012)
  68. # xrandr Linux - X11/Xorg
  69. # drmkms Linux - KMS/DRM (WIP)
  70. api auto
  71.  
  72. # [Windows] Lock video modes reported as unsupported by your monitor's EDID
  73. lock_unsupported_modes 1
  74.  
  75. # Lock system (non-custom) video modes, only use modes that have full detailed timings available
  76. lock_system_modes 0
  77.  
  78. # Ignore video mode's refresh reported by the OS when checking ranges
  79. refresh_dont_care 0
  80.  
  81. # Keep changes on exit (warning: this skips video mode cleanup)
  82. keep_changes 0
  83.  
  84.  
  85. #
  86. # Modeline generation config
  87. #
  88.  
  89. # Enable on-the-fly generation of video modes
  90. modeline_generation 1
  91.  
  92. # Allow interlaced modes (existing or generated)
  93. interlace 1
  94.  
  95. # Allow doublescan modes (warning: doublescan support is broken in most drivers)
  96. doublescan 0
  97.  
  98. # Force a minimum dotclock value, in MHz, e.g. dotclock_min 25.0
  99. dotclock_min 0
  100.  
  101. # Maximum refresh difference, in Hz, allowed in order to synchronize. Below this value, the mismatch does not involve penalization
  102. sync_refresh_tolerance 2.0
  103.  
  104. # Super resolution width: above this width, fractional scaling on the horizontal axis is applied without penalization
  105. super_width 1920
  106.  
  107. # Physical aspect ratio of the target monitor. Used to compensate aspect ratio when the target monitor is not 4:3
  108. aspect 4:3
  109.  
  110. # [Experimental] Attempts to compensate consumer TVs vertical centering issues
  111. v_shift_correct 0
  112.  
  113. # Calculate horizontal borders with 1-pixel precision, instead of the default 8-pixels blocks that were required by old drivers.
  114. # Greatly improves horizontal centering of video modes.
  115. pixel_precision 1
  116.  
  117. # Calculate all vertical values of interlaced modes as even numbers. Required by AMD APU hardware on Linux
  118. interlace_force_even 0
  119.  
  120.  
  121. #
  122. # Custom video backend config
  123. #
  124.  
  125. # [X11] adjusts the crtc position after a new video mode is set, maintaining the relative position of screens in a multi-monitor setup.
  126. screen_compositing 0
  127.  
  128. # [X11] stacks the screens vertically on startup to allow each screen to freely resize up to the maximum width. Useful to avoid video
  129. # glitches when using super-resolutions. screen_reordering overrides screen_compositing.
  130. screen_reordering 0
  131.  
  132. # [Windows] dynamically adds new modes or updates existing ones, even on stock AMD drivers*. This feature is experimental and is
  133. # disabled by default. It has the following limitations and problems:
  134. # - Synchronization is not perfect yet and the new modes may not always be ready on time for mode switching, causing a wrong display
  135. # output.
  136. # - A plug-n-play audio notification will be present on startup and exit, if the explorer shell is used.
  137. # - Refreshing the hardware is an expensive task that takes time, specially if the app has already entered fullscreen mode. This
  138. # makes it unpractical for games that switch video modes more than once.
  139. # * When used with stock AMD drivers instead of CRT Emudriver, usual limitations apply: no support for low resolutions (below 640x480)
  140. # nor low dotclocks.
  141. # Not a problem however if you're using a 31 kHz monitor.
  142. allow_hardware_refresh 0
  143.  
  144. # Pass a custom video timing string in the native backend's format. E.g. pstring timing for Powerstrip
  145. custom_timing auto
  146.  
  147.  
  148. #
  149. # Logging
  150. #
  151.  
  152. # Enables verbose mode (0|1)
  153. verbose 0
  154.  
  155. # Set verbosity level (from 0 to 3)
  156. # 0: no messages from SR
  157. # 1: only errors
  158. # 2: general information
  159. # 3: debug messages
  160. verbosity 2
  161.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement