From Fedora Project Wiki

(separate 'module' parameter for when x driver name does not match kernel module name)
(update instructions for suspending)
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=This test case tests whether suspend / resume works successfully with the ''{{{driver|(DRIVER)}}}'' video driver, with kernel mode setting enabled. You must be using a card supported by the ''{{{driver|(DRIVER)}}}'' 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).
|description=This test case tests whether suspend / resume works successfully with the ''{{{driver|(DRIVER)}}}'' video driver, with kernel mode setting enabled. You must be using a card supported by the ''{{{driver|(DRIVER)}}}'' 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=
{{Testcase_video_generic_setup|driver={{{driver|(DRIVER)}}}|module={{{module|(MODULE)}}}}}
|actions=
|actions=
# Ensure the 'nomodeset' and '{{{module|(MODULE)}}}.nomodeset=1' kernel parameters are not set in your bootloader configuration
# 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 {{command|pm-suspend}} as root at a console)
# Ensure the file {{filename|/etc/X11/xorg.conf}} does not exist, or is a known-good configuration file that uses the ''{{{driver|(DRIVER)}}}'' driver
# Shut your system down entirely, then start it up again
# Suspend the system (for e.g. open the system menu, then click Shutdown and select Suspend)
# Resume the system
# Resume the system
|results=
|results=
# The system should come back with the display correct and at the correct resolution, backlight active, etc.
# The system should come back with the display correct and at the correct resolution, backlight active, etc.
}}
}}

Revision as of 23:33, 21 October 2013

Description

This test case tests whether suspend / resume works successfully with the (DRIVER) video driver, with kernel mode setting enabled. You must be using a card supported by the (DRIVER) 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 (MODULE).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 (DRIVER) 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. 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)
  2. Resume the system

Expected Results

  1. The system should come back with the display correct and at the correct resolution, backlight active, etc.