Difference between revisions of "Screen deformations and sync issues"

From RGB-Pi Wiki
Jump to: navigation, search
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Some monitors and TVs produce some kinds of image deformations. Next, we will see the most common scenarios and how to fix them:
 
Some monitors and TVs produce some kinds of image deformations. Next, we will see the most common scenarios and how to fix them:
  
=== In-Game top screen deformation ===
+
[[File:Def.png|320px]]
  
[[File:Def.png|400px|thumb|Click here to zoom in]]
+
=== UI menu top screen deformation ===
 
 
This deformation can be easily fixed by changing the field V_Sync_Pulse in the system timings. Timing are spread in several files, and they can be found in /home/pi/RGB-Pi/data/timings. The file names are self-explanatory. Once you open any of them, you'll find something like this:
 
 
 
    ;Order of fields:
 
    ;Name, H pixels, Scanlines, Frame Rate, H position, H zoom,
 
    ;V position, H Front Porch, H Sync, H Back Porch, V Sync, H Frequency.
 
   
 
    atari260060 1920 240 60.00 0 0 0 48 192 240 5 15734
 
    atari260050 1920 288 50.00 0 0 0 48 192 240 5 15625
 
    atari780060 1920 240 60.00 0 0 0 48 192 240 5 15734
 
    atari780050 1920 288 50.00 0 0 0 48 192 240 5 15625
 
    atarilynx60 1920 224 60.00 0 0 0 48 192 240 5 15734
 
    wonderswan60 1920 224 60.00 0 0 0 48 192 240 5 15734
 
    wonderswancolor60 1920 224 60.00 0 0 0 48 192 240 5 15734
 
    coleco60 1920 240 60.00 0 0 0 48 192 240 5 15734
 
    coleco50 1920 288 50.00 0 0 0 48 192 240 5 15625
 
    pcengine60 1920 240 59.94 0 0 0 48 192 240 5 15734
 
    pcengine50 1920 288 50.00 0 0 0 48 192 240 5 15625
 
  
By modifying the vsync, you can reduce one unit each try, save the file and test some game until you get the proper value. Once you have it, you can perform a bulk update in the timing file by using any text editor with the replace functionality and searching for " 5 " so that it won't overwrite other values.
+
Some TV models are a bit special with the picture modes they can show, you can try to change on /boot/config.txt with the following line;
 +
    hdmi_timings=320 1 12 32 44 240 1 6 10 6 0 0 0 60 0 6400000 1
  
=== UI menu top screen deformation ===
+
You can edit the file extracting the SD from the Pi and on Windows PC or any other os open the file and only change the first line, save and extract with security the SD, if the changes solve the issue thi is saved when you power down the Pi or Reboot with the menu options.
  
We can also suffer some deformations in the system menu. To fix this, we must edit the ui-timings.txt and change the corresponding line (FIX/NOFIX), and modify in this case the value 9 following the same procedure explained above. The format of this file is a bit different, so check bellow for guiding you on editing the same:
+
=== In game deformation and desyncronizations ===
  
    <h_active_pixels> <h_sync_polarity> <h_front_porch> <h_sync_pulse> <h_back_porch> <v_active_lines> <v_sync_polarity> <v_front_porch> <v_sync_pulse> <v_back_porch> <v_sync_offset_a> <v_sync_offset_b> <pixel_rep> <frame_rate> <interlaced> <pixel_freq> <aspect_ratio>
+
If you problem is inside the game you have two ways to solve, enter on the "advanced menu" and try to play with the custom Vsync value.
  
For checking that all changes are OK without bouncing, you can simply enter and exit to the Screen Assistant menu option. If everything works fine you must change the same modified values into /boot/config.txt
+
You have too the rounding option to fix the refresh rates on 50Hz or 60Hz for a TVs with a low tolerance of rare refresh rates.

Latest revision as of 12:51, 26 January 2021

Some monitors and TVs produce some kinds of image deformations. Next, we will see the most common scenarios and how to fix them:

Def.png

UI menu top screen deformation

Some TV models are a bit special with the picture modes they can show, you can try to change on /boot/config.txt with the following line;

    hdmi_timings=320 1 12 32 44 240 1 6 10 6 0 0 0 60 0 6400000 1

You can edit the file extracting the SD from the Pi and on Windows PC or any other os open the file and only change the first line, save and extract with security the SD, if the changes solve the issue thi is saved when you power down the Pi or Reboot with the menu options.

In game deformation and desyncronizations

If you problem is inside the game you have two ways to solve, enter on the "advanced menu" and try to play with the custom Vsync value.

You have too the rounding option to fix the refresh rates on 50Hz or 60Hz for a TVs with a low tolerance of rare refresh rates.