From Fedora Project Wiki

No edit summary
mNo edit summary
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=This test case tests the multiple desktop functionality in Hybrid gpu machines where no video outputs are connected to the Discrete gpu, so it is purely an accelerator / co-processor with XORG
|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=
|setup=
# Download Fedora 25 Beta or latest nightly
# Clean boot the system, with no video-related kernel parameters or custom configuration
# Log into a graphical desktop and run a terminal
|actions=
|actions=
# Boot in XORG
# Run glxgears without render offloading: {{command|<nowiki>glxgears -info | grep REND</nowiki>}}
# Glxgears on the DIS(crete) GPU DRI_PRIME=1 glxgears -info | grep REND
# Close glxgears
# For F25 this should just work, but this requires the user to manually start apps from the terminal like glxgears -info|grep REND.
# Run glxgears with render offloading: {{command|<nowiki>DRI_PRIME=1 glxgears -info | grep REND</nowiki>}}
 
 


|results=
|results=
# Should be the output for the first command  GL_RENDERER  = Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2)
# The animated gears display should appear correctly in both cases
# The second command should give you GL_RENDERER  = Gallium 0.4 on NV117
# On the first run, the {{code|GL_VENDOR}} string shown on the console should be associated with the primary GPU (probably Intel)
# Everything in X11 should run alright.
# On the second run, the {{code|GL_VENDOR}} string shown on the console should be different, and associated with the secondary GPU (probably NVIDIA or AMD - if you see 'nouveau' that indicates NVIDIA, 'radeon' indicates AMD, etc.)
}}
}}

Latest revision as of 19:35, 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_VENDOR string shown on the console should be associated with the primary GPU (probably Intel)
  3. On the second run, the GL_VENDOR string shown on the console should be different, and associated with the secondary GPU (probably NVIDIA or AMD - if you see 'nouveau' that indicates NVIDIA, 'radeon' indicates AMD, etc.)