Intel GPU: Backlight control in GNU/Linux

So I have been using Mint 18.1, dual booting with Win 10, on my Alienware 17 r3 (i7 6700, GTX 970m) for almost a year now. Everything has been hunky dory for so long, but all of a sudden my keyboard controls for adjusting screen backlight has stopped working. The FN+F9/F10 options simply don't work anymore, even though the FN+ F4/F5 for volume control, and other similar functions, are all working fine.

I am using the latest proprietary drivers for NVIDIA (375.39; available through the driver manager), and also the microcode for Intel chips (3.20151106.1; also available from the driver manager). I have not made any changes recently, and I am completely lost as to how I can fix this.

The output of

ls /sys/class/backlight/

shows

 intel_backlight

Switching to Nvidia GPU from NVIDIA X Server setting also does not change anything.

As far as I know Mint is still very much a lot of gnome-shell under the hood; They recently removed the dbus setting for that - which disabled a very usefull extension...

Maybe the line from my udev - controll backlight toppic works for you?

gdbus call --session --dest org.gnome.SettingsDaemon.Power --object-path /org/gnome/SettingsDaemon/Power --method org.freedesktop.DBus.Properties.Set org.gnome.SettingsDaemon.Power.Screen Brightness '<int32 30>'

1 Like

Unfortunately no! That does absolutely nothing. What's surprising is that it was working fine for ages... and there hasn't been any updates in the last week that would break things!

However, I ran intel_backlight in the terminal, and got some interesting error messages! But this is something I've never seen before. Any ideas as to what this could be? Or better yet, how to fix things?

Ok, thats serious driver shit - I guess...
Google presents me with this https://bugs.freedesktop.org/show_bug.cgi?id=93199

also Debian has something going on with that MMIO stuff: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655672

1 Like

Shit! I am getting the exact same output on running strace intel_gpu_top as the mentioned in comment #7 on the freedesktop discussion.

