You are not logged in.
On my Skylake laptop, If I enable framebuffer compression on my laptop with "enable_fbc=1" in /etc/modprobe.d/i915.conf I get much improved battery life on my laptop (sometimes 2+ more hours).
The problem is that it causes a GPU hang without fail every time when resuming from suspend. Most of the time it will restart and recover, but sometimes it just crashes and I lose my X session.
My question is this: is there a way to disable FBC before suspend and reenable it when suspend ends? On that note, can anyone tell me if there's a way to automate this?
Offline
Anyone know?
Offline
https://wiki.archlinux.org/index.php/ke … probe.d.2F
/etc/modprobe.d/myfilename.conf
options module_name parameter_name=parameter_value
So in your case you need a file in /etc/modprobe.d/ that contains
options i915 enable_fbc=1
Last edited by ugjka (2016-12-31 19:33:32)
https://ugjka.net
paru > yay | webcord > discord
pacman -S spotify-launcher
mount /dev/disk/by-...
Offline
In theory it should be possible, that parameter is rw, however if it will work that is another story. Have a look in /sys/module/i915/parameters and the wiki for how to change things before/after suspend.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
In theory it should be possible, that parameter is rw, however if it will work that is another story. Have a look in /sys/module/i915/parameters and the wiki for how to change things before/after suspend.
Thanks for the tip. Unfortunately, it seems as though editing the parameters there has no effect on the system.
Offline
If changing it manually doesn't work then you will have to find some other way. You could try asking in upstream's mailing list and see if they can help, they might ask you to file a bug report in their bug tracker or it might be a known problem and that is why fbc is not enabled by default.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline