From owner-freebsd-current@FreeBSD.ORG Fri Feb 8 15:39:22 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 927021A4 for ; Fri, 8 Feb 2013 15:39:22 +0000 (UTC) (envelope-from mueller23@insightbb.com) Received: from mail.insightbb.com (smtp2.insight.synacor.com [208.47.185.24]) by mx1.freebsd.org (Postfix) with ESMTP id 49821D5D for ; Fri, 8 Feb 2013 15:39:22 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=2.0 cv=UL9f7Vjy c=1 sm=0 a=Dm9TOXL4taQ+Gy1KovpL+A==:17 a=106E8bdoDFEA:10 a=jLN7EqiLvroA:10 a=9YQ-1ebCAAAA:8 a=iF0c6FqsOP4A:10 a=pGLkceISAAAA:8 a=aR16PxjQAAAA:8 a=CbMXbFppAAAA:8 a=N37U3Ecr9_CdszznGK4A:9 a=TRaWWqdqQ4oA:10 a=CiSHi91Bn78A:10 a=MSl-tDqOz04A:10 a=aWTTYslQkP0A:10 a=Dm9TOXL4taQ+Gy1KovpL+A==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp02.insight.synacor.com header.from=mueller23@insightbb.com; sender-id=softfail Authentication-Results: smtp02.insight.synacor.com smtp.mail=mueller23@insightbb.com; spf=softfail; sender-id=softfail Received-SPF: softfail (smtp02.insight.synacor.com: transitional domain insightbb.com does not designate 74.130.198.7 as permitted sender) Received: from [74.130.198.7] ([74.130.198.7:55342] helo=localhost) by mail.insightbb.com (envelope-from ) (ecelerity 2.2.3.49 r(42060/42061)) with ESMTP id 4A/4F-09449-72C15115; Fri, 08 Feb 2013 10:39:20 -0500 Date: Fri, 08 Feb 2013 10:39:19 -0500 Message-ID: <4A.4F.09449.72C15115@smtp02.insight.synacor.com> From: "Thomas Mueller" To: freebsd-ports@freebsd.org Subject: Re: Xorg totally unusable with KMS and new Xorg on Sandy Bridge system: how to undo X-Mailman-Approved-At: Fri, 08 Feb 2013 16:34:08 +0000 Cc: Andrey Fesenko , freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Feb 2013 15:39:22 -0000 Thomas Mueller writes: > I built the newer Xorg and it falls flat: goes to a nongraphic > screen that is blank except for a rectangular cursor in the upper > left corner, and now I want to get back to the earlier Xorg. > > System is Intel Sandy Bridge with i7 CPU. Robert Huff responds: > You don't mention your graphics chip explicitly, but building > libdrm with the KMS option was enough to prevent X from starting on > a Radeon HD 3300. ("Experimental", indeed! :-) > Other will be able to help more if you could post the contents > of "/var/log/Xorg.0.log" and your xorg.conf file. My /var/log/Xorg.0.log has 0 bytes! To Andrey Fesenko : Were you able to start X with # cat /etc/make.conf WITH_NEW_XORG=true WITH_KMS=true X.Org X Server 1.10.6 Release Date: 2012-02-10 intel(0): Integrated Graphics Chipset: Intel(R) Sandybridge Mobile (GT2+) (end of quote from Andrey Fesenko) Xorg -configure (by root) produced an error message, failed but left a file Xorg.conf.new Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 Screen 1 "Screen1" RightOf "Screen0" Screen 2 "Screen2" RightOf "Screen1" InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/OTF/" FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/75dpi/" EndSection Section "Module" Load "extmod" Load "record" Load "dbe" Load "dri" Load "dri2" Load "glx" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "Monitor" Identifier "Monitor1" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "Monitor" Identifier "Monitor2" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz", ### : "%" ### [arg]: arg optional #Option "DRI" # [] #Option "ColorKey" # #Option "VideoKey" # #Option "FallbackDebug" # [] #Option "Tiling" # [] #Option "LinearFramebuffer" # [] #Option "Shadow" # [] #Option "SwapbuffersWait" # [] #Option "TripleBuffer" # [] #Option "XvMC" # [] #Option "XvPreferOverlay" # [] #Option "DebugFlushBatches" # [] #Option "DebugFlushCaches" # [] #Option "DebugWait" # [] #Option "HotPlug" # [] #Option "RelaxedFencing" # [] Identifier "Card0" Driver "intel" BusID "PCI:0:2:0" EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz", ### : "%" ### [arg]: arg optional #Option "ShadowFB" # [] #Option "Rotate" # #Option "fbdev" # #Option "debug" # [] Identifier "Card1" Driver "fbdev" BusID "PCI:0:2:0" EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz", ### : "%" ### [arg]: arg optional #Option "ShadowFB" # [] #Option "DefaultRefresh" # [] #Option "ModeSetClearScreen" # [] Identifier "Card2" Driver "vesa" BusID "PCI:0:2:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection Section "Screen" Identifier "Screen1" Device "Card1" Monitor "Monitor1" SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection Section "Screen" Identifier "Screen2" Device "Card2" Monitor "Monitor2" SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection Tom