Difference between revisions of "Screen deformations and sync issues"
m (RTomas moved page Deformaciones to Screen deformations and sync issues) |
m |
||
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: | |
− | + | === In-Game top screen deformation === | |
− | [[File:Def.png|400px|thumb| | + | [[File:Def.png|400px|thumb|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: | ;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 | ||
− | + | 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> | <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 |
Revision as of 19: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
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.
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