From owner-freebsd-questions@FreeBSD.ORG Mon Apr 20 03:45:38 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 198751065676 for ; Mon, 20 Apr 2009 03:45:38 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 428AD8FC1F for ; Mon, 20 Apr 2009 03:45:37 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id n3K3jYQX060021; Sun, 19 Apr 2009 21:45:34 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id n3K3jYOP060018; Sun, 19 Apr 2009 21:45:34 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 19 Apr 2009 21:45:34 -0600 (MDT) From: Warren Block To: Polytropon In-Reply-To: <20090420035810.705647ab.freebsd@edvax.de> Message-ID: References: <89ce7f740904182018s5ee0934ew54021bd2e44d207e@mail.gmail.com> <49EACF5B.9090107@otenet.gr> <49EB3CFD.6010408@otenet.gr> <89ce7f740904191438j222d34ddtaf1ade298a09abd1@mail.gmail.com> <49EBBEED.7080903@gmail.com> <20090420035810.705647ab.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; FORMAT=flowed Content-ID: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (wonkity.com [127.0.0.1]); Sun, 19 Apr 2009 21:45:34 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: Problems with Xorg after portupgrade 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, 20 Apr 2009 03:45:38 -0000 On Mon, 20 Apr 2009, Polytropon wrote: > On Sun, 19 Apr 2009 17:16:45 -0700, Charles Oppermann wrote: >> I'm having similar problems after upgrading an older machine to Xorg >> 7.4. The monitor blinks it's power light indicating no signal. > >> While CTRL+ALT+Backspace does not kill the X server, I can press >> CTRL+ALT+F1 or ALT+F1 to return to the text mode console. I then kill >> the X server via CTRL+C. > > There's a new setting that needs to be put into xorg.conf: > > Section "ServerFlags" > Option "DontZap" "false" > EndSection > > Then you should be able to Ctrl+Alt+BkSpace to kill X. Really, it's an old option with a new default. >> Interestingly, if I restart the server (via Xorg, X, startx, etc), the >> screen will switch to graphics mode and briefly show the contents of the >> previous session, and then go blank. I believe I'm seeing the contents >> of the video memory after the mode switch and before the video memory is >> overwritten or erased. > > I've seen such a behaviour before, because X seemed to be unable > to update the screen contents. > >> I believe that Xorg is working fine, but somehow the video card is told >> to blank the screen (maybe via DPMS?) or is otherwise incorrectly >> programmed. Could be that the monitor is not seeing output it likes from the video card and auto-blanking. General notes: First try without an xorg.conf at all. xorg will autoconfig. If it gets it right, or almost right, you can pull the values for xorg.conf out of /var/log/Xorg.0.log. If autoconfig doesn't get things right, still try with a minimal xorg.conf. For instance, all you need in a monitor section is Section "Monitor" Identifier "Monitor0" EndSection Note in Xorg.0.log all the modules that load by default, and realize that you can pretty much leave out the Modules section. Repeating again that you don't need a ServerFlags section, those settings can go in ServerLayout. >> I'll also remove all the .xinitrc, .xsession, left over crud as well. > > You could be fine with a minimal .xinitrc and .xsession, both > chmodded +x. with this content: > > ~/.xinitrc > #!/bin/sh > xset -dpms > xterm & > exec twm > > ~/.xsession > #!/bin/csh > source ~/.cshrc > exec ~/.xinitrc Unnecessary, since /usr/local/lib/X11/xinit/xinitrc will be used if there is no user default. > >> This is a machine using the VESA driver with an older Voodoo Banshee >> AGP card. > > VESA? Isn't there a driver for this card that gets automatically > detected (hahaha) by X .-configure? There's a voodoo driver in ports; no idea if it works with that card. Recent copy of xorg.conf here: http://lists.freebsd.org/pipermail/freebsd-x11/2009-April/008206.html -Warren Block * Rapid City, South Dakota USA