XMir in Mir for Mir (archived)

You are currently on: Ubuntu Package Testing

InstructionsLink to the installation instructions
xMirDetailed information on the testcase
Bug instructionsLink to bug reporting instructions
Testcase

Smoke Tests for xMir

Does your system continue to boot properly?
Can you login and logout of a desktop session?
Does unity function correctly? Can you open and close the dash, use the launcher, and keyboard shortcuts?
Do your input devices all work? Mouse, keyboard, etc?
Do your output devices all work? Monitors, tv, etc?
Are you able to run an opengl accelerated application (try running glxgears)?
Do applications load (try running simple apps like gedit, as well as complex ones like libreoffice)?
Can you connect an external monitor?
Does hotplugging work?
Does user switching work?
Overall, does everything function the same as when running under xserver?

Multimonitor tests for xMir
Scenario 1 : clean boot at “built-in display”, post boot connect/disconnect of 2nd display

Preparations
Ensure preconditions
System Settings... -> Displays is in its default configuration
2nd monitor is not connected on boot
Test 1.1
boot to single screen
open System Settings... -> Displays
open some window (e.g. terminal)
connect switched on monitor
verify display is an extension of desktop in the expected orientation, e.g. drag terminal to the other screen
Test 1.2
assumes expected outcome of Test 1.1 post condition
Disconnect the monitor
verify the display adjusts to return active windows to “built-in display”
Test 1.3
assumes expected Test 1.2 post condition
Reconnect the monitor
verify that the windows return to their original layout
Test 1.4
assumes Test 1.3 postcondition
On System Settings... -> Displays select “Mirror displays” on
verify the screens adjusted to mirrored mode
Test 1.5
assumes expected outcome of Test 1.4 postcondition
Disconnect the monitor
Reconnect the monitor
verify that the screens return to mirror mode layout

Scenario 2 : clean boot 2nd display already connected

Preparations
Ensure preconditions
System Settings... -> Displays is in its default configuration, e.g. “Mirror displays” is off
2nd monitor is already connected and on prior to boot
Test 2.1
boot to multimonitor already connected
open window to drag
verify that desktop comes up in extended mode
Test 2.2
assumes expected outcome of Test 2.1 post condition
open System Settings... -> Displays select “Mirror displays” on
verify system reconfigures to mirrored screens
reboot
verify that system reboots into mirrored screens
Test 2.3
assumes expected Test 2.2 post condition
open System Settings... -> Displays select “Mirror displays” off
verify that the system reconfigures to extended desktop
reboot
verify that the system reboots into extended desktop

Scenario 3 : turning off “built-in display”

Preparations
Ensure preconditions
System Settings... -> Displays is in its default configuration
2nd monitor is already connected and on prior to boot
Test 3.1
boot to multimonitor already connected
open System Settings... -> Displays toggle on/off button for “built-in display” to OFF
verify the second display remains active as a single screen/desktop
Test 3.2
assumes expected outcome of Test 3.1 post condition
Open some windows (e.g. terminal)
disconnect display
verify the desktop returns to the “built-in display”
Test 3.3
assumes expected outcome of Test 3.2 post condition
reconnect the display
verify that the desktop now appears on the second display and the “built-in display” is dark
Test 3.4
assumes expected Test 3.3 postcondition
reboot with the second display connected
after login, verify that the desktop appears on the second display & the “built-in display” remains dark
Test 3.5
assumes expected Test 3.4 postcondition
open System Settings... -> Displays toggle on/off button for “built-in display” to ON
verify that the desktop appears extended on both the second display & the “built-in display”

Scenario 4 : resolution change for “built-in display” & second display

