Framebuffer compression on GM45 disabled with KMS
Hi all,
My Xorg.log shows
(**) intel(0): Kernel mode setting active, disabling FBC. (**) intel(0): Framebuffer compression disabled
Is this normal? I'm trying to lower power consumption for my laptop... Enabling FBC should do it?
I have
fbpercrtc=0
modeset=1
powersave=1
lvds_downclock=1
enabled on the i915 module.
Regards,
Pedro
Quoted 17 lines · Pedro Ribeiro
Hi all,
My Xorg.log shows
(**) intel(0): Kernel mode setting active, disabling FBC. (**) intel(0): Framebuffer compression disabled
Is this normal? I'm trying to lower power consumption for my laptop... Enabling FBC should do it?
I have
fbpercrtc=0
modeset=1
powersave=1
lvds_downclock=1
enabled on the i915 module.
Quoted 3 lines
Regards,
Pedro
Sorry for the spam, forgot to say I'm running:
kernel 2.6.34-rc5
xorg 1.7.6
intel driver 2.9
Regards,
Pedro
Quoted 10 lines · On Fri, 30 Apr 2010 13:04:23 +0100 Pedro Ribeiro <[email protected]> wrote:
Hi all,
My Xorg.log shows
(**) intel(0): Kernel mode setting active, disabling FBC. (**) intel(0): Framebuffer compression disabled
Is this normal? I'm trying to lower power consumption for my laptop... Enabling FBC should do it?
Quoted 6 lines
I have
fbpercrtc=0
modeset=1
powersave=1
lvds_downclock=1
enabled on the i915 module.
It's just a stale message, I'll remove it. FBC will be enabled by your kernel if possible (you can check /sys/kernel/debug/dri/0/ for status info if you have debugfs mounted).
Jesse
Quoted 20 lines · Jesse Barnes
Quoted 10 lines · On Fri, 30 Apr 2010 13:04:23 +0100 Pedro Ribeiro <[email protected]> wrote:
Hi all,
My Xorg.log shows
(**) intel(0): Kernel mode setting active, disabling FBC. (**) intel(0): Framebuffer compression disabled
Is this normal? I'm trying to lower power consumption for my laptop... Enabling FBC should do it?
Quoted 6 lines
I have
fbpercrtc=0
modeset=1
powersave=1
lvds_downclock=1
enabled on the i915 module.
Quoted 6 lines
It's just a stale message, I'll remove it. FBC will be enabled by your kernel if possible (you can check
/sys/kernel/debug/dri/0/for status info if you have debugfs mounted).Jesse
Thanks for the heads up, actually measuring the power consumption between KMS and UMS with FBC enabled it seems that KMS wins by a very slim margin.
Its a great job you guys are doing with this driver!
I see it improve steadily on every kernel release. The only things I still miss is the render reclock support which was removed in 2.6.32.4
- it worked wonderfully in my machine, reducing power consumption by 2w when idle; and multiple ring buffer support(for libva H.264) which seems to be coming in the Q3 this year :-)
Regards,
Pedro
Quoted 32 lines · On Sat, 1 May 2010 01:01:12 +0100 Pedro Ribeiro <[email protected]> wrote:
Quoted 20 lines · Jesse Barnes
Quoted 10 lines · On Fri, 30 Apr 2010 13:04:23 +0100 Pedro Ribeiro <[email protected]> wrote:
Hi all,
My Xorg.log shows
(**) intel(0): Kernel mode setting active, disabling FBC. (**) intel(0): Framebuffer compression disabled
Is this normal? I'm trying to lower power consumption for my laptop... Enabling FBC should do it?
Quoted 6 lines
I have
fbpercrtc=0
modeset=1
powersave=1
lvds_downclock=1
enabled on the i915 module.Quoted 6 lines
It's just a stale message, I'll remove it. FBC will be enabled by your kernel if possible (you can check
/sys/kernel/debug/dri/0/for status info if you have debugfs mounted).Jesse
Thanks for the heads up, actually measuring the power consumption between KMS and UMS with FBC enabled it seems that KMS wins by a very slim margin.
Quoted 6 lines
Its a great job you guys are doing with this driver!
I see it improve steadily on every kernel release. The only things I still miss is the render reclock support which was removed in 2.6.32.4
- it worked wonderfully in my machine, reducing power consumption by 2w when idle; and multiple ring buffer support(for libva H.264) which seems to be coming in the Q3 this year :-)
2W!!? If so it would be worth resurrecting for you in the form of a boot option or something. The main problem is that it's not very general; may chips will lock up when we try to reclock them this way. But enabling it by force on specific machines is probably ok.
Jesse
Quoted 42 lines · Jesse Barnes
Quoted 32 lines · On Sat, 1 May 2010 01:01:12 +0100 Pedro Ribeiro <[email protected]> wrote:
Quoted 20 lines · Jesse Barnes
Quoted 10 lines · On Fri, 30 Apr 2010 13:04:23 +0100 Pedro Ribeiro <[email protected]> wrote:
Hi all,
My Xorg.log shows
(**) intel(0): Kernel mode setting active, disabling FBC. (**) intel(0): Framebuffer compression disabled
Is this normal? I'm trying to lower power consumption for my laptop... Enabling FBC should do it?
Quoted 6 lines
I have
fbpercrtc=0
modeset=1
powersave=1
lvds_downclock=1
enabled on the i915 module.Quoted 6 lines
It's just a stale message, I'll remove it. FBC will be enabled by your kernel if possible (you can check
/sys/kernel/debug/dri/0/for status info if you have debugfs mounted).Jesse
Thanks for the heads up, actually measuring the power consumption between KMS and UMS with FBC enabled it seems that KMS wins by a very slim margin.
Quoted 6 lines
Its a great job you guys are doing with this driver!
I see it improve steadily on every kernel release. The only things I still miss is the render reclock support which was removed in 2.6.32.4
- it worked wonderfully in my machine, reducing power consumption by 2w when idle; and multiple ring buffer support(for libva H.264) which seems to be coming in the Q3 this year :-)
Quoted 7 lines
2W!!? If so it would be worth resurrecting for you in the form of a boot option or something. The main problem is that it's not very general; may chips will lock up when we try to reclock them this way. But enabling it by force on specific machines is probably ok.
Jesse
Yes, the difference was that big with the monitor on DPMS off on my X4500. Don't know if it is related to it, but that it was what I observed. Overall, at least 1w with the computer sitting idle.
It was rock-solid till 2.6.32.4. I was annoyed when the patch got removed and reversed the patch in 2.6.32.5 but it caused serious graphic corruption and lockups. I haven't tried again in any of the newer kernels (.33 or .34).
Regards,
Pedro
Quoted 55 lines · Pedro Ribeiro
Quoted 42 lines · Jesse Barnes
Quoted 32 lines · On Sat, 1 May 2010 01:01:12 +0100 Pedro Ribeiro <[email protected]> wrote:
Quoted 20 lines · Jesse Barnes
Quoted 10 lines · On Fri, 30 Apr 2010 13:04:23 +0100 Pedro Ribeiro <[email protected]> wrote:
Hi all,
My Xorg.log shows
(**) intel(0): Kernel mode setting active, disabling FBC. (**) intel(0): Framebuffer compression disabled
Is this normal? I'm trying to lower power consumption for my laptop... Enabling FBC should do it?
Quoted 6 lines
I have
fbpercrtc=0
modeset=1
powersave=1
lvds_downclock=1
enabled on the i915 module.Quoted 6 lines
It's just a stale message, I'll remove it. FBC will be enabled by your kernel if possible (you can check
/sys/kernel/debug/dri/0/for status info if you have debugfs mounted).Jesse
Thanks for the heads up, actually measuring the power consumption between KMS and UMS with FBC enabled it seems that KMS wins by a very slim margin.
Quoted 6 lines
Its a great job you guys are doing with this driver!
I see it improve steadily on every kernel release. The only things I still miss is the render reclock support which was removed in 2.6.32.4
- it worked wonderfully in my machine, reducing power consumption by 2w when idle; and multiple ring buffer support(for libva H.264) which seems to be coming in the Q3 this year :-)Quoted 7 lines
2W!!? If so it would be worth resurrecting for you in the form of a boot option or something. The main problem is that it's not very general; may chips will lock up when we try to reclock them this way. But enabling it by force on specific machines is probably ok.
Jesse
Yes, the difference was that big with the monitor on DPMS off on my X4500. Don't know if it is related to it, but that it was what I observed. Overall, at least 1w with the computer sitting idle.
Quoted 8 lines
It was rock-solid till 2.6.32.4. I was annoyed when the patch got removed and reversed the patch in 2.6.32.5 but it caused serious graphic corruption and lockups. I haven't tried again in any of the newer kernels (.33 or .34).
Regards,
Pedro
A follow-up: decided to revert "drm/i915: remove render reclock support" on 2.6.34-rc6 (only conflicts on chunk 3 but easily solvable)
- I got at least 1w savings!
This is impressive and I've done a few hibernate/thaw cycles as well as VT-switching and back to Xorg and no corruption at all (doing this on 2.6.32.5 with the patch reverted would cause corruption).
I'm going to test it for a while to be sure, but it seems to be working pretty well. I'll keep you posted if it starts going nasty.
Pedro
On Sat, May 01, 2010 at 19:00:28 +0100, Pedro Ribeiro wrote:
[...]
Quoted 3 lines
A follow-up: decided to revert "drm/i915: remove render reclock support" on 2.6.34-rc6 (only conflicts on chunk 3 but easily solvable)
- I got at least 1w savings!
I tried this with 2.6.33.3 on my X61s (i965). I got down to 7,3W where I got 7,4W before. But I also added the kernel parameters you mentioned (fbpercrtc=0 powersave=1 lvds_downclock=1). So, not sure if there is actually a difference compared to the old power consumption (the difference seems to be very small) at least on this kernel.
Regards,
Tino
Quoted 14 lines · Tino Keitel
On Sat, May 01, 2010 at 19:00:28 +0100, Pedro Ribeiro wrote:
[...]
Quoted 3 lines
A follow-up: decided to revert "drm/i915: remove render reclock support" on 2.6.34-rc6 (only conflicts on chunk 3 but easily solvable)
- I got at least 1w savings!I tried this with 2.6.33.3 on my X61s (i965). I got down to 7,3W where I got 7,4W before. But I also added the kernel parameters you mentioned (fbpercrtc=0 powersave=1 lvds_downclock=1). So, not sure if there is actually a difference compared to the old power consumption (the difference seems to be very small) at least on this kernel.
Quoted 7 lines
Regards,
Tino
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Hi Tino,
this gains have been mostly with the computer sitting idle and me not touching it. The biggest gain (over 1w) is when I let the monitor go off into powersaving mode. There is a clear difference here. But maybe its just for my chipset...
As a follow-up, it is still rock-solid, and I've been torturing it with hibernate/resume and 3D applications, VT switching, etc.
Regards,
Pedro
On Mon, May 03, 2010 at 00:35:34 +0100, Pedro Ribeiro wrote:
[...]
Quoted 6 lines
Hi Tino,
this gains have been mostly with the computer sitting idle and me not touching it. The biggest gain (over 1w) is when I let the monitor go off into powersaving mode. There is a clear difference here. But maybe its just for my chipset...
I only test with the LCD switched on, but set to lowest brightness.
In the previous test, I had wrong kernel options. The i915. prefix was missing. Now I tested again and got down to 7.0W:
Wakeups-from-idle per second : 8.0 interval: 30.0s
Power usage (ACPI estimate): 7.0W (3.9 hours) (long term: 7.8W,/3.4h)
I also changed the background image to solid color for better FBC. What I noticed during my tests is that I only get such low numbers after a resume from suspend to RAM. Power consumption is ~0.5W higher after a resume from suspend to disk using TuxOnIce. IMHO this should not happen. So, overall I get lower values with the current configuration, but I don't know what change gives the power saving, and the suspend issue makes it hard to compare. It could also be a combination of some of the configuration changes.
Regards,
Tino
Quoted 28 lines · Tino Keitel
On Mon, May 03, 2010 at 00:35:34 +0100, Pedro Ribeiro wrote:
[...]
Quoted 6 lines
Hi Tino,
this gains have been mostly with the computer sitting idle and me not touching it. The biggest gain (over 1w) is when I let the monitor go off into powersaving mode. There is a clear difference here. But maybe its just for my chipset...
I only test with the LCD switched on, but set to lowest brightness.
In the previous test, I had wrong kernel options. The i915. prefix was missing. Now I tested again and got down to 7.0W:
Wakeups-from-idle per second : 8.0 interval: 30.0s Power usage (ACPI estimate): 7.0W (3.9 hours) (long term: 7.8W,/3.4h)
I also changed the background image to solid color for better FBC. What I noticed during my tests is that I only get such low numbers after a resume from suspend to RAM. Power consumption is ~0.5W higher after a resume from suspend to disk using TuxOnIce. IMHO this should not happen. So, overall I get lower values with the current configuration, but I don't know what change gives the power saving, and the suspend issue makes it hard to compare. It could also be a combination of some of the configuration changes.
Quoted 7 lines
Regards,
Tino
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
That's strange... I do not notice any difference if I hibernate with TuxOnIce (which I do all the time).
Sometimes there is a 2w increase after a hibernate/resume cycle, but that is due to the flash plugin, which behaves badly with hibernate (its a piece of crap anyway). Killing the flash process in makes the power consumption go down again.
Regards,
Pedro
Quoted 44 lines · Pedro Ribeiro
Quoted 28 lines · Tino Keitel
On Mon, May 03, 2010 at 00:35:34 +0100, Pedro Ribeiro wrote:
[...]
Quoted 6 lines
Hi Tino,
this gains have been mostly with the computer sitting idle and me not touching it. The biggest gain (over 1w) is when I let the monitor go off into powersaving mode. There is a clear difference here. But maybe its just for my chipset...
I only test with the LCD switched on, but set to lowest brightness.
In the previous test, I had wrong kernel options. The i915. prefix was missing. Now I tested again and got down to 7.0W:
Wakeups-from-idle per second : 8.0 interval: 30.0s Power usage (ACPI estimate): 7.0W (3.9 hours) (long term: 7.8W,/3.4h)
I also changed the background image to solid color for better FBC. What I noticed during my tests is that I only get such low numbers after a resume from suspend to RAM. Power consumption is ~0.5W higher after a resume from suspend to disk using TuxOnIce. IMHO this should not happen. So, overall I get lower values with the current configuration, but I don't know what change gives the power saving, and the suspend issue makes it hard to compare. It could also be a combination of some of the configuration changes.
Quoted 7 lines
Regards,
Tino
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfxThat's strange... I do not notice any difference if I hibernate with TuxOnIce (which I do all the time).
Sometimes there is a 2w increase after a hibernate/resume cycle, but that is due to the flash plugin, which behaves badly with hibernate (its a piece of crap anyway). Killing the flash process in makes the power consumption go down again.
Quoted 3 lines
Regards,
Pedro
Haven't had any problems at all with this patch reversion.
Jesse, did you receive any bug reports back when render reclock was enabled relating to the GM45 platform? If not, it might not be a bad idea to enable it again. Its been a bliss for me.
Regards,
Pedro
Quoted 10 lines · On Fri, 30 Apr 2010 13:04:23 +0100 Pedro Ribeiro <[email protected]> wrote:
Hi all,
My Xorg.log shows
(**) intel(0): Kernel mode setting active, disabling FBC. (**) intel(0): Framebuffer compression disabled
Is this normal? I'm trying to lower power consumption for my laptop... Enabling FBC should do it?
Quoted 6 lines
I have
fbpercrtc=0
modeset=1
powersave=1
lvds_downclock=1
enabled on the i915 module.
Ah nevermind, looks like the messages have been removed in more recent versions of the driver.
Jesse