Comment 5 for bug 956139

Revision history for this message
Jeff Lane  (bladernr) wrote : Re: [Bug 956139] Re: monitor tests fail to run because display resource doesn't work properly on my laptop with nVidia card

On 03/15/2012 08:26 PM, Daniel Manrique wrote:
> Some NVidia and ATI/AMD drivers have no xrandr support, that's why
> xrandr returns the "default" display - basically it sits on top of the
> proprietary driver, which handles resolution change, rotation and
> additional outputs.
>
> I don't think there's a uniform way to query all video drivers for
> supported outputs (even gnome-display-settings doesn't, if it detects
> xrandr-incompatible drivers it just sends the user to the proprietary
> control panel).
>
> One way to handle it would be, if xrandr says there are no supported
> video outputs, then test all of them. If xrandr reports something,
> report the ones that it was able to find.
>

That's probably worth doing then... though at that point, isn't it
equally valid to just do away with the resource constraints anyway? If
we just run all the tests on systems with no xrandr output anyway,
that's already potentially 40-50% of the systems out there (assuming
this is fairly common amongs nVidia and ATI cards).

 From a UF point of view, getting rid of the resource would only cause
VGA HDMI to pop up, and it's pretty much a guarantee that ONE of those
will be present (excepting possibly some netbooks and ultrabooks).

 From a cert point of view, it's only a few more skipped tests during a
cert run, maybe an extra 10 seconds of clicking.

--
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