QA:Testcase nouveau restartx

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(template-ize and convert to new category system)
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
{{QA/Test_Case
+
{{Testcase_video_restartx|driver=nouveau|module=nouveau}}
|description=This test case tests whether, when using the Nouveau driver, X can successfully shut down and restart.
+
[[Category:Package_xorg-x11-drv-nouveau_core_test_cases]]
|actions=
+
# Enable the nouveau driver. You may need to install the driver package, and download [https://fedoraproject.org/w/uploads/d/d9/Xorg.conf.nouveau this file] and install it as /etc/X11/xorg.conf
+
# Shut your system down entirely, then start it up again, in console mode. When the boot prompt appears, hit a key to allow you to change the boot options. Hit the 'e' key on the default entry, select the kernel options line, hit 'e' again, and add simply a space and the number '3' to the end of the line. Then boot with that change
+
# The system will boot to the console. Log in as a normal user (if using the liveCD the username is: 'liveuser' no password will be needed)
+
# Start X: <pre>startx</pre> Verify that it works as usual
+
# Log out from your desktop environment. This should stop X and return you to the console. Check there are no unusual errors
+
# Start X again: <pre>startx</pre> Again test that it works as usual
+
|results=
+
# X should work properly both the first and second times it is started
+
}}
+
[[Category:Nouveau_Test_Cases]]
+

Latest revision as of 18:31, 10 January 2011

Contents

Description

This test case tests whether, when using the nouveau video driver, X can successfully shut down and restart. You must be using a card supported by the nouveau video driver.

Setup

  1. Ensure the 'nomodeset' and 'nouveau.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 nouveau 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. Log in to the desktop
  2. Press ctrl+alt+f2: this should switch to a console interface
  3. Log in as root (if you are using the live image, you can do so, there is no password on the root account)
  4. Run the command systemctl stop display-manager.service
  5. If necessary, hit ctrl+alt+f2 again to get back to the console you are using
  6. Run the command systemctl start display-manager.service
  7. If necessary, hit ctrl+alt+f1 to get back to the graphical interface
  8. If necessary (on live images, you may be automatically logged in) log back into the desktop

Expected Results

  1. After running the first command, the graphical desktop should stop running
  2. After running the second command, the graphical desktop should start up again
  3. X should work properly both the first and second times it is started