From Fedora Project Wiki

Revision as of 16:20, 10 January 2011 by Adamwill (talk | contribs) (template-ize and convert to new category system)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 totem package is installed by running the command: su -c "yum install totem"
  6. Ensure the gnome-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