From Fedora Project Wiki

m (Changed to 'select compiz' in the desktop effects dialog)
m (typo)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{QA/Test_Case
{{Template:Testcase_video_glx
|description=This test case tests whether accelerated OpenGL applications under compositing managers work with the Nouveau video driver, with kernel mode setting enabled. You must be using a card supported by the Nouveau video driver. This test case can only be performed with Fedora 13 or later.
|driver=nouveau
|actions=
|module=nouveau
# Ensure the 'nomodeset' kernel parameter is not enabled in your bootloader configuration
|extrasetup=# If testing on ''{{FedoraVersion|long|14}}'' or older, ensure the {{package|mesa|mesa-dri-drivers-experimental}} is installed by running the command: {{command|su -c "yum install mesa-dri-drivers-experimental"}}.
# Ensure the file {{filename|/etc/X11/xorg.conf}} does not exist, or is a known-good configuration file that uses the 'nouveau' driver
# Install the {{package|mesa-dri-drivers-experimental}} package: {{command|su -c 'yum install mesa-dri-drivers-experimental'}}
# Shut your system down entirely, then start it up again
# Enable Compiz by selecting the menu item ''System'' → ''Preferences'' → ''Desktop Effects''. Select ''Compiz'' from the list of ''Desktop Effects'', and check both the ''Workspaces on a Cube'' and ''Windows Wobble when Moved'' boxes
# Install the {{package|glx-utils}} package: {{command|su -c 'yum install glx-utils'}}
# Run {{command|glxgears}} (or, optionally, any other OpenGL app you can think of)
# Try covering the glxgears window with other windows
# Move the glxgears window around
# Rotate the desktop cube (ctrl+alt+drag the mouse)
|results=
# OpenGL apps should run properly and with full acceleration and behave as any other window. Covering them should work properly, they should move smoothly and wobble (when this effect is enabled), and should render properly when the desktop cube is being rotated
}}
}}
[[Category:Radeon_Test_Cases]]
[[Category:Package_xorg-x11-drv-nouveau_core_test_cases]]

Latest revision as of 21:52, 22 February 2011

Description

This test case tests whether accelerated OpenGL applications under compositing managers work with the nouveau video driver. You must be using a card supported by the nouveau video driver.

Setup

  1. If testing on Fedora 14 or older, ensure the mesa-dri-drivers-experimental is installed by running the command: su -c "yum install mesa-dri-drivers-experimental".
  2. Ensure that you are using Fedora Workstation (or at least GNOME)
  3. Ensure the glx-utils package is installed by running the command: su -c "dnf install glx-utils"
  4. 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
  5. Ensure the file /etc/X11/xorg.conf does not exist, or is a valid file that uses the nouveau driver
  6. Shut your system down entirely, then start it up again
  7. If using a live image to test, ignore the above steps and simply boot the system from the live image with default options

How to test

  1. Run the command glxinfo | grep renderer and verify that an accelerated 3D driver is in use (ie, not llvmpipe)
  2. Run the command glxgears (or, optionally, any other OpenGL app you can think of)
  3. Try covering the glxgears window with other windows
  4. Move the glxgears window around
  5. Activate the Shell's overview mode (press the Super (aka Windows) key, or move the mouse to the top left hand corner of the screen), and deactivate it (same procedure)

Expected Results

  1. glxgears (and other OpenGL apps) should run properly and with full acceleration and behave as any other window
  2. Covering them should work properly, they should move smoothly, and should render properly in the overview mode
  3. Overview mode should activate quickly with a smooth transition, and deactivate in the same way
  4. GNOME should run successfully and there should be no glitches or corruption in the display of the desktop or overview mode