]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/commitdiff
Explain why we enable outputs in pairs of two
authorPhillip Berndt <phillip.berndt@googlemail.com>
Fri, 6 Mar 2015 08:45:55 +0000 (09:45 +0100)
committerPhillip Berndt <phillip.berndt@googlemail.com>
Fri, 6 Mar 2015 08:45:55 +0000 (09:45 +0100)
See issue #21

autorandr.py

index aadb7d4f608e3e179fefe87d7b8f563cc8042d58..b288e41f914b9ed97e81e176fbb2ac105d9740d8 100755 (executable)
@@ -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[:]