QA:Testcase intelvideo suspend

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(create intel suspend/resume test case)
 
(use module parameter)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{QA/Test_Case
+
{{Testcase_video_suspend|driver=intel|module=i915}}
|description=This test case tests whether suspend / resume works successfully with the Intel video driver, with kernel mode setting enabled. You must be using a video adapter supported by the driver, and Fedora 11 or later (or Rawhide from any time after mid-February 2009). Your system must be capable of suspending and resuming normally (for instance, it worked in previous Fedora releases).
+
[[Category:Package_xorg-x11-drv-intel_core_test_cases]]
|actions=
+
# Ensure the 'nomodeset' kernel parameter is not enabled in your bootloader configuration
+
# Ensure the file /etc/X11/xorg.conf does not exist, or is a known-good configuration file that uses the 'intel' driver
+
# Shut your system down entirely, then start it up again
+
# Suspend the system (for e.g. left click the battery icon and click 'suspend')
+
# Resume the system
+
|results=
+
# The system should come back with the display correct and at the correct resolution, backlight active, etc.
+
}}
+
[[Category:Intelvideo_Test_Cases]]
+

Latest revision as of 14:44, 10 January 2011

Contents

Description

This test case tests whether suspend / resume works successfully with the intel video driver, with kernel mode setting enabled. You must be using a card supported by the intel video driver. Your system must be capable of suspending and resuming normally (for instance, it worked in previous Fedora releases, or works if you boot to runlevel 3: otherwise please file a bug against the kernel).

Setup

  1. Ensure the nomodeset and i915.modeset=0 kernel parameters are not set in your bootloader configuration
    • You can see your current kernel options by running cat /proc/cmdline
  2. Ensure the file /etc/X11/xorg.conf does not exist, or is a valid file that uses the intel driver
  3. Shut your system down entirely, then start it up again
  4. If using a live image to test, ignore the above steps and simply boot the system from the live image with default options

How to test

  1. If the system has backlight control keys, test them and check if they work
  2. Suspend the system (for example open the system menu, then hold down Alt and click the button that looks like a 'Pause' symbol; or on a laptop, you can close the lid. If no manual Suspend operation is available, you can run pm-suspend as root at a console)
  3. Resume the system
  4. If the system has backlight control keys, test them and check if they work again
Note.png
Try with all display connectors
If your system has multiple display connectors, and you have the appropriate displays and cables/adapters, it is good to test again with different combinations of displays connected and ensure all connected displays work correctly on resume.

Expected Results

  1. The system should come back with the display correct and at the correct resolution, backlight active, etc.
  2. If the system has brightness control keys, and they work to control the backlight before suspending, they should also work afterwards