X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :reply-to:mime-version:content-type:content-transfer-encoding :in-reply-to; q=dns; s=default; b=STMHmojCd3GSqqX5wDLO/seJ3Bpmn3 LKfj/jCPvJKkiCx6UDJfscDyvDblSt8qev/7MKYFv8G/RbVUlduvA/Dlu5guOxba lpT4UMoHpGhxACR8MEXlmFoLEl6tQO+4L2np4Bu82+b7Qc89F//1dcV2ZAvIbaJO 7sMx5LSdMlom0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :reply-to:mime-version:content-type:content-transfer-encoding :in-reply-to; s=default; bh=291BfgXXZi3A8uwy0iE8gxqhhus=; b=s36/ S7qnJTR2OEzaor36szUuIV6EvJbCh0fFB/zczs+cPzjDC8ZMvAf253U3Bgn/07HZ FBLGkN5zMtvS5xJhnQECXnIQLt/1XcmhEueAlEEccTmtLpvOxXXHmq6xOl96335t PS6PyYAsMwwatrqgIk7OoomSAPab9ZNWduWuFBQ= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=H*UA:en-US, H*u:en-US, H*u:2.0.0.19, H*UA:1.8.1.19 X-HELO: blaine.gmane.org To: cygwin AT cygwin DOT com From: =?UTF-8?Q?Ren=c3=a9_Berber?= Subject: Re: opencv 3.2.0-1: imshow() very slow Date: Sun, 7 May 2017 14:16:35 -0500 Lines: 41 Message-ID: References: <2d55cf8f-c69f-77f4-f988-c8916d18f009 AT free DOT fr> <64cb6b11-f613-16ce-e194-e9e89f47debc AT free DOT fr> Reply-To: Do not reply Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0 In-Reply-To: <64cb6b11-f613-16ce-e194-e9e89f47debc@free.fr> X-IsSubscribed: yes On 5/7/2017 10:31 AM, Falk Tannhäuser wrote: > I started to test the new OpenCV packages and I noticed that each call > to the imshow() function delays for usually 25 seconds. Most of the > time, the following message is displayed: > > ** (Great title:11352): WARNING **: Error retrieving accessibility bus > address: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. > Possible causes include: the remote application did not send a reply, > the message bus security policy blocked the reply, the reply timeout > expired, or the network connection was broken. > > More rarely, a different message, as for example the following one, is > shown: > > ** (Great title:9472): WARNING **: Error retrieving accessibility bus > address: org.freedesktop.DBus.Error.TimedOut: Failed to activate service > 'org.a11y.Bus': timed out [snip] Obviously you are not running dbus-daemon, which accounts for the time-out, and the delay, but where does that dependency come from? Is it needed? apparently not. According to OpenCV's documentation (http://docs.opencv.org/2.4/doc/tutorials/introduction/linux_install/linux_install.html) there is no such dependency. Check out the libraries linked, and probably one of them has that dependency. Dbus library is linked somehow, the problem is which other library was the one that brought it. Perhaps checking with pkg-config to see which one uses it would help. Of course there's a better hint on your message: 'org.a11y.Bus' I have no idea what library, or program uses that Dbus ID. Using Google I found https://github.com/GNOME/at-spi2-core/blob/master/bus/org.a11y.Bus.service.in which is Gnome... so perhaps the OpenCV released only works with Gnome & X-Windows running. -- R. Berber -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple