Bug 16823 - [GM965] xf86-video-intel-2.4.0 flash and noise
Summary: [GM965] xf86-video-intel-2.4.0 flash and noise
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: Other Linux (All)
: highest blocker
Assignee: Wang Zhenyu
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-23 16:00 UTC by Evgeniy Manachkin
Modified: 2008-08-13 20:15 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Crash Log (44.05 KB, text/plain)
2008-08-13 20:09 UTC, Chris Salch
no flags Details

Description Evgeniy Manachkin 2008-07-23 16:00:26 UTC
In 2.4.0 drivers release on intel X3100 video.

On start Xorg in display only flashing and noise. $(

Log xorg on start:

[root@sfbook log]# cat Xorg.0.log-2.4 | grep intel
(II) LoadModule: "intel"
(II) Loading /usr/lib/xorg/modules/drivers//intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
(II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
(WW) intel: No matching Device section for instance (BusID PCI:0:2:1) found
(**) intel(0): Depth 24, (--) framebuffer bpp 32
(==) intel(0): RGB weight 888
(==) intel(0): Default visual is TrueColor
(**) intel(0): Option "AccelMethod" "XAA"
(WW) intel(0): Option "CacheLines" requires an integer value
(**) intel(0): Option "DRI" "true"
(**) intel(0): Option "PageFlip" "true"
(**) intel(0): Option "TripleBuffer" "true"
(**) intel(0): Option "ForceEnablePipeA" "true"
(II) intel(0): Integrated Graphics Chipset: Intel(R) 965GM
(--) intel(0): Chipset: "965GM"
(--) intel(0): Linear framebuffer at 0xD0000000
(--) intel(0): IO registers at addr 0xFEB00000
(II) intel(0): 2 display pipes available.
(**) intel(0): Using XAA for acceleration
(II) intel(0): Output VGA using monitor section BNQ
(**) intel(0): Option "PreferredMode" "1440x900"
(**) intel(0): Option "Enable" "false"
(II) intel(0): I2C bus "CRTDDC_A" initialized.
(II) intel(0): Output LVDS using monitor section AUO
(**) intel(0): Option "PreferredMode" "1280x800"
(**) intel(0): Option "Enable" "true"
(II) intel(0): I2C bus "LVDSDDC_C" initialized.
(II) intel(0): Attempting to determine panel fixed mode.
(**) intel(0): Option "ddc" "1"
(II) intel(0): I2C device "LVDSDDC_C:ddc2" registered at address 0xA0.
(II) intel(0): EDID vendor "AUO", prod id 33140
(II) intel(0): initializing int10
(WW) intel(0): Bad V_BIOS checksum
(II) intel(0): Primary V_BIOS segment is: 0xc000
(II) intel(0): VESA BIOS detected
(II) intel(0): VESA VBE Version 3.0
(II) intel(0): VESA VBE Total Mem: 7616 kB
(II) intel(0): VESA VBE OEM: Intel(r)GM965/PM965/GL960 Graphics Chip Accelerated VGA BIOS
(II) intel(0): VESA VBE OEM Software Rev: 1.0
(II) intel(0): VESA VBE OEM Vendor: Intel Corporation
(II) intel(0): VESA VBE OEM Product: Intel(r)GM965/PM965/GL960 Graphics Controller
(II) intel(0): VESA VBE OEM Product Rev: Hardware Version 0.0
(II) intel(0): initializing int10
(WW) intel(0): Bad V_BIOS checksum
(II) intel(0): Primary V_BIOS segment is: 0xc000
(II) intel(0): VESA BIOS detected
(II) intel(0): VESA VBE Version 3.0
(II) intel(0): VESA VBE Total Mem: 7616 kB
(II) intel(0): VESA VBE OEM: Intel(r)GM965/PM965/GL960 Graphics Chip Accelerated VGA BIOS
(II) intel(0): VESA VBE OEM Software Rev: 1.0
(II) intel(0): VESA VBE OEM Vendor: Intel Corporation
(II) intel(0): VESA VBE OEM Product: Intel(r)GM965/PM965/GL960 Graphics Controller
(II) intel(0): VESA VBE OEM Product Rev: Hardware Version 0.0
(II) intel(0): found backlight control method /sys/class/backlight/asus-laptop
(II) intel(0): initializing int10
(WW) intel(0): Bad V_BIOS checksum
(II) intel(0): Primary V_BIOS segment is: 0xc000
(II) intel(0): VESA BIOS detected
(II) intel(0): VESA VBE Version 3.0
(II) intel(0): VESA VBE Total Mem: 7616 kB
(II) intel(0): VESA VBE OEM: Intel(r)GM965/PM965/GL960 Graphics Chip Accelerated VGA BIOS
(II) intel(0): VESA VBE OEM Software Rev: 1.0
(II) intel(0): VESA VBE OEM Vendor: Intel Corporation
(II) intel(0): VESA VBE OEM Product: Intel(r)GM965/PM965/GL960 Graphics Controller
(II) intel(0): VESA VBE OEM Product Rev: Hardware Version 0.0
(**) intel(0): Option "ddc" "1"
(II) intel(0): EDID vendor "AUO", prod id 33140
(II) intel(0): Output VGA disconnected
(II) intel(0): Output LVDS enabled by config file
(II) intel(0): Output LVDS using initial mode 1280x800
(II) intel(0): Monitoring connected displays enabled
(II) intel(0): detected 512 kB GTT.
(II) intel(0): detected 7676 kB stolen memory.
(==) intel(0): video overlay key set to 0x101fe
(**) intel(0): Will try to enable page flipping
(**) intel(0): Triple buffering enabled
(==) intel(0): Intel XvMC decoder disabled
(==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
(**) intel(0): Display dimensions: (325, 203) mm
(**) intel(0): DPI set to (100, 100)
(II) intel(0): Comparing regs from server start up to After PreInit
(WW) intel(0): Register 0x61200 (PP_STATUS) changed from 0xc0000008 to 0xd0000009
(WW) intel(0): PP_STATUS before: on, ready, sequencing idle
(WW) intel(0): PP_STATUS after: on, ready, sequencing on
(WW) intel(0): Register 0x70024 (PIPEASTAT) changed from 0x80000207 to 0x00000000
(WW) intel(0): PIPEASTAT before: status: FIFO_UNDERRUN VSYNC_INT_STATUS SVBLANK_INT_STATUS VBLANK_INT_STATUS OREG_UPDATE_STATUS
(WW) intel(0): PIPEASTAT after: status:
(II) intel(0): Kernel reported 489216 total, 1 used
(II) intel(0): I830CheckAvailableMemory: 1956860 kB available
(II) intel(0): [drm] Using the DRM lock SAREA also for drawables.
(II) intel(0): [drm] framebuffer mapped by ddx driver
(II) intel(0): [drm] added 1 reserved context for kernel
(II) intel(0): X context handle = 0x1
(II) intel(0): [drm] installed DRM signal handler
(WW) intel(0): DRM version 1.9 or newer required for Page flipping. Disabling.
(**) 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): Allocating 2400 scanlines for pixmap cache
(II) intel(0): Tiled allocation successful.
(II) intel(0): [drm] Registers = 0xfeb00000
(II) intel(0): [drm] ring buffer = 0xd0000000
(II) intel(0): [drm] mapped front buffer at 0xd0050000, handle = 0xd0050000
(II) intel(0): [drm] mapped back buffer at 0xd1258000, handle = 0xd1258000
(II) intel(0): [drm] mapped third buffer at 0xd1640000, handle = 0xd1640000
(II) intel(0): [drm] mapped depth buffer at 0xd1a28000, handle = 0xd1a28000
(II) intel(0): [drm] mapped classic textures at 0xd1e10000, handle = 0xd1e10000
(II) intel(0): [drm] Initialized kernel agp heap manager, 33554432
(II) intel(0): [dri] visual configs initialized
(II) intel(0): Page Flipping disabled
(==) intel(0): Write-combining range (0xd0000000,0x10000000)
(II) intel(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(**) intel(0): Option "XaaNoOffscreenPixmaps" "1"
(II) intel(0): Using XFree86 Acceleration Architecture (XAA)
(==) intel(0): Backing store disabled
(==) intel(0): Silken mouse enabled
(II) intel(0): Initializing HW Cursor
(II) intel(0): [DRI] installation complete
(II) intel(0): xf86BindGARTMemory: bind key 0 at 0x0077f000 (pgoffset 1919)
(II) intel(0): xf86BindGARTMemory: bind key 1 at 0x01248000 (pgoffset 4680)
(II) intel(0): xf86BindGARTMemory: bind key 2 at 0x01258000 (pgoffset 4696)
(II) intel(0): xf86BindGARTMemory: bind key 3 at 0x01640000 (pgoffset 5696)
(II) intel(0): xf86BindGARTMemory: bind key 4 at 0x01a28000 (pgoffset 6696)
(II) intel(0): xf86BindGARTMemory: bind key 5 at 0x01e10000 (pgoffset 7696)
(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-0x00043fff: exa G965 state buffer (72 kB)
(II) intel(0): 0x00044000-0x00044fff: overlay registers (4 kB)
(II) intel(0): 0x00045000-0x00045fff: power context (4 kB)
(II) intel(0): 0x00050000-0x01247fff: front buffer (18400 kB)
(II) intel(0): 0x0077f000:            end of stolen memory
(II) intel(0): 0x01248000-0x01257fff: xaa scratch (64 kB)
(II) intel(0): 0x01258000-0x0163ffff: back buffer (4000 kB) X tiled
(II) intel(0): 0x01640000-0x01a27fff: third buffer (4000 kB) X tiled
(II) intel(0): 0x01a28000-0x01e0ffff: depth buffer (4000 kB) Y tiled
(II) intel(0): 0x01e10000-0x03e0ffff: classic textures (32768 kB)
(II) intel(0): 0x10000000:            end of aperture
(II) intel(0): using SSC reference clock of 96 MHz
(II) intel(0): Selecting standard 18 bit TMDS pixel format.
(II) intel(0): Output configuration:
(II) intel(0):   Pipe A is off
(II) intel(0):   Display plane A is now enabled and connected to pipe A.
(WW) intel(0):   Hardware claims pipe A is on while software believes it is off
(WW) intel(0):   Hardware claims plane A is on while software believes it is off
(II) intel(0):   Pipe B is on
(II) intel(0):   Display plane B is now enabled and connected to pipe B.
(II) intel(0):   Output VGA is connected to pipe none
(II) intel(0):   Output LVDS is connected to pipe B
(II) intel(0): [drm] dma control initialized, using IRQ 16
(II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(II) intel(0): using SSC reference clock of 96 MHz
(II) intel(0): Selecting standard 18 bit TMDS pixel format.
(**) intel(0): DPMS enabled
(II) intel(0): Set up textured video
(II) intel(0): Set up overlay video
(II) intel(0): direct rendering: Enabled
(WW) intel(0): Option "VBERestore" is not used
(WW) intel(0): Option "DPI" is not used
(WW) intel(0): Option "monitor-TV" is not used
(WW) intel(0): Option "PreferredMode" is not used
(WW) intel(0): Option "Enable" is not used
(II) intel(0): Setting screen physical size to 325 x 203
(EE) intel(0): underrun on pipe B!
(EE) intel(0): underrun on pipe B!
(EE) intel(0): underrun on pipe B!
(EE) intel(0): underrun on pipe B!
(EE) intel(0): underrun on pipe B!
(EE) intel(0): underrun on pipe B!
<skip more>
(EE) intel(0): underrun on pipe B!
(EE) intel(0): underrun on pipe B!
(EE) intel(0): underrun on pipe B!
(II) intel(0): xf86UnbindGARTMemory: unbind key 0
(II) intel(0): xf86UnbindGARTMemory: unbind key 1
(II) intel(0): xf86UnbindGARTMemory: unbind key 2
(II) intel(0): xf86UnbindGARTMemory: unbind key 3
(II) intel(0): xf86UnbindGARTMemory: unbind key 4
(II) intel(0): xf86UnbindGARTMemory: unbind key 5
Comment 1 Evgeniy Manachkin 2008-07-23 17:09:48 UTC
 Doing Ctrl-Alt-F1 and Ctrl-Alt-F7 a few times returns the screen to 
a functional state.
Comment 2 Evgeniy Manachkin 2008-07-23 17:14:24 UTC
CRT+ALT+BACKSPACE resume BUG. $(

At run xrandr display one second flash.
Comment 3 Evgeniy Manachkin 2008-07-24 07:06:06 UTC
After start xorg with the new driver the image flashes. Through "dust" on the screen parts of windows are visible. The effect is very similar to absence of vertical synchronization at CRT the monitor. Parts of the image randomly move on the screen.

Switching in the console solves a problem before restart xorg.
Comment 4 Gordon Jin 2008-07-24 20:35:48 UTC
Does this ever work fine in the previous version? If so, which version?
Do you use external monitor?

XAA has been obsolete. Please use the default setting EXA. 
Please remove those options under driver section in xorg.conf: XAA, pageflip, triplebuffer... and retest.

Please attach the new xorg.conf and Xorg.0.log.

Next time when you report bug, better follow http://www.intellinuxgraphics.org/how_to_report_bug.html. Thanks.
Comment 5 Evgeniy Manachkin 2008-07-24 20:41:36 UTC
>Does this ever work fine in the previous version? 

Version 2.3.2 work fine.

>Do you use external monitor?

No. Only LVDS

>XAA has been obsolete. Please use the default setting EXA. 

EXA works very slowly. Switching in EXA also does not eliminate a mistake 16823.


>Please remove those options under driver section in xorg.conf: XAA, pageflip, triplebuffer... and retest.
>Please attach the new xorg.conf and Xorg.0.log.

Ok. But hardly later.
Comment 6 Gordon Jin 2008-07-24 23:15:32 UTC
Though the new log is not ready yet, I'd call for Zhenyu and Jesse to take a look at this, as this seems to be a regression, also there're many underrun error.
Comment 7 Jesse Barnes 2008-07-25 09:42:47 UTC
Yeah, there are some interesting bits in the posted log:
(II) intel(0): Output configuration:
(II) intel(0):   Pipe A is off
(II) intel(0):   Display plane A is now enabled and connected to pipe A.
(WW) intel(0):   Hardware claims pipe A is on while software believes it is off
(WW) intel(0):   Hardware claims plane A is on while software believes it is
off
(II) intel(0):   Pipe B is on
(II) intel(0):   Display plane B is now enabled and connected to pipe B.
(II) intel(0):   Output VGA is connected to pipe none
(II) intel(0):   Output LVDS is connected to pipe B

Having both planes actually enabled when software thinks only one is enabled might cause problems with our DSPARB programming.

Evgeniy, can you attach your full Xorg log and xorg.conf files?
Comment 8 Evgeniy Manachkin 2008-07-25 13:39:44 UTC
I`m update my system from mandriva repositories and rebuild driver. Now 2.4.0 version works correctly.

[root@sfbook logs_and_conf]# rpm -qa | grep x11-server-xorg
x11-server-xorg-1.4.0.90-13.3mdv2008.1


Unfortunately has not paid attention what version xorg it has been established before.

P.S. Before updating a problem it was possible режить having added in xorg.conf line Option "ForceEnablePipeB" "true". In the new version works without this line.
Comment 9 Evgeniy Manachkin 2008-07-25 13:40:53 UTC
P.S. EXA on former in times more slowly XAA %(
Comment 10 Jesse Barnes 2008-07-25 14:01:36 UTC
Yeah, we're working on the EXA stuff still.  Thanks for testing & reporting.
Comment 11 Chris Salch 2008-08-13 20:01:24 UTC
Well, I've just run into this bug using the git sources on gentoo.  It appears that this commit is the culprit:  



commit 9ec36e0c8bd8a4bd7c40569412fc1a21219b5af9
Author: Olivier Fourdan <ofourdan@redhat.com>
Date:   Mon Aug 11 12:07:32 2008 -0400

    Fix DPMS off in the presence of the pipe A quirk.

    Still turn off the VGA plane, and also handle the DRI path at the end.



Everything works fine with commit 445c2e9ef8fc1d49bbb03e07bf36e0339be16a80.  
Comment 12 Chris Salch 2008-08-13 20:09:21 UTC
Created attachment 18272 [details]
Crash Log

This log states something about an error state found in the hardware, that message does not appear if the system has just been rebooted and this is the first time that X has started.
Comment 13 Gordon Jin 2008-08-13 20:15:24 UTC
Chris, thanks for reporting and bisecting.

But please file a new bug instead reopen an old bug, since it's a new regression.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.