From Fedora Project Wiki

(create nouveau xvideo testcase)
 
m (moved QA:Testcase nouveau xvideo to QA:Testcase nouveau xv: standardize test names)
 
(7 intermediate revisions by 2 users not shown)
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=
# 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
# Ensure mplayer is installed: <pre>yum install mplayer</pre>
# Ensure you have a known-working video file available: for example, [http://www.redhat.com/v/magazine/ogg/NET_MAN.ogg this NetworkManager video (21MB)]
# Shut your system down entirely, then start it up again
# Log in to the system, and open a console, and go to the directory where your video file is
# Play back the video with this command: <pre>mplayer -vo xv NET_MAN.ogg</pre> (change NET_MAN.ogg to the name of your video file, if different)
# 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=
# The video should play smoothly, in the correct colors, 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]]

Latest revision as of 16:51, 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 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