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
- Ensure you are running Fedora Workstation 25 or later, with
fedora-release
25-0.14.fc25 or later, on a system with hybrid graphics - Clean boot the system, with no video-related kernel parameters or custom configuration
- Log into GNOME
- If you are not using a switchable graphics Test Day live image:
- Enable the switcheroo-control service:
sudo systemctl enable switcheroo-control.service
- Reboot the system and log in again
- Install the test application:
sudo curl -o /etc/yum.repos.d/glarea-hadess.repo https://www.happyassassin.net/repos/glarea-hadess/glarea-hadess.repo
sudo dnf install glarea-hadess
How to test
- Open the Details settings panel: just search for Details in the overview, or run
gnome-control-center info
- Look at the value listed for Graphics
- Open the overview and search for and run glarea example normally
- Note the window title, and close the app
- 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
- Note the window title again, and close the app
Expected Results
- 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
- 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
- When run using Launch using Dedicated Graphics Card, the window title should include the renderer string for the secondary adapter