QA:Testcase nouveau 3D Stellarium

From FedoraProject

Jump to: navigation, search

Contents

Description

Stellarium is a real-time 3D photo-realistic nightsky renderer. It can generate images of the sky as seen through the Earth's atmosphere with more than one hundred thousand stars from the Hipparcos Catalogue, constellations, planets, major satellites and nebulas.

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
  5. Ensure that glxinfo | grep 'OpenGL renderer' does not return OpenGL renderer string: Software Rasterizer or llvmpipe
  6. Install the Package-x-generic-16.pngstellarium package with the command su -c 'yum install stellarium'

How to test

  1. Launch stellarium from a terminal
  2. Hit 'F2' key and navigate "Scripts" There should be a list of demos.
  3. Run "screensaver.ssc" or "solar_system_screensaver.ssc" demo. To unhide menu hit 'Ctrl'+'t'.
  4. You should stop demo by hitting 'F2' key and clicking on 'stop' button before trying another.
    1. Use the mouse wheel to zoom in and out.
    2. left-click+mouse to move around or select objects.
    3. 'F3' for searching objects.
    4. 'Space' to centre selected object.
    5. Use 'J', 'K' and 'L' keys to adjust clockwork.
  5. Quit Stellarium

Expected Results

  1. All demos should run without crashing and tearing.
  2. There should not be any obvious mis-renderings (flickering, textures that come and go...).