From owner-freebsd-ports@FreeBSD.ORG Sat May 8 10:16:55 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AC97F106566B for ; Sat, 8 May 2010 10:16:55 +0000 (UTC) (envelope-from tingox@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3311B8FC1F for ; Sat, 8 May 2010 10:16:54 +0000 (UTC) Received: by fxm15 with SMTP id 15so1489882fxm.13 for ; Sat, 08 May 2010 03:16:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=l5W3qIZbXlZp3m78wvSitCVhBOu1Me9scRWp0IW2+cY=; b=LyM2mkqNdBGgABCTda+oALEuo3ScNv5wG9kWY/0K+lBTYHcGpJQN/1w8VmrUyeJ+Tm 7J4v72wBeUP8JC9M6u0yFQXn2QeYw0d/Oa4hZO843B+hujmjX0MeFfTqUFYEwNzTRI5k s8gM4vXlqNCGBCO9UATa0oWuSAKzvtkzQE5iU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=giOotTDqnvTikcGV/9zFtGfV58mA7/HNTyIgr/8STkWvBoIFzWPADZeSbH8X2+0gTw i+nHK/BcJXGJ5wdmc+mrJ2pHQXZWpbNXb54FRfRFeaMD1o6vhwzX99AK0j9OGlwEYxf0 0NdBolJoprqKYQQkbDqT9rZalv1N/2lWleNV8= MIME-Version: 1.0 Received: by 10.223.144.77 with SMTP id y13mr1243662fau.86.1273313803553; Sat, 08 May 2010 03:16:43 -0700 (PDT) Received: by 10.223.117.204 with HTTP; Sat, 8 May 2010 03:16:43 -0700 (PDT) In-Reply-To: <4BE45F07.4010004@wintek.com> References: <4BE16B50.5040904@wintek.com> <4BE1779C.4060003@gmail.com> <4BE45F07.4010004@wintek.com> Date: Sat, 8 May 2010 12:16:43 +0200 Message-ID: From: Torfinn Ingolfsen To: ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Status of Xorg 7.5 and xfce4? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 May 2010 10:16:55 -0000 Hi, On Fri, May 7, 2010 at 8:42 PM, Richard Kuhns wrote: > On 05/05/10 13:07, Warren Block wrote: > >> On Wed, 5 May 2010, Ondrej Majerech wrote: >> >> After a reboot, and not having attempted to start X or xfce... >> mkdir ~/backup >> mv ~/.config ~/backup >> startxfce4 (or startx if .xinitrc starts xfce4) >> xfce starts with defaults. >> Click "quit" button in panel, or right-click desktop, >> Applications/Log Out. >> Click "Log Out". >> rm -rf ~/.config (this is the new copy just created by xfce). >> mv ~/backup/.config ~ >> >> After that, xfce starts every time. Or at least every time I've >> tried--20 times in a row on one system. And it's worked on two systems. >> >> Now why it worked... >> > I tried that - it didn't work for me. I'll make it even more interesting now. > > I tried this with no joy. However, when I moved my original .config back in > place and tried again I actually saw my desktop for approximately 1 second > before the crash-n-burn. That made me think there was possibly a timing > problem (what did I have to lose?). I copied the default xinitrc > (/usr/local/etc/xdg/xfce4/xinitrc) to ~/.config/xfce4 and added a 'sleep 5' > immediately before the attempt to execute xfce4-session: > > --- /usr/local/etc/xdg/xfce4/xinitrc 2010-04-30 10:09:28.000000000 -0400 > +++ /home/rjk/.config/xfce4/xinitrc 2010-05-07 10:35:38.000000000 -0400 > @@ -131,6 +131,7 @@ > x|xno*) > ;; > *) > + sleep 5 > $xfcesm > > if test $kill_sshagent -eq 1; then > > This seems to have fixed it; my desktop is back to normal. I'm at 4 for 4, > at any rate. > I tried this too, it didn't work for me. My system: root@kg-v7# uname -a FreeBSD kg-v7.kg4.no 8.0-STABLE FreeBSD 8.0-STABLE #1: Fri Mar 12 19:56:45 CET 2010 root@kg-v7.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 root@kg-v7# sysctl hw.model hw.model: Intel(R) Core(TM) i3 CPU 540 @ 3.07GHz root@kg-v7# pciconf -lv | grep -A 3 vga vgapci0@pci0:0:2:0: class=0x030000 card=0x83831043 chip=0x00428086 rev=0x12 hdr=0x00 vendor = 'Intel Corporation' class = display subclass = VGA and using the 'vesa' driver in xorg.conf (the 'intel' driver doesn't work with the integrated GPU in this i3 Core cpu). When I try to use the intel driver, I get these error lines in /var/log/Xorg.0.log: (EE) intel(0): [drm] Failed to open DRM device for pci:0000:00:02.0: File exists (EE) intel(0): Failed to become DRM master. (EE) intel(0): No valid modes. startx work fine for both normal and root user, startxfce4 does not. If I deinstall xfce4-session, startxcfe4 works again (both as normal and root user) HTH -- Regards, Torfinn