From owner-freebsd-questions@FreeBSD.ORG Fri Aug 21 05:51:07 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7662106568B for ; Fri, 21 Aug 2009 05:51:07 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id 44FF28FC65 for ; Fri, 21 Aug 2009 05:51:07 +0000 (UTC) Received: by bwz2 with SMTP id 2so280772bwz.43 for ; Thu, 20 Aug 2009 22:51:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=MDFREXzq8kYA4pw7jAum3n6+DM4aR7++sxJsWWKiI1M=; b=JoRRPG0WcIBIopqHzh2yFuj216IAk6unXsB2IS0SoR9rnqXpObk7S+h//LgHd/Z3un NF7/Bt4q+kAk0EKEAOsTNMBSHhYcQK/sQc/aFKKvLq4JOHFlmVMaZQnnzF9jLF3CQrE7 a6uzy6SqMH9yS9TMAVUljKXu2yWJBOK/WS4M8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=Izrhu8bkuUTdrqj1aLPNJ8gHG01DWNYsE9g2GQCDxaS51QwtwlMNi3/rY0hV+s5hrx jsQIGe76GC7p6nvpVfC8/fUINt8sYz9F3oB1eNxfmyH+D5lW82pJVsYNqdcLP7d9JAC4 UvgK6J630n11K9xu4wcD7RL76C9qc+loS2s20= MIME-Version: 1.0 Received: by 10.223.54.152 with SMTP id q24mr138025fag.19.1250833866086; Thu, 20 Aug 2009 22:51:06 -0700 (PDT) Date: Fri, 21 Aug 2009 01:51:06 -0400 Message-ID: <4ad871310908202251m581f1568t5055b00146249e32@mail.gmail.com> From: Glen Barber To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Xorg - Console Flashes when Exiting X 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: Fri, 21 Aug 2009 05:51:07 -0000 Hi, list I'm trying to isolate a bug relating to exiting X and console drivers. Before I begin, I have to mention that this undesired behavior is not specific to FreeBSD -- I've experienced this with OpenSolaris and (K)(X)ubuntu on the machine in question, which is where I am beginning to really hit a wall. A short synopsis of the problem is: "anything that tries to query / manipulate Xorg causes the console to flash when exiting X, as if the console refresh rate or resolution was drastically incorrect." The laptop [1] I recently purchased has a 16" screen at 1366x768 resolution. (dmesg output listing the graphics information is below.) I do not use gdm, xdm, or kdm, so I 'startx' to get x11-wm/fluxbox running. My $HOME/.xinitrc is minimal, using xset to disable the xterm bell, and starting sysutils/conky. The only common factor between the three OSes I've seen this behavior is xscreensaver or xrandr. After thinking it was specific to xscreensaver, I disabled it, and wanted to check the refresh rate - which is how I found xrandr causes it as well. Any thoughts on how to isolate the cause of this would be appreciated, because the flickering and flashing experienced is most probably bad for the LCD. Thanks in advance. %dmesg | grep vga vgapci0: port 0x5110-0x5117 mem 0xd0000000-0xd03fffff,0xc0000000-0xcfffffff irq 16 at device 2.0 on pci0 agp0: on vgapci0 vgapci1: mem 0xd3500000-0xd35fffff at device 2.1 on pci0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 drm0: on vgapci0 vgapci0: child drm0 requested pci_enable_busmaster [1] - http://laptops.toshiba.com/laptops/satellite/L500/L505-S6946 -- Glen Barber