From Fedora Project Wiki

Line 156: Line 156:
| [[User:Renault|Renault]]
| [[User:Renault|Renault]]
| [http://www.smolts.org/client/show/pub_a6192fc6-892b-4d32-9513-0c5ac57b9450 HP Elitebook 8560w]
| [http://www.smolts.org/client/show/pub_a6192fc6-892b-4d32-9513-0c5ac57b9450 HP Elitebook 8560w]
| {{result|fail}}  
| {{result|fail}} <ref>[https://bugzilla.redhat.com/show_bug.cgi?id=811018 bug #811018]</ref>
| {{result|fail}}
| {{result|fail}} <ref>[https://bugzilla.redhat.com/show_bug.cgi?id=811018 bug #811018]</ref>
| {{result|pass}} <ref>[https://fedoraproject.org/w/uploads/1/12/Pm-test-day-20110324-pub_d295461b-5073-4b51-bcb7-b4a80e7c1238.txt bugreport]</ref>
| {{result|pass}} <ref>[https://fedoraproject.org/w/uploads/1/12/Pm-test-day-20110324-pub_d295461b-5073-4b51-bcb7-b4a80e7c1238.txt bugreport]</ref>
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|pass}}
| {{result|fail}} <ref>[https://bugs.freedesktop.org/show_bug.cgi?id=47965 bug #47965 freedesktop.org]
| {{result|fail}} <ref>[https://bugs.freedesktop.org/show_bug.cgi?id=47965 bug #47965 freedesktop.org]</ref>
| {{result|pass}}
| {{result|pass}}
| 5.742 Wh (15.820 V)
| 5.742 Wh (15.820 V)

Revision as of 21:17, 9 April 2012

Fedora Test Days
Power Management

Date 2012-04-04
Time all day

Website QA/Fedora_17_test_days
IRC #fedora-test-day (webirc)
Mailing list test


Can't make the date?
If you come to this page after the test day is completed, your testing is still valuable, and you can use the information on this page to test, file any bugs you find at Bugzilla, and add your results to the results section. If this page is more than a month old when you arrive here, please check the current schedule and see if a similar but more recent Test Day is planned or has already happened.
On site event
You can attend this event online or personally: http://fedora.cz/udalosti/den-otevrenych-dveri-v-red-hatu/

What to test?

Today's instalment of Fedora Test Day will focus on Power Management

Who's available

The following cast of characters will be available for testing, workarounds, bug fixes, and general discussion ...

Note: jskarvad will be available at least during 10:00 - 22:00 (UTC+2) on #fedora-test-day, #fedora-power, #fedora-devel, otherwise he will be on e-mail with non guaranteed response time. He will be also available on site in Red Hat Brno Office at least during 13:00 - 19:00.

Prerequisite for Test Day

  • PM Test Day LiveCD 20120404-1-i686 (md5sum:72f4d13fe18f7fc8ce7ba4d8f6fdc85d) or PM Test Day LiveCD 20120404-1-x86_64 (md5sum:16cac224a03a4467756360cedf6d655f) or an updated Fedora 17 pre-release or you may get nightly composed LiveCD.
    • It is possible to convert the LiveCD into LiveUSB by following the How_to_create_and_use_Live_USB instructions. If you convert the LiveCD into LiveUSB it is recommended to create on USB another primary partition that will serve as swap. This is useful for pm-hibernate test case.
    • If you attend the event on-site in Red Hat Brno office, there will be prepared bootable USB flash disks, thus you only need to bring your hardware there.
  • Your hardware profile uploaded to Smolt according to these instructions
  • Optional: account on fedoraproject.org if you plan to upload the pm-utils bugreport file. If you do not have one and you do not plan to get it, you can still attend the test day - there are instructions in the appropriate test case(s) bellow how to handle such situation.

Typing convetions

In the following text commands that needs to be run as root are prefixed by #, e.g.:

# id

means to run id command under the root account. Commands prefixed by $ do not need to be run under the root account.

How to test?

It is focused especially on suspend, hibernate, power-consumption, LCD brightness control and our new tuned. Some test cases are only for laptop users and it is signalled in test case description field. If you do not have laptop just skip them. You can also skip other test cases (e.g. if you do not have enough time). In this case just leave the columns for skipped test cases blank. Please note that your report will be still valuable even if you do not finish all test cases. The procedure:

  • Run test cases bellow.
  • Report results to the result table.

Prepare your system

If you are using our PM Test Day LiveCD, please skip the following steps, because everything is already prepared for you.
  1. Install the public key (in case you would like to verify the PM Test Day support package, otherwise you can skip this step because the public key will be installed automatically with the PM Test Day support package in the next step):
    # rpm --import http://jskarvad.fedorapeople.org/RPM-GPG-KEY-pm-test-day
  2. Install the PM Test Day support package by:
    # yum install http://jskarvad.fedorapeople.org/pm-test-day-repo/pm-test-day-3-1.fc17.noarch.rpm
    • This procedure will also install the public key which will be then used for verification of packages from the PM Test Day repo.

Finally make sure you have all current updates (and temporal fixes) installed by:

# yum update

Known Bugs / Workarounds

Currently there is a bug in software rendering used by Gnome 3 that affects several users (mostly on older hardware):

  • RHBZ #808710 - llvmpipe driver doesn't render correctly on Dell Inspiron Mini 10

If you are affected by this bug and your desktop graphics is broken, try to switch to gnome-fallback mode by:

    • Press Alt + F2
    • Write gnome-terminal and confirm with Enter.
    • Run the following commands in the terminal:
      $ gsettings set org.gnome.desktop.session session-name 'gnome-fallback'
      $ pkill gnome

Test Cases

Testcase Description Target Approx. time required
pm-suspend Tests suspend / resume via pm-utils. All 2 minutes
pm-hibernate Tests hibernate / resume via pm-utils. All 2 minutes
pm-bugreport Tests pm-utils bug-reporting functionality. All 2 minutes
pm-powersave Tests detection of AC / battery (upower functionality) and pm-powersave reactions to power source changes (pm-utils). Laptops 1 minutes
Lid close Tests system reaction to lid close. Laptops 1 minutes
Backlight control Tests LCD backlight control. Laptops 1 minute
Tuned Tests tuned-adm (tuned) basic functionality. All 5 minutes
Tuned disabled idle Measures power consumption of machine in active idle with tuned disabled. Laptops or users with wattmeter 15 minutes
Tuned powersave idle Measures power consumption of machine in active idle with tuned laptop-battery-powersave profile. Laptops or users with wattmeter 15 minutes

Test Results

If you have problems with any of the tests, report a bug to Bugzilla usually for the component pm-utils, or tuned. If you are unsure about exactly how to file the report or what other information to include, just ask on IRC and we will help you. Once you have completed the tests, add your results to the Results table below, following the example results from the first line as a template. The first column should be your name with a link kelto your User page in the Wiki if you have one, and the second should be a link to the Smolt profile of the system you tested. For each test case, use the result template to enter your result, as shown in the example result line. bugreport.txt will be generated by test case pm-bugreport, instructions for uploading are included in this test case. The bugreport.txt gives us valuable information about your HW / SW configuration and debug log of your last suspend / hibernate process.

User Smolt
Profile
pm-suspendr pm-hibernate pm-bugreport pm-powersave Lid close Backlight control Tuned Tuned disabled idle Tuned powersave idle References
Sample User Sample Machine
Fail fail
[1]
Fail fail
Warning warn
[2] bugreport
Pass pass
Warning warn
Inprogress inprogress
Pass pass
4.800 Wh 4.710 Wh
  1. RHBZ #54321
  2. Got report but also encountered RHBZ #54320
Renault HP Elitebook 8560w
Fail fail
[1]
Fail fail
[2]
Pass pass
[3]
Pass pass
Pass pass
Fail fail
[4]
Pass pass
5.742 Wh (15.820 V) 5.889 Wh (15.875 V)
filbar HP 530
none
none
none
none
Fail fail
none
none
none
2.361 Wh (14.758 V)
slaznick Acer Aspire One 753
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Fail fail
[1]
Pass pass
none
none
  1. While changing the LCD backlight power, after repeatedly pressing the keys in either of the edges of the light power settings and then going back the other direction (to the opposite light power edge), the backlight power skips back sometimes.
KAOS GIGABYTE
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Fail fail
Pass pass
4.800 Wh 4.710 Wh
Sagitter Acer Aspire 6930G
Pass pass
Pass pass
Pass pass
[1]
Pass pass
Pass pass
Pass pass
[2]
Pass pass
[3]
5.987 Wh 4.806 Wh
  1. bugreport
  2. At every Fn+left-arrow or Fn+right-arrow to change the LCD backlight, the change steps are dual
  3. Tuned service start stopped by SELinux. Bug809294 Fixed on selinux-policy-3.10.0-110.fc17.noarch
Pavol Celuch HP Compaq 6730b
Pass pass
Pass pass
[1]
Pass pass
Pass pass
Pass pass
Pass pass
[2]
4.170 Wh (12.053 V) 4.171 Wh (12.090 V)
mkrizek Lenovo Thinkpad W510
Pass pass
Inprogress inprogress
Inprogress inprogress
Pass pass
Pass pass
Pass pass
Pass pass
7.385 Wh (12.330 V) 8.341 Wh (12.340 V)
cashm ACER Aspire 5830TG
Pass pass
Fail fail
Pass pass
[1]
Pass pass
Fail fail
Pass pass
3.722 Wh 3.643 Wh
User: Rmarko Lenovo X200
Pass pass
Pass pass
Pass pass
[1]
Pass pass
Pass pass
[2]
Pass pass
Pass pass
2.940 Wh 3.240 Wh
tomxi ASUS N53SV
Fail fail
Fail fail
Pass pass
[1]
Pass pass
Fail fail
Pass pass
Pass pass
6.589 Wh 6.721 Wh
jpospisi ThinkPad T420s
Pass pass
Pass pass
[1]
Pass pass
[2]
Pass pass
Pass pass
[3]
Pass pass
Pass pass
4.451 Wh 4.302 Wh
  1. Booted from LiveUSB with 6GB swap partition on it. No problems resuming from hibernation. I only had to manualy choose to boot from the LiveUSB again.
  2. bugreport
  3. The screen was not locked. But the system (official PM TestDay LiveUSB) was set to this behaviour by default, so it is not a bug.
Jozef Celuch Asus U80V
Pass pass
Fail fail
Pass pass
[1]
Pass pass
Warning warn
Didn't prompt for password
Pass pass
Didn't show brightness level icons
Pass pass
8.294 Wh 3.575 Wh
Dee'Kej ThinkPad T420
Pass pass
Fail fail
[1]
Pass pass
[2]
Pass pass
Pass pass
Pass pass
[3]
Pass pass
5.460 Wh [4] 5.190 Wh [5]
  1. Resume from hibernation failed, see the report: bugreport
  2. smolt profile
  3. Small bug encountered. Mainly works fine. bugreport
  4. Bug encountered, not reported (not enough time): Disabling LCD power savings didn't worked.
  5. Same bug as in 'Tunes disabled idle' test.
Jan Kelbich [5]
Pass pass
Fail fail
[1]
Pass pass
[2]
Pass pass
Pass pass
Pass pass
Pass pass
6.770 Wh 3.100 Wh
  1. After hibernate during wake up phase was restoring desktop on the firrst console (F1) not correctly (incomplete decoration of windows) and blocking the keyboard (I can only switch the konsole (Fx), but not any othes actions.)
  2. bugreport
kvolny Lenovo B570e
Pass pass
Fail fail
[1]
Fail fail
[2]
none
[3]
Fail fail
[4]
Warning warn
[5]
Fail fail
[6]
Fail fail
[7]
none
[8]
  1. the system tried to boot from harddrive, not from the liveusb, and I was unable to change that (only after booting from harddrive and rebooting again, the multiboot menu got accessible again - but the hibernated stated was gone, obviously)
  2. "Unable to find smolt HW-UUID, did you generate the smolt profile?"
  3. (skipped - no AC)
  4. the screen was NOT locked
  5. changing the brightness works, but the screen goes several levels darker after a few seconds
  6. I got some SELinux denials (bugs #809836 #809837 #809838)
  7. I don't have the required settings in gnome-control-center screen
  8. (skipped - run out of battery)
garretraziel Lenovo Thinkpad Edge E520
Pass pass
Pass pass
Pass pass
[1]
Pass pass
Pass pass
Fail fail
[2]
Pass pass
none
none
  1. smolt profile
  2. Minimum isn't really minimum, last two states of backlight actually rises it.
garretraziel Hp mini 5103
Pass pass
Pass pass
Pass pass
[1]
Pass pass
Pass pass
Pass pass
Pass pass
none
none
vicodan Virtualbox VM
Fail fail
[1]
Fail fail
[2]
Pass pass
[3]
none
none
none
Fail fail
[4]
none
none
  1. command does nothing
  2. pkill gnome must be run to get video back after resume, after a few minute machine goes black and is frozen.
  3. wrong date but [3]
  4. starting tuned generates selinux alerts (which then disappears), stopping tuned service left tuned running, all other tests seemed to work.
kamila Acer Aspire One ZG5
Pass pass
Pass pass
none
Pass pass
Pass pass
Pass pass
Pass pass
none
none
Hujon MacBook Air 2010
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Fail fail
[1]
Fail fail
5.510 Wh 5.060 Wh
  1. Works after changes in gnome config: gconftool-2 --set --type boolean "/apps/gnome-power-manager/backlight/enable" false;sudo -u gdm gconftool-2 --set --type boolean "/apps/gnome-power-manager/backlight/enable" false
Dominik Macejovsky Asus U41SV
Fail fail
Fail fail
Warning warn
[1] bugreport
Pass pass
Warning warn
Inprogress inprogress
Pass pass
4.800 Wh 4.710 Wh
  1. Got report but also encountered RHBZ #54320
Hando-B_I_R MSI CX620[1]
Fail fail
[2]
[3]
Pass pass
Pass pass
Fail fail
[4]
Pass pass
Pass pass
[5]
8.455 Wh (11.442 V) 7.134 Wh (10.842 V)
  1. LiveCD
  2. suspended, at waking up freeze with monitor off
  3. no swap
  4. after lid closing suspended, waking up same fail as pm-suspendr
  5. SELinux security alert, something about python
Hando-B_I_R MSI EX610X[1]
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
[2]
Warning warn
[3]
Pass pass
[4]
none
[5]
none
[6]
  1. LiveCD
  2. did not prompt me for password
  3. at one touch of backlight down, steping to min backlight, and at one touch backlight up, steping to max backlight(time of stepping aproximatly 4 seconds)
  4. SELinux security alert, something about python
  5. weak battery for test
  6. waek battery for test
Michal Ovciarik Thinkpad T420i [1]
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
none
none
  1. Power consumption was too high (14w-17w), to fix it i used flags: i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1 pcie_aspm=force , now it's 9w-12w
Ondrada Lenovo ThinkPad R61i
Pass pass
Pass pass
Pass pass
[1]
Pass pass
Pass pass
none
Pass pass
none
[2]
none
  1. sent by e-mail to jscotka
  2. N/A (0Wh value measured by the test script)
kuku.mp3 Lenovo ThinkPad T400
Pass pass
Pass pass
Pass pass
[1]
Pass pass
Pass pass
Pass pass
Pass pass
[2]
Result: 3.870 Wh Result: 3.770 Wh
Palast ASUSK72D
Pass pass
Fail fail
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Result: 7.477 Wh
none
Vlado Jendrol HP Pavilion dv6000
Fail fail
Fail fail
Pass pass
none
Fail fail
Pass pass
Pass pass
none
none
amelentev HP dv6-6153cl
Pass pass
Pass pass
Pass pass
[1]
Fail fail
[2]
Pass pass
Warning warn
[3]
Fail fail
[4]
Fail fail [5]
none
  1. bugreport
  2. no /tmp/pmtd-pm.log file. if run pmtd-pm manually then always AC LINE
  3. doesn't work out of the box. acpi_backlight=vendor kernel param needed
  4. SELinux alerts. test-profile/script.sh seems doesn't runs
  5. RHBZ #784741
Adam Vrba ThinkPad R500
Pass pass
none
no swap
Pass pass
[1]
Pass pass
Pass pass
Pass pass
Pass pass
7.440 Wh 5.890 Wh
Jiri Eischmann ThinkPad T400s
Pass pass
Fail fail
[1]
Pass pass
Pass pass
Pass pass
Pass pass
[2]
Pass pass
2.690 Wh 2.650 Wh
  1. Probably because of running a liveCD
  2. Backlight level indicator not shown - reported as bug #810127
Jiri Eischmann ThinkPad X201
Pass pass
Fail fail
[1]
Pass pass
Pass pass
Pass pass
Pass pass
[2]
Pass pass
3.651 Wh (12.593 V) 3.625 Wh (12.459 V)
  1. Probably because of running a liveCD
  2. Backlight level indicator not shown - reported as bug #810127
Michal Ambroz HP EliteBook 6930p
Pass pass
Pass pass
[1]
Pass pass
[2]
Pass pass
Pass pass
Pass pass
Pass pass
[3]
3.746 Wh (11.707 V)[4] 3.846 Wh (11.799 V), retest: 3.701 Wh (11.865 V) [5]
  1. 3xOK,1xFail hibernating from Personal Menu - abrt redirected to RHBZ #713687 , but I am not sure whether this is the right place. I believe it has got something to do with changing number of displays between hibernate and wake-up.
  2. File
  3. test was failing with the default SElinux policy. After adding the allow rules to policy it worked. Issues reported to RHBZ #809832
  4. was having syntax errors in the script and I had to uninstall an install the pm-test-day-3-1.fc17.noarch package again to get updated version. In such situations version shuld probably bump.
  5. Probably in first tuned-powersave measurement was affected by the running firefox in the background, second retest without firefox showed some decrease in power comsumption.But as the difference is approximately only 01% I would blame it on statistical error of the measurement.
Emily Dirsh ThinkPad X220T
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
3.807 Wh (12.403 V) 3.721 Wh (12.200 V)
Jakub Jedelský Lenovo 3000 N200
Pass pass
Fail fail
[1]
Pass pass
[2]
Pass pass
Pass pass
Pass pass
Warning warn
[3]
3.907 Wh 3.907 Wh [4]
  1. Running from flash disk
  2. Bugreport
  3. SELinux alerts afret running first 'tuned-adm profile powersave' command. Bugs are reported under user kvolny
  4. aw, that's same as tuned disabled
msimon Lenovo T410
Pass pass
Warning warn
[1]
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
[2]
5.668 Wh (12.164 V) 5.802 Wh (11.964 V)
  1. Swap size only 1GB, RAM size 4GB, pm-hibernate returned 1 and nothing happened
  2. RHBZ 810202
Jiri Eischmann Dell Inspiron Mini 10
Fail fail
[1]
Fail fail
Pass pass
[2]
Pass pass
Fail fail
[3]
Pass pass
[4]
Pass pass
1.920 Wh 2.020 Wh
  1. Probably because of a bad graphics driver
  2. bugreport
  3. Closing and opening the lid turns off and on the screen, nothing else
  4. Backlight level indicator not shown - reported as bug #810127
Jiri Eischmann ExoPC tablet
Pass pass
Pass pass
[1]
Pass pass
[2]
Pass pass
Warning warn
[3]
Fail fail
[4]
Pass pass
2.452 Wh (7.150 V) 1.931 Wh (7.076 V)
  1. Resumed from hibernation, but touch didn't work, X server restart needed
  2. bugreport
  3. It's a tablet, no lid.
  4. There are no keys and no other way to change backlight volume which I think is a fail.
Bookwar Acer Aspire 1810T
Pass pass
[1]
Pass pass
[2]
Pass pass
[3]
Pass pass
Pass pass
Pass pass
Pass pass
[4]
3.558 Wh (11.120 V) 3.394 Wh (11.020 V)
  1. Wireless device disabled before suspend can not be enabled after resume.RHBZ 783715
  2. Wireless device disabled before hibernate can not be enabled after resume.
  3. bugreport
  4. SELinux Bug809294
Alexander Desktop
Pass pass
none
[1]
Pass pass
[2]
none
none
none
Warning warn
[3]
none
none
  1. Cannot test because i'am testing from liveusb without swap partition.
  2. bugreport
  3. SELinux alerts
Tadej Janež HP EliteBook 8530p[1]
Pass pass
Pass pass
Pass pass
[2]
Pass pass
Pass pass
Pass pass
Pass pass
[3]
7.804 Wh (15.302 V) 6.318 Wh (14.718 V)[4]
  1. This is an old profile of my machine. 'smoltSendProfile' fails to connect to the server.
  2. File
  3. SELinux AVC denial that was already reported in RHBZ #809832
  4. I performed two measurements one after another and got two slightly different results: 5.979 Wh (14.837 V), 6.657 Wh (14.599 V); the entry in the table represents the average
Endre "Hřebíček" Bálint-Nagy Fujitsu ESPRIMO P5916
Pass pass
Pass pass
Pass pass
[1]
Pass pass
none
no lid
none
no lcd
Pass pass
none
it is a desktop, and no powermeter in-house
none
does not wanted to recognise my e1000e network card, used an other kernel for this test
Tadej Janež HP EliteBook 8460p
Pass pass
Pass pass
Pass pass
[1]
Pass pass
Pass pass
Fail fail
[2]
Pass pass
[3]
7.276 Wh (11.794 V) 5.067 Wh (11.312 V)
  1. File
  2. Pressing the Fn+Brightness keys doesn not work: RHBZ #810616. Also, Gnome control center does not offer brightness control: RHBZ #810584 and Brightness level indicator is not shown when changing brightness: RHBZ #810127
  3. SELinux AVC denial that was already reported in RHBZ #809832
David Harmanec Lenovo ThinkPad R400
Pass pass
Pass pass
Pass pass
[1]
Pass pass
Pass pass
Pass pass
Pass pass
[2]
3.160 Wh 3.040 Wh
  1. bugreport
  2. SELinux AVC denial that was already reported in RHBZ #809832, switching tuned profile also triggered SELinux AVC denial: SELinux is preventing sysctl from getattr access on the file /proc/sys/kernel/nmi_watchdog
David Harmanec Lenovo IdeaPad S205
Pass pass
Fail fail
[1]
Pass pass
[2]
Pass pass
Pass pass
Pass pass
Pass pass
[3]
2.930 Wh 2.750 Wh
  1. Display darkened, then an error message saying something about bluetooth appeared and, finally it returned to the normal session
  2. bugreport
  3. SELinux AVC denial that was already reported in RHBZ #809832, switching tuned profile also triggered SELinux AVC denial: SELinux is preventing sysctl from getattr access on the file /proc/sys/kernel/nmi_watchdog
David Harmanec IBM ThinkPad T43
Pass pass
Fail fail
[1]
Pass pass
[2]
Pass pass
Pass pass
Pass pass
Pass pass
[3]
4.910 Wh 4.910 Wh [4]
  1. Machine went to sleep but booted to a new session
  2. bugreport
  3. SELinux AVC denial that was already reported in RHBZ #809832, switching tuned profile also triggered SELinux AVC denial: SELinux is preventing sysctl from getattr access on the file /proc/sys/kernel/nmi_watchdog
  4. Could have been affected by the fact that Wi-Fi connection went down and the machine tried to re-connect