monitor tests need to accept video output identifiers used by proprietary drivers

Bug #992727 reported by Brendan Donegan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox
Fix Released
High
Sylvain Pineau

Bug Description

The monitor tests currently use a requires field like:

requires: display.hdmi == 'supported'

to see if a particular test should run on a particular system. It seems that some of the proprietary drivers use some eccentric names for these video ports. For example on one ATI system the fglrx driver called the VGA port 'CRT1' and the HDMI port 'DFP1'. The requires field for those tests should include those identifiers, like:

requires: display.hdmi == 'supported' or display.dfp == 'supported'

Related branches

Revision history for this message
Daniel Manrique (roadmr) wrote :

The test dependencies shouldn't need to deal with proprietary driver wonkiness. The display resource should instead map all possible identifiers to a single, agreed-upon name (and really, whose braindead idea was it that you can only plug a CRT to the 15-ping VGA connector? what does DFP1 stand for?) I'd say mapping them to industry-standard names like, oh I don't know, VGA or HDMI or displayport (I do see maybe thunderbolt appearing in the future) and keeping that concern out of the test definitions may be good.

Revision history for this message
Jeff Lane  (bladernr) wrote : Re: [Bug 992727] Re: monitor tests need to accept video output identifiers used by proprietary drivers

On 05/01/2012 02:02 PM, Daniel Manrique wrote:
> The test dependencies shouldn't need to deal with proprietary driver
> wonkiness. The display resource should instead map all possible
> identifiers to a single, agreed-upon name (and really, whose braindead
> idea was it that you can only plug a CRT to the 15-ping VGA connector?
> what does DFP1 stand for?) I'd say mapping them to industry-standard
> names like, oh I don't know, VGA or HDMI or displayport (I do see maybe
> thunderbolt appearing in the future) and keeping that concern out of the
> test definitions may be good.

And a lot cleaner. +1 on having the display resource map these strings
to more understandable names...

--
Jeff Lane - Hardware Certification Engineer and Test Tools Developer
Ubuntu Ham: W4KDH
Freenode IRC: bladernr or bladernr_
gpg: 1024D/3A14B2DD 8C88 B076 0DD7 B404 1417 C466 4ABD 3635 3A14 B2DD

Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

That was of course the other option - it makes the display resource command a bit more complicated, maybe even requiring a Python script, but it will look cleaner in the test definitions for sure

Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

Oh, and regardless of the path taken to a solution, can we please gather information about the names used by different drivers and add it to this bug?

Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

Here's one used for Display Port

DisplayPort-0

Revision history for this message
Daniel Manrique (roadmr) wrote :

OK, so work to do: create a display_resource script that maps all the wonky names used by drivers into the actual physical port names: vga, hdmi, dvi, displayport at least. Then as more descriptors start appearing we can just add them to the script's table.

Changed in checkbox:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

I don't agree with the Low importance - if the resource doesn't work properly then we may end up not testing ports that we need to. That is bad. I'm going to bump to High since I want to see this fixed before certification

Changed in checkbox:
importance: Low → High
milestone: none → 0.14.x
Changed in checkbox:
assignee: nobody → Sylvain Pineau (sylvain-pineau)
status: Triaged → In Progress
Zygmunt Krynicki (zyga)
Changed in checkbox:
status: In Progress → Fix Committed
Changed in 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.