Unfortunately it looks like my monitor does support DDC but does not support VPC Code 96 (0x60) meaning I can't programmatically change the input. What a bummer.
Monitor is ASUS PG348Q.
Monitor is ASUS PG348Q.
Feature: 60 (Input Source)
Values:
0f: DisplayPort-1
10: DisplayPort-2
11: HDMI-1
sudo ddcutil setvcp 60 0x11 # To HDMI
sudo ddcutil setvcp 60 0x10 # To DisplayPort 2
Nice! Installing ddcutil¹ was a breeze too. No extra configuration needed on Ubuntu Linux. Although a few tweaks are needed to give the local user access instead of root.I wonder if there's any hope of hacking a solution to this, as it seems unlikely the LG would actually fix it.