[graphics/generator_*] Tests did not check graphic driver before testing

Bug #1315346 reported by Yung Shen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Invalid
Undecided
Yung Shen

Bug Description

After hybrid graphics system installed the proprietary graphic driver,
In most case, proprietary graphic driver will loaded by default.
In order to use inegrated graphic (UMA) may requires manual switch.

But current generated local jobs follows the order based on the information given by udev_resource,
that means the index are different from systems, this also means checkbox will not know which graphic driver is currently being tested.

To have addtional graphic driver check will also help to avoid unexpected situation,
eg. Nvidia optimus disabled in BIOS setting or AMD Discricte got disabled on Intel platform.

Yung Shen (kaxing)
affects: checkbox → plainbox-provider-checkbox
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Assigning to Sam as he's working on the GPU tests now.

Changed in plainbox-provider-checkbox:
assignee: nobody → Po-Hsu Lin (cypressyew)
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Hello Yung,

Do you mean that:
On a I+N platform with proprietary driver installed and running on the nVidia GPU, but the Intel GPU got index 1 as given by the information from udev_resource.
And base on our current test plan, user will be ask to test the GPU with index 1 first, causing the issue that you mentioned here?
(Do we have a sample for this?)

BTW, I am curious that if the discrete card got disabled in the BIOS, will it still be detected in udev?

no longer affects: checkbox (Ubuntu)
Changed in plainbox-provider-checkbox:
status: New → Incomplete
Po-Hsu Lin (cypressyew)
Changed in plainbox-provider-checkbox:
assignee: Po-Hsu Lin (cypressyew) → Yung Shen (kaxing)
Revision history for this message
Yung Shen (kaxing) wrote :

Please allow me to rephrase my concerns back in 3months ago:

To prevent tester to execute graphic job that is generated for performance mode on power-saving mode, vice versa.

On hybrid graphics system, will generate job like this: 1_FirstGraphic_1st_job, 2_SecondGraphic_1st_job, in a linear ordering, and only being distinguish by a switch_card job, so if anything happen then messed up graphic mode settings, it would be a nice to have a way to help tester avoid testing on wrong graphic chip.

Changed in plainbox-provider-checkbox:
status: Incomplete → Invalid
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.