Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add glmark2 test for hardware rendering in addition to unity_support_test for devices running wayland (BugFix) #1677

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

tomli380576
Copy link
Contributor

@tomli380576 tomli380576 commented Jan 3, 2025

Description

This PR uses the glmark2-es2 test to determine whether the DUT is using hardware rendering instead of unity_support_test. It checks the output of glmark2 for a GL_RENDERER string and uses the same logic as unity_support_test to see if it's produced by a software renderer.

Requires #1671

Resolved issues

#1630

Debian version of glmark2 returns the correct string on Mali platforms whereas unity_support_test doesn't.

Documentation

We are basically doing the same check as unity_support_test. The only different is how we get the GL_RENDERER string.

Tests

Original unit tests
Real hardware: x86 laptops and the Mali device in #1630

@tomli380576 tomli380576 changed the title Add glmark2 test for hardware rendering in addition to unity_support_test for devices running wayland (Bugfix) Add glmark2 test for hardware rendering in addition to unity_support_test for devices running wayland (BugFix) Jan 3, 2025
@tomli380576 tomli380576 linked an issue Jan 16, 2025 that may be closed by this pull request
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invalid check of unity_support_test for Genio Devices (ARM Mali GPU)
1 participant