monitor tests fail to run because display resource doesn't work properly on my laptop with nVidia card
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox |
Fix Released
|
High
|
Sylvain Pineau |
Bug Description
I ran a couple tests of checkbox 0.13.5 on my alienware. My system has both DisplayPort and external VGA ports. However, I noticed in the results tests (using the UF whitelist) that the montior/vga and monitor/hdmi tests were both skipped because display.vga and display.hdmi are not supported (according to the display resource job).
I expected display.hdmi to not work, however, I expected display.vga to be supported as I do have an external VGA port.
Looking at the command for the resource job, it's looking for things that are "connected" at run time. This means that in order for a test to actually run for an external port, the tester would have to have an active connection on that port prior to running checkbox. So if a system has both DisplayPort and VGA, he/she would need both ports connected to monitors in order to successfully run those tests.
Because of this, we are going to be doing certification and never even see the external monitor tests during testing, and UF testers will also never see the external monitor tests (Unless they plug monitors in ahead of time).
It's not reasonable to require them or us to plug in monitors ahead of time. Most likely, people with the capability to test an external monitor on HDMI and VGA (from the UF whitelist) will only have one monitor and will use that to test both, thus can't plug in both ports simultaneously.
Related branches
- Brendan Donegan (community): Approve
- Sylvain Pineau (community): Needs Resubmitting
-
Diff: 116 lines (+89/-1)3 files modifieddebian/changelog (+3/-0)
jobs/resource.txt.in (+2/-1)
scripts/display_resource (+84/-0)
- Daniel Holbach: Approve
- Micah Gersten: Needs Fixing
- Ubuntu branches: Pending requested
-
Diff: 4032 lines (+691/-1663)52 files modifiedbackend (+7/-3)
checkbox/parsers/udevadm.py (+8/-1)
data/whitelists/default.whitelist (+1/-0)
debian/changelog (+56/-0)
debian/control (+7/-2)
debian/po/ast.po (+2/-2)
debian/po/cs.po (+2/-2)
debian/po/de.po (+2/-2)
debian/po/en_AU.po (+2/-2)
debian/po/en_GB.po (+2/-2)
debian/po/es.po (+4/-3)
debian/po/fr.po (+13/-13)
debian/po/he.po (+2/-2)
debian/po/hu.po (+2/-2)
debian/po/id.po (+2/-2)
debian/po/it.po (+2/-2)
debian/po/ja.po (+2/-2)
debian/po/nl.po (+2/-2)
debian/po/oc.po (+2/-2)
debian/po/pl.po (+2/-2)
debian/po/pt_BR.po (+2/-2)
debian/po/ro.po (+2/-2)
debian/po/ru.po (+2/-2)
debian/po/tr.po (+2/-2)
debian/po/uk.po (+2/-2)
debian/po/zh_CN.po (+2/-2)
debian/po/zh_TW.po (+2/-2)
jobs/cpu.txt.in (+1/-0)
jobs/esata.txt.in (+0/-6)
jobs/firewire.txt.in (+0/-6)
jobs/mediacard.txt.in (+0/-48)
jobs/optical.txt.in (+90/-52)
jobs/resource.txt.in (+1/-1)
jobs/usb.txt.in (+7/-19)
jobs/wireless.txt.in (+17/-3)
plugins/apport_prompt.py (+0/-280)
plugins/backend_info.py (+60/-21)
plugins/suites_prompt.py (+8/-1)
po/POTFILES.in (+0/-1)
po/ar.po (+13/-12)
po/fi.po (+28/-14)
po/fr.po (+131/-109)
po/pt_BR.po (+5/-5)
qt/checkbox-qt.ui (+0/-935)
qt/frontend/qtfront.cpp (+2/-1)
qt/frontend/qtfront.ui (+8/-5)
scripts/display_resource (+84/-0)
scripts/graphics_driver (+81/-50)
scripts/network_info (+15/-2)
scripts/network_wireless_test (+0/-25)
scripts/optical_write_test (+3/-4)
setup.py (+1/-1)
Changed in checkbox: | |
importance: | Undecided → Critical |
Changed in checkbox: | |
importance: | Critical → Medium |
Changed in checkbox: | |
milestone: | later → 0.14 |
Changed in checkbox: | |
importance: | Medium → High |
Changed in checkbox: | |
status: | Confirmed → In Progress |
assignee: | nobody → Sylvain Pineau (sylvain-pineau) |
Changed in checkbox: | |
status: | In Progress → Fix Committed |
Changed in checkbox: | |
status: | Fix Committed → Fix Released |
The command used for display resource is:
for display in `xrandr | grep connected | awk '{print $1}' | grep -o ^[A-Z]* | sort | uniq`; do echo "$display: supported"; done
grep connected *does* match partial lines, so even if xrandr -q says "disconnected" it should match.
On my Samsung with Intel GPU (and it physically has VGA and HDMI ports), here's output from xrandr -q and the resource command:
roadmr@snowflake:~$ xrandr -q
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
1366x768 60.0*+
1360x768 59.8 60.0
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
roadmr@snowflake:~$ for display in `xrandr | grep connected | awk '{print $1}' | grep -o ^[A-Z]* | sort | uniq`; do echo "$display: supported"; done
DP: supported
HDMI: supported
LVDS: supported
VGA: supported
roadmr@snowflake:~$
Could you post output of xrandr -q from the Alienware to see what it says? if it's using proprietary NVidia drivers, the information xrandr -q shows *may* be bogus :/