Bug 169317

Summary: Odd rendering anomalies in xorg-x11 leaves X session unusable; replaces parts of display with blue, purple, and black garbage
Product: [Fedora] Fedora Reporter: Matt T. Proud <khanreaper>
Component: xorg-x11Assignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: high Docs Contact:
Priority: medium    
Version: 4   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-27 02:05:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Screenshot 1
none
Screenshot 2 none

Description Matt T. Proud 2005-09-26 22:11:27 UTC
After X has been running for a little while and I switch between an open window,
X will quit rendering the display correctly. The original overlapped area where
a window once covered is replaced with multicolored garbage. Moreover, no window
appears to render correctly after this occurs. Most rendering ceases to function
correctly, except for Javascript image overs.

I have attached two screenshots to help illustrate exactly what is happening. 
While this is not entirely Fedora-related information, I have experienced this
same problem on Gentoo, but it went away after I used NVidia's proprietary
drivers. In any case, I wish that the open source drivers worked well.

All that I can say is that this bug is intermittent, and I cannot consistently
reproduce it. The only way I have been able to reproduce it is by using X for a
little while.

xorg-x11 versions: xorg-x11-6.8.2-31 xorg-x11-6.8.2-37.FC4.49.2
(Why are there two xorg-x11 versions installed?)

[matttp@dresden ~]$ xdpyinfo
name of display:    :0.0
version number:    11.0
vendor string:    The X.Org Foundation
vendor release number:    60802000
X.Org version: 6.8.2
maximum request size:  16777212 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    7
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 8, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 15, bits_per_pixel 16, scanline_pad 32
    depth 16, bits_per_pixel 16, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
    depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  window 0x600007, revert to PointerRoot
number of extensions:    30
    BIG-REQUESTS
    DAMAGE
    DOUBLE-BUFFER
    DPMS
    Extended-Visual-Information
    GLX
    LBX
    MIT-SCREEN-SAVER
    MIT-SHM
    MIT-SUNDRY-NONSTANDARD
    RANDR
    RECORD
    RENDER
    SECURITY
    SGI-GLX
    SHAPE
    SYNC
    TOG-CUP
    X-Resource
    XC-APPGROUP
    XC-MISC
    XFIXES
    XFree86-Bigfont
    XFree86-DGA
    XFree86-Misc
    XFree86-VidModeExtension
    XInputExtension
    XKEYBOARD
    XTEST
    XVideo
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    1280x1024 pixels (433x347 millimeters)
  resolution:    75x75 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32
  root window id:    0x5f
  depth of root window:    24 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x20
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 16777215
  options:    backing-store NO, save-unders NO
  largest cursor:    64x64
  current input event mask:    0xfa4031
    KeyPressMask             EnterWindowMask          LeaveWindowMask
    KeymapStateMask          StructureNotifyMask      SubstructureNotifyMask
    SubstructureRedirectMask FocusChangeMask          PropertyChangeMask
    ColormapChangeMask
  number of visuals:    8
  default visual id:  0x23
  visual:
    visual id:    0x23
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x24
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x25
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x26
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x27
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x28
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x29
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2a
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits

[matttp@dresden ~]$ cat /etc/X11/xorg.conf

# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# RgbPath is the location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        FontPath     "unix/:7100"
EndSection

Section "Module"
        Load  "dbe"
        Load  "extmod"
        Load  "fbdevhw"
        Load  "glx"
        Load  "record"
        Load  "freetype"
        Load  "type1"
        Load  "dri"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#       Option  "Xleds"         "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
#       Option  "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#       Option  "XkbModel"      "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#       Option  "XkbModel"      "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#       Option  "XkbLayout"     "de"
# or:
#       Option  "XkbLayout"     "de"
#       Option  "XkbVariant"    "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#       Option  "XkbOptions"    "ctrl:swapcaps"
# Or if you just want both to be control, use:
#       Option  "XkbOptions"    "ctrl:nocaps"
#
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5"
        Option      "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Samsung SyncMaster 753DF(X)/703DF(X)/783DF(X)/CD173A(T)"
        HorizSync    30.0 - 71.0
        VertRefresh  50.0 - 160.0
        Option      "dpms"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "nv"
        VendorName  "Videocard vendor"
        BoardName   "NVIDIA GeForce 6600 GT"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     16
                Modes    "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1280x1024" "1152x864" "1152x768" "1024x768" "800x600"
