Ok, you had me really confused as to why buffer_available() exists. As far as I can tell it is pointless, as we will be woken up to handle the callback from the main thread and then before blocking will copy the damage into the xfer buffer.
I'm reasonably happy with the patchset now. The only extension I would like is for buffer exchange of DRI2 with Mir. And I can see why it would make Unity more responsive - it no longer has to do any compositing with fancy window effects, just an extra blit and flip. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xserver-xorg-video-intel in Ubuntu. https://bugs.launchpad.net/bugs/1203776 Title: X crashes w/ latest xserver intel driver from System Compositor Testing PPA Status in XMir: New Status in “xserver-xorg-video-intel” package in Ubuntu: Invalid Bug description: After updating the xserver-xorg-video-intel package to version 2.21.9+xmir5870-1~saucy1, Xorg crashes every time on boot. As a test, I downgraded to 2.21.9+xmir5870-0~saucy1 and the crash does not occur. I will try to upload logs from the crashing system shortly. --- ApportVersion: 2.11-0ubuntu1 Architecture: amd64 DistUpgraded: 2013-05-29 12:02:50,961 DEBUG enabling apt cron job DistroCodename: saucy DistroRelease: Ubuntu 13.10 DistroVariant: ubuntu GraphicsCard: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09) (prog-if 00 [VGA controller]) Subsystem: Dell Device [1028:058b] InstallationDate: Installed on 2013-04-02 (110 days ago) InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130402) MachineType: Dell Inc. Dell System XPS L322X MarkForUpload: True Package: xserver-xorg-video-intel 2:2.21.9+xmir5870-1~saucy1 [origin: LP-PPA-mir-team-system-compositor-testing] PackageArchitecture: amd64 PlymouthDebug: Error: [Errno 13] Permission denied: u'/var/log/plymouth-debug.log' ProcEnviron: TERM=linux PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.10.0-4-generic root=UUID=a9dd85e0-61ec-4b25-a944-73962e721907 ro quiet splash vt.handoff=7 ProcVersionSignature: Ubuntu 3.10.0-4.13-generic 3.10.1 Tags: saucy third-party-packages ubuntu regression reproducible Uname: Linux 3.10.0-4-generic x86_64 UnreportableReason: This is not an official Ubuntu package. Please remove any third party package and try again. UpgradeStatus: Upgraded to saucy on 2013-05-29 (53 days ago) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo dmi.bios.date: 08/17/2012 dmi.bios.vendor: Dell Inc. dmi.bios.version: X29 dmi.board.vendor: Dell Inc. dmi.chassis.type: 8 dmi.chassis.vendor: Dell Inc. dmi.chassis.version: 0.1 dmi.modalias: dmi:bvnDellInc.:bvrX29:bd08/17/2012:svnDellInc.:pnDellSystemXPSL322X:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct8:cvr0.1: dmi.product.name: Dell System XPS L322X dmi.sys.vendor: Dell Inc. version.compiz: compiz 1:0.9.9~daily13.04.18.1~13.04-0ubuntu1 version.ia32-libs: ia32-libs 20090808ubuntu36 version.libdrm2: libdrm2 2.4.46-1~ppa1 version.libgl1-mesa-dri: libgl1-mesa-dri 9.2~git20130628.g6b676e6-0ubuntu0+mir4-jenkins86saucy0 version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A version.libgl1-mesa-glx: libgl1-mesa-glx 9.2~git20130628.g6b676e6-0ubuntu0+mir4-jenkins86saucy0 version.xserver-xorg-core: xserver-xorg-core 2:1.14.1-0ubuntu1+xmir1 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu3.1 version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.1.0+xmir2538-0~saucy1 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.21.9+xmir5870-1~saucy1 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.8+xmir2340-0~saucy1 xserver.bootTime: Mon Jul 22 10:50:34 2013 xserver.configfile: default xserver.devices: xserver.logfile: /var/log/Xorg.0.log xserver.version: 2:1.14.1-0ubuntu1+xmir1 xserver.video_driver: intel To manage notifications about this bug go to: https://bugs.launchpad.net/xmir/+bug/1203776/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp