Files
Ju Huoandlibretroadmin ec750f8ee5 Add optional composite sync support to CRT SwitchRes (#19995)
* Add optional composite sync support to CRT SwitchRes

* CRT SwitchRes: fall back to separate sync where CSync cannot apply

An invalid csync value, or a display server without composite sync,
now falls back to separate sync with one warning instead of aborting
every mode switch, which left the desktop's separate sync on the wire
anyway and broke the EDID writer whenever csync was set. With csync
off, listed modes are selectable as before, polarity included; only
the modes generated here are held to the requested polarity.

XRandR takes over a same-named RA mode only when its timing is
identical, so a previous session's leftovers are reused and cleaned
up, and suffixes the name otherwise; the name scan uses one resources
fetch. The CRT sample and the live Xorg sample cover both.

---------

Co-authored-by: libretroadmin <[email protected]>
2026-11-06 04:43:19 +01:00
..