From Fedora Project Wiki
(create desktop hybrid test case) |
(improve the instructions) |
||
Line 5: | Line 5: | ||
# Ensure you are running Fedora Workstation 25 or later, with {{package|fedora-release}} {{code|25-0.14.fc25}} or later, on a system with hybrid graphics | # Ensure you are running Fedora Workstation 25 or later, with {{package|fedora-release}} {{code|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 | # Clean boot the system, with no video-related kernel parameters or custom configuration | ||
# If you are not using a switchable graphics Test Day live image | # Log into GNOME | ||
# If you are not using a switchable graphics Test Day live image: | |||
#* Enable the {{code|switcheroo-control}} service: | |||
## {{command|sudo systemctl enable switcheroo-control.service}} | |||
## Reboot the system and log in again | |||
#* Install the test application: | |||
## {{command|sudo curl -o /etc/yum.repos.d/glarea-hadess.repo <nowiki>https://www.happyassassin.net/repos/glarea-hadess/glarea-hadess.repo</nowiki>}} | ## {{command|sudo curl -o /etc/yum.repos.d/glarea-hadess.repo <nowiki>https://www.happyassassin.net/repos/glarea-hadess/glarea-hadess.repo</nowiki>}} | ||
## {{command|sudo dnf install glarea-hadess}} | ## {{command|sudo dnf install glarea-hadess}} | ||
|actions= | |actions= | ||
# Open the ''Details'' settings panel: just search for ''Details'' in the overview, or run {{command|gnome-control-center info}} | # Open the ''Details'' settings panel: just search for ''Details'' in the overview, or run {{command|gnome-control-center info}} |
Latest revision as of 22:41, 2 November 2016
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