From 5cf053959614dadc7a8bd268e85ec4e0f67ef6c8 Mon Sep 17 00:00:00 2001 From: Phillip Berndt Date: Fri, 6 Mar 2015 09:45:55 +0100 Subject: [PATCH] Explain why we enable outputs in pairs of two See issue #21 --- autorandr.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/autorandr.py b/autorandr.py index aadb7d4..b288e41 100755 --- a/autorandr.py +++ b/autorandr.py @@ -449,6 +449,10 @@ def apply_configuration(configuration, dry_run=False): disable_argv = [] # Enable remaining outputs in pairs of two + # This is required because some drivers can't handle enabling many outputs + # in one call. See + # https://github.com/phillipberndt/autorandr/pull/6 + # and commits f4cce4d and 8429886. remaining_outputs = [ x for x in outputs if configuration[x].edid ] for index in range(0, len(remaining_outputs), 2): argv = base_argv[:] -- 2.39.2