Need a test to check renderer before graphics/2_glxgears_.* for amdgpu

Bug #1712018 reported by Jerry Kao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Fix Released
High
Sylvain Pineau

Bug Description

When system has AMD discrete graphic running with amdgpu driver, Checkbox run graphics/2_glxgears_.* by prepending the DRI_PRIME=1 environment variable to make AMD as renderer.

Recently in a case [1], The renderer was not AMD but Intel as amdgpu.dpm=0. We may need a pretest to confirm renderer is AMD before running graphics/2_glxgears_.* for AMD dGPU.

The way to check renderer
$ DRI_PRIME=1 glxinfo | grep "OpenGL re"

The test shoud be failed if DRI_PRIME=1 but renderer is Intel.

[1] https://bugs.launchpad.net/somerville/+bug/1711022/comments/5

Related branches

Jerry Kao (jerry.kao)
Changed in plainbox-provider-checkbox:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Sylvain Pineau (sylvain-pineau)
tags: added: ce-qa-concern
description: updated
Changed in plainbox-provider-checkbox:
status: Confirmed → In Progress
milestone: none → 0.40.0
Changed in plainbox-provider-resource:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Sylvain Pineau (sylvain-pineau)
no longer affects: plainbox-provider-resource
Jerry Kao (jerry.kao)
description: updated
Changed in plainbox-provider-checkbox:
status: In Progress → Fix Committed
Changed in plainbox-provider-checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.