Some Intel 4th generation GPUs are being parsed as OTHER
Bug #1385426 reported by
Ara Pulido
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Support Library |
Fix Released
|
Critical
|
Daniel Manrique | ||
HEXR |
Fix Released
|
Critical
|
Daniel Manrique |
Bug Description
Example of a submission where this is happening:
https:/
Related branches
lp:~roadmr/checkbox/1385426-intel-video-other
- Ara Pulido (community): Approve
-
Diff: 5250 lines (+5223/-1)3 files modifiedcheckbox-support/checkbox_support/parsers/tests/test_udevadm.py (+23/-0)
checkbox-support/checkbox_support/parsers/tests/udevadm_data/HP_400_G2.txt (+5199/-0)
checkbox-support/checkbox_support/parsers/udevadm.py (+1/-1)
Changed in checkbox-support: | |
assignee: | nobody → Daniel Manrique (roadmr) |
summary: |
- Intel 4th generation GPUs are being parsed as OTHER + Some Intel 4th generation GPUs are being parsed as OTHER |
Changed in hexr: | |
importance: | Undecided → Critical |
assignee: | nobody → Daniel Manrique (roadmr) |
Changed in checkbox-support: | |
milestone: | none → 0.13 |
status: | In Progress → Fix Committed |
Changed in checkbox-support: | |
status: | Fix Committed → Fix Released |
Changed in hexr: | |
status: | New → Fix Committed |
milestone: | none → 2014.10.2 |
Changed in hexr: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
OK, We've seen this kind of problem before so I'll be succint with the explanation, pretty much copying it verbatim from udevadm.py:
# Not all DISPLAY devices are display adapters. The ones with DISPLAY_ OTHER) subclass identifier. In order be_video_ device method
# subclass OTHER are usually uninteresting devices. As an
# exception, some vendors have recently begun to use the
# 0x80 (Pci.CLASS_
# to correctly identify them special heuristics are needed,
# these are encapsulated in the known_to_
# (further below).
The Intel integrated adapter in this system is such a case, as further explained in the method mentioned here:
# devices. This method encapsulates heuristics to decide if a device is a ID_INTEL:
# valid video adapter, based on product/vendor and pci class/subclass
# information.
if vendor_id == Pci.VENDOR_
# Intel recently (2014) started using subclass OTHER erratically, some
# older GPUs have subdevices with OTHER which are uninteresting. If
# Intel, we only consider OTHER devices as VIDEO if they are in this
# explicit list
Note the above comment about intel. Unfortunately, with them we have no way of finding all offending devices: I did try to identify all Intel DISPLAY-class devices as VIDEO but that regressed some device detections for older systems (thanks Sylvain for the test suite). So we will need to continue adding to the explicit list mentioned there.
I added the PCI IDs for this device and things are working correctly now.
Merge request coming up in a second.