You are not logged in.

#1 2008-07-09 18:07:16

Oxyd
Member
From: Czech Republic
Registered: 2008-01-17
Posts: 167

Windows sometimes don't redraw their contents

Sometimes, when I obscure a window by another one or switch desktops, some of my windows have "blank" areas.  When I then force the window to redraw somehow, like by clicking on something that changes its content, the window gets back to normal.  I've seen this happen for urxvt that uses Xlib directly, AFAIK, xfce4-panel that's GTK+ app and Kopete or KTorrent which use KDE toolkit -- so it doesn't seem to be related to any particular GUI toolkit.  I can't really reproduce it either. hmm

This is a screenshot of what it looks like:
2008-07-09-195002_1152x864_scrot-thumb.png

I don't really have an idea of what could be going on. hmm  I'm not running any compositor or anything else that gives fancy looks -- just plain OpenBox.

If you can point me in some direction, you'll be welcome. smile

Offline

#2 2008-07-09 21:59:57

Hohoho
Member
Registered: 2007-06-23
Posts: 222

Re: Windows sometimes don't redraw their contents

Faulty video driver might be at fault, try vesa and see if it happens again.

Offline

#3 2008-07-09 22:02:23

carlocci
Member
From: Padova - Italy
Registered: 2008-02-12
Posts: 368

Re: Windows sometimes don't redraw their contents

I don't get what's wrong with the picture.
Post your xorg.conf / videocard magic though

Offline

#4 2008-07-10 11:47:59

Oxyd
Member
From: Czech Republic
Registered: 2008-01-17
Posts: 167

Re: Windows sometimes don't redraw their contents

carlocci wrote:

I don't get what's wrong with the picture.
Post your xorg.conf / videocard magic though

The "empty" portions of the irssi and Kopete Contact List windows are wrong.  The only modification to the picture I did was blurring the conversation -- otherwise it's what actually was on my screen.

I'm using NVidia drivers, nvidia-173.14.09-4 and nvidia-utils-173.14.09-1 are the packages installed.

My somewhat messy xorg.conf:

Section "Module"
    Load        "dbe"   # Double buffer extension
    #SubSection  "extmod"
      #Option    "omit xfree86-dga"   # don't initialise the DGA extension
    #EndSubSection
    Load        "type1"
    Load        "freetype"
    Load        "bitmap"
#    Load        "xtt"
    Load       "glx"
    Load       "extmod"
#    Load       "dri"

EndSection

Section "Files"
    RgbPath  "/usr/share/X11/rgb"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc:unscaled"
    FontPath "/usr/share/fonts/Type1"
    FontPath "/usr/share/fonts/TTF"
    FontPath "/usr/share/fonts/local"
    #FontPath "/usr/share/fonts/corefonts"
    #FontPath "/usr/share/fonts/freefonts"
    #FontPath "/usr/share/fonts/sharefonts"
    #FontPath "/usr/share/fonts/terminus"
    #FontPath "/usr/share/fonts/ttf-bitstream-vera"
    #FontPath "/usr/share/fonts/unifont"
    #FontPath "/usr/share/fonts/urw-fonts/"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/artwiz-fonts"
    FontPath "/usr/share/fonts/cyrillic"
    FontPath "/usr/share/fonts/encodings"
    FontPath "/usr/share/fonts/misc"
EndSection

Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc101"
    Option "XkbLayout"  "us,cz"
    Option "XkbVariant" ",qwerty"
    Option "XkbOptions" "grp:menu_toggle,compose:rwin,grp_led:scroll"
EndSection

Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "IMPS/2"       # IntelliMouse PS/2
    Option "Device"      "/dev/input/mice"
    Option "ZAxisMapping"   "4 5 6 7"
EndSection

Section "Monitor"
    Identifier  "Q770"
    HorizSync   30-70
    VertRefresh 50-100
EndSection

Section "Device"
    Identifier  "NVidia GeForce"
    Driver      "nvidia"
    VideoRam    131072
    Option      "NoLogo"                "true"
    Option      "CursorShadow"          "true"
    Option      "HwCursor"              "true"
    Option      "AllowGLXWithComposite" "true"
    Option      "RenderAccel"           "true"
    Option      "UseEdidDpi"            "false"
    Option      "DPI"                   "96 x 96"
    Option      "AddARGBGLXVisuals"     "true"
    Option      "NvAGP"                 "0"
    Option      "DamageEvents"          "true"
    Option      "UseEvents"             "true"
    Option      "TripleBuffer"          "true"
    Option      "BackingStore"          "true"
    Option      "UseCompositeWrapper"   "true"
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "NVidia GeForce"
    Monitor     "Q770"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1152x864" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1152x864" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1152x864" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1"    "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

# Section "DRI"
#    Mode 0666
# EndSection

Section "Extensions"
    Option "Composite" "enable"
    Option "DAMAGE" "enable"
    Option "RENDER" "enable"
EndSection

Offline

#5 2008-07-10 11:51:01

kclive18
Member
From: Columbus, Ohio, USA
Registered: 2008-05-08
Posts: 219

Re: Windows sometimes don't redraw their contents

I would disable compositing in the Extensions section.  Compositing has given me trouble on my laptop, which has an ATI mobility.  I don't know if this could work for NVIDIA cards too, but it doesn't hurt to try.

Last edited by kclive18 (2008-07-10 11:51:18)


My Rigs:
- Mid-2007 iMac 20", Intel 2GHz Core 2 Duo, 2x1GB DDR2-800, 250GB SATA HDD, and...MIGHTY MOUSE!!! tongue, OSX 10.5 Leopard, ATI Radeon 2400XT 128MB
- HP zv6203cl, AMD Athlon 64 3200 S939, 2x512MB DDR400, 80GB 4200rpm HDD, ATI Radeon Xpress 200M 128MB, Arch i686 cool
- 1986 Gibson SG Junior Cherry Red, Ibanez 15W amp, DigiTech RP250 modeling processor

Offline

#6 2008-07-10 13:12:13

carlocci
Member
From: Padova - Italy
Registered: 2008-02-12
Posts: 368

Re: Windows sometimes don't redraw their contents

try disable backing store in you video card section

Offline

#7 2008-07-10 21:21:55

Oxyd
Member
From: Czech Republic
Registered: 2008-01-17
Posts: 167

Re: Windows sometimes don't redraw their contents

Okay, I disabled compositing and backing store in my xorg.conf and the problem hasn't shown up again yet -- don't know if this means it's gone completely or not -- I'll see, though.  And thanks for your suggestions. smile

Offline

#8 2008-07-14 22:22:17

carlocci
Member
From: Padova - Italy
Registered: 2008-02-12
Posts: 368

Re: Windows sometimes don't redraw their contents

It's backingstore usually

Offline

Board footer

Powered by FluxBB