From owner-freebsd-questions@freebsd.org Tue Mar 29 20:53:51 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F106AE29E7 for ; Tue, 29 Mar 2016 20:53:51 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 654561E15 for ; Tue, 29 Mar 2016 20:53:50 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1al0e2-0007B8-RT for freebsd-questions@freebsd.org; Tue, 29 Mar 2016 22:53:47 +0200 Received: from 65.75.36.70 ([65.75.36.70]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Mar 2016 22:53:46 +0200 Received: from gyliamos by 65.75.36.70 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Mar 2016 22:53:46 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Will Parsons Subject: Re: how to downgrade X server Date: Tue, 29 Mar 2016 20:53:39 +0000 (UTC) Lines: 82 Message-ID: References: <56F60B8D.8080900@ShaneWare.Biz> <56F77C30.5090808@ShaneWare.Biz> Reply-To: gyliamos@gmail.com X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 65.75.36.70 User-Agent: slrn/1.0.1 (FreeBSD) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2016 20:53:51 -0000 Warren Block wrote: > On Tue, 29 Mar 2016, Will Parsons wrote: > >> Warren Block wrote: >>> On Mon, 28 Mar 2016, Will Parsons wrote: >>> >>>> I haven't been using one. The Xorg log shows: >>>> ... >>> >>> The fbdev errors are ignorable. Is that the entire log? The Intel >>> HD3000 should work fine. >> >> No - I just started with the first errror messages. I've included the >> entire log below. >> >>> As a start, please describe your hardware. Some notebooks have hybrid >>> graphics like Optimus which are a problem. If that is not present, >>> defining just the device in xorg.conf.d might be all that is needed. >> >> It's a Lenovo Edge E520 laptop - see below for info from dmesg. >> Any help is much appreciated. > > Specs from the web don't indicate any hybrid graphics, which is good > news. The log file does not have any obvious problems. > > Please make sure there are no old xorg.conf files in /etc/X11/ or > /usr/local/etc/X11/. Nothing more should be required, but it would do > no harm to manually set a Device as shown here: > https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html#x-config-video-cards-file-intel I double-checked, but there wasn't. I created the file /usr/local/etc/X11/xorg.conf.d/driver-intel.conf as per the handbook, but without success. One other thing I tried (I don't know why this didn't occur to me before) was to disconnect the external monitor I usually use. But again, I just got a black screen, this time on the built-in display. > Probably also a good idea to use vt(4) in case the black screen is due > to X exiting. In /boot/loader.conf, add > kern.vty=vt I had already added that, but is there any way of verifying it has taken effect? The line "Using syscons driver with X support (version 2.0)" looks suspicious to me. > That only takes effect after a reboot. > > Finally, check the contents of .xinitrc and .xsession for unexpected > things. Neither is required. There is no .xsession and the .xinitrc I've been using is pretty straight-forward: ================================= if [ -f $HOME/.Xmodmap ] then xmodmap $HOME/.Xmodmap fi if [ -f $HOME/.Xresources ] then xrdb -merge $HOME/.Xresources fi if [ -f $HOME/.xbindkeysrc ] then xbindkeys fi exec wmaker ================================= I tried temporarily renaming it, but no change to symptoms. > Test X with just startx. Don't try to use display managers like xdm or > gdm yet. I do that anyway. -- Will