From Fedora Project Wiki

Line 5: Line 5:
 
# Download Fedora 25 Beta or latest nightly  
 
# Download Fedora 25 Beta or latest nightly  
 
|actions=
 
|actions=
# Boot in XORG
+
# Update all packages to the latest version: "sudo dnf update"
# Glxgears on the DIS(crete) <code>GPU DRI_PRIME=1 =glxgears -info &#124; grep REND</code>
+
# Reboot, log into a "GNOME on Xorg" session
 
+
# Run glxgears on the Primary GPU: <code>glxgears -info &#124; grep REND</code>
# For F25 this should just work, but this requires the user to manually start apps from the terminal like <code> glxgears -info &#124; grep REND</code>
+
# Run glxgears on the Secondary GPU: <code>GPU DRI_PRIME=1 glxgears -info &#124; grep REND</code>
  
 
|results=
 
|results=
# Should be the output for the first command <code> GL_RENDERER  = Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2)</code>
+
# glxgears should properly show the animated gears in both cases
# The second command should give you <code>GL_RENDERER  = Gallium 0.4 on NV117 </code>
+
# The GL_RENDERER string should be different between the 2 runs, matching the 2 different GPUs used
 
# Everything in X11 should run alright.
 
# Everything in X11 should run alright.
 
}}
 
}}

Revision as of 11:26, 25 October 2016

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

Setup

  1. Download Fedora 25 Beta or latest nightly

How to test

  1. Update all packages to the latest version: "sudo dnf update"
  2. Reboot, log into a "GNOME on Xorg" session
  3. Run glxgears on the Primary GPU: glxgears -info | grep REND
  4. Run glxgears on the Secondary GPU: GPU DRI_PRIME=1 glxgears -info | grep REND

Expected Results

  1. glxgears should properly show the animated gears in both cases
  2. The GL_RENDERER string should be different between the 2 runs, matching the 2 different GPUs used
  3. Everything in X11 should run alright.