You are not logged in.

#1 2012-10-15 02:56:15

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

[Mostly SOLVED] Mesa-9 OpenGL Artifacts & Tarring

(Hum, probaly not the right place to post this. Mod's move if needed please, sorry...)

After the upgrade today, I had tarring of windows when moving them around. Worst of all, I had these white rectangular artifacts across the top of the screen, and sometimes the mouse cursor turned into a white artifact.

Hardware:
Thinkpad X230
CPU: i7-3520M
Intel Graphics: HD4000

Software:
KDE4
Compositing: OpenGL

Kernels tried:
3.5.6-1-grsec
3.6.1-2-grsec
And Arch default kernel
3.5.6-1

Upgrade that broke it... pacman.log

[2012-10-14 13:24] Running 'pacman -Sy'
[2012-10-14 13:24] synchronizing package lists
[2012-10-14 13:24] Running 'pacman -Syu'
[2012-10-14 13:24] synchronizing package lists
[2012-10-14 13:24] starting full system upgrade
[2012-10-14 13:28] upgraded curl (7.27.0-1 -> 7.28.0-1)
[2012-10-14 13:28] upgraded libglapi (8.0.4-3 -> 9.0-1)
[2012-10-14 13:28] upgraded libgl (8.0.4-3 -> 9.0-1)
[2012-10-14 13:28] upgraded freeglut (2.8.0-1 -> 2.8.0-2)
[2012-10-14 13:28] upgraded mesa (8.0.4-3 -> 9.0-1)
[2012-10-14 13:28] installed glu (9.0.0-1)
[2012-10-14 13:28] upgraded ftgl (2.1.3rc5-3 -> 2.1.3rc5-4)
[2012-10-14 13:28] upgraded gegl (0.2.0-3 -> 0.2.0-4)
[2012-10-14 13:28] upgraded glew (1.8.0-1 -> 1.8.0-2)
[2012-10-14 13:28] upgraded gnutls (3.1.2-1 -> 3.1.3-1)
[2012-10-14 13:28] upgraded gtkglext (1.2.0-7 -> 1.2.0-8)
[2012-10-14 13:28] upgraded imagemagick (6.7.9.8-1 -> 6.7.9.8-2)
[2012-10-14 13:28] upgraded intel-dri (8.0.4-3 -> 9.0-1)
[2012-10-14 13:28] upgraded jasper (1.900.1-7 -> 1.900.1-8)
[2012-10-14 13:28] upgraded kdebase-runtime (4.9.2-1 -> 4.9.2-2)
[2012-10-14 13:28] upgraded khrplatform-devel (8.0.4-3 -> 9.0-1)
[2012-10-14 13:28] upgraded libgles (8.0.4-3 -> 9.0-1)
[2012-10-14 13:28] upgraded systemd (194-1 -> 194-3)
[2012-10-14 13:28] upgraded libgbm (8.0.4-3 -> 9.0-1)
[2012-10-14 13:28] upgraded libegl (8.0.4-3 -> 9.0-1)
[2012-10-14 13:28] upgraded kdebase-workspace (4.9.2-2 -> 4.9.2-4)
[2012-10-14 13:28] upgraded kdelibs (4.9.2-1 -> 4.9.2-2)
[2012-10-14 13:28] upgraded lib32-libglapi (8.0.4-4 -> 9.0-1)
[2012-10-14 13:28] upgraded lib32-libgl (8.0.4-4 -> 9.0-1)
[2012-10-14 13:28] upgraded lib32-intel-dri (8.0.4-4 -> 9.0-1)
[2012-10-14 13:28] upgraded libldap (2.4.32-1 -> 2.4.33-1)
[2012-10-14 13:28] upgraded libreoffice-en-US (3.6.2-1 -> 3.6.2-2)
[2012-10-14 13:28] upgraded libreoffice-common (3.6.2-1 -> 3.6.2-2)
[2012-10-14 13:28] upgraded libreoffice-base (3.6.2-1 -> 3.6.2-2)
[2012-10-14 13:28] upgraded libreoffice-calc (3.6.2-1 -> 3.6.2-2)
[2012-10-14 13:28] upgraded libreoffice-draw (3.6.2-1 -> 3.6.2-2)
[2012-10-14 13:28] upgraded libreoffice-extension-pdfimport (3.6.2-1 -> 3.6.2-2)
[2012-10-14 13:28] upgraded libreoffice-gnome (3.6.2-1 -> 3.6.2-2)
[2012-10-14 13:28] upgraded libreoffice-impress (3.6.2-1 -> 3.6.2-2)
[2012-10-14 13:28] upgraded libreoffice-kde4 (3.6.2-1 -> 3.6.2-2)
[2012-10-14 13:28] upgraded libreoffice-math (3.6.2-1 -> 3.6.2-2)
[2012-10-14 13:28] upgraded libreoffice-postgresql-connector (3.6.2-1 -> 3.6.2-2)
[2012-10-14 13:28] upgraded libreoffice-sdk (3.6.2-1 -> 3.6.2-2)
[2012-10-14 13:28] upgraded libreoffice-sdk-doc (3.6.2-1 -> 3.6.2-2)
[2012-10-14 13:28] upgraded libreoffice-writer (3.6.2-1 -> 3.6.2-2)
[2012-10-14 13:28] upgraded ruby (1.9.3_p194-2 -> 1.9.3_p286-1)
[2012-10-14 13:28] upgraded sysvinit-tools (2.88-8 -> 2.88-9)
[2012-10-14 13:28] upgraded systemd-sysvcompat (194-1 -> 194-3)
[2012-10-14 13:28] upgraded xf86-input-evdev (2.7.3-1 -> 2.7.3-2)
[2012-10-14 13:28] upgraded xf86-input-synaptics (1.6.2-1 -> 1.6.2-2)
[2012-10-14 13:28] upgraded xf86-video-intel (2.20.9-1 -> 2.20.9-2)
[2012-10-14 13:28] upgraded xorg-server-common (1.12.4-1 -> 1.13.0-2)
[2012-10-14 13:28] upgraded xorg-server (1.12.4-1 -> 1.13.0-2)

#
#  My path to downgrade that fixed the problem
#

Removed Conflicting files... from new package glu... I guess

# mv /usr/include/GL/glu.h /root/backup/usr/include/GL
# mv /usr/include/GL/glu_mangle.h /root/backup/usr/include/GL
# mv /usr/lib/libGLU.so /root/backup/usr/lib
# mv /usr/lib/libGLU.so.1 /root/backup/usr/lib
# mv /usr/lib/pkgconfig/glu.pc /root/backup/usr/lib/pkgconfig

Downgrade Fixed it.... /var/cache/pacman/pkg

[2012-10-14 16:25] Running 'pacman -U libglapi-8.0.4-3-x86_64.pkg.tar.xz libgl-8.0.4-3-x86_64.pkg.tar.xz freeglut-2.8.0-1-x86_64.pkg.tar.xz mesa-8.0.4-3-x86_64.pkg.tar.xz ftgl-2.1.3rc5-3-x86_64.pkg.tar.xz gegl-0.2.0-3-x86_64.pkg.tar.xz glew-1.8.0-1-x86_64.pkg.tar.xz gtkglext-1.2.0-7-x86_64.pkg.tar.xz jasper-1.900.1-7-x86_64.pkg.tar.xz intel-dri-8.0.4-3-x86_64.pkg.tar.xz libgles-8.0.4-3-x86_64.pkg.tar.xz libgbm-8.0.4-3-x86_64.pkg.tar.xz libegl-8.0.4-3-x86_64.pkg.tar.xz lib32-libglapi-8.0.4-4-x86_64.pkg.tar.xz lib32-libgl-8.0.4-4-x86_64.pkg.tar.xz lib32-intel-dri-8.0.4-4-x86_64.pkg.tar.xz xf86-input-evdev-2.7.3-1-x86_64.pkg.tar.xz xf86-input-synaptics-1.6.2-1-x86_64.pkg.tar.xz xf86-video-intel-2.20.9-1-x86_64.pkg.tar.xz xorg-server-common-1.12.4-1-x86_64.pkg.tar.xz xorg-server-1.12.4-1-x86_64.pkg.tar.xz'
[2012-10-14 16:25] upgraded libglapi (8.0.4-3 -> 8.0.4-3)
[2012-10-14 16:25] upgraded libgl (9.0-1 -> 8.0.4-3)
[2012-10-14 16:25] upgraded mesa (9.0-1 -> 8.0.4-3)
[2012-10-14 16:25] upgraded freeglut (2.8.0-2 -> 2.8.0-1)
[2012-10-14 16:25] upgraded ftgl (2.1.3rc5-4 -> 2.1.3rc5-3)
[2012-10-14 16:25] upgraded gegl (0.2.0-4 -> 0.2.0-3)
[2012-10-14 16:25] upgraded glew (1.8.0-2 -> 1.8.0-1)
[2012-10-14 16:25] upgraded gtkglext (1.2.0-8 -> 1.2.0-7)
[2012-10-14 16:25] upgraded jasper (1.900.1-8 -> 1.900.1-7)
[2012-10-14 16:25] upgraded intel-dri (9.0-1 -> 8.0.4-3)
[2012-10-14 16:25] upgraded libgles (9.0-1 -> 8.0.4-3)
[2012-10-14 16:25] upgraded libgbm (9.0-1 -> 8.0.4-3)
[2012-10-14 16:25] upgraded libegl (9.0-1 -> 8.0.4-3)
[2012-10-14 16:25] upgraded lib32-libglapi (9.0-1 -> 8.0.4-4)
[2012-10-14 16:25] upgraded lib32-libgl (9.0-1 -> 8.0.4-4)
[2012-10-14 16:25] upgraded lib32-intel-dri (9.0-1 -> 8.0.4-4)
[2012-10-14 16:25] upgraded xf86-input-evdev (2.7.3-2 -> 2.7.3-1)
[2012-10-14 16:25] upgraded xf86-input-synaptics (1.6.2-2 -> 1.6.2-1)
[2012-10-14 16:25] upgraded xf86-video-intel (2.20.9-2 -> 2.20.9-1)
[2012-10-14 16:25] upgraded xorg-server-common (1.13.0-2 -> 1.12.4-1)
[2012-10-14 16:25] upgraded xorg-server (1.13.0-2 -> 1.12.4-1)

# pacman -R glu

Last edited by hunterthomson (2012-10-31 22:14:11)


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

#2 2012-10-15 06:16:59

damiarch
Member
Registered: 2012-08-10
Posts: 9

Re: [Mostly SOLVED] Mesa-9 OpenGL Artifacts & Tarring

I'm getting this too on my HD3000.

It seems that there is a specific section of the screen that is updated at a different rate from the others that spans from the top to about a 5th of the way down.  If I move a window while it spans the two areas it tears but if I move the window down, it does not tear.

Offline

#3 2012-10-15 06:59:05

headkase
Member
Registered: 2011-12-06
Posts: 1,845

Re: [Mostly SOLVED] Mesa-9 OpenGL Artifacts & Tarring

My display is fine:

Intel Pentium E6600 @ 3.06Ghz
Intel x4500 graphics

Xfce4
Compiz compositing.

System is fully up-to-date including the just released Linux 3.6.2.  64-bit.

Edit: pure systemd.

Last edited by headkase (2012-10-15 07:01:40)

Offline

#4 2012-10-15 08:07:06

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: [Mostly SOLVED] Mesa-9 OpenGL Artifacts & Tarring

damiarch wrote:

I'm getting this too on my HD3000.

It seems that there is a specific section of the screen that is updated at a different rate from the others that spans from the top to about a 5th of the way down.  If I move a window while it spans the two areas it tears but if I move the window down, it does not tear.


Yes, same here. It is that "about a 5th of the way down" line that it tears on.
In genoral everything seemed slowed down.
What about Artifacts, do you get them too?

I'd like to find where to submit a bug report. I really want this to be fixed by the next release.

I have an LVM setup, but no time to work on it. If the problem is there there next weekend, I'll do some test, rollback, test, rollback... to try and find the package that the problem is in. My guess... is xorg-server, intel-dri, mesa, or "all OpenGL suff".

Last edited by hunterthomson (2012-10-15 08:12:50)


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

#5 2012-10-15 14:44:58

damiarch
Member
Registered: 2012-08-10
Posts: 9

Re: [Mostly SOLVED] Mesa-9 OpenGL Artifacts & Tarring

hunterthomson wrote:
damiarch wrote:

I'm getting this too on my HD3000.

It seems that there is a specific section of the screen that is updated at a different rate from the others that spans from the top to about a 5th of the way down.  If I move a window while it spans the two areas it tears but if I move the window down, it does not tear.


Yes, same here. It is that "about a 5th of the way down" line that it tears on.
In genoral everything seemed slowed down.
What about Artifacts, do you get them too?

I'd like to find where to submit a bug report. I really want this to be fixed by the next release.

I have an LVM setup, but no time to work on it. If the problem is there there next weekend, I'll do some test, rollback, test, rollback... to try and find the package that the problem is in. My guess... is xorg-server, intel-dri, mesa, or "all OpenGL suff".

I haven't seen any artifacts.  Only the tearing.

I'm using KDE/KWin with SNA.

Offline

#6 2012-10-15 16:34:41

sp42b
Member
Registered: 2008-04-01
Posts: 13

Re: [Mostly SOLVED] Mesa-9 OpenGL Artifacts & Tarring

I am using Gnome3 and had artifacts too. Hardware: AMD Llano A6-3500 (APU).



[2012-10-14 01:08] upgraded xf86-input-evdev (2.7.3-2 -> 2.7.1-1)
[2012-10-14 01:08] upgraded xf86-input-keyboard (1.6.2-2 -> 1.6.2-1)
[2012-10-14 01:08] upgraded xf86-input-mouse (1.8.1-2 -> 1.8.1-1)
[2012-10-14 01:08] upgraded xf86-video-ati (1:6.14.6-2 -> 1:6.14.6-1)
[2012-10-14 01:08] upgraded xf86-video-vesa (2.3.2-2 -> 2.3.2-1)
[2012-10-14 01:08] upgraded xorg-server-common (1.13.0-2 -> 1.12.4-1)
[2012-10-14 01:08] upgraded xorg-server (1.13.0-2 -> 1.12.4-1)
[2012-10-14 01:08] upgraded xterm (283-1 -> 282-1)

This did not helped!


[2012-10-14 01:34] upgraded libglapi (9.0-1 -> 8.0.4-3)
[2012-10-14 01:34] upgraded libgl (9.0-1 -> 8.0.4-3)
[2012-10-14 01:34] upgraded ati-dri (9.0-1 -> 8.0.4-3)

After this downgrade everything is fine again.

Offline

#7 2012-10-15 17:12:49

damiarch
Member
Registered: 2012-08-10
Posts: 9

Re: [Mostly SOLVED] Mesa-9 OpenGL Artifacts & Tarring

sp42b wrote:

I am using Gnome3 and had artifacts too. Hardware: AMD Llano A6-3500 (APU).



[2012-10-14 01:08] upgraded xf86-input-evdev (2.7.3-2 -> 2.7.1-1)
[2012-10-14 01:08] upgraded xf86-input-keyboard (1.6.2-2 -> 1.6.2-1)
[2012-10-14 01:08] upgraded xf86-input-mouse (1.8.1-2 -> 1.8.1-1)
[2012-10-14 01:08] upgraded xf86-video-ati (1:6.14.6-2 -> 1:6.14.6-1)
[2012-10-14 01:08] upgraded xf86-video-vesa (2.3.2-2 -> 2.3.2-1)
[2012-10-14 01:08] upgraded xorg-server-common (1.13.0-2 -> 1.12.4-1)
[2012-10-14 01:08] upgraded xorg-server (1.13.0-2 -> 1.12.4-1)
[2012-10-14 01:08] upgraded xterm (283-1 -> 282-1)

This did not helped!


[2012-10-14 01:34] upgraded libglapi (9.0-1 -> 8.0.4-3)
[2012-10-14 01:34] upgraded libgl (9.0-1 -> 8.0.4-3)
[2012-10-14 01:34] upgraded ati-dri (9.0-1 -> 8.0.4-3)

After this downgrade everything is fine again.

Are you getting tearing or just other artifacts?

After doing more testing, it definitely looks like the top fifth of the screen is updating slower.

Adding Option "TearFree" "True" to Xorg fixes the tearing but then KWin is unusably slow with OpenGL effects and has strange flickering artifacts.  TearFree works fine with XRender.

Last edited by damiarch (2012-10-15 17:25:36)

Offline

#8 2012-10-15 18:20:53

damiarch
Member
Registered: 2012-08-10
Posts: 9

Re: [Mostly SOLVED] Mesa-9 OpenGL Artifacts & Tarring

Offline

#9 2012-10-15 19:00:56

ontobelli
Member
From: Mexico City
Registered: 2011-02-06
Posts: 127

Re: [Mostly SOLVED] Mesa-9 OpenGL Artifacts & Tarring

Chris Wilson released the xf86-video-intel 2.20.10 DDX driver this weekend and it fixes up a number of core graphics driver bugs, including issues for older generations of Intel integrated graphics hardware.

http://www.phoronix.com/scan.php?page=n … px=MTIwNjg

In my case a workaround was to change  DefaultDepth in xorg.conf from 24 to 16.

Offline

#10 2012-10-15 22:25:59

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: [Mostly SOLVED] Mesa-9 OpenGL Artifacts & Tarring

Cool, big thanks to damiarch for putting up the bug report. I added my comments to it.

I am kind of happy to see ATI guys have the same problem... like, I hope it gets fixed sooner because more people are affected.

Good to know I can go try just keeping the gl* and intel-dri stuff downgraded. I'll try to find time tonight to give it a shot.


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

#11 2012-10-16 18:35:14

damiarch
Member
Registered: 2012-08-10
Posts: 9

Re: [Mostly SOLVED] Mesa-9 OpenGL Artifacts & Tarring

There is also an upstream bug for KWin here.

Last edited by damiarch (2012-10-16 18:53:43)

Offline

#12 2012-10-20 02:53:57

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: [Mostly SOLVED] Mesa-9 OpenGL Artifacts & Tarring

Yep, This solves the Artifacts problem

I just did a full upgrade. Then I downgraded just:

libglapi
libgl
intel-dri

To version 8.0.4-3

That solved the Artifacts, However the Tarring still persits in OpenGL mode.

BUT, now instead of the Tarring at the 2/5 of the way down the screen. The Tarring line moves slowly up the screen, then gets to the top and starts the the Tarring line at the bottom of the screen. It just keeps cycling up the screen like that.

I tried downgrading to:

mesa-8.0.4-3
ftgl-2.1.3rc5-3
glew-1.8.0-1
gtkglext-1.2.0-7
jasper-1.900.1-7

And removeing the new package glu-9.0.0-1

However, this seemed to have not effect. Same moving Tarring line.

Last edited by hunterthomson (2012-10-20 03:21:06)


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

#13 2012-10-23 19:18:09

b00rt00s
Member
Registered: 2012-07-31
Posts: 4

Re: [Mostly SOLVED] Mesa-9 OpenGL Artifacts & Tarring

I've got a X4500MHD. I have updated my system and then downgraded those packages:
intel-dri -> 8.0.4-3
libegl -> 8.0.4-3
libgbm -> 8.0.4
libgl -> 8.0.4-3
libglapi -> 8.0.4-3
libgles -> 8.0.4-3
mesa -> 8.0.4-3
All seems fine now.

Offline

#14 2012-10-31 22:17:02

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: [Mostly SOLVED] Mesa-9 OpenGL Artifacts & Tarring

Okay, with the new kdebase-workspace package that I guess the Arch guys have applied the patch to for GLX MSAA problem has fixed the Artifacts problem and the OpenGL KDE desktop is fast again.

However, there still is a Tarring line


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

Board footer

Powered by FluxBB