Preparations
Ensure preconditions
System Settings... -> Displays is in its default configuration
Test 4.1
boot to multimonitor (or if booted to single screen, connect 2nd monitor)
open System Settings... -> Displays, note the current resolution (referred to as res1)
change resolution down for “built in display”, note it, refer to as res2
open some windows (e.g. terminal & file browser), have windows on each screen open
disconnect switched on monitor
verify “built in monitor” returned to original resolution, res1
Test 4.2
assumes expected outcome of Test 4.1 post condition
Reconnect the monitor
verify the “built-in display” adjusts resolution back to res2
Test 4.3
assumes expected Test 4.2 post condition
Disconnect monitor, change resolution of “built in monitor” down (preferably to a 3rd resolution setting not yet used), refer to as res3
Reconnect the monitor
verify that the “built in monitor” returned to resolution setting selected in res 2
Disconnect the monitor
verify that the “built in monitor” returned to res3
Test 4.4
Assumes expected outcome of Test 4.3 postcondition
Reconnect monitor
through System Settings... -> Displays, select the second monitor & change resolution down, note it, refer to as res4
disconnect monitor, let it settle
reconnect monitor
verify the screens adjusted to res 2 for “built-in” & res 4 for second monitor

Scenario 5 : retation changes for display orientations

Preparations
Ensure preconditions
System Settings... -> Displays is in its default configuration
Test 5.1
boot to multimonitor (or if booted to single screen, connect 2nd monitor)
the system should be in extended desktop mode
open System Settings... -> Displays, change the “Rotation” for the “built-in display” to be clockwise
verify “built in monitor” turned 90 degrees clockwise
Test 5.2
assumes expected outcome of Test 5.1 post condition
open System Settings... -> Displays, change the “Rotation” for the “built-in display” to be normal
verify the “built-in display” adjusts resolution back to normal
Test 5.3
assumes expected Test 5.2 post condition
open System Settings... -> Displays, change the “Rotation” for the “built-in display” to be 180 degrees
verify that the “built in monitor” rotated 180 degrees
Test 5.4
assumes expected outcome of Test 5.3 postcondition
return the orientation of the primary screen to normal, via System Settings... -> Displays, change the “Rotation” for the “built-in display” to be normal
set mirror mode, via System Settings... -> Displays select tick box on “Mirror displays”
then rotate, System Settings... -> Displays, change the “Rotation” for the “built-in display” to be 180 degrees
verify the both “built-in display” and 2nd display rotate 180
Test 5.5
assumes expected Test 5.4 postcondition
return rotation to normal, open System Settings... -> Displays, change the “Rotation” for mirrored displays to normal
unmirror, System Settings... -> Displays, unselect tick box for “Mirror displays”
select the 2nd monitor in the System Settings... -> Displays and change the Rotation clockwise
verify that the “built in monitor” did not rotate, and the second display rotates 90 degrees

Scenario 6 : relative display position

Preparations
Ensure preconditions
System Settings... -> Displays is in its default configuration
Test 6.1
boot to multimonitor (or if booted to single screen, connect 2nd monitor)
open System Settings... -> Displays to see the reflected virtual relationship of the “built-in display” to the second display
verify with the mouse by exiting the relative side of “built-in display” the mouse appears/enters the second display as reflected in the Displays dialog box
Test 6.2
assumes expected Test 6.1 post condition
in System Settings... -> Displays, select & grab the secondary display to move its relative position to the “built-in” display (effectively swap their position left-right of each other)
verify with the mouse by exiting the relative side of “built-in display” the mouse appears/enters the second display as reflected in the Displays dialog box

If all actions produce the expected results listed, and you can answer yes to the above questions, please submit a 'passed' result.
If an action fails, or produces an unexpected result, or you answer no to any of the above questions, please submit 'failed' and file a bug. Please be sure to include the bug number when you submit your result

