From Fedora Project Wiki
(create template) |
(simplify a bit) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
|description=This test case tests whether accelerated OpenGL applications under compositing managers work with the ''{{{driver|(DRIVER)}}}'' video driver. You must be using a card supported by the ''{{{driver|(DRIVER)}}}'' video driver. | |description=This test case tests whether accelerated OpenGL applications under compositing managers work with the ''{{{driver|(DRIVER)}}}'' video driver. You must be using a card supported by the ''{{{driver|(DRIVER)}}}'' video driver. | ||
|setup= | |setup= | ||
{{{extrasetup|}}} | |||
# Ensure the {{package|glx-utils}} package is installed by running the command: {{command|su -c " | # Ensure that you are using Fedora Workstation (or at least GNOME) | ||
# Ensure the {{package|glx-utils}} package is installed by running the command: {{command|su -c "dnf install glx-utils"}} | |||
{{Testcase_video_generic_setup|driver={{{driver|(DRIVER)}}}|module={{{module|(MODULE)}}}}} | {{Testcase_video_generic_setup|driver={{{driver|(DRIVER)}}}|module={{{module|(MODULE)}}}}} | ||
|actions= | |actions= | ||
# | # Run the command {{command|glxinfo {{!}} grep renderer}} and verify that an accelerated 3D driver is in use (ie, not llvmpipe) | ||
# Run the command {{command|glxgears}} (or, optionally, any other OpenGL app you can think of) | # Run the command {{command|glxgears}} (or, optionally, any other OpenGL app you can think of) | ||
# Try covering the glxgears window with other windows | # Try covering the glxgears window with other windows | ||
Line 12: | Line 13: | ||
# 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) | # 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) | ||
|results= | |results= | ||
# glxgears (and other OpenGL apps) should run properly and with full acceleration and behave as any other window | # 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 should run successfully and there should be no glitches or corruption in the display of the desktop or overview mode | |||
}} | }} |
Latest revision as of 21:08, 2 November 2016
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
- Ensure that you are using Fedora Workstation (or at least GNOME)
- Ensure the
glx-utils
package is installed by running the command:su -c "dnf install glx-utils"
- 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
- You can see your current kernel options by running
- Ensure the file
/etc/X11/xorg.conf
does not exist, or is a valid file that uses the (DRIVER) driver - Shut your system down entirely, then start it up again
- 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
- Run the command
glxinfo | grep renderer
and verify that an accelerated 3D driver is in use (ie, not llvmpipe) - Run the 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
- 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
- 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 should run successfully and there should be no glitches or corruption in the display of the desktop or overview mode