You are not logged in.

#1 2008-03-19 10:58:52

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

[Solved] xf86-video-intel 2.21 not refreshing screen completely

English not being my native language the concise description may be a bit clumsy. What it boils down to is I get things like these since the latest xf86-video-intel upgrade:
202690-xf86-video-th.png

What you see here is what 'remains' of the Xchat window (the input field) - Xchat runs on virtual desktop 2 and I just switched to virtual desktop 1. So X seems not to be refreshing the window completely. I also had this happen with other apps like Sonata (both the player window itself and the tooltip).

Details:

[stijn@lysithea xf86-video-intel]$ pacman -Q xf86-video-intel
xf86-video-intel 2.2.1-2

My GPU:

[stijn@lysithea xf86-video-intel]$ lspci | grep GM
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)

Pacman log:

[stijn@lysithea xf86-video-intel]$ grep xf86-video-intel /var/log/pacman.log 
[2007-09-16 03:54] installed xf86-video-intel (2.1.1-1)
[2007-09-16 14:58] removed xf86-video-intel (2.1.1-1)
[2007-09-16 15:08] installed xf86-video-intel (2.1.1-1)
[2007-09-17 23:54] upgraded xf86-video-intel (2.1.1-1 -> 2.1.1-1)
[2007-09-18 02:58] upgraded xf86-video-intel (2.1.1-1 -> 2.1.1-1)
[2007-11-06 23:20] upgraded xf86-video-intel (2.1.1-1 -> 2.1.1-2)
[2007-12-22 14:04] upgraded xf86-video-intel (2.1.1-2 -> 2.2.0-1)
[2008-01-13 20:03] upgraded xf86-video-intel (2.2.0-1 -> 2.1.1-2)
[2008-01-13 20:08] upgraded xf86-video-intel (2.1.1-2 -> 2.2.0-1)
[2008-02-18 03:19] upgraded xf86-video-intel (2.2.0-1 -> 2.2.0-2)
[2008-02-29 04:38] upgraded xf86-video-intel (2.2.0-2 -> 2.2.1-1)
[2008-03-18 01:48] upgraded xf86-video-intel (2.2.1-1 -> 2.2.1-2)
[2008-03-19 10:13] upgraded xf86-video-intel (2.2.1-2 -> 2.2.1-2)

Is anyone experiencing similar problems? I already tried to rebuild the driver with some of the patches removed (hence the last line in my pacman log), but it still exhibits the same behaviour. I'll be removing all patches from the new driver (so it will be identical to 2.2.1-1 except for the new mesa it depends on) and report back.

Last edited by B (2008-04-24 22:56:39)


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#2 2008-03-19 12:14:47

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: [Solved] xf86-video-intel 2.21 not refreshing screen completely

Off the top of my head, I have seen quite a few Intel driver issues as of late. Most common workaround is to temporarily revert to i810. sad

Offline

#3 2008-03-19 12:28:08

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [Solved] xf86-video-intel 2.21 not refreshing screen completely

Hrm... I thought that driver did not support the G965 chip? I will check. I thought it was only supported by xf86-video-intel. The thing is, up until 2.2.1-1 I had no such problem.

Testing the 2.2.1-1 rebuild on mesa 7.0-rc2 now, I'll report later on.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#4 2008-03-19 13:09:14

bartucha82
Member
Registered: 2006-11-04
Posts: 15

Re: [Solved] xf86-video-intel 2.21 not refreshing screen completely

Show us your xorg.conf.

Offline

#5 2008-03-19 17:10:13

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [Solved] xf86-video-intel 2.21 not refreshing screen completely

[stijn@lysithea ~]$ cat /etc/X11/xorg.conf 
Section "ServerLayout"
        Identifier     "Xorg Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0"              "CoreKeyboard"
        InputDevice    "Synaptics Touchpad"     "CorePointer"
#       Option "AIGLX" "true"                                           # Comment this line if you want to revert to the original state of the Xorg configuration file
        InputDevice     "USB Mouse"             "SendCoreEvents"
# Serial Mouse not detected
EndSection

