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

PGenerator on Interlaced displays

Author elvis
#1 | Posted: 8 Mar 2020 07:26 

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
#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
and then execute

Author elvis
#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

Watch this topic / Get updates by Email
Only registered users are allowed to post here. Please, enter your username/password details when posting a message, or register first.


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