"640x480"
        EndSubSection
EndSection

Section "DRI"
        Group        0
        Mode         0666
EndSection

[matttp@dresden ~]$ cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 43
model name      : AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
stepping        : 1
cpu MHz         : 1005.161
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext
3dnow pni lahf_lm cmp_legacy
bogomips        : 1988.42
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

processor       : 1
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 43
model name      : AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
stepping        : 1
cpu MHz         : 1005.161
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext
3dnow pni lahf_lm cmp_legacy
bogomips        : 1988.42
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

[matttp@dresden ~]$ cat /proc/pci
PCI devices found:
  Bus  0, device   0, function  0:
    Class 0580: PCI device 10de:005e (rev 163).
  Bus  0, device   1, function  0:
    Class 0601: PCI device 10de:0050 (rev 163).
  Bus  0, device   1, function  1:
    Class 0c05: PCI device 10de:0052 (rev 162).
      IRQ 5.
      Master Capable.  No bursts.  Min Gnt=3.Max Lat=1.
      I/O at 0xe400 [0xe41f].
      I/O at 0x4c00 [0x4c3f].
      I/O at 0x4c40 [0x4c7f].
  Bus  0, device   2, function  0:
    Class 0c03: PCI device 10de:005a (rev 162).
      IRQ 233.
      Master Capable.  No bursts.  Min Gnt=3.Max Lat=1.
      Non-prefetchable 32 bit memory at 0xd6004000 [0xd6004fff].
  Bus  0, device   2, function  1:
    Class 0c03: PCI device 10de:005b (rev 163).
      IRQ 225.
      Master Capable.  No bursts.  Min Gnt=3.Max Lat=1.
      Non-prefetchable 32 bit memory at 0xfeb00000 [0xfeb000ff].
  Bus  0, device   4, function  0:
    Class 0401: PCI device 10de:0059 (rev 162).
      IRQ 66.
      Master Capable.  No bursts.  Min Gnt=2.Max Lat=5.
      I/O at 0xdc00 [0xdcff].
      I/O at 0xe000 [0xe0ff].
      Non-prefetchable 32 bit memory at 0xd6003000 [0xd6003fff].
  Bus  0, device   6, function  0:
    Class 0101: PCI device 10de:0053 (rev 242).
      Master Capable.  No bursts.  Min Gnt=3.Max Lat=1.
      I/O at 0xf000 [0xf00f].
  Bus  0, device   7, function  0:
    Class 0101: PCI device 10de:0054 (rev 243).
      IRQ 225.
      Master Capable.  No bursts.  Min Gnt=3.Max Lat=1.
      I/O at 0x9f0 [0x9f7].
      I/O at 0xbf0 [0xbf3].
      I/O at 0x970 [0x977].
      I/O at 0xb70 [0xb73].
      I/O at 0xd800 [0xd80f].
      Non-prefetchable 32 bit memory at 0xd6002000 [0xd6002fff].
  Bus  0, device   8, function  0:
    Class 0101: PCI device 10de:0055 (rev 243).
      IRQ 233.
      Master Capable.  No bursts.  Min Gnt=3.Max Lat=1.
      I/O at 0x9e0 [0x9e7].
      I/O at 0xbe0 [0xbe3].
      I/O at 0x960 [0x967].
      I/O at 0xb60 [0xb63].
      I/O at 0xc400 [0xc40f].
      Non-prefetchable 32 bit memory at 0xd6001000 [0xd6001fff].
  Bus  0, device   9, function  0:
    Class 0604: PCI device 10de:005c (rev 162).
      Master Capable.  No bursts.  Min Gnt=2.Max Lat=2.
  Bus  0, device  10, function  0:
    Class 0680: PCI device 10de:0057 (rev 163).
      IRQ 58.
      Master Capable.  No bursts.  Min Gnt=1.Max Lat=20.
      Non-prefetchable 32 bit memory at 0xd6000000 [0xd6000fff].
      I/O at 0xb000 [0xb007].
  Bus  0, device  11, function  0:
    Class 0604: PCI device 10de:005d (rev 163).
      IRQ 185.
      Master Capable.  No bursts.  Min Gnt=2.
  Bus  0, device  12, function  0:
    Class 0604: PCI device 10de:005d (rev 163).
      IRQ 193.
      Master Capable.  No bursts.  Min Gnt=2.
  Bus  0, device  13, function  0:
    Class 0604: PCI device 10de:005d (rev 163).
      IRQ 201.
      Master Capable.  No bursts.  Min Gnt=2.
  Bus  0, device  14, function  0:
    Class 0604: PCI device 10de:005d (rev 163).
      IRQ 209.
      Master Capable.  No bursts.  Min Gnt=10.
  Bus  0, device  24, function  0:
    Class 0600: PCI device 1022:1100 (rev 0).
  Bus  0, device  24, function  1:
    Class 0600: PCI device 1022:1101 (rev 0).
  Bus  0, device  24, function  2:
    Class 0600: PCI device 1022:1102 (rev 0).
  Bus  0, device  24, function  3:
    Class 0600: PCI device 1022:1103 (rev 0).
  Bus  5, device   7, function  0:
    Class 0400: PCI device 4444:0016 (rev 1).
      IRQ 3.
      Master Capable.  Latency=32.  Min Gnt=128.Max Lat=8.
      Prefetchable 32 bit memory at 0xd0000000 [0xd3ffffff].
  Bus  5, device  10, function  0:
    Class 0104: PCI device 1095:3114 (rev 2).
      IRQ 217.
      Master Capable.  Latency=32.
      I/O at 0x9000 [0x9007].
      I/O at 0x9400 [0x9403].
      I/O at 0x9800 [0x9807].
      I/O at 0x9c00 [0x9c03].
      I/O at 0xa000 [0xa00f].
      Non-prefetchable 32 bit memory at 0xd5008000 [0xd50083ff].
  Bus  5, device  11, function  0:
    Class 0c00: PCI device 104c:8023 (rev 0).
      IRQ 74.
      Master Capable.  Latency=32.  Min Gnt=2.Max Lat=4.
      Non-prefetchable 32 bit memory at 0xd5009000 [0xd50097ff].
      Non-prefetchable 32 bit memory at 0xd5000000 [0xd5003fff].
  Bus  5, device  12, function  0:
    Class 0200: PCI device 11ab:4320 (rev 19).
      IRQ 50.
      Master Capable.  Latency=32.  Min Gnt=23.Max Lat=31.
      Non-prefetchable 32 bit memory at 0xd5004000 [0xd5007fff].
      I/O at 0xa400 [0xa4ff].
  Bus  1, device   0, function  0:
    Class 0300: PCI device 10de:0140 (rev 162).
      IRQ 11.
      Non-prefetchable 32 bit memory at 0xc8000000 [0xcbffffff].
      Prefetchable 64 bit memory at 0xc0000000 [0xc7ffffff].
      Non-prefetchable 64 bit memory at 0xcc000000 [0xccffffff].

[matttp@dresden ~]$ cat /proc/version
Linux version 2.6.12-1.1456_FC4smp (bhcompile.redhat.com) (gcc
version 4.0.1 20050727 (Red Hat 4.0.1-5)) #1 SMP Thu Sep 22 02:23:57 EDT 2005

Comment 1 Matt T. Proud 2005-09-26 22:11:27 UTC
Created attachment 119280 [details]
Screenshot 1

Comment 2 Matt T. Proud 2005-09-26 22:13:00 UTC
Created attachment 119281 [details]
Screenshot 2

Comment 3 Matt T. Proud 2005-09-26 23:03:12 UTC
I did some more research today, and I found this bug at Freedesktop's web site:
https://bugs.freedesktop.org/show_bug.cgi?id=4523

Comment 4 Mike A. Harris 2005-09-27 02:05:13 UTC

*** This bug has been marked as a duplicate of 157715 ***

Comment 5 Mike A. Harris 2005-09-27 02:07:12 UTC
Thanks for the URL.  We've got a master bug tracker I've duped this against,
and I've CC'd on the upstream bug for tracking.