"Sorry, we only support 8 and 10-bit displays right now."
-
Yeah, thanks for the tip. It's keeping my eyes from roasting, but I'd still like to have f.lux. Would be really nice if they had a Fedora repository too instead of just xflux and the Ubuntu repo with the whole GUI and everything.
-
@herf How's it looking? find the missing bit and patch it, yet ?
:) -
@herf Having the same problem here: just got a new laptop with a GeForce GTX 970M using the Nvidia driver and xflux won't work.
-
@f-lux-team Any progress on this? Thanks.
-
I could use a solution for this for Nvidia's proprietary 367.27 drivers. (Nvidia drivers and dependencies from SteamOS repos, rest of the system uses Debian 8 & BunsenLabs repos.)
-
I also registered just to say that we need this patched!
T.
-
Sorry to bump an old thread but I had the same problem on my Antergos install and this I how I fixed it.
- Disable lightdm and set gdm as the default DM
systemctl stop lightdm.service
systemctl disable lightdmsystemctl enable gdm
systemctl start gdm.service- Edit /etc/gdm/custom.conf to use Xorg instead of Wayland. Uncomment this line:
WaylandEnable=false
-
Start xflux
-
Profit, hopefully.
Note that this worked for me but is probably not the right solution and it might not necessarily work for you.
-
@denniskig said:
Note that this worked for me but is probably not the right solution and it might not necessarily work for you.
You said it. This won't work for most people. Are you downgrading your graphics driver with this fix, or is it just a Wayland related bug?
-
The latter
-
@herf Hi herf,
did you have some time to patch this one after eight months? ;)
Would be awesome if you fix it and provide new binaries for us (Linux).
Our eyes are bleeding..
-
Btw. for me the workaround was to downgrade the Nvidia driver to 361.42.
-
May be I repeat, try to use redshift. It analog xflux.
-
@AlexV said in "Sorry, we only support 8 and 10-bit displays right now.":
May be I repeat, try to use redshift. It analog xflux.
This is not helpful at all.
-
Is there an ETA on the fix? I've been using redshift for the time being but a recent-ish update made it just not work at all anymore, and I'd really love to not be blinded by my PC late at night.
-
I actually think there won't be any patch for this.
-
I have no NVIDIA+Linux machines to test on, but I posted a possible fix here:
-
@herf said in "Sorry, we only support 8 and 10-bit displays right now.":
I have no NVIDIA+Linux machines to test on, but I posted a possible fix here:
Videocard: Nvidia GeForce GTX 650
Driver version: 367.27
Command used: xflux11 -l 51.9 -g 4.5 -k 2500
Terminal output:
Welcome to xflux (f.lux for X)
This will only work if you're running X on console.Found 1 screen.
Your location (lat, long) is 51.9, 4.5Your night-time color temperature is 2500
It's night time. Your screen is changing now.
Going to background: 'kill 19868' to turn off.*** Error in `xflux11': free(): invalid next size (normal): 0x0000000001953950 ***
-
-
Output:
Welcome to xflux (f.lux for X)
This will only work if you're running X on console.Found 1 screen.
Your location (lat, long) is 33.8, -118.3Your night-time color temperature is 3400
Going to background: 'kill 24668' to turn off.*** Error in `/usr/bin/xflux11': free(): invalid next size (normal): 0x00000000006bb950 ***
[Inferior 1 (process 24664) exited normally]
(gdb) bt
No stack. -
@herf , I tried single stepping with backtrace after each step (by getting close to the crash and then defining a function that does
step; bt
as described here: http://stackoverflow.com/questions/1262639/multiple-commands-in-gdb-separated-by-some-sort-of-delimiter).Here's the output at the crash (the first stack trace is before the crash; scroll to the end for the similar stack trace at the crash, i.e. at fork.c:152):
$ gdb --args ./xflux11 -z 97232 [... set up break points and such, and then single step ...] (gdb) 145 in ../sysdeps/nptl/fork.c #0 __libc_fork () at ../sysdeps/nptl/fork.c:145 #1 0x0000000000401729 in main () (gdb) *** Error in `/var/tmp/xflux/xflux11': free(): invalid next size (normal): 0x00000000006cc760 *** ======= Backtrace: ========= 152 in ../sysdeps/nptl/fork.c /lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7ffff68877e5] /lib/x86_64-linux-gnu/libc.so.6(+0x7fe0a)[0x7ffff688fe0a] /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7ffff689398c] /var/tmp/xflux/xflux11[0x401fba] /var/tmp/xflux/xflux11[0x402003] /var/tmp/xflux/xflux11[0x402285] /var/tmp/xflux/xflux11[0x40130b] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7ffff6830830] /var/tmp/xflux/xflux11[0x401799] ======= Memory map: ======== 00400000-00404000 r-xp 00000000 103:02 22424545 /var/tmp/xflux/xflux11 00604000-006ab000 rw-p 00004000 103:02 22424545 /var/tmp/xflux/xflux11 006ab000-006dd000 rw-p 00000000 00:00 0 [heap] 7ffff0000000-7ffff0021000 rw-p 00000000 00:00 0 7ffff0021000-7ffff4000000 ---p 00000000 00:00 0 7ffff5dd6000-7ffff5ddb000 r-xp 00000000 103:02 8131540 /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0 7ffff5ddb000-7ffff5fda000 ---p 00005000 103:02 8131540 /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0 7ffff5fda000-7ffff5fdb000 r--p 00004000 103:02 8131540 /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0 7ffff5fdb000-7ffff5fdc000 rw-p 00005000 103:02 8131540 /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0 7ffff5fdc000-7ffff5fde000 r-xp 00000000 103:02 8131529 /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0 7ffff5fde000-7ffff61de000 ---p 00002000 103:02 8131529 /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0 7ffff61de000-7ffff61df000 r--p 00002000 103:02 8131529 /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0 7ffff61df000-7ffff61e0000 rw-p 00003000 103:02 8131529 /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0 7ffff61e0000-7ffff61e9000 r-xp 00000000 103:02 8131562 /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0 7ffff61e9000-7ffff63e8000 ---p 00009000 103:02 8131562 /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0 7ffff63e8000-7ffff63e9000 r--p 00008000 103:02 8131562 /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0 7ffff63e9000-7ffff63ea000 rw-p 00009000 103:02 8131562 /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0 7ffff63ea000-7ffff63ed000 r-xp 00000000 103:02 14292599 /lib/x86_64-linux-gnu/libdl-2.23.so 7ffff63ed000-7ffff65ec000 ---p 00003000 103:02 14292599 /lib/x86_64-linux-gnu/libdl-2.23.so 7ffff65ec000-7ffff65ed000 r--p 00002000 103:02 14292599 /lib/x86_64-linux-gnu/libdl-2.23.so 7ffff65ed000-7ffff65ee000 rw-p 00003000 103:02 14292599 /lib/x86_64-linux-gnu/libdl-2.23.so 7ffff65ee000-7ffff660f000 r-xp 00000000 103:02 8132915 /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0 7ffff660f000-7ffff680e000 ---p 00021000 103:02 8132915 /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0 7ffff680e000-7ffff680f000 r--p 00020000 103:02 8132915 /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0 7ffff680f000-7ffff6810000 rw-p 00021000 103:02 8132915 /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0 7ffff6810000-7ffff69cf000 r-xp 00000000 103:02 14292601 /lib/x86_64-linux-gnu/libc-2.23.so 7ffff69cf000-7ffff6bcf000 ---p 001bf000 103:02 14292601 /lib/x86_64-linux-gnu/libc-2.23.so 7ffff6bcf000-7ffff6bd3000 r--p 001bf000 103:02 14292601 /lib/x86_64-linux-gnu/libc-2.23.so 7ffff6bd3000-7ffff6bd5000 rw-p 001c3000 103:02 14292601 /lib/x86_64-linux-gnu/libc-2.23.so 7ffff6bd5000-7ffff6bd9000 rw-p 00000000 00:00 0 7ffff6bd9000-7ffff6bef000 r-xp 00000000 103:02 14288051 /lib/x86_64-linux-gnu/libgcc_s.so.1 7ffff6bef000-7ffff6dee000 ---p 00016000 103:02 14288051 /lib/x86_64-linux-gnu/libgcc_s.so.1 7ffff6dee000-7ffff6def000 rw-p 00015000 103:02 14288051 /lib/x86_64-linux-gnu/libgcc_s.so.1 7ffff6def000-7ffff6ef7000 r-xp 00000000 103:02 14293159 /lib/x86_64-linux-gnu/libm-2.23.so 7ffff6ef7000-7ffff70f6000 ---p 00108000 103:02 14293159 /lib/x86_64-linux-gnu/libm-2.23.so 7ffff70f6000-7ffff70f7000 r--p 00107000 103:02 14293159 /lib/x86_64-linux-gnu/libm-2.23.so 7ffff70f7000-7ffff70f8000 rw-p 00108000 103:02 14293159 /lib/x86_64-linux-gnu/libm-2.23.so 7ffff70f8000-7ffff726a000 r-xp 00000000 103:02 8128720 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 7ffff726a000-7ffff746a000 ---p 00172000 103:02 8128720 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 7ffff746a000-7ffff7474000 r--p 00172000 103:02 8128720 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 7ffff7474000-7ffff7476000 rw-p 0017c000 103:02 8128720 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 7ffff7476000-7ffff747a000 rw-p 00000000 00:00 0 7ffff747a000-7ffff7484000 r-xp 00000000 103:02 8131560 /usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0 7ffff7484000-7ffff7683000 ---p 0000a000 103:02 8131560 /usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0 7ffff7683000-7ffff7684000 r--p 00009000 103:02 8131560 /usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0 7ffff7684000-7ffff7685000 rw-p 0000a000 103:02 8131560 /usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0 7ffff7685000-7ffff77ba000 r-xp 00000000 103:02 8131525 /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 7ffff77ba000-7ffff79ba000 ---p 00135000 103:02 8131525 /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 7ffff79ba000-7ffff79bb000 r--p 00135000 103:02 8131525 /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 7ffff79bb000-7ffff79bf000 rw-p 00136000 103:02 8131525 /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 7ffff79bf000-7ffff79d0000 r-xp 00000000 103:02 8131542 /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0 7ffff79d0000-7ffff7bcf000 ---p 00011000 103:02 8131542 /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0 7ffff7bcf000-7ffff7bd0000 r--p 00010000 103:02 8131542 /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0 7ffff7bd0000-7ffff7bd1000 rw-p 00011000 103:02 8131542 /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0 7ffff7bd1000-7ffff7bd6000 r-xp 00000000 103:02 8131578 /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0 7ffff7bd6000-7ffff7dd5000 ---p 00005000 103:02 8131578 /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0 7ffff7dd5000-7ffff7dd6000 r--p 00004000 103:02 8131578 /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0 7ffff7dd6000-7ffff7dd7000 rw-p 00005000 103:02 8131578 /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0 7ffff7dd7000-7ffff7dfd000 r-xp 00000000 103:02 14287358 /lib/x86_64-linux-gnu/ld-2.23.so 7ffff7fcf000-7ffff7fd8000 rw-p 00000000 00:00 0 7ffff7ff5000-7ffff7ff6000 rw-p 00000000 00:00 0 7ffff7ff6000-7ffff7ff8000 rw-p 00000000 00:00 0 7ffff7ff8000-7ffff7ffa000 r--p 00000000 00:00 0 [vvar] 7ffff7ffa000-7ffff7ffc000 r-xp 00000000 00:00 0 [vdso] 7ffff7ffc000-7ffff7ffd000 r--p 00025000 103:02 14287358 /lib/x86_64-linux-gnu/ld-2.23.so 7ffff7ffd000-7ffff7ffe000 rw-p 00026000 103:02 14287358 /lib/x86_64-linux-gnu/ld-2.23.so 7ffff7ffe000-7ffff7fff000 rw-p 00000000 00:00 0 7ffffffdd000-7ffffffff000 rw-p 00000000 00:00 0 [stack] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] #0 __libc_fork () at ../sysdeps/nptl/fork.c:152 #1 0x0000000000401729 in main () (gdb)