execve("/usr/bin/intel_gpu_top", ["intel_gpu_top"], [/* 50 vars */]) = 0
brk(NULL)                               = 0xe18000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5affc85000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=155838, ...}) = 0
mmap(NULL, 155838, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f5affc5e000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libdrm_intel.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200,@$0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=137704, ...}) = 0
mmap(0x3024400000, 2230368, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3024400000
mprotect(0x3024420000, 2093056, PROT_NONE) = 0
mmap(0x302461f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1f000) = 0x302461f000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libdrm.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@5 \0200\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=62256, ...}) = 0
mmap(0x3010200000, 2157488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3010200000
mprotect(0x301020e000, 2093056, PROT_NONE) = 0
mmap(0x301040d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd000) = 0x301040d000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libpciaccess.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320 @#0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=41736, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5affc5d000
mmap(0x3023400000, 2134416, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3023400000
mprotect(0x3023408000, 2097152, PROT_NONE) = 0
mmap(0x3023608000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x3023608000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libunwind.so.8", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\36@%0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=53600, ...}) = 0
mmap(0x3025400000, 2207432, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3025400000
mprotect(0x302540c000, 2093056, PROT_NONE) = 0
mmap(0x302560b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb000) = 0x302560b000
mmap(0x302560d000, 57032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x302560d000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260`@\0020\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=142152, ...}) = 0
mmap(0x3002400000, 2212904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3002400000
mprotect(0x3002418000, 2093056, PROT_NONE) = 0
mmap(0x3002617000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x3002617000
mmap(0x3002619000, 13352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3002619000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\t\302\0010\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1870352, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5affc5c000
mmap(0x3001c00000, 3967392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3001c00000
mprotect(0x3001dbf000, 2097152, PROT_NONE) = 0
mmap(0x3001fbf000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1bf000) = 0x3001fbf000
mmap(0x3001fc5000, 14752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3001fc5000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0V\200\0020\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=1091704, ...}) = 0
mmap(0x3002800000, 3178744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3002800000
mprotect(0x3002908000, 2093056, PROT_NONE) = 0
mmap(0x3002b07000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x107000) = 0x3002b07000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\35\300\0020\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=107432, ...}) = 0
mmap(0x3002c00000, 2199848, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3002c00000
mprotect(0x3002c19000, 2093056, PROT_NONE) = 0
mmap(0x3002e18000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18000) = 0x3002e18000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/liblzma.so.5", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320 @\0100\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=139936, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5affc5b000
mmap(0x3008400000, 2232456, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3008400000
mprotect(0x3008421000, 2093056, PROT_NONE) = 0
mmap(0x3008620000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20000) = 0x3008620000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\r\0\0020\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=17240, ...}) = 0
mmap(0x3002000000, 2109680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3002000000
mprotect(0x3002003000, 2093056, PROT_NONE) = 0
mmap(0x3002202000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x3002202000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5affc5a000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5affc58000
arch_prctl(ARCH_SET_FS, 0x7f5affc58740) = 0
mprotect(0x620000, 4096, PROT_READ)     = 0
mprotect(0x302461f000, 4096, PROT_READ) = 0
mprotect(0x301040d000, 4096, PROT_READ) = 0
mprotect(0x3023608000, 4096, PROT_READ) = 0
mprotect(0x302560b000, 4096, PROT_READ) = 0
mprotect(0x3002617000, 4096, PROT_READ) = 0
mprotect(0x3001fbf000, 16384, PROT_READ) = 0
mprotect(0x3002b07000, 4096, PROT_READ) = 0
mprotect(0x3002e18000, 4096, PROT_READ) = 0
mprotect(0x3000225000, 4096, PROT_READ) = 0
mprotect(0x3008620000, 4096, PROT_READ) = 0
mprotect(0x3002202000, 4096, PROT_READ) = 0
munmap(0x7f5affc5e000, 155838)          = 0
set_tid_address(0x7f5affc58a10)         = 16439
set_robust_list(0x7f5affc58a20, 24)     = 0
rt_sigaction(SIGRTMIN, {0x3002405b50, [], SA_RESTORER|SA_SIGINFO, 0x3002411390}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x3002405be0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x3002411390}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
stat("/sys/bus/pci/devices", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
brk(NULL)                               = 0xe18000
brk(0xe39000)                           = 0xe39000
open("/proc/mtrr", O_WRONLY|O_CLOEXEC)  = -1 EACCES (Permission denied)
open("/sys/bus/pci/devices", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
getdents(3, /* 22 entries */, 32768)    = 688
getdents(3, /* 0 entries */, 32768)     = 0
close(3)                                = 0
open("/sys/bus/pci/devices/0000:00:00.0/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200\20\31\6\0\220 \7\0\0\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 48, 0) = 48
close(3)                                = 0
open("/sys/bus/pci/devices/0000:00:01.0/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200\1\31\7\4\20\0\7\0\4\6\0\0\201\0\0\0\0\0\0\0\0\0\0\1\1\0\340\340\0 "..., 48, 0) = 48
close(3)                                = 0
open("/sys/bus/pci/devices/0000:00:02.0/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200\33\31\7\4\20\0\6\0\0\3\0\0\0\0\4\0\0\333\0\0\0\0\f\0\0p\0\0\0\0"..., 48, 0) = 48
close(3)                                = 0
open("/sys/bus/pci/devices/0000:00:04.0/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200\3\31\2\0\220\0\7\0\200\21\0\0\0\0\4\0\22\335\0\0\0\0\0\0\0\0\0\0\0\0"..., 48, 0) = 48
close(3)                                = 0
open("/sys/bus/pci/devices/0000:00:14.0/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200/\241\6\4\220\00210\3\f\0\0\200\0\4\0\21\335\0\0\0\0\0\0\0\0\0\0\0\0"..., 48, 0) = 48
close(3)                                = 0
open("/sys/bus/pci/devices/0000:00:14.2/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\2001\241\2\0\20\0001\0\200\21\0\0\0\0\4`\23\335\0\0\0\0\0\0\0\0\0\0\0\0"..., 48, 0) = 48
close(3)                                = 0
open("/sys/bus/pci/devices/0000:00:16.0/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200:\241\6\4\20\0001\0\200\7\0\0\200\0\4P\23\335\0\0\0\0\0\0\0\0\0\0\0\0"..., 48, 0) = 48
close(3)                                = 0
open("/sys/bus/pci/devices/0000:00:17.0/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200*(\7\4\260\0021\0\4\1\0\0\0\0\0\0\23\335\0@\23\335\221\360\0\0\201\360\0\0"..., 48, 0) = 48
close(3)                                = 0
open("/sys/bus/pci/devices/0000:00:1c.0/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200\20\241\7\0\20\0\361\0\4\6\0\0\201\0\0\0\0\0\0\0\0\0\0\2:\0  \0 "..., 48, 0) = 48
close(3)                                = 0
open("/sys/bus/pci/devices/0000:00:1c.4/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200\24\241\7\0\20\0\361\0\4\6\0\0\201\0\0\0\0\0\0\0\0\0\0;;\0\320\320\0 "..., 48, 0) = 48
close(3)                                = 0
open("/sys/bus/pci/devices/0000:00:1c.5/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200\25\241\7\0\20\0\361\0\4\6\0\0\201\0\0\0\0\0\0\0\0\0\0<<\0\360\0\0 "..., 48, 0) = 48
close(3)                                = 0
open("/sys/bus/pci/devices/0000:00:1c.6/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200\26\241\7\0\20\0\361\0\4\6\0\0\201\0\0\0\0\0\0\0\0\0\0==\0\360\0\0 "..., 48, 0) = 48
close(3)                                = 0
open("/sys/bus/pci/devices/0000:00:1f.0/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200N\241\7\0\0\0021\0\1\6\0\0\200\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 48, 0) = 48
close(3)                                = 0
open("/sys/bus/pci/devices/0000:00:1f.2/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200!\241\0\0\0\0001\0\200\5\0\0\200\0\0\300\22\335\0\0\0\0\0\0\0\0\0\0\0\0"..., 48, 0) = 48
close(3)                                = 0
open("/sys/bus/pci/devices/0000:00:1f.3/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200p\241\6\4\20\0001\0\3\4\0 \0\0\4\200\22\335\0\0\0\0\0\0\0\0\0\0\0\0"..., 48, 0) = 48
close(3)                                = 0
open("/sys/bus/pci/devices/0000:00:1f.4/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200#\241\3\0\200\0021\0\5\f\0\0\0\0\4 \23\335\0\0\0\0\0\0\0\0\0\0\0\0"..., 48, 0) = 48
close(3)                                = 0
open("/sys/bus/pci/devices/0000:01:00.0/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"..., 48, 0) = 48
close(3)                                = 0
open("/sys/bus/pci/devices/0000:3b:00.0/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "i\31\241\340\7\0\20\0\20\0\0\2\0\0\0\0\4\0P\335\0\0\0\0\1\320\0\0\0\0\0\0"..., 48, 0) = 48
close(3)                                = 0
open("/sys/bus/pci/devices/0000:3c:00.0/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\214\26>\0\6\4\30\0002\0\200\2\0\0\0\0\4\0 \335\0\0\0\0\0\0\0\0\0\0\0\0"..., 48, 0) = 48
close(3)                                = 0
open("/sys/bus/pci/devices/0000:3d:00.0/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\354\20'R\6\4\20\0\1\0\0\377\0\0\0\0\0\0@\335\0\0\0\0\0\0\0\0\0\0\0\0"..., 48, 0) = 48
close(3)                                = 0
open("/sys/bus/pci/devices/0000:00:02.0/config", O_RDONLY|O_CLOEXEC) = 3
pread64(3, "\206\200\33\31\7\4\20\0\6\0\0\3\0\0\0\0\4\0\0\333\0\0\0\0\f\0\0p\0\0\0\0"..., 256, 0) = 64
pread64(3, "", 192, 64)                 = 0
close(3)                                = 0
open("/sys/bus/pci/devices/0000:00:02.0/resource", O_RDONLY|O_CLOEXEC) = 3
read(3, "0x00000000db000000 0x00000000dbf"..., 512) = 512
close(3)                                = 0
open("/sys/bus/pci/devices/0000:00:02.0/resource0", O_RDWR|O_CLOEXEC) = -1 EACCES (Permission denied)
write(2, "(intel_gpu_top:16439) intel-mmio"..., 132(intel_gpu_top:16439) intel-mmio-CRITICAL: Test assertion failure function intel_mmio_use_pci_bar, file ../../lib/intel_mmio.c:145:
) = 132
write(2, "(intel_gpu_top:16439) intel-mmio"..., 75(intel_gpu_top:16439) intel-mmio-CRITICAL: Failed assertion: !(error != 0)
) = 75
write(2, "(intel_gpu_top:16439) intel-mmio"..., 77(intel_gpu_top:16439) intel-mmio-CRITICAL: Last errno: 13, Permission denied
) = 77
write(2, "(intel_gpu_top:16439) intel-mmio"..., 68(intel_gpu_top:16439) intel-mmio-CRITICAL: Couldn't map MMIO region
) = 68
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
write(1, "Stack trace:\n", 13Stack trace:
)          = 13
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5affc84000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5affc83000
mincore(0x7ffc2fad2fc7, 1, 0x7ffc2fad2fc7) = -1 EINVAL (Invalid argument)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
msync(0x7ffc2fad3000, 4096, MS_ASYNC)   = 0
open("/proc/16439/maps", O_RDONLY)      = 3
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5affc82000
read(3, "00400000-00421000 r-xp 00000000 "..., 4096) = 4058
open("/usr/bin/intel_gpu_top", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0755, st_size=147136, ...}) = 0
mmap(NULL, 147136, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f5affc5e000
close(4)                                = 0
close(3)                                = 0
munmap(0x7f5affc82000, 4096)            = 0
munmap(0x7f5affc5e000, 147136)          = 0
write(1, "  #0 [_init+0x83d9]\n", 20  #0 [_init+0x83d9]
)   = 20
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
open("/proc/16439/maps", O_RDONLY)      = 3
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5affc82000
read(3, "00400000-00421000 r-xp 00000000 "..., 4096) = 4058
open("/usr/bin/intel_gpu_top", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0755, st_size=147136, ...}) = 0
mmap(NULL, 147136, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f5affc5e000
close(4)                                = 0
close(3)                                = 0
munmap(0x7f5affc82000, 4096)            = 0
munmap(0x7f5affc5e000, 147136)          = 0
write(1, "  #1 [_init+0x6036]\n", 20  #1 [_init+0x6036]
)   = 20
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
open("/proc/16439/maps", O_RDONLY)      = 3
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5affc82000
read(3, "00400000-00421000 r-xp 00000000 "..., 4096) = 4058
open("/usr/bin/intel_gpu_top", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0755, st_size=147136, ...}) = 0
mmap(NULL, 147136, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f5affc5e000
close(4)                                = 0
close(3)                                = 0
munmap(0x7f5affc82000, 4096)            = 0
munmap(0x7f5affc5e000, 147136)          = 0
write(1, "  #2 [_init+0x1301]\n", 20  #2 [_init+0x1301]
)   = 20
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
open("/proc/16439/maps", O_RDONLY)      = 3
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5affc82000
read(3, "00400000-00421000 r-xp 00000000 "..., 4096) = 4058
open("/lib/x86_64-linux-gnu/libc-2.23.so", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0755, st_size=1870352, ...}) = 0
mmap(NULL, 1870352, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f5affa8f000
close(4)                                = 0
close(3)                                = 0
munmap(0x7f5affc82000, 4096)            = 0
munmap(0x7f5affa8f000, 1870352)         = 0
write(1, "  #3 [__libc_start_main+0xf0]\n", 30  #3 [__libc_start_main+0xf0]
) = 30
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
open("/proc/16439/maps", O_RDONLY)      = 3
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5affc82000
read(3, "00400000-00421000 r-xp 00000000 "..., 4096) = 4058
open("/usr/bin/intel_gpu_top", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0755, st_size=147136, ...}) = 0
mmap(NULL, 147136, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f5affc5e000
close(4)                                = 0
close(3)                                = 0
munmap(0x7f5affc82000, 4096)            = 0
munmap(0x7f5affc5e000, 147136)          = 0
write(1, "  #4 [_init+0x2f61]\n", 20  #4 [_init+0x2f61]
)   = 20
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
open("/proc/16439/maps", O_RDONLY)      = 3
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5affc82000
read(3, "00400000-00421000 r-xp 00000000 "..., 4096) = 4058
read(3, "3023400000-3023408000 r-xp 00000"..., 4096) = 1912
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7f5affc82000, 4096)            = 0
write(1, "  #5 [<unknown>+0x2f61]\n", 24  #5 [<unknown>+0x2f61]
) = 24
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], ~[KILL STOP RTMIN RT_1], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
getppid()                               = 16435
readlink("/proc/16435/exe", "/usr/bin/strace", 1024) = 15
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
write(2, "Test (null) failed.\n", 20Test (null) failed.
)   = 20
write(2, "**** DEBUG ****\n", 16**** DEBUG ****
)       = 16
write(2, "(intel_gpu_top:16439) intel-mmio"..., 132(intel_gpu_top:16439) intel-mmio-CRITICAL: Test assertion failure function intel_mmio_use_pci_bar, file ../../lib/intel_mmio.c:145:
) = 132
write(2, "(intel_gpu_top:16439) intel-mmio"..., 75(intel_gpu_top:16439) intel-mmio-CRITICAL: Failed assertion: !(error != 0)
) = 75
write(2, "(intel_gpu_top:16439) intel-mmio"..., 77(intel_gpu_top:16439) intel-mmio-CRITICAL: Last errno: 13, Permission denied
) = 77
write(2, "(intel_gpu_top:16439) intel-mmio"..., 68(intel_gpu_top:16439) intel-mmio-CRITICAL: Couldn't map MMIO region
) = 68
write(2, "****  END  ****\n", 16****  END  ****
)       = 16
open("/dev/kmsg", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EACCES (Permission denied)
clock_gettime(CLOCK_MONOTONIC_RAW, {1552, 401756341}) = 0
write(1, "FAIL (-1.000s)\n", 15FAIL (-1.000s)
)        = 15
exit_group(99)                          = ?
+++ exited with 99 +++

Well at least you found your issue now. Just gotta wait for the devs to fix it then.

1 Like

Well... that's not much of a solution, to be honest. Plus, if you notice, that freedesktop bug report is over two years old.

I wonder if there is a way to remove and reinstall the intel gpu driver, without reinstalling the entire OS?

2 years old with the latest comment being 2017-03-29 12:39:08 UTC.

At least it hasn't been abandoned.

1 Like

Um - what is that driver manager saying? Is there a package in the package manager called something like "intel-ucode" or better "video-intel" or alike.

I only have an intel igpu and I have the xf86-video-intel driver installed for it.

1 Like

The driver manager is only showing me two proprietary drivers, one for the NVIDIA GPU and the other bit is intel-microcode. I believe that's for the Intel CPU...

1 Like

Sadly I do not know if it will help or make it worse - but I would try and dissable the intel-microcode than check ... and if that does not work try the video-nouveau instead of the nvidia

but plz keep a live system (usb/dvd) handy to recover - your mileage may vary and I can't promise it will help or make it better in any way.

1 Like

Actually I should have mentioned that I already tried those two options, without any avail.

But here's what puzzles me though! According to the Intel Open Source Graphics page, the latest Intel Open Source drivers for Intel graphics are "integrated into your latest kernel offerings so you won't have to worry about updating your graphics drivers ever again" right? So, i decided to risk the pitfalls and go from kernel 4.4.0.53, the default for Mint 18.1, to 4.10.0.14. The process went smoothly... I rebooted, checked the update center to see that the current active kernel is, indeed, 4.10.0.14... but guess what? The intel drivers are still broken. Or, at least, the output of intel_backlight and strace remain the same as I posted above. And I still don't have any backlight control. The only upshot is that the brightness is not stuck at minimum or maximum, as some have reported, but at my comfortable custom level that I set it to when this was working.

Given this, I wonder if even a complete reinstall would be of much use???

1 Like

I would first try and boot a live system (maybe from another distribution even)

I am puzzled as I have a Intel® HD Graphics 5500 (Broadwell GT2) in my Laptop (only that one though) and I have zero problems with kernel 4.11.0-1-Manjaro and neither with 4.9.27-1-Manjaro and I do use the video-intel driver too....

2 Likes

Could prelinking be the issue? But assuming it is, I have had prelinking turned on for (literally) ages... I just don't understand what the hell went wrong all of a sudden!

But good suggestion... I will boot a live USB (one that I already have from when I installed Mint 18.0) and see...

BTW, do you happen to have Killer wireless in your laptop? That's another headache that keeps me from switching distros and stuff. But I suppose that's less of a distro issue, and more of a kernel issue....

1 Like

Oh I remember that thread - I luckily have gone for an all intel nic set on my Thinkpad well knowing that these are the most likely best supported one I could get.

As of that I would realy want to suggest you trying out one of the more leading edge distros - maybe a newer kernel got that support already.

Well... killer firmwire is, supposedly, included in 4.0 upwards. But you still need to add the drivers and run a set of commands to activate them. I am not sure if that has changed in more recent versions. But I am probably being lazy... it's not that hard to get the card to work, per se. But there are minor imperfections... for instance, if you put your laptop to sleep, on waking up the wireless card is no longer recognized. However, restarting will immediately fix that!

1 Like

Sounds like my wwan card up until 4.6 or so kernel XD pain in the arse i feel with you

1 Like

I really fail to understand how everyone is struggling with Killer NICs in Linux. I have 2 Killer E2200 NICs and they were working just fine on 3.17 or 3.19 BITD (don't remember which one Mint17 came with as default), never had to look for drivers or anything, it just worked straight away. It's just another Quallcom Atheros really.

1 Like

You're telling me that your Killer (mine is 1530 by the way) "just worked" (pun intended) out of the box in GNU/Linux? Without you doing anything?

Exactly. The 2200 on both my PCs (built around a Z77A GD-65 Gaming and an X99A Gaming 7) just worked straight away. Live stick as well as fresh install, it connected to the net immediately without me doing anything.
Not sure what the 1530 is based on, but the E2200 is just a glorified Atheros AR8161, so perhaps Mint recognises it as such and uses drivers for that one.

1 Like