From: Phillip Berndt Date: Fri, 6 Mar 2015 08:45:55 +0000 (+0100) Subject: Explain why we enable outputs in pairs of two X-Git-Tag: 1.0~74 X-Git-Url: https://git.donarmstrong.com/?p=deb_pkgs%2Fautorandr.git;a=commitdiff_plain;h=5cf053959614dadc7a8bd268e85ec4e0f67ef6c8 Explain why we enable outputs in pairs of two See issue #21 --- 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[:]