QA:Testcase intelvideo xv

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(example video)
(template-ize and convert to new category system)
 
Line 1: Line 1:
{{QA/Test_Case
+
{{Template:Testcase_video_xv|driver=intel|module=i915}}
|description=This test case tests whether accelerated video works correctly 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).
+
[[Category:Package_xorg-x11-drv-intel_extended_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
+
# Ensure the {{package|gnome-media-apps}} package is installed: {{command|yum install gnome-media-apps}}
+
# Run <tt>gstreamer-properties</tt> and ensure the video output plugin is set to X Window System (X11/XShm/Xv)
+
# Click Test and observe the test video window
+
# Optionally, play a real video file in Totem (or another video player, ensuring output is set to Xv) - [http://www.bigbuckbunny.org/index.php/trailer-page/ example video]
+
# Enable a compositing manager (like Compiz: menu -> System -> Preferences -> Desktop Effects and click Enable Desktop Effects) and repeat the video playback test(s)
+
|results=
+
# Video playback should work correctly (for the gstreamer test, you should see a window with a test pattern and white noise video)
+
# Video should work correctly with a compositing manager active
+
}}
+
[[Category:Intelvideo_Test_Cases]]
+

Latest revision as of 16:20, 10 January 2011

Contents

Description

This test case tests whether XVideo-accelerated video playback is successful with the intel driver. You must be using a card supported by the intel video driver.

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
  5. Ensure the Package-x-generic-16.pngtotem package is installed by running the command: su -c "yum install totem"
  6. Ensure the Package-x-generic-16.pnggnome-media-apps package is installed by running the command: su -c "yum install gnome-media-apps"

How to test

  1. Run gstreamer-properties, go to the Video tab, and set the Default Output Plugin to X Window System (X11/XShm/Xv)
  2. Hit the Test button and observe the test video window for a few seconds
  3. Ensure you have a known-working video file available: for example, this NetworkManager video (45 MB)
  4. Run Totem and play back the test video file you downloaded
  5. Try moving the playback window around, pausing, skipping through the video forwards and backwards, and switching to full screen mode and back (f key)
  6. If you are not already using one (such as GNOME Shell), enable a compositing manager (like Compiz: menu -> System -> Preferences -> Desktop Effects, or run compiz-gtk) and repeat the video playback test

Expected Results

  1. Both the gstreamer test video and the Totem video should play smoothly (watch the white noise in the gstreamer test video), in the correct colors
  2. In the Totem video, pausing and skipping and switching to and from full screen should work with no delays and no kind of corruption to the video or the rest of the desktop
  3. Video should work correctly with a compositing manager active