ReporterLast updateMachineBugsComment
Failedmoteprime2013-08-28 10:45Failed
XMir Multimonitor. Hangs when turning “built-in display” monitor off in
settings (#1217255)

In: XMir
Status: Triaged
Importance: Medium
Assignee:
1 reports, 2 comments, 1 subscribers, 0 duplicates
1217255
XMir Multimonitor Not possible to select "Mirror Displays" in setting. (#1217917)
In: XMir
Status: Triaged
Importance: Medium
Assignee:
1 reports, 5 comments, 1 subscribers, 0 duplicates
1217917

Hangs when turning “built-in display” monitor off in settings.
Not possible to select "Mirror Displays".

Link to the testcase revision
Failed3v1n02013-08-28 06:27Failed
xmir multimonitor crash when docking/undocking T400, external DVI monitor
(ATI Mobility Radeon HD 3450/3470) (#1217195)

In: XMir
Status: Incomplete
Importance: Critical
Assignee: Chris Halse Rogers
1 reports, 6 comments, 1 subscribers, 0 duplicates
1217195
xmir multimonitor crash when booting with dual not mirrored with T400 (ATI
Mobility Radeon HD 3450/3470) (#1217199)

In: XMir
Status: Incomplete
Importance: Critical
Assignee: Chris Halse Rogers
1 reports, 4 comments, 1 subscribers, 0 duplicates
1217199
Screen is deformated when using mir in Extended mode with Radeon (#1217409)
In: Mir
Status: Expired
Importance: High
Assignee:
1 reports, 11 comments, 1 subscribers, 0 duplicates
1217409
[Xmir] EQ overflowing (#1221234)
(master bug of duplicate: 1217419)
In: Mir
Status: Confirmed
Importance: Medium
Assignee:
1 reports, 5 comments, 1 subscribers, 1 duplicates
1217419
XMir display buffer layout sometimes overlaps and disagrees with that shown
in xrandr/control-center (#1216748)

(master bug of duplicate: 1217433)
In: Mir
Status: Triaged
Importance: Medium
Assignee:
1 reports, 1 comments, 1 subscribers, 1 duplicates
1217433
Xmir doesn't start with MUXed Intel/ATi hybrid graphics (#1217821)
In: Mir
Status: Triaged
Importance: Medium
Assignee: Chris Halse Rogers
1 reports, 1 comments, 3 subscribers, 0 duplicates
1217821

Using vgaswitcheroo doesn't work unless I don't disable one of the two cards on boot. Otherwise Xmir doesn't start (I'm getting fallback session instead).

Testing ATi VGA:
1.1: FAIL (visual glitches #1217409)
1.2: FAIL (resolution not updated on VGA)
1.3: FAIL (as per 1.1)
1.4: OK (but very slow and visual glitches as slowly damaged areas)
1.5: FAIL (as per 1.2)
2.1: FAIL (visual glitches #1217409 and crash #1217199)
2.2: FAIL (impossible to run in splitted mode as per 2.1)
2.3: FAIL (got visual glitches #1217409 first time, then crash #1217195)
3.1: FAIL (due to 2.1 failure)
3.2: FAIL (due to 2.1 failure)
3.3: FAIL (due to 2.1 failure)
3.4: FAIL (due to 2.1 failure)
3.5: FAIL (due to 2.1 failure)

Testing ATi HDMI:
1.1: FAIL (visual glitches #1217409, then crash #1217195)
1.2: FAIL (crash #1217195)
1.3: FAIL (as per 1.1)
1.4: OK (but very slow and visual glitches as slowly damaged areas)
1.5: OK
2.1: FAIL (crash #1217199)
2.2: FAIL (impossible to run in splitted mode as per 2.1)
2.3: FAIL (got visual glitches #1217409 first time, then crash #1217195)
3.1: FAIL (due to 2.1 failure)
3.2: FAIL (due to 2.1 failure)
3.3: FAIL (due to 2.1 failure)
3.4: FAIL (due to 2.1 failure)
3.5: FAIL (due to 2.1 failure)

Testing Intel:
1.1: OK (slow on high resolution)
1.2: FAIL (mostly crashes #1217419, very few times work)
1.3: FAIL (when 1.2 passes, it works)
1.4: FAIL (Native mode worked at beginning, but once switched to different
resolutions Xmir only see the native resolution of my laptop screen,
so it's impossible to set that to something else to enable mirroring)
1.5: FAIL (due to 1.4 failure, but it probably worked at beginning)
2.1: OK
2.2: FAIL (same issue of 1.4, mirrored mode works before logging in, though)
2.3: FAIL
3.1: OK
3.2: OK
3.3: OK
3.4: OK
3.5: OK

Link to the testcase revision
Failedhunteke2013-08-28 01:27Failed
XMir receives input from other VTs (#1192843)
In: mir (Ubuntu)
Status: Fix Released
Importance: Undecided
Assignee:
1 reports, 15 comments, 15 subscribers, 0 duplicates
1192843
[xmir] [multimonitor] Frames eventually get slightly out of order, look
like glitches or typing will feel slow (#1216472)

(master bug of duplicate: 1217687)
In: mir (Ubuntu)
Status: Fix Released
Importance: Critical
Assignee: Alexandros Frantzis
1 reports, 26 comments, 7 subscribers, 3 duplicates
1217687
[xmir] Mir/unity-system-compositor fails to start: Error opening DRM device (#1206633)
(master bug of duplicate: 1217698)
In: Mir
Status: Triaged
Importance: Medium
Assignee:
1 reports, 25 comments, 7 subscribers, 8 duplicates
1217698

It's getting late here, but generally NICE WORK! It may be a small thing within the code, but the hotplugging of the VGA cord really got my attention. I don't recall even Mac ever having that capability with _VGA_ plugs. (Is it an async event your catching? Or are you polling?)

Unplugging and replugging the VGA cord automatically changed the desktop setup for one or two monitors. However, after unplugging maybe 5 times, Mir got stuck halfway through redrawing the desktop, with the Unity panel and gnome-terminal covering a light gray background. I could not even C-A-F1. Thankfully, I had installed sshd, and was able to stop lightdm. At that point, the TTY terminals _still_ would not give me an active prompt, so I also killed the unity-system-compositor. That returned the TTY prompt for use.

I am able to recreate the above behavior, but intermittently. If I can narrow down how to do it better, I'll submit a bug report.

I was not able to complete any scenario due to time restrictions.

Link to the testcase revision
Failedmermerico-gmail2013-08-27 19:47
[enhancement] Add support for fake modes on laptop screens which only have
one (#1196239)

In: Mir
Status: Triaged
Importance: Medium
Assignee:
1 reports, 13 comments, 3 subscribers, 1 duplicates
1196239

Can't mirror displays because built in display cannot change resolution and second monitor does not list built in monitor resolution as supported.
Using Lenovo Thinkpad 230 Tablet with Intel Core i5 Ivy Bridge.

Display is mirrored (badly) before login, even if built in display is set to off.

At one point I had a rectangle in the second monitor that showed the contents of the built in monitor, but I cannot replicate this.

One time, upon plugging in second monitor, both screens went blank, reboot required, unable to replicate.

Link to the testcase revision
Failedairplaniac20022013-08-27 17:46
I'm trying to install a dual boot with Win7, and it's not letting me
partition. (#1130623)

In: ubiquity (Ubuntu)
Status: Invalid
Importance: Undecided
Assignee:
1 reports, 3 comments, 1 subscribers, 0 duplicates
1130623
[xmir] [multimonitor] Frames eventually get slightly out of order, look
like glitches or typing will feel slow (#1216472)

In: mir (Ubuntu)
Status: Fix Released
Importance: Critical
Assignee: Alexandros Frantzis
1 reports, 26 comments, 7 subscribers, 3 duplicates
1216472

System76 Gazelle Professional 8, Intel HD 4000 graphics.

Initially it worked great in single-monitor mode, but when I plugged in an external monitor the second one lagged the first by three frames or so.

Then, the out-of-order frame bug started appearing.

Lastly, unplugging the external monitor was not detected.

Link to the testcase revision
Failedrobru2013-08-27 15:29Failed
Multi-monitor support incomplete - can't show different images on each
screen (#1102760)

In: Mir
Status: Fix Released
Importance: Critical
Assignee: Alexandros Frantzis
1 reports, 8 comments, 14 subscribers, 2 duplicates
1102760

Strange hotplugging behavior... Booted with external screen attached, xmir chose mirror mode by default. Switched to extended mode, worked fine. Then I unplugged the external monitor, and it's windows moved to the laptop screen, good. When I re-plugged the monitor, what happened was that it displayed the same contents as the laptop screen (like mirrored mode), however my mouse cursor was able to move off the edge of the screen, as if it was in extended mode. When I went to check the display settings, i had to turn mirror mode on and then off again in order to restore correct extended mode behavior.

Link to the testcase revision
Failedrsalveti2013-08-27 01:55
xmir multimonitor crash when docking/undocking T400, external DVI monitor
(ATI Mobility Radeon HD 3450/3470) (#1217195)

In: XMir
Status: Incomplete
Importance: Critical
Assignee: Chris Halse Rogers
1 reports, 6 comments, 1 subscribers, 0 duplicates
1217195
xmir multimonitor crash when booting with dual not mirrored with T400 (ATI
Mobility Radeon HD 3450/3470) (#1217199)

In: XMir
Status: Incomplete
Importance: Critical
Assignee: Chris Halse Rogers
1 reports, 4 comments, 1 subscribers, 0 duplicates
1217199

Thinkpad T400 (ATI Mobility Radeon HD 3450/3470). Works with built-in display (quite slower), fails to hotplug external monitor, fails to work on not mirrored mode. Mirrored mode works fine.

Link to the testcase revision
Failedpitti2013-08-27 00:56
[multimonitor] XMir defaults to wrong resolution 1152x864 instead of
1920x1200. (#1216224)

In: XMir
Status: Triaged
Importance: Medium
Assignee:
1 reports, 10 comments, 2 subscribers, 1 duplicates
1216224
[xmir] [multimonitor] Frames eventually get slightly out of order, look
like glitches or typing will feel slow (#1216472)

In: mir (Ubuntu)
Status: Fix Released
Importance: Critical
Assignee: Alexandros Frantzis
1 reports, 26 comments, 7 subscribers, 3 duplicates
1216472

ThinkPad X201, Arrandale graphics, with internal 1280x800 LVDS and external 1280x1024 DVI. Laptop is docked and closed, configuring internal screen as off by default.

Link to the testcase revision
Failedmc3man2013-08-17 10:25
nouveau: Graphics tearing and abnormally high FPS with nouveau (no vsync) (#1195811)
In: linux (Ubuntu)
Status: Fix Released
Importance: High
Assignee: Maarten Lankhorst
1 reports, 19 comments, 4 subscribers, 2 duplicates
1195811
startup displays bits from vram or just black instead of plymouth splash (#1210826)
In: plymouth (Ubuntu)
Status: Invalid
Importance: Medium
Assignee:
1 reports, 10 comments, 1 subscribers, 0 duplicates
1210826
Link to the testcase revision
ReporterLast updateMachineBugsComment
Passedcarla-sella2013-08-20 13:08Passed
install-default-webapps-in-launcher.py crashed with signal 5 in
g_settings_get_mapped() (#1206314)

In: webapps-applications (Ubuntu)
Status: Fix Released
Importance: High
Assignee: Robert Bruce Park
1 reports, 21 comments, 10 subscribers, 3 duplicates
1206314

NVIDIA Corporation G86 [GeForce 8400 GS] (rev a1) (prog-if 00 [VGA controller]).
Nouveau drivers.

Link to the testcase revision
Passedbenjamin-heil2013-08-19 09:06

Old PC with ATI RV1550 (no proprietary drivers). Overall bad performance but all function tests worked as expected and passed (multimonitor *not* tested).

Link to the testcase revision
Passedadriangoodyer2013-08-17 07:15

VM Virtualbox 4.2.10

Link to the testcase revision
Add a test result

You need to be logged in to submit your test results.