From Fedora Project Wiki

Description

This test case tests hybrid graphics and 'render offloading' GNOME integration on hybrid graphics systems. It is only valid if run on a system with hybrid graphics.

Setup

  1. Ensure you are running Fedora Workstation 25 or later, with fedora-release 25-0.14.fc25 or later, on a system with hybrid graphics
  2. Clean boot the system, with no video-related kernel parameters or custom configuration
  3. Log into GNOME
  4. If you are not using a switchable graphics Test Day live image:
    • Enable the switcheroo-control service:
    1. sudo systemctl enable switcheroo-control.service
    2. Reboot the system and log in again
    • Install the test application:
    1. sudo curl -o /etc/yum.repos.d/glarea-hadess.repo https://www.happyassassin.net/repos/glarea-hadess/glarea-hadess.repo
    2. sudo dnf install glarea-hadess

How to test

  1. Open the Details settings panel: just search for Details in the overview, or run gnome-control-center info
  2. Look at the value listed for Graphics
  3. Open the overview and search for and run glarea example normally
  4. Note the window title, and close the app
  5. Open the overview, find glarea example again, right click on it, see if there is an option Launch using Dedicated Graphics Card, and click it if so
  6. Note the window title again, and close the app

Expected Results

  1. The Graphics value in the Details setting panel should show information on all the video adapters separated with /, e.g. Intel Ivybridge Mobile / Gallium 0.4 on NVD7 for one system with an Intel primary adapter and an NVIDIA secondary adapter
  2. When run normally, the window title of the example application should include the renderer string (same text you saw in the Details panel) for the primary adapter
  3. When run using Launch using Dedicated Graphics Card, the window title should include the renderer string for the secondary adapter