You are not logged in.

#1 2016-12-28 19:10:52

stabwound
Member
Registered: 2015-07-24
Posts: 48

Possible to change i915 powersave options post-boot? (to avoid hang)

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

#2 2016-12-31 19:26:58

stabwound
Member
Registered: 2015-07-24
Posts: 48

Re: Possible to change i915 powersave options post-boot? (to avoid hang)

Anyone know?

Offline

#3 2016-12-31 19:32:30

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,794
Website

Re: Possible to change i915 powersave options post-boot? (to avoid hang)

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

#4 2016-12-31 20:16:07

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Possible to change i915 powersave options post-boot? (to avoid hang)

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

#5 2017-01-02 17:17:27

stabwound
Member
Registered: 2015-07-24
Posts: 48

Re: Possible to change i915 powersave options post-boot? (to avoid hang)

R00KIE wrote:

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

#6 2017-01-03 10:41:39

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Possible to change i915 powersave options post-boot? (to avoid hang)

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

Board footer

Powered by FluxBB