You are not logged in.
When I move a window in Xorg, there is vertical tearing. This is on a Lenovo SL410 with an Intel GM45 and is annoying as hell.
I'm using these packages:
extra/xorg-server 1.8.1.902-1
extra/xf86-video-intel
I've added no custom configuration to xorg, this is completely auto-detected. I'm not using Compiz or any hardware accelerated window managers, just plain 'ol openbox. I've tried "aur/xf86-video-intel-newest" and "aur/xf86-video-intel-git" with no difference.
I've thought about manually describing horz sync and vert refresh but I cannot find the specs anywhere. I'm not even sure that's the problem. It looks like the resolution and dpi are correct.
[~]$ glxinfo | grep -i rendering
direct rendering: Yes
[~]$ xvidtune -show
"1366x768" 69.30 1366 1404 1426 1436 768 771 777 803 -hsync -vsync
[~]$ xrandr
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
VGA1 disconnected (normal left inverted right x axis y axis)
LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 309mm x 173mm
1366x768 60.1*+ 50.1
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
[~]$ xdpyinfo | grep dots
resolution: 96x96 dots per inch
read-edid fails completely and ddcxinfo-arch reports inaccurate info as far as I can tell. I couldn't find ddcprobe anywhere but I assume ddcxinfo-arch reports the same info. Despite this, the info looks OK in the xorg log.
Last edited by oops (2010-10-29 01:10:59)
Offline
In other words, does anyone have the Intel GMA 4500MHD working without tearing in xorg? How did you do it?
Offline
Yes, I have a thinkpad T500 without xorg.conf and kde4
root # lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
xorg-server 1.8.1.902-1
xf86-video-intel 2.11.0-2
intel-dri 7.8.2-1
libdrm 2.4.21-1
can you post your /var/log/Xorg.0.log and your lspci?
Offline
My lspci is identical to yours, as are my package versions.
http://omploader.org/vNHJ6aw/Xorg.0.log
I didn't see anything out of the ordinary in my xorg log.
Are you using a compositor with KDE?
EDIT: Apparently that doesn't make any difference. I started xcompmgr and it still tears when I move windows around.
Last edited by oops (2010-06-28 23:16:36)
Offline
Yes, I have kde and desktop effects and all run ok
Offline
Well... I left Arch for awhile and I came back and now everything has been through a few revisions and I *still* have vertical tearing when moving windows. I tried openbox and blackbox so far. Nobody else has this issue?
I'm running:
extra/xf86-video-intel 2.12.0-3
extra/xorg-server 1.9.0-1
extra/intel-dri 7.8.2-3
extra/libdrm 2.4.21-2
With no special xorg configuration, no compositing.
Here's the two lines for graphics in my lscpci output:
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
Some noise from Xorg log:
[user@computer ~]$ grep EE /var/log/Xorg.0.log
[ 938.897] Current Operating System: Linux blah 2.6.35-ARCH #1 SMP PREEMPT Wed Sep 29 08:45:18 CEST 2010 x86_64
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 938.918] (II) Loading extension MIT-SCREEN-SAVER
[user@computer ~]$ grep WW /var/log/Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 938.916] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 938.916] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 938.916] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 938.923] (WW) Falling back to old probe method for vesa
[ 938.923] (WW) Falling back to old probe method for fbde
[user@computer ~]$ grep "intel(0)" /var/log/Xorg.0.log
[ 1945.191] (II) intel(0): Creating default Display subsection in Screen section
[ 1945.191] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[ 1945.191] (==) intel(0): RGB weight 888
[ 1945.191] (==) intel(0): Default visual is TrueColor
[ 1945.191] (II) intel(0): Integrated Graphics Chipset: Intel(R) GM45
[ 1945.191] (--) intel(0): Chipset: "GM45"
[ 1945.191] (==) intel(0): video overlay key set to 0x101fe
[ 1945.206] (II) intel(0): Output VGA1 has no monitor section
[ 1945.312] (II) intel(0): Output LVDS1 has no monitor section
[ 1945.312] (II) intel(0): found backlight control interface /sys/class/backlight/thinkpad_screen
[ 1945.321] (II) intel(0): Output HDMI1 has no monitor section
[ 1945.321] (II) intel(0): Output DP1 has no monitor section
[ 1945.322] (II) intel(0): Output DP2 has no monitor section
[ 1945.339] (II) intel(0): EDID for output VGA1
[ 1945.446] (II) intel(0): EDID for output LVDS1
[ 1945.446] (II) intel(0): Manufacturer: LEN Model: 40a0 Serial#: 0
[ 1945.446] (II) intel(0): Year: 2009 Week: 1
[ 1945.446] (II) intel(0): EDID Version: 1.3
[ 1945.446] (II) intel(0): Digital Display Input
[ 1945.446] (II) intel(0): Max Image Size [cm]: horiz.: 31 vert.: 17
[ 1945.446] (II) intel(0): Gamma: 2.20
[ 1945.446] (II) intel(0): DPMS capabilities: StandBy Suspend Off
[ 1945.446] (II) intel(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[ 1945.446] (II) intel(0): First detailed timing is preferred mode
[ 1945.446] (II) intel(0): redX: 0.620 redY: 0.340 greenX: 0.330 greenY: 0.570
[ 1945.446] (II) intel(0): blueX: 0.150 blueY: 0.600 whiteX: 0.313 whiteY: 0.329
[ 1945.446] (II) intel(0): Manufacturer's mask: 0
[ 1945.446] (II) intel(0): Supported detailed timing:
[ 1945.446] (II) intel(0): clock: 69.3 MHz Image Size: 309 x 173 mm
[ 1945.446] (II) intel(0): h_active: 1366 h_sync: 1404 h_sync_end 1426 h_blank_end 1436 h_border: 0
[ 1945.446] (II) intel(0): v_active: 768 v_sync: 771 v_sync_end 777 v_blanking: 803 v_border: 0
[ 1945.446] (II) intel(0): Supported detailed timing:
[ 1945.446] (II) intel(0): clock: 57.8 MHz Image Size: 309 x 173 mm
[ 1945.446] (II) intel(0): h_active: 1366 h_sync: 1404 h_sync_end 1426 h_blank_end 1436 h_border: 0
[ 1945.446] (II) intel(0): v_active: 768 v_sync: 771 v_sync_end 777 v_blanking: 803 v_border: 0
[ 1945.446] (II) intel(0): Unknown vendor-specific block f
[ 1945.446] (II) intel(0): B140XW01 V6
[ 1945.446] (II) intel(0): EDID (in hex):
[ 1945.446] (II) intel(0): 00ffffffffffff0030aea04000000000
[ 1945.446] (II) intel(0): 01130103801f1178eac8a59e57549226
[ 1945.446] (II) intel(0): 99505400000001010101010101010101
[ 1945.446] (II) intel(0): 010101010101121b5646500023302616
[ 1945.446] (II) intel(0): 360035ad100000188f16564650002330
[ 1945.446] (II) intel(0): 2616360035ad100000180000000f008c
[ 1945.446] (II) intel(0): 09328c092816090006af5636000000fe
[ 1945.446] (II) intel(0): 004231343058573031205636200a006d
[ 1945.446] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported)
[ 1945.446] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
[ 1945.446] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
[ 1945.446] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
[ 1945.446] (II) intel(0): Not using default mode "640x480" (doublescan mode not supported)
[ 1945.446] (II) intel(0): Not using default mode "640x512" (doublescan mode not supported)
[ 1945.446] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
[ 1945.446] (II) intel(0): Not using default mode "896x672" (doublescan mode not supported)
[ 1945.446] (II) intel(0): Not using default mode "928x696" (doublescan mode not supported)
[ 1945.446] (II) intel(0): Not using default mode "960x720" (doublescan mode not supported)
[ 1945.446] (II) intel(0): Not using default mode "700x525" (doublescan mode not supported)
[ 1945.446] (II) intel(0): Not using default mode "1024x768" (doublescan mode not supported)
[ 1945.446] (II) intel(0): Printing probed modes for output LVDS1
[ 1945.446] (II) intel(0): Modeline "1366x768"x60.1 69.30 1366 1404 1426 1436 768 771 777 803 -hsync -vsync (48.3 kHz)
[ 1945.446] (II) intel(0): Modeline "1366x768"x50.1 57.75 1366 1404 1426 1436 768 771 777 803 -hsync -vsync (40.2 kHz)
[ 1945.446] (II) intel(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz)
[ 1945.446] (II) intel(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz)
[ 1945.446] (II) intel(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz)
[ 1945.446] (II) intel(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz)
[ 1945.455] (II) intel(0): EDID for output HDMI1
[ 1945.455] (II) intel(0): EDID for output DP1
[ 1945.456] (II) intel(0): EDID for output DP2
[ 1945.456] (II) intel(0): Output VGA1 disconnected
[ 1945.456] (II) intel(0): Output LVDS1 connected
[ 1945.456] (II) intel(0): Output HDMI1 disconnected
[ 1945.456] (II) intel(0): Output DP1 disconnected
[ 1945.456] (II) intel(0): Output DP2 disconnected
[ 1945.456] (II) intel(0): Using exact sizes for initial modes
[ 1945.456] (II) intel(0): Output LVDS1 using initial mode 1366x768
[ 1945.456] (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[ 1945.456] (II) intel(0): Pageflipping enabled in kernel, but disabled in X
[ 1945.456] (II) intel(0): Don't panic: https://bugzilla.redhat.com/588421
[ 1945.456] (==) intel(0): DPI set to (96, 96)
[ 1945.457] (II) intel(0): [DRI2] Setup complete
[ 1945.457] (II) intel(0): [DRI2] DRI driver: i965
[ 1945.457] (**) intel(0): Tiling enabled
[ 1945.457] (**) intel(0): SwapBuffers wait enabled
[ 1945.457] (==) intel(0): VideoRam: 262144 KB
[ 1945.457] (II) intel(0): Allocated new frame buffer 1408x768 stride 5632, tiled
[ 1945.466] (==) intel(0): Backing store disabled
[ 1945.466] (==) intel(0): Silken mouse enabled
[ 1945.466] (II) intel(0): Initializing HW Cursor
[ 1945.493] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 1945.493] (==) intel(0): DPMS enabled
[ 1945.493] (==) intel(0): Intel XvMC decoder enabled
[ 1945.493] (II) intel(0): Set up textured video
[ 1945.493] (II) intel(0): [XvMC] xvmc_vld driver initialized.
[ 1945.493] (II) intel(0): direct rendering: DRI2 Enabled
[ 1945.499] (II) intel(0): Setting screen physical size to 361 x 203
Can anyone offer ideas of what to try next?
Last edited by oops (2010-10-29 00:03:28)
Offline
Without compositing, you'll probably always have a bit of window tearing/glitching. With (or without) compositing, you likely need working vsync to avoid all tearing.
To test if vsync works, run glxgears (from mesa-demos package) and see if it locks to your monitor's refresh rate. I think it's supposed to work out of the box with intel, but you never know.
If xcompmgr doesn't solve it, you might want to try cairo-compmgr instead (you can disable all the effects and just get basic compositing).
I have HorizSyn and VertRefresh manually set to the manufacturer's specs, but it looks like the driver is doing that for you.
Offline
Ok I am using cairo-compmgr and all is right with the world again.
EDIT: Only problem is the preferences box is buggy but it is usable.
EDIT2: Ok, cairo-compmgr is too buggy but xcompmgr seems to work...
EDIT3: FML xcompmgr doesn't fix tearing.
EDIT4: cairo-compmgr actually doesn't seem to work but it minimizes the problem.
Last edited by oops (2010-10-29 02:08:19)
Offline
So I also have an Intel GMA945 - and I have some minimal tearing with openbox and either xcompmgr or cairo-compmgr.
I feel like I can live with tearing.
However I am curious about your dvd playback? Mine is like watching youtube videos full screen... awful.
Every month or two I start digging around at this and end up wanting to throw this computer through a window.
I get this error in dmesg:
mtrr: type mismatch for e0000000,10000000 old: write-back new: write-combining
[drm] MTRR allocation failed. Graphics performance may suffer.
I wrote a script to add a write combining register but I am not sure it it helped or not..
djolk
Offline