It should probably check if the device is already added, instead of
blindly re-adding. :-)

I understand the drmmode part now.

It goes wrong in 3 places at the moment:

* bugs in xorg-server
  - Fix 1: drm_device_keep_trying.patch (pushed to debian git, proposed on 
mailing list)
  - Fix 2: unbinding hybrid drivers  doesn't work correctly at the moment, 
detaching is not done correctly if it has outputs and rendering (in my local 
tree, need to amend the correct patch)
  - Fix 3: Ignore add events for devices we already have added, instead of 
removing/re-adding device.

* bugs in drivers:
  - all except modesetting: drmmode_init installs some handlers, and nothing 
cleans them up
  - all: the drm fd is never closed, so reopening a device will always fail.

Plus perhaps some more bugs in some places, but those were the obvious
ones I found so far.

I fixed xserver-xorg-video-ati in upstream git, other drivers should be
fixable in a similar way.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-intel in Ubuntu.
https://bugs.launchpad.net/bugs/1157614

Title:
  Xorg crashed with SIGABRT in WakeupHandler()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1157614/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to