with AOC monitor, it issued an unexpected acpi event after external monitor be disabled, that caused mode switching.
u@u-Vostro-7570:~$ sudo acpi_listen
# now disable external screen by $DISPLAY=:0 xrandr --output HDMI-0 --off
jack/lineout LINEOUT unplug
jack/videoout VIDEOOUT unplug
# wait for about 15 secs, this acpi event somehow be issued.
video/switchmode VMOD 00000080 00000000
jack/lineout LINEOUT plug
jack/videoout VIDEOOUT plug
But, this issue not happens to Dell monitor, and this proposed package passed both with Dell monitor ST2320L and P2415Qb. So, the patches helps actually.
with AOC monitor, it issued an unexpected acpi event after external monitor be disabled, that caused mode switching.
u@u-Vostro-7570:~$ sudo acpi_listen
# now disable external screen by $DISPLAY=:0 xrandr --output HDMI-0 --off
jack/lineout LINEOUT unplug
jack/videoout VIDEOOUT unplug
# wait for about 15 secs, this acpi event somehow be issued.
video/switchmode VMOD 00000080 00000000
jack/lineout LINEOUT plug
jack/videoout VIDEOOUT plug
But, this issue not happens to Dell monitor, and this proposed package passed both with Dell monitor ST2320L and P2415Qb. So, the patches helps actually.