Difference between revisions of "Screen deformations and sync issues"

From RGB-Pi Wiki
Jump to: navigation, search
m
Line 1: Line 1:
En algunos monitores o teles concretas se producen algunos tipos de deformaciones en la imagen, a continuación vamos a ver que tipos son los mas comunes y como solucionarlos.
+
Some monitors and TVs produce some kinds of image deformations. Next, we will see the most common scenarios and how to fix them:
  
Deformación superior:
+
=== In-Game top screen deformation ===
  
[[File:Def.png|400px|thumb|Haz click para ampliar]]
+
[[File:Def.png|400px|thumb|Click here to zoom in]]
  
Esta deformación se puede solucionar modificando el campo V_Sync_Pulse en los Timings del sistema, estos están repartidos en varios archivos, podemos encontrarlos en /home/pi/RGB-Pi/data ahi tendremos console-timings.cfg para consolas y advmame-timings.cfg lr-fba-timings.cf lr-mame2003-timings.cfg y lr-mame2010-timings.cdf para arcade, una vez editemos estos archivos nos encontraremos con este formato:
+
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:
 
     ;Order of fields:
Line 23: Line 23:
 
     pcengine50 1920 288 50.00 0 0 0 48 192 240 5 15625
 
     pcengine50 1920 288 50.00 0 0 0 48 192 240 5 15625
  
Modificamos el vsync punto a punto hacia abajo y con cada modificacion guardamos y probamos un juego hasta llegar al valor adecuado, para cambiar todos los valores a la vez buscamos en el editor de texto buscar y sustituir y hacemos una busqueda de "espacio"5"espacio" de modo que solo no es encuentre el valor deseado y descarte el resto.
+
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.
  
Tambien podemos sufrir deformaciones en el menu, para esto editariamos el archivo /home/pi/RGB-Pi/Data/ui-timings.cfg y en la linea pertinente FIX si usamos el fix o NoFix si no lo utilizamos cambiariamos el V Sync que seria en este caso el valor numero 9 siguiendo la estructura de los timings completos que podemos ver a continuación:
+
=== UI menu top screen deformation ===
 +
 
 +
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:
  
 
     <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>
 
     <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>
  
Para comprobar que los cambios en el menu han surgido efecto puedes sin reiniciar el sistema entrar y salir del menu de centrado, en el momento que tengas los valores correctos debes copiarlos en el fichero config.txt solo la parte numerica, puedes encontrar el config.txt en /boot/config.txt
+
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

Revision as of 20:34, 1 May 2020

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

Click here to zoom in

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.

UI menu top screen deformation

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:

   <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>

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