Xorg 7.4 and intel video: blank screen.

Alexey Shuvaev shuvaev at physik.uni-wuerzburg.de
Tue Feb 17 13:14:53 PST 2009


On Mon, Feb 16, 2009 at 11:42:32PM +0100, Paul B. Mahol wrote:
> On 2/15/09, Alexey Shuvaev <shuvaev at physik.uni-wuerzburg.de> 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 at wep4035:/usr/obj/usr/src/sys/NOUSB  amd64
> >
> > vgapci0 at 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.
> >
> 
-------------- next part --------------
--- 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 at 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 at 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
-------------- next part --------------
--- 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


More information about the freebsd-x11 mailing list