From Fedora Project Wiki

(clean up test case)
(fix templates)
Line 6: Line 6:
# Log into a graphical desktop and run a terminal
# Log into a graphical desktop and run a terminal
|actions=
|actions=
# Run glxgears without render offloading: {{command|glxgears -info | grep REND}}
# Run glxgears without render offloading: {{command|<nowiki>glxgears -info | grep REND</nowiki>}}
# Close glxgears
# Close glxgears
# Run glxgears with render offloading: {{command|DRI_PRIME=1 glxgears -info | grep REND}}
# Run glxgears with render offloading: {{command|<nowiki>DRI_PRIME=1 glxgears -info | grep REND</nowiki>}}


|results=
|results=

Revision as of 19:17, 2 November 2016

Description

This test case tests 'render offloading' on hybrid graphics systems, where 3D rendering is handled by the more powerful GPU but display output by the primary GPU. It is only valid if run on a system with hybrid graphics.

Setup

  1. Clean boot the system, with no video-related kernel parameters or custom configuration
  2. Log into a graphical desktop and run a terminal

How to test

  1. Run glxgears without render offloading: glxgears -info | grep REND
  2. Close glxgears
  3. Run glxgears with render offloading: DRI_PRIME=1 glxgears -info | grep REND

Expected Results

  1. The animated gears display should appear correctly in both cases
  2. On the first run, the GL_RENDERER string shown on the console should be associated with the primary GPU (probably Intel)
  3. On the second run, the GL_RENDERER string shown on the console should be different, and associated with the secondary GPU (probably NVIDIA or AMD - look for 'NV' or 'Radeon' etc)