Section "ServerFlags"
        Option "AllowMouseOpenFail"  "true"

EndSection

Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc:unscaled"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/75dpi:unscaled"
        FontPath     "/usr/share/fonts/75dpi"
        FontPath     "/usr/share/fonts/100dpi:unscaled"
        FontPath     "/usr/share/fonts/100dpi"
        FontPath     "/usr/share/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
        FontPath     "/usr/share/fonts/cyrillic"
#       FontPath     "/usr/share/lib/X11/fonts/latin2/75dpi"
#       FontPath     "/usr/share/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
        FontPath     "/usr/share/fonts/Type1"
        FontPath     "/usr/share/fonts/ttf/western"
        FontPath     "/usr/share/fonts/ttf/decoratives"
        FontPath     "/usr/share/fonts/truetype"
        FontPath     "/usr/share/fonts/truetype/openoffice"
        FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
        FontPath     "/usr/share/fonts/latex-ttf-fonts"
        FontPath     "/usr/share/fonts/defoma/CID"
        FontPath     "/usr/share/fonts/defoma/TrueType"
EndSection

Section "Module"
        Load  "ddc"  # ddc probing of monitor
        Load  "dbe"
        Load  "dri"
        Load  "extmod"
        Load  "glx"
        Load  "bitmap" # bitmap-fonts
        Load  "type1"
        Load  "freetype"
    Load  "record"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
        Option      "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "be"
    Option "XkbVariant" ""
EndSection

Section "InputDevice"
    Identifier      "Serial Mouse"
    Driver          "mouse"
    Option          "Protocol"         "Microsoft"
    Option          "Device"         "/dev/ttyS0"
    Option          "Emulate3Buttons"     "true"
    Option          "Emulate3Timeout"     "70"
    Option            "SendCoreEvents"      "true"
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
    Option        "SendCoreEvents"    "true"
        Option          "Protocol"              "IMPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection

Section "InputDevice"
    Driver          "synaptics"
    Identifier      "Synaptics Touchpad"
    Option      "Device"            "/dev/psaux"
    Option      "Protocol"          "auto-dev"
    Option      "LeftEdge"          "1700"
    Option      "RightEdge"         "5300"
    Option      "TopEdge"           "1700"
    Option      "BottomEdge"        "4200"
    Option      "FingerLow"         "25"
    Option      "FingerHigh"        "30"
    Option      "MaxTapTime"        "180"
    Option      "MaxTapMove"        "220"
    Option      "VertScrollDelta"     "100"
    Option      "MinSpeed"          "0.06"
    Option      "MaxSpeed"          "0.12"
    Option      "AccelFactor"         "0.0010"
    Option      "SHMConfig"         "on"
    #  Option       "Repeater"          "/dev/ps2mouse"
EndSection



# Auto-generated by Archie mkxcfg

Section "Monitor"
    Identifier "Monitor0"
        Option "DPMS" "true"
#    HorizSync    28.0 - 78.0 # Warning: This may fry very old Monitors
    HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
    VertRefresh  50.0 - 75.0 # Very conservative. May flicker.
