Package: redshift Version: 1.7-2 Severity: minor Tags: patch upstream The intel X.org driver supports virtual outputs [1] and I use these to extend my desktop to three monitors using the NVidia card in my ThinkPad T420. These virtual outputs, however, do not support the RAndR Gamma properties, and redshift crashes. With the attached patch, redshift ignores those virtual outputs and only adjust gamma on the real outputs, which is fine (I run a second redshift for the NVidia X server to adjust the third display as well).
Please consider doing something similar, thanks. [1] http://www.phoronix.com/scan.php?page=news_item&px=MTQ1MDc -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (980, 'testing'), (980, 'stable'), (500, 'unstable'), (500, 'stable'), (200, 'experimental') Architecture: i386 (x86_64) Foreign Architectures: amd64 Kernel: Linux 3.15.0-rc5-lis64+ (SMP w/4 CPU cores) Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages redshift depends on: ii gconf-service 3.2.6-2 ii libc6 2.18-5 ii libgconf-2-4 3.2.6-2 ii libglib2.0-0 2.40.0-3 ii libx11-6 2:1.6.2-1 ii libxcb-randr0 1.10-2 ii libxcb1 1.10-2 ii libxxf86vm1 1:1.1.3-1 redshift recommends no packages. redshift suggests no packages. -- no debconf information -- Tomáš Janoušek, a.k.a. Liskni_si, http://work.lisk.in/
diff -up ./src/gamma-randr.c.virtual ./src/gamma-randr.c --- ./src/gamma-randr.c.virtual 2014-01-13 17:45:09.000000000 +0100 +++ ./src/gamma-randr.c 2014-01-13 17:48:17.144686185 +0100 @@ -161,7 +161,9 @@ randr_start(randr_state_t *state) fprintf(stderr, _("`%s' returned error %d\n"), "RANDR Get CRTC Gamma Size", error->error_code); - return -1; + state->crtc_count = i; + break; + //return -1; } unsigned int ramp_size = gamma_size_reply->size;