From Fedora Project Wiki

No edit summary
(template-ize and convert to new category system)
Line 1: Line 1:
{{QA/Test_Case
{{Template:Testcase_video_xv|driver=nouveau|module=nouveau}}
|description=This test case tests whether XVideo-accelerated video playback is successful with the Nouveau driver.
[[Category:Package_xorg-x11-drv-nouveau_extended_test_cases]]
|actions=
# Ensure the file {{filename|/etc/X11/xorg.conf}} does not exist, or is a valid file that uses the ''nouveau'' driver. If you are using the live image, ignore this step
# Ensure totem is installed: <tt>yum install totem</tt>
# Ensure the {{package|gnome-media-apps}} package is installed: {{command|yum install gnome-media-apps}}
# Run <tt>gstreamer-properties</tt>, go to the Video tab, and set the Default Output Plugin to ''X Window System (X11/XShm/Xv)''
# Hit the ''Test'' button and observe the test video window for a few seconds
# Ensure you have a known-working video file available: for example, [http://www.redhat.com/v/magazine/ogg/NET_MAN.ogg this NetworkManager video (45 MB)]
# Run Totem and play back the test video file you downloaded
# Try moving the playback window around, pausing, skipping through the video forwards and backwards, and switching to full screen mode and back (f key)
|results=
# 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. 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
}}
[[Category:Nouveau_Test_Cases]]

Revision as of 16:19, 10 January 2011

Description

This test case tests whether XVideo-accelerated video playback is successful with the nouveau driver. 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 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