#    VertRefresh  50.0 - 62.0 # Extreme conservative. Will flicker. TFT default.
    #  Default modes distilled from
    #      "VESA and Industry Standards and Guide for Computer Display Monitor
    #       Timing", version 1.0, revision 0.8, adopted September 17, 1998.
    #  $XFree86: xc/programs/Xserver/hw/xfree86/etc/vesamodes,v 1.4 1999/11/18 16:52:17 tsi Exp $
    # 640x350 @ 85Hz (VESA) hsync: 37.9kHz
    ModeLine "640x350"    31.5  640  672  736  832    350  382  385  445 +hsync -vsync
    # 640x400 @ 85Hz (VESA) hsync: 37.9kHz
    ModeLine "640x400"    31.5  640  672  736  832    400  401  404  445 -hsync +vsync
    # 720x400 @ 85Hz (VESA) hsync: 37.9kHz
    ModeLine "720x400"    35.5  720  756  828  936    400  401  404  446 -hsync +vsync
    # 640x480 @ 60Hz (Industry standard) hsync: 31.5kHz
    ModeLine "640x480"    25.2  640  656  752  800    480  490  492  525 -hsync -vsync
    # 640x480 @ 72Hz (VESA) hsync: 37.9kHz
    ModeLine "640x480"    31.5  640  664  704  832    480  489  491  520 -hsync -vsync
    # 640x480 @ 75Hz (VESA) hsync: 37.5kHz
    ModeLine "640x480"    31.5  640  656  720  840    480  481  484  500 -hsync -vsync
    # 640x480 @ 85Hz (VESA) hsync: 43.3kHz
    ModeLine "640x480"    36.0  640  696  752  832    480  481  484  509 -hsync -vsync
    # 800x600 @ 56Hz (VESA) hsync: 35.2kHz
    ModeLine "800x600"    36.0  800  824  896 1024    600  601  603  625 +hsync +vsync
    # 800x600 @ 60Hz (VESA) hsync: 37.9kHz
    ModeLine "800x600"    40.0  800  840  968 1056    600  601  605  628 +hsync +vsync
    # 800x600 @ 72Hz (VESA) hsync: 48.1kHz
    ModeLine "800x600"    50.0  800  856  976 1040    600  637  643  666 +hsync +vsync
    # 800x600 @ 75Hz (VESA) hsync: 46.9kHz
    ModeLine "800x600"    49.5  800  816  896 1056    600  601  604  625 +hsync +vsync
    # 800x600 @ 85Hz (VESA) hsync: 53.7kHz
    ModeLine "800x600"    56.3  800  832  896 1048    600  601  604  631 +hsync +vsync
    # 1024x768i @ 43Hz (industry standard) hsync: 35.5kHz
    ModeLine "1024x768"   44.9 1024 1032 1208 1264    768  768  776  817 +hsync +vsync Interlace
    # 1024x768 @ 60Hz (VESA) hsync: 48.4kHz
    ModeLine "1024x768"   65.0 1024 1048 1184 1344    768  771  777  806 -hsync -vsync
    # 1024x768 @ 70Hz (VESA) hsync: 56.5kHz
    ModeLine "1024x768"   75.0 1024 1048 1184 1328    768  771  777  806 -hsync -vsync
    # 1024x768 @ 75Hz (VESA) hsync: 60.0kHz
    ModeLine "1024x768"   78.8 1024 1040 1136 1312    768  769  772  800 +hsync +vsync
    # 1024x768 @ 85Hz (VESA) hsync: 68.7kHz
    ModeLine "1024x768"   94.5 1024 1072 1168 1376    768  769  772  808 +hsync +vsync
    # 1152x864 @ 75Hz (VESA) hsync: 67.5kHz
    ModeLine "1152x864"  108.0 1152 1216 1344 1600    864  865  868  900 +hsync +vsync
    # 1280x960 @ 60Hz (VESA) hsync: 60.0kHz
    ModeLine "1280x960"  108.0 1280 1376 1488 1800    960  961  964 1000 +hsync +vsync
    # 1280x960 @ 85Hz (VESA) hsync: 85.9kHz
    ModeLine "1280x960"  148.5 1280 1344 1504 1728    960  961  964 1011 +hsync +vsync 
    # Extended modelines with GTF timings
    # 640x480 @ 100.00 Hz (GTF) hsync: 50.90 kHz; pclk: 43.16 MHz
    ModeLine "640x480"  43.16  640 680 744 848  480 481 484 509  -HSync +Vsync
    # 768x576 @ 60.00 Hz (GTF) hsync: 35.82 kHz; pclk: 34.96 MHz
    ModeLine "768x576"  34.96  768 792 872 976  576 577 580 597  -HSync +Vsync
    # 768x576 @ 72.00 Hz (GTF) hsync: 43.27 kHz; pclk: 42.93 MHz
    ModeLine "768x576"  42.93  768 800 880 992  576 577 580 601  -HSync +Vsync
    # 768x576 @ 75.00 Hz (GTF) hsync: 45.15 kHz; pclk: 45.51 MHz
    ModeLine "768x576"  45.51  768 808 888 1008  576 577 580 602  -HSync +Vsync
    # 768x576 @ 85.00 Hz (GTF) hsync: 51.42 kHz; pclk: 51.84 MHz
    ModeLine "768x576"  51.84  768 808 888 1008  576 577 580 605  -HSync +Vsync
    # 768x576 @ 100.00 Hz (GTF) hsync: 61.10 kHz; pclk: 62.57 MHz
    ModeLine "768x576"  62.57  768 816 896 1024  576 577 580 611  -HSync +Vsync
    # 800x600 @ 100.00 Hz (GTF) hsync: 63.60 kHz; pclk: 68.18 MHz
    ModeLine "800x600"  68.18  800 848 936 1072  600 601 604 636  -HSync +Vsync
    # 1024x768 @ 100.00 Hz (GTF) hsync: 81.40 kHz; pclk: 113.31 MHz
    ModeLine "1024x768"  113.31  1024 1096 1208 1392  768 769 772 814  -HSync +Vsync
    # 1152x864 @ 60.00 Hz (GTF) hsync: 53.70 kHz; pclk: 81.62 MHz
    ModeLine "1152x864"  81.62  1152 1216 1336 1520  864 865 868 895  -HSync +Vsync
    # 1152x864 @ 85.00 Hz (GTF) hsync: 77.10 kHz; pclk: 119.65 MHz
    ModeLine "1152x864"  119.65  1152 1224 1352 1552  864 865 868 907  -HSync +Vsync
    # 1152x864 @ 100.00 Hz (GTF) hsync: 91.50 kHz; pclk: 143.47 MHz
    ModeLine "1152x864"  143.47  1152 1232 1360 1568  864 865 868 915  -HSync +Vsync
    # 1280x960 @ 72.00 Hz (GTF) hsync: 72.07 kHz; pclk: 124.54 MHz
    ModeLine "1280x960"  124.54  1280 1368 1504 1728  960 961 964 1001  -HSync +Vsync
    # 1280x960 @ 75.00 Hz (GTF) hsync: 75.15 kHz; pclk: 129.86 MHz
    ModeLine "1280x960"  129.86  1280 1368 1504 1728  960 961 964 1002  -HSync +Vsync
    # 1280x960 @ 100.00 Hz (GTF) hsync: 101.70 kHz; pclk: 178.99 MHz
    ModeLine "1280x960"  178.99  1280 1376 1520 1760  960 961 964 1017  -HSync +Vsync
    # 1280x1024 @ 100.00 Hz (GTF) hsync: 108.50 kHz; pclk: 190.96 MHz
    ModeLine "1280x1024"  190.96  1280 1376 1520 1760  1024 1025 1028 1085  -HSync +Vsync
    # 1440x900 @ 50.00 Hz (GTF) hsync: 46.30 kHz; pclk: 87.41 MHz
    Modeline "1440x900_50.00"  87.41  1440 1512 1664 1888  900 901 904 926  -HSync +Vsync
    
EndSection

# Auto-generated by Archie mkxcfg

Section "Device"
    Identifier  "Card0"
    Driver      "intel"
    VendorName  "All"
    BoardName   "All"
#    Option "XAANoOffscreenPixmaps" "true"        # Comment this line if you want to revert to the original state of the Xorg configuration file
    Option "DRI" "true"
    Option "VBERestore" "true"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultColorDepth 24
    SubSection "Display"
        Depth     1
        Modes "1440x900" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     4
        Modes "1440x900" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     8
        Modes "1440x900" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     15
        Modes "1440x900" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     16
        Modes "1440x900" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     24
        Modes "1440x900" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "DRI"
    Mode 0666
EndSection

#Section "Extensions"                #
#    Option "Composite" "Enable"            # Comment these lines if you want to revert to the original state of the Xorg configuration file    
#EndSection

There you go. I just noticed the problem still appears when i compile the 2.2.1 driver against mesa 7.0-rc2 with all patches removed (other than that there seems to be nothing that makes both builds different, except for the different mesa of course). I am gonna see if recompiling against 7.0-rc1 helps any (which is pretty much rolling back to 2.2.1-1).

Last edited by B (2008-03-19 17:17:59)


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#6 2008-03-19 19:15:56

bartucha82
Member
Registered: 2006-11-04
Posts: 15

Re: [Solved] xf86-video-intel 2.21 not refreshing screen completely

Section "Device"
    Identifier  "i945GM"
    Driver      "intel"
    Option "AccelMethod" "exa"
    Option "MigrationHeuristic" "greedy"
    Option "ExaNoComposite" "false"
    Option "XAANoOffscreenPixmaps" "true"
    Option "EXANoUploadToScreen" "true"
EndSection

Try these settings with your card.

Offline

#7 2008-03-19 19:54:45

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [Solved] xf86-video-intel 2.21 not refreshing screen completely

Thanks. Rebuilding the driver against mesa 7.0.3-rc1 did not help, I'll reinstall the regular one from the repos and try your hints.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#8 2008-03-20 00:04:58

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [Solved] xf86-video-intel 2.21 not refreshing screen completely

Update: adding the options to Xorg.conf doesn't help either. I have rolled back to Mesa 7.0.3 RC 1 and built xf86-video-intel on that. Keep you updated.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#9 2008-03-23 15:02:55

quantax
Member
Registered: 2007-08-16
Posts: 24

Re: [Solved] xf86-video-intel 2.21 not refreshing screen completely

I have similar problems.
On switching workspaces in xmonad sometimes rests of the previous workspace are visible on the edges of urxvt and between windows.
I have this for a longer time - I actually cannot remember when I didn't have it. So I don't think it is only a problem of recent xf86-video-intel or mesa packages.

% pacman -Q kernel26 xorg-server xf86-video-intel libgl mesa
kernel26 2.6.24.3-5
xorg-server 1.4.0.90-9
xf86-video-intel 2.2.1-1
libgl 7.0.3rc2-1
mesa 7.0.3rc2-1

Offline

#10 2008-03-31 03:13:33

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [Solved] xf86-video-intel 2.21 not refreshing screen completely

Ok. I have an update on this smile. I just installed Openbox on another setup of mine (brand new system actually) and it showed those same artifacts [img]the very first minute[/img]. I have been running Xfce two days on that setup without any similar glitches, so I am starting to think Openbox is the culprit here...


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#11 2008-04-01 02:40:05

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [Solved] xf86-video-intel 2.21 not refreshing screen completely

Also wo bleiben die Antworte!? Ich brauche lösungen... Und schnell!


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#12 2008-04-02 05:32:47

greblus
Member
From: Poland
Registered: 2006-12-24
Posts: 25
Website

Re: [Solved] xf86-video-intel 2.21 not refreshing screen completely

Hi.

My co-worker came to me recently with a similar problem with his Thinkpad. Setting

Option "VBERestore" "false"

solved the problem for him.

Hope this helps.

Offline

#13 2008-04-04 12:53:26

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [Solved] xf86-video-intel 2.21 not refreshing screen completely

I thought the VBERestore options only applied to suspending and resuming - but any hint is welcom, I'll try this and keep you posted smile. Thanks!

Edit: just added it and restarted X, problem remains. So I guess I wasn't wrong about the purpose of VBERestore after all smile.

Last edited by B (2008-04-04 13:51:16)


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#14 2008-04-24 22:55:46

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [Solved] xf86-video-intel 2.21 not refreshing screen completely

Ok. I bumped into a thread somewhere about acceleration and rendering glitches with the intel driver, which suggested to try the xaa acceleration method:

[stijn@hermes ~]$ grep xaa /etc/X11/xorg.conf
        Option     "AccelMethod"        "xaa"

So, I added this option, and while some of those fields seem to 'lag' a bit when I switch to another virtual desktop, they do go away by themselves smile. So I guess this is solved ^_^.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

Board footer

Powered by FluxBB