From owner-freebsd-x11@FreeBSD.ORG Tue Feb 17 21:14:53 2009 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 1CD331065674; Tue, 17 Feb 2009 21:14:53 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (mailrelay.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id 8D1068FC18; Tue, 17 Feb 2009 21:14:52 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id 3C0F3199099; Tue, 17 Feb 2009 22:14:51 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 2E185199098; Tue, 17 Feb 2009 22:14:51 +0100 (CET) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 06089199095; Tue, 17 Feb 2009 22:14:51 +0100 (CET) Received: from wep4035 ([132.187.37.35]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.2HF443) with ESMTP id 2009021722145015-80858 ; Tue, 17 Feb 2009 22:14:50 +0100 Received: by wep4035 (sSMTP sendmail emulation); Tue, 17 Feb 2009 22:14:50 +0100 From: "Alexey Shuvaev" Date: Tue, 17 Feb 2009 22:14:50 +0100 To: "Paul B. Mahol" Message-ID: <20090217211450.GA1590@wep4035.physik.uni-wuerzburg.de> References: <20090215212754.GA1627@wep4035.physik.uni-wuerzburg.de> <3a142e750902161442x46292b06qa1a74fff0561543b@mail.gmail.com> MIME-Version: 1.0 In-Reply-To: <3a142e750902161442x46292b06qa1a74fff0561543b@mail.gmail.com> Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.18 (2008-05-17) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.2HF443 | November 25, 2008) at 02/17/2009 10:14:50 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.2HF443 | November 25, 2008) at 02/17/2009 10:14:51 PM, Serialize complete at 02/17/2009 10:14:51 PM Content-Type: multipart/mixed; boundary="BOKacYhQ+x31HxR3" Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: freebsd-x11@freebsd.org Subject: Re: Xorg 7.4 and intel video: blank screen. 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: Tue, 17 Feb 2009 21:14:53 -0000 --BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Feb 16, 2009 at 11:42:32PM +0100, Paul B. Mahol wrote: > On 2/15/09, Alexey Shuvaev wrote: > > Symptoms: the first start of X server is good, even dri is working, > > but on the second start I got black screen and unable to switch back > > to consoles. I can still reach the box with ssh and reboot. > > > > If I disable dri, I can go up to the 3-rd start of X :) > > > Did you disabled both DRI and ACCEL ? > > Option "NoAccel" "1" > Option "DRI" "0" > > I found that disabling only DRI will make strange problems until > software cursor is > enabled .... cursor being drawed incorrectly(945GM). > Ok I have tried this. Somewhat better but not success anyway. The first start is good. The second and all subsequent do not cause any lock, I see the background (root window) slowly drawing and I see partially drawn mouse cursor (movable). I can exit Xserver with Ctrl-Alt- Backspace and safely return to console. Background is drawn much faster than in previous run (with acceleration) but it still takes seconds to cover ~50% of the screen and it is not complete even after minutes. It accelerates if I move mouse or press keys or there is some other daemon activity in the system. > > The second start is 'half-success': I see partially drawn 'X'-cursor > > on the black background (and it continues to be drawn, but sloooooowly) > > and I can move it with the mouse. Then, I can kill the server with > > Ctrl-Alt-Backspace. The third start is black screen with no return too :( > > > > I have tried xf86-video-intel-2.6.1 with almost the same results > > (difference is in logs only). > > > > Other info about the system: > > ~> uname -a > > FreeBSD wep4035 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sat Feb 14 01:29:05 CET > > 2009 root@wep4035:/usr/obj/usr/src/sys/NOUSB amd64 > > > > vgapci0@pci0:0:2:0: class=0x030000 card=0x82761043 chip=0x29c28086 > > rev=0x02 hdr=0x00 > > vendor = 'Intel Corporation' > > device = '(Bearlake) Integrated Graphics Controller' > > class = display > > subclass = VGA > > > > xorg-server-1.5.3_5,1 > > xf86-video-intel-2.5.1 > > > > I'm not using hald as I'm on USB2 :) > > > > Please CC me, I'm not on this list. > > > > And some logs at the end, > > Two diff-s this time, first against running with acceleration and second diff between the first and the second runs without dri and acceleration. > > Alexey. > > > --BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=X0 --- Xorg.0.log.4 2009-02-13 22:54:55.000000000 +0100 +++ Xorg.0.log.noaccel_nodri.0 2009-02-17 21:43:13.000000000 +0100 @@ -3,15 +3,15 @@ Release Date: 5 November 2008 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 8.0-CURRENT amd64 -Current Operating System: FreeBSD 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Thu Feb 12 15:02:39 CET 2009 root@wep4035:/usr/obj/usr/src/sys/NOUSB amd64 -Build Date: 09 February 2009 06:21:05PM +Current Operating System: FreeBSD 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Tue Feb 17 21:32:57 CET 2009 root@wep4035:/usr/obj/usr/src/sys/NOUSB amd64 +Build Date: 15 February 2009 09:26:56PM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. -(==) Log file: "/var/log/Xorg.0.log", Time: Fri Feb 13 22:51:38 2009 +(==) Log file: "/var/log/Xorg.0.log", Time: Tue Feb 17 21:42:28 2009 (==) Using config file: "/etc/X11/xorg.conf" (==) ServerLayout "X.org Configured" (**) |-->Screen "Screen0" (0) @@ -191,11 +191,12 @@ (==) intel(0): Depth 24, (==) framebuffer bpp 32 (==) intel(0): RGB weight 888 (==) intel(0): Default visual is TrueColor +(**) intel(0): Option "NoAccel" "1" +(**) intel(0): Option "DRI" "0" (II) intel(0): Integrated Graphics Chipset: Intel(R) G33 (--) intel(0): Chipset: "G33" (--) intel(0): Linear framebuffer at 0xD0000000 (--) intel(0): IO registers at addr 0xFE980000 -(==) intel(0): Using EXA for acceleration (II) intel(0): 2 display pipes available. (II) Loading sub module "ddc" (II) LoadModule: "ddc" @@ -250,13 +251,6 @@ (II) Module fb: vendor="X.Org Foundation" compiled for 1.5.3, module version = 1.0.0 ABI class: X.Org ANSI C Emulation, version 0.4 -(II) Loading sub module "exa" -(II) LoadModule: "exa" - -(II) Loading /usr/local/lib/xorg/modules//libexa.so -(II) Module exa: vendor="X.Org Foundation" - compiled for 1.5.3, module version = 2.4.0 - ABI class: X.Org Video Driver, version 4.1 (II) Loading sub module "ramdac" (II) LoadModule: "ramdac" (II) Module "ramdac" already built-in @@ -284,34 +278,27 @@ [10] 0 0 0x000003c0 - 0x000003df (0x20) IS[B](OprU) (II) intel(0): Kernel reported 1006592 total, 0 used (II) intel(0): I830CheckAvailableMemory: 4026368 kB available -(EE) intel(0): [dri] I830CheckDRIAvailable failed: dri not loaded (**) intel(0): Framebuffer compression disabled (**) intel(0): Tiling enabled (==) intel(0): VideoRam: 262144 KB (II) intel(0): Attempting memory allocation with tiled buffers. (II) intel(0): Tiled allocation successful. +(--) intel(0): Xv is disabled because it needs 2D accel and AGPGART. (II) intel(0): Page Flipping disabled (II) intel(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000 (==) intel(0): Write-combining range (0xa0000,0x10000) was already clear -(II) EXA(0): Offscreen pixmap area of 41287680 bytes -(II) EXA(0): Driver registered support for the following operations: -(II) Solid -(II) Copy -(II) Composite (RENDER acceleration) +(EE) intel(0): Failed to init memory manager (==) intel(0): Backing store disabled (==) intel(0): Silken mouse enabled (II) intel(0): Initializing HW Cursor (II) intel(0): xf86BindGARTMemory: bind key 1 at 0x01000000 (pgoffset 4096) -(II) intel(0): xf86BindGARTMemory: bind key 2 at 0x02000000 (pgoffset 8192) (II) intel(0): Fixed memory allocation layout: -(II) intel(0): 0x00000000-0x0001ffff: ring buffer (128 kB) -(II) intel(0): 0x00020000-0x00029fff: HW cursors (40 kB) -(II) intel(0): 0x0002a000-0x00031fff: logical 3D context (32 kB) -(II) intel(0): 0x00032000-0x00131fff: fake bufmgr (1024 kB) -(II) intel(0): 0x00132000-0x00132fff: overlay registers (4 kB) +(II) intel(0): 0x00000000-0x00009fff: HW cursors (40 kB) +(II) intel(0): 0x0000a000-0x00011fff: logical 3D context (32 kB) +(II) intel(0): 0x00012000-0x00111fff: fake bufmgr (1024 kB) +(II) intel(0): 0x00112000-0x00112fff: overlay registers (4 kB) (II) intel(0): 0x006ff000: end of stolen memory (II) intel(0): 0x01000000-0x01ffffff: front buffer (13440 kB) X tiled -(II) intel(0): 0x02000000-0x0475ffff: exa offscreen (40320 kB) (II) intel(0): 0x10000000: end of aperture (II) intel(0): Output configuration: (II) intel(0): Pipe A is on @@ -321,9 +308,7 @@ (II) intel(0): Output VGA is connected to pipe A (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message. (II) intel(0): DPMS enabled -(II) intel(0): Set up textured video -(II) intel(0): Set up overlay video -(II) intel(0): direct rendering: Failed +(II) intel(0): direct rendering: Disabled (--) RandR disabled (II) Initializing built-in extension MIT-SHM (II) Initializing built-in extension XInputExtension @@ -374,4 +359,3 @@ (II) UnloadModule: "mouse" (II) UnloadModule: "kbd" (II) intel(0): xf86UnbindGARTMemory: unbind key 1 -(II) intel(0): xf86UnbindGARTMemory: unbind key 2 --BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=X1 --- Xorg.0.log.noaccel_nodri.0 2009-02-17 21:43:13.000000000 +0100 +++ Xorg.0.log.noaccel_nodri.1 2009-02-17 21:45:18.000000000 +0100 @@ -11,7 +11,7 @@ Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. -(==) Log file: "/var/log/Xorg.0.log", Time: Tue Feb 17 21:42:28 2009 +(==) Log file: "/var/log/Xorg.0.log", Time: Tue Feb 17 21:43:34 2009 (==) Using config file: "/etc/X11/xorg.conf" (==) ServerLayout "X.org Configured" (**) |-->Screen "Screen0" (0) @@ -255,13 +255,6 @@ (II) LoadModule: "ramdac" (II) Module "ramdac" already built-in (II) intel(0): Comparing regs from server start up to After PreInit -(WW) intel(0): Register 0x61114 (PORT_HOTPLUG_STAT) changed from 0x00000000 to 0x00000b00 -(WW) intel(0): Register 0x70024 (PIPEASTAT) changed from 0x80000203 to 0x00000000 -(WW) intel(0): PIPEASTAT before: status: FIFO_UNDERRUN VSYNC_INT_STATUS VBLANK_INT_STATUS OREG_UPDATE_STATUS -(WW) intel(0): PIPEASTAT after: status: -(WW) intel(0): Register 0x71024 (PIPEBSTAT) changed from 0x00000202 to 0x00000000 -(WW) intel(0): PIPEBSTAT before: status: VSYNC_INT_STATUS VBLANK_INT_STATUS -(WW) intel(0): PIPEBSTAT after: status: (==) Depth 24 pixmap format is 32 bpp (II) do I need RAC? No, I don't. (II) resource ranges after preInit: @@ -291,7 +284,7 @@ (==) intel(0): Backing store disabled (==) intel(0): Silken mouse enabled (II) intel(0): Initializing HW Cursor -(II) intel(0): xf86BindGARTMemory: bind key 1 at 0x01000000 (pgoffset 4096) +(II) intel(0): xf86BindGARTMemory: bind key 2 at 0x01000000 (pgoffset 4096) (II) intel(0): Fixed memory allocation layout: (II) intel(0): 0x00000000-0x00009fff: HW cursors (40 kB) (II) intel(0): 0x0000a000-0x00011fff: logical 3D context (32 kB) @@ -356,6 +349,7 @@ (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD) (II) Mouse0: SetupAuto: hw.iftype is 4, hw.model is 0 (II) Mouse0: SetupAuto: protocol is SysMouse +(II) 3rd Button detected: disabling emulate3Button (II) UnloadModule: "mouse" (II) UnloadModule: "kbd" -(II) intel(0): xf86UnbindGARTMemory: unbind key 1 +(II) intel(0): xf86UnbindGARTMemory: unbind key 2 --BOKacYhQ+x31HxR3--