Mir

Cannot start any Mir server ... std::exception::what: Failed to set DRM crtc

Bug #1194039 reported by Daniel van Vugt
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Mir
Expired
Medium
Unassigned
mir (Ubuntu)
Expired
Medium
Unassigned
unity-system-compositor (Ubuntu)
Expired
Medium
Unassigned

Bug Description

I can't seem to start any mir server any more. It always fails with:

sudo bin/mir_demo_server
ERROR: /home/dan/bzr/mir/toy/src/server/graphics/gbm/gbm_display_buffer.cpp(135): Throw in function mir::graphics::gbm::GBMDisplayBuffer::GBMDisplayBuffer(const std::shared_ptr<mir::graphics::gbm::GBMPlatform>&, const std::shared_ptr<mir::graphics::DisplayReport>&, const std::vector<std::shared_ptr<mir::graphics::gbm::KMSOutput> >&, mir::graphics::gbm::GBMSurfaceUPtr, const mir::geometry::Size&, EGLContext)
Dynamic exception type: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error> >
std::exception::what: Failed to set DRM crtc

Running it locally, or as root does not help. And there's no other Mir server running. Only plain X:
/usr/bin/X :0 -core -auth /var/run/lightdm/root/:0 -nolisten tcp vt8 -novtswitch

kevin gunn (kgunn72)
Changed in mir:
assignee: nobody → Chris Halse Rogers (raof)
importance: High → Critical
Changed in mir:
status: New → Triaged
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

For me this bug is now incomplete. I'm not sure what caused it but I haven't seen it for many days.

Revision history for this message
kevin gunn (kgunn72) wrote :

Now when i boot xmir I am not seeing this bug - could this have possibly changed with an updated drm

Changed in mir:
importance: Critical → Medium
Revision history for this message
kevin gunn (kgunn72) wrote :

lowering priority as its no longer a blocker. should leave open for a while, it may be "resolved indirectly"

Changed in mir:
status: Triaged → Incomplete
Revision history for this message
Patrick Hetu (patrick-hetu) wrote :

Got the same error this morning.
Note that it happens after an apt-get dist-upgrade with an update of mesa + reboot

Same error this morning when I plugged an external monitor:

GL_VENDOR = Intel Open Source Technology Center
GL_RENDERER = Mesa DRI Intel(R) Ivybridge Mobile x86/MMX/SSE2
GL_VERSION = OpenGL ES 3.0 Mesa 9.2.1
dm_connection_start
set_active_session '0'
set_active_session
set_active_session '1'
set_active_session
Unable to set active session, unknown client name 1
pause
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error> >'
  what(): Failed to set DRM crtc

Changed in mir:
assignee: Chris Halse Rogers (raof) → nobody
status: Incomplete → Confirmed
importance: Medium → High
Revision history for this message
Patrick Hetu (patrick-hetu) wrote :

in my case removing ~/.config/monitors.xml and reconfiguring the displays solved the problem.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mir (Ubuntu):
status: New → Confirmed
affects: mesa (Ubuntu) → mir (Ubuntu)
Changed in mir (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Changed in unity-system-compositor (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Revision history for this message
kevin gunn (kgunn72) wrote :

is this specific to hw configurations ?
i haven't seen complaints on this any time recently.
please update if you are able to repro.

Changed in mir:
status: Confirmed → Incomplete
Changed in mir (Ubuntu):
status: Confirmed → Incomplete
Changed in unity-system-compositor (Ubuntu):
status: Confirmed → Incomplete
kevin gunn (kgunn72)
Changed in mir:
importance: High → Medium
Changed in unity-system-compositor (Ubuntu):
importance: High → Medium
Changed in mir (Ubuntu):
importance: High → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for unity-system-compositor (Ubuntu) because there has been no activity for 60 days.]

Changed in unity-system-compositor (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Mir because there has been no activity for 60 days.]

Changed in mir:
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mir (Ubuntu) because there has been no activity for 60 days.]

Changed in mir (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.