| Forums | Polls | Register | Reply | Search | Statistics |
PGenerator & DeviceControl Light Illusion Forums / PGenerator & DeviceControl /   
 

PGenerator on Interlaced displays

 
Author elvis
User - Mono 
#1 | Posted: 8 Mar 2020 07:26 
Hi,

Firstly, many thanks for PGenerator. It's a wonderful tool and great to see more open source options appearing for use in colour calibration.

I'm using PGenerator on old CRTs, and wanting to calibrate SD television modes (HCFR does Rec.601 quite nicely). I've had to make a change to PGenerator to allow it to work with interlaced modes.

Specifically the file /usr/share/PGenerator/command.pm calls "tvservice -s" to get the video mode. With progressive scan 480p (hdmi_mode=2), the output looks like:

state 0xa [HDMI CEA (2) RGB full 4:3], 720x480 @ 60.00Hz, progressive

When switching to hdmi_mode=6 480i, tvservice reports:

state 0xa [HDMI CEA (6) RGB full 4:3 x2], 720x480 @ 60.00Hz, interlaced

The extra "x2" field throws out get_hdmi_info, as it pushes the resolution field one column to the right.

My perl-fu isn't good enough to find out where to fix this downstream, so I've just hard-coded in the string with out the "x2" part and it works for me. However I thought I'd mention it in case someone smarter than me can provide the correct fix and a diff (as my method means I need to switch back and forth when using the pattern generator on higher res displays).

Author biasi
User - Mono 
#2 | Posted: 9 Mar 2020 12:04 | Edited by: biasi 
I have done a patch for PGenerator software and now the correct resolution is displayed in DeviceControl Template also with interlaced mode;to get new software you need to execute: pkg_update
if you want that the new resolution is maintained after boot process you need to change in the file /boot/loader/boot_dir/config.txt the vars
hdmi_group=
hdmi_mode=
and then execute
bootloader

Author elvis
User - Mono 
#3 | Posted: 16 Mar 2020 00:43 
Brilliant, thank you so much.

PGenerator & DeviceControl Light Illusion Forums / PGenerator & DeviceControl /
 PGenerator on Interlaced displays

Your Reply Click this icon to move up to the quoted message

 

 (?)
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.

 

 
Online now: Guests - 3
Members - 0
Max. ever online: 264 [6 Jun 2020 12:02]
Guests - 264 / Members - 0