Merge ~pieq/plainbox-provider-checkbox:1655211-graphics-driver into plainbox-provider-checkbox:master
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Pierre Equoy | ||||
Approved revision: | a08145450b513607f44ee0cc6749483c8265be5e | ||||
Merged at revision: | 4802d760e6db284646173113808e30a45d7d6e5a | ||||
Proposed branch: | ~pieq/plainbox-provider-checkbox:1655211-graphics-driver | ||||
Merge into: | plainbox-provider-checkbox:master | ||||
Diff against target: |
21 lines (+5/-2) 1 file modified
bin/graphics_driver (+5/-2) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Maciej Kisielewski | Approve | ||
Review via email: mp+316537@code.launchpad.net |
Description of the change
Update graphics_driver script to handle Matrox cards
One of the devices being tested uses a Matrox card. This card is using a kernel mode setting (kms) driver called 'modesetting' to work, but this use case was not handled in our graphics_driver script that displays information about drivers currently in use.
Please note: we still don't take the 'mga' user space driver into account since 'mga' is a legacy driver that is most likely not used anymore (Matrox now focuses on using modesetting).
To test, you can use an Xorg.0.log file from the device such as [1].
Before:
% ./graphics_driver
------------- VIDEO DRIVER INFORMATION -------------
ERROR: No video driver loaded! Possibly in failsafe mode!
(…)
After:
% ./graphics_driver
------------- VIDEO DRIVER INFORMATION -------------
Video Driver: modesetting
Driver Version: 1.18.4
(…)
Looks good! +1
// Matrox - I haven't seen that name in a while :D