ubuntu-x-swat team mailing list archive
-
ubuntu-x-swat team
-
Mailing list archive
-
Message #25215
[Bug 432521] Re: kdm does not restart X server (that crashed on logout)
Testing shows this problem only occurs with KMS active.
Debugging with gdb shows we get a new frontbuffer when we logout and the xserver is reset. However, the new frontbuffer is not connected to the crtc .
in drmmode_set_mode_major we have:
if (drmmode->fb_id == 0) {
ret = drmModeAddFB(drmmode->fd,
and because fb_id is not null when the xserver is reset, drmModeAddFB is not called.
Attached patch solves this problem for me. I consider this a proof of
concept patch; upstream may want to fix the issue in a different way (I
don't like I had to add a new public function in drmmode_display.c).
Can someone confirm this patch solves the issue for them as well? If so,
I will forward the bug and patch upstream tomorrow.
** Attachment added: "kubuntu-logout.debdiff"
http://launchpadlibrarian.net/33171017/kubuntu-logout.debdiff
--
kdm does not restart X server (that crashed on logout)
https://bugs.launchpad.net/bugs/432521
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-intel in ubuntu.