From owner-freebsd-x11@FreeBSD.ORG Sun May 13 05:39:58 2012 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29F071065678 for ; Sun, 13 May 2012 05:39:58 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id E08708FC18 for ; Sun, 13 May 2012 05:39:57 +0000 (UTC) Received: by obcni5 with SMTP id ni5so7378122obc.13 for ; Sat, 12 May 2012 22:39:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=4P5ApKhe+VX06oGkhe26Yemml3YyJMVYXp3VzWUh9Bw=; b=uEdhySWWLyXi6Ab1teuJ4xQ9M38s93AqAB1YyrA8tCFNANBgkW4c7eRMRjL40NN4QR jtSeMp83XJpHa24uUnDfZ0F2tgOanwz4+ZbISLp66Mhxvm5OTzouS4fXO0mDm+90VcoD HaFTz8nkdTYt12Gew40+vwM6kYcYFFCSOZ7J6u7x6S1LbQKxEq+vHRn7shEO3ig6ZPBn e1gB81nB1XN92QZUCcF3n/+MiSHNxbGfvoU6pB35XAYzcNgNiTKVJAwFlH20Ef3Q72DC zc4qxDUgBls/ULkaKQf04gz5s5OCWSOWhsSrUOAQfvRtQxZsfW8CfN+Pt1SkmjI2mb+c sQuQ== MIME-Version: 1.0 Received: by 10.60.24.7 with SMTP id q7mr5266340oef.50.1336887597300; Sat, 12 May 2012 22:39:57 -0700 (PDT) Received: by 10.60.9.101 with HTTP; Sat, 12 May 2012 22:39:57 -0700 (PDT) In-Reply-To: References: Date: Sun, 13 May 2012 00:39:57 -0500 Message-ID: From: Brandon Gooch To: Warren Block Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cc: freebsd-x11@freebsd.org Subject: Re: Xorg 7.5.2 segfault when plugging/unplugging AC adapter X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 May 2012 05:39:58 -0000 On Sat, Apr 28, 2012 at 10:59 AM, Brandon Gooch wrote: > On Sat, Apr 28, 2012 at 7:58 AM, Warren Block wrote: >> On Sat, 28 Apr 2012, Brandon Gooch wrote: >> >>> Also, X seems to freeze up until I move the mouse around a bit, like >>> it's getting hung. >> >> >> See http://www.wonkity.com/~wblock/docs/html/aei.html . > > Of course Warren! Thanks so much! > > I was aware of your page, but had not had reason to read through it > entirely. This is the particular snippet that that characterized what > I was experiencing: > > "Other times, particularly if hald is running, typed characters don=92t > show up on the screen until the mouse is moved, and mouse movement > itself is jerky and doesn=92t react smoothly." > > I added: > > Option "AutoAddDevices" "Off" > > to my ServerLayout section, and that particular problem is solved. > > Unfortunately the segfault is still occurring when plugging/unplugging > the AC adapter. I'll try to dig into this if I can. > > One more thing to add: I can't start up my GLX screensaver, but I'll > start another thread about that: > > $ xlock -mode biof > X Error of failed request: =A0BadWindow (invalid Window parameter) > =A0Major opcode of failed request: =A0137 (NV-GLX) > =A0Minor opcode of failed request: =A04 () > =A0Resource id in failed request: =A00x2000006 > =A0Serial number of failed request: =A0190 > =A0Current serial number in output stream: =A0190 The problem with X.org segfault-ing boiled down to an issue with the X Server calling vfscanf(3) in a funky way, which happened to be fixed by r234836. Also, the issue with NV-GLX has been fixed by some update (maybe the new NVIDIA driver?), so that's cool. I continue to battle with my trackpad, as after exiting X the new synaptic driver doesn't seem to let go of /dev/psm0 -- I'll start a new thread for that after further diagnosis.