From owner-freebsd-questions@FreeBSD.ORG Mon Sep 28 15:32:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77CA8106566C for ; Mon, 28 Sep 2009 15:32:34 +0000 (UTC) (envelope-from kron24@gmail.com) Received: from mail-bw0-f227.google.com (mail-bw0-f227.google.com [209.85.218.227]) by mx1.freebsd.org (Postfix) with ESMTP id EB5D78FC22 for ; Mon, 28 Sep 2009 15:32:33 +0000 (UTC) Received: by bwz27 with SMTP id 27so3250587bwz.43 for ; Mon, 28 Sep 2009 08:32:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=VCDCl/hTv+8OOUwoScyu98kKNWuTn9DdtrE9IhVI+OA=; b=rVZ/OYpm1sgzkQEJUwNrDa4BfUvjKc6Be9/avTVkl5w5AgFvPhQjR7R1zPb2d/Mv68 MMvCzDKqQpXajJSZsSQ8wuf8bCH9aE60zF+8Atpcz8gFLWzguTa8YaaAE/Vko7cubCzU Opl6T7aOMRfSeVjlG1Aw2tFqyXQntiapt3FiY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=VyjJqUqiEaqs8L/+fHqVrRwVawbuF0jTTMbGOBq+G+eSrtTybcTQhkhzQ7UAwJeIzb oGSZEOZ8jTA0Q87tpAStKEQK4b//W/dqvE8qhvFhEQ414jV7nK8mVku4Jl4E7EPAWh3J GaOEwFrS8trbMa2QiVNM5BwYwyul/ZKSb6fUM= Received: by 10.204.13.204 with SMTP id d12mr3082357bka.61.1254151952585; Mon, 28 Sep 2009 08:32:32 -0700 (PDT) Received: from ?192.168.241.102? (uidzr185150.sattnet.cz [212.96.185.150]) by mx.google.com with ESMTPS id 1sm4737071fkt.41.2009.09.28.08.32.30 (version=SSLv3 cipher=RC4-MD5); Mon, 28 Sep 2009 08:32:31 -0700 (PDT) Message-ID: <4AC0D70E.5070604@gmail.com> Date: Mon, 28 Sep 2009 17:32:30 +0200 From: kron24 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Thunderbird/3.0b3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20090925123222.GA1176@itcom245.staff.itd.umich.edu> <4ABCC2AE.4060205@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: dbus/hal in freebsd 7.2 hangs X11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2009 15:32:34 -0000 Dne 25.9.2009 19:55, Warren Block napsal(a): > On Fri, 25 Sep 2009, kron24 wrote: >> Dne 25.9.2009 14:32, William Bulley napsal(a): >>> According to Giuseppe Pagnoni on Fri, 09/25/09 at >>> 03:32: >>> >>>> I am trying to use hal/dbus on a i386 machine with FreeBSD 7.2 (ports >>>> updated to the latest tree snapshot as of yesterday), but despite >>>> spending a full day looking up the handbook, faq, and google, I cannot >>>> make it work properly. More specifically, when I use either xfce4 or >>>> xmonad after having enabled dbus/hald in rc.conf: >>>> >>>> hald_enable="YES" >>>> dbus_enable="YES" >>>> >>>> both window managers become very unresponsive and hang as if hal was >>>> trying to access/mount something. For example, the terminal may take >>>> *seconds* to display typed in characters and in xfce if you click on >>>> the desktop icons for home directory etc., they don't open up at all >>>> in the thunar file manager (they do though, if you right click on them >>>> and choose 'open'). > > [edit] > >> The same problem on my test machine: >> FreeBSD 8.0-RC1 >> xfce-4.6.1 >> xorg-7.4_2 >> I usually run it without dbus+hal and it works fine. >> With dbus+hal enabled (just for the sake of test) >> I experienced the same hangs. > > It works here. Can we see your xorg.conf? When you built xorg-server, > did you enable hal support? > > -Warren Block * Rapid City, South Dakota USA Yes, built with default options (including HAL). My xorg.conf is below. The machine is too weak to run my desktop, I use it only to test things: CPU: VIA Samuel 2 (532.64-MHz 686-class CPU) graphics: vendor = 'Trident Microsystems' device = 'Via Tech VT8361/VT8601 Graphics Controller (VT8361)' I don't mind the hangs with dbus+hal - I don't use them, I enabled them just to test OP's problem. Purely and simply, it is much less responsive with dbus+hal. It often takes seconds to see what I typed in a terminal emulator. Maybe the box is just underpowered for dbus+hal, I can live with that :-) BR, Oli Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" Option "AllowEmptyInput" "off" EndSection Section "Files" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/OTF" FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/75dpi/" FontPath "/usr/local/lib/X11/fonts/urwfonts-ttf/" FontPath "/usr/local/lib/X11/fonts/dejavu/" FontPath "/usr/local/lib/X11/fonts/gentium/" FontPath "/usr/local/lib/X11/fonts/webfonts/" EndSection Section "Module" Load "extmod" Load "record" Load "dbe" Load "glx" Load "xtrap" Load "dri" Load "freetype" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbLayout" "us,cz" Option "XkbModel" "pc105" Option "XkbOptions" "grp:switch,grp:alt_shift_toggle" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "Device" Identifier "Card0" Driver "trident" VendorName "Trident Microsystems" BoardName "CyberBlade/i1" BusID "PCI:1:0:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" EndSection