From Fedora Project Wiki

(move extra setup steps to top)
(don't mention desktop-effects, it's dead)
Line 3: Line 3:
|setup=
|setup=
{{{extrasetup|}}}
{{{extrasetup|}}}
# Ensure that {{package|gnome-shell}} and related packages are installed by running the command: {{command|su -c "yum install gnome-shell desktop-effects"}}
# Ensure that {{package|gnome-shell}} and related packages are installed by running the command: {{command|su -c "yum install gnome-shell"}}
# Ensure the {{package|glx-utils}} package is installed by running the command: {{command|su -c "yum install glx-utils"}}
# Ensure the {{package|glx-utils}} package is installed by running the command: {{command|su -c "yum install glx-utils"}}
{{Testcase_video_generic_setup|driver={{{driver|(DRIVER)}}}|module={{{module|(MODULE)}}}}}
{{Testcase_video_generic_setup|driver={{{driver|(DRIVER)}}}|module={{{module|(MODULE)}}}}}

Revision as of 15:17, 22 October 2013

Description

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

Setup

  1. Ensure that gnome-shell and related packages are installed by running the command: su -c "yum install gnome-shell"
  2. Ensure the glx-utils package is installed by running the command: su -c "yum install glx-utils"
  3. Ensure the nomodeset and (MODULE).modeset=0 kernel parameters are not set in your bootloader configuration
    • You can see your current kernel options by running cat /proc/cmdline
  4. Ensure the file /etc/X11/xorg.conf does not exist, or is a valid file that uses the (DRIVER) driver
  5. Shut your system down entirely, then start it up again
  6. 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. If it is not enabled by default, enable GNOME Shell by selecting SystemPreferencesDesktop Effects and selecting the GNOME Shell option
  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. Covering them should work properly, they should move smoothly, and should render properly in the overview mode. Overview mode should activate quickly with a smooth transition, and deactivate in the same way. GNOME Shell should run successfully and there should be no glitches or corruption in the display of the desktop or overview mode with GNOME Shell enabled