Subject: xsrc/10486: X11 refresh doesn't work
To: None <gnats-bugs@gnats.netbsd.org>
From: Ignatios Souvatzis <ignatios@sinus.cs.uni-bonn.de>
List: netbsd-bugs
Date: 06/30/2000 07:19:22
>Number:         10486
>Category:       xsrc
>Synopsis:       X11 refresh doesn't work reliably
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 30 07:20:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        X11: 2 hours ago. system: see kernel date
>Organization:
computer science department, university of Bonn, Germany
>Environment:
	
System: NetBSD sinus 1.5A NetBSD 1.5A (GENERIC) #12: Fri Jun 30 15:17:19 CEST 2000 ignatios@sinus:/var/tmp/kernel/GENERIC i386

sinus# dmesg |grep -i cpu
cpu0: family 6 model 8 step 1
cpu0: Intel Pentium III (E) (686-class)

sinus# dmesg | grep vga
vga1 at pci1 dev 0 function 0: Nvidia Corporation RIVA TNT2 (rev. 0x15)
wsdisplay0 at vga1: console (80x25, vt100 emulation)

NetBSD 1.5A (GENERIC) #12: Fri Jun 30 15:17:19 CEST 2000
    ignatios@sinus:/var/tmp/kernel/GENERIC
cpu0: family 6 model 8 step 1
cpu0: Intel Pentium III (E) (686-class)
total memory = 127 MB
avail memory = 113 MB
using 1659 buffers containing 6636 KB of memory
BIOS32 rev. 0 found at 0xf0520
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82443BX Host Bridge/Controller (rev. 0x03)
ppb0 at pci0 dev 1 function 0: Intel 82443BX AGP Interface (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: Nvidia Corporation RIVA TNT2 (rev. 0x15)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
pcib0 at pci0 dev 4 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
pciide0 at pci0 dev 4 function 1: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <WDC WD307AA>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 29333 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 60074784 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
pciide0: disabling secondary channel (no drives)
uhci0 at pci0 dev 4 function 2: Intel 82371AB USB Host Controller (PIIX4) (rev. 0x01)
uhci0: interrupting at irq 5
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Intel 82371AB Power Management Controller (PIIX4) (miscellaneous bridge, revision 0x02) at pci0 dev 4 function 3 not configured
ahc1 at pci0 dev 6 function 0
ahc1: interrupting at irq 5
ahc1: aic7890/91 Wide Channel A, SCSI Id=7, 16/255 SCBs
scsibus0 at ahc1 channel 0: 16 targets, 8 luns per target
ep0 at pci0 dev 11 function 0: 3Com 3c595-TX 10/100 Ethernet
ep0: interrupting at irq 10
ep0: address 00:a0:24:88:af:0f, 64KB word-wide FIFO, 3:1 Rx:Tx split
ep0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX (default 10baseT)
Creative Labs SBLive! EMU 10000 (audio multimedia, revision 0x06) at pci0 dev 12 function 0 not configured
Creative Labs PCI Gameport Joystick (miscellaneous input, revision 0x06) at pci0 dev 12 function 1 not configured
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: no ISA Plug 'n Play devices found
biomask eb65 netmask ef65 ttymask ffe7
scsibus0: waiting 2 seconds for devices to settle...
ahc1: target 3 using 8bit transfers
ahc1: target 3 synchronous at 20.0MHz, offset = 0x8
ahc1: target 4 using 8bit transfers
ahc1: target 4 synchronous at 10.0MHz, offset = 0xf
cd0 at scsibus0 target 4 lun 0: <TEAC, CD-R55S, 1.0R> SCSI2 5/cdrom removable
ahc1: target 5 using 8bit transfers
ahc1: target 5 synchronous at 10.0MHz, offset = 0xf
sd0 at scsibus0 target 5 lun 0: <FUJITSU, M2513EL, 0040> SCSI2 0/direct removable
sd0: drive offline
ahc1: target 6 using 8bit transfers
ahc1: target 6 using asynchronous transfers
ss0 at scsibus0 target 6 lun 0: <HP, C2500A, 3332> SCSI2 3/processor fixed
ss0: HP ScanJet IIcx
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0


/var/log/xdm:

XFree86 Version 3.3.6 / X Window System
(protocol Version 11, revision 0, vendor release 6300)
Release Date: December 20 1999
	If the server is older than 6-12 months, or if your card is newer
	than the above date, look for a newer version before reporting
	problems.  (see http://www.XFree86.Org/FAQ)
Operating System: NetBSD/i386 1.5A [ELF] The NetBSD Foundation, Inc.
Configured drivers:
  SVGA: server for SVGA graphics adaptors (Patchlevel 0):
      NV1, STG2000, RIVA 128, RIVA TNT, RIVA TNT2, RIVA ULTRA TNT2,
      RIVA VANTA, RIVA ULTRA VANTA, RIVA INTEGRATED, GeForce 256,
      GeForce DDR, Quadro, ET4000, ET4000W32, ET4000W32i, ET4000W32i_rev_b,
      ET4000W32i_rev_c, ET4000W32p, ET4000W32p_rev_a, ET4000W32p_rev_b,
      ET4000W32p_rev_c, ET4000W32p_rev_d, ET6000, ET6100, et3000, pvga1,
      wd90c00, wd90c10, wd90c30, wd90c24, wd90c31, wd90c33, gvga, r128, ati,
      sis86c201, sis86c202, sis86c205, sis86c215, sis86c225, sis5597,
      sis5598, sis6326, sis530, sis620, sis300, sis630, sis540, tvga8200lx,
      tvga8800cs, tvga8900b, tvga8900c, tvga8900cl, tvga8900d, tvga9000,
      tvga9000i, tvga9100b, tvga9200cxr, tgui9400cxi, tgui9420, tgui9420dgi,
      tgui9430dgi, tgui9440agi, cyber9320, tgui9660, tgui9680, tgui9682,
      tgui9685, cyber9382, cyber9385, cyber9388, cyber9397, cyber9520,
      cyber9525, 3dimage975, 3dimage985, cyber9397dvd, blade3d, cyberblade,
      clgd5420, clgd5422, clgd5424, clgd5426, clgd5428, clgd5429, clgd5430,
      clgd5434, clgd5436, clgd5446, clgd5480, clgd5462, clgd5464, clgd5465,
      clgd6205, clgd6215, clgd6225, clgd6235, clgd7541, clgd7542, clgd7543,
      clgd7548, clgd7555, clgd7556, ncr77c22, ncr77c22e, cpq_avga, mga2064w,
      mga1064sg, mga2164w, mga2164w AGP, mgag200, mgag100, mgag400, oti067,
      oti077, oti087, oti037c, al2101, ali2228, ali2301, ali2302, ali2308,
      ali2401, cl6410, cl6412, cl6420, cl6440, video7, ark1000vl, ark1000pv,
      ark2000pv, ark2000mt, mx, realtek, s3_virge, AP6422, AT24, AT3D,
      s3_savage, s3_svga, NM2070, NM2090, NM2093, NM2097, NM2160, NM2200,
      ct65520, ct65525, ct65530, ct65535, ct65540, ct65545, ct65546,
      ct65548, ct65550, ct65554, ct65555, ct68554, ct69000, ct64200,
      ct64300, mediagx, V1000, V2100, V2200, p9100, spc8110, i740, i740_pci,
      Voodoo Banshee, Voodoo3, smi, generic
Using pcvt driver (version 3.32)
XF86Config: /etc/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) XKB: disabled
(**) XKB: model: "pc102"
(**) XKB: layout: "de"
(**) XKB: variant: "nodeadkeys"
(**) XKB: options: "ctrl:swapcaps"
(**) Mouse: type: wsmouse, device: /dev/wsmouse, buttons: 3
(**) SVGA: Graphics device ID: "blubb"
(**) SVGA: Monitor ID: "SamSyn95"
(--) SVGA: Mode "1600x1200" needs hsync freq of 105.77 kHz. Deleted.
(--) SVGA: Mode "1280x1024" needs hsync freq of 107.16 kHz. Deleted.
(--) SVGA: Mode "1800X1440" needs hsync freq of 96.15 kHz. Deleted.
(--) SVGA: Mode "1800X1440" needs hsync freq of 104.52 kHz. Deleted.
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/local/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
(--) SVGA: PCI: NVidia Riva TNT2 rev 21, Memory @ 0xe0000000, 0xe2000000
(--) SVGA: chipset:  RIVA TNT2
(--) SVGA: videoram: 32640k
(**) SVGA: Option "dac_8_bit"
(**) SVGA: Using 8 bits per color component
(**) SVGA: Using 8 bpp, Depth 8, Color weight: 888
(--) SVGA: Maximum allowed dot-clock: 350.000 MHz
(**) SVGA: Mode "1280x1024": mode clock = 157.500
(**) SVGA: Mode "1024x768": mode clock = 115.500
(**) SVGA: Mode "800x600": mode clock =  69.650
(**) SVGA: Mode "640x480": mode clock =  45.800
(--) SVGA: Virtual resolution set to 1280x1024
(--) SVGA: SpeedUp code selection modified because virtualX != 1024
(--) SVGA: RIVA TNT2: Using hardware cursor
(--) SVGA: Using XAA (XFree86 Acceleration Architecture)
(--) SVGA: XAA: Solid filled rectangles
(--) SVGA: XAA: Screen-to-screen copy
(--) SVGA: XAA: 8x8 color expand pattern fill
(--) SVGA: XAA: Using 10 128x128 areas for pixmap caching
(--) SVGA: XAA: Caching tiles and stipples
(--) SVGA: XAA: Horizontal and vertical lines and segments

>Description:
	windows that were hidden and reappear aren't refreshed properly.
	twm pop-up menus aren't painted at all (with the exception of an
	outline) until the mose is moved in them.
>How-To-Repeat:
	Start X11. Move around windows.
>Fix:
	Workaround: refresh all the screen seems to work.
>Release-Note:
>Audit-Trail:
>Unformatted: