You are not logged in.

#1 2011-11-07 14:39:15

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

OpenGL WMs (gnome-shell, Kwin, Compiz) temporarily freeze the display

I have intel (Ironlake) graphics and for some reason, when I am using an OpenGL window manager, it will behave fine for a random amount of time, then the whole screen will be frozen, except that the computer still thinks everything is fine. I can continue typing into my text editor, but I wont see it until I activate some OpenGL animation to "wake up" the display (alt-tab is enough to wake it up, but trying to move a window or any other "2D" action is not).

Even if I run GLXGears, it wont notice that the screen is frozen. Once I update the screen by hitting alt-tab or my Scale-plugin's hotkey, I can see that GLXGears had continued reporting 60fps.

Unfortunately, I don't know how long it's been like this, as I've been using Openbox and the last time I used Compiz was several months ago. But it did work fine then.

Please let me know why info I should post to help shed some light on the problem.

Also: Sometimes, after it has screwed up several times, X draws the mouse cursor higher than it really is. In other words, to click a button, I have to move the mouse cursor to above the button. Never below or to the right or left.

Offline

#2 2011-11-08 12:59:30

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: OpenGL WMs (gnome-shell, Kwin, Compiz) temporarily freeze the display

Sorry: BUMP.

I've tried booting with the default kernel (I normally run a custom one) and removing all boot parameters from the grub menu entry. I have no xorg.conf entry related to the driver. Maybe I should?

Offline

#3 2011-11-08 15:45:11

cybertorture
Member
Registered: 2010-05-05
Posts: 339

Re: OpenGL WMs (gnome-shell, Kwin, Compiz) temporarily freeze the display

Well start with "dmesg" and "cat /var/log/Xorg.0.log" outputs, they may contain some point to start on.


O' rly ? Ya rly Oo

Offline

#4 2011-11-09 19:02:26

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: OpenGL WMs (gnome-shell, Kwin, Compiz) temporarily freeze the display

Unfortunately, it doesn't seem to show up in the logs. Here are both of those logs right after a freeze up:

Xorg.0.log

...
[105322.446] (II) AIGLX: Suspending AIGLX clients for VT switch
[105333.909] (II) Open ACPI successful (/var/run/acpid.socket)
[105333.910] (II) AIGLX: Resuming AIGLX clients after VT switch
[105333.963] (II) intel(0): EDID vendor "SEC", prod id 13889
[105333.963] (II) intel(0): Printing DDC gathered Modelines:
[105333.963] (II) intel(0): Modeline "1366x768"x0.0   72.33  1366 1414 1446 1526  768 770 775 790 -hsync -vsync (47.4 kHz)
[105334.040] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[105412.703] (II) AIGLX: Suspending AIGLX clients for VT switch
[105418.437] (II) Open ACPI successful (/var/run/acpid.socket)
[105418.438] (II) AIGLX: Resuming AIGLX clients after VT switch
[105418.490] (II) intel(0): EDID vendor "SEC", prod id 13889
[105418.490] (II) intel(0): Printing DDC gathered Modelines:
[105418.490] (II) intel(0): Modeline "1366x768"x0.0   72.33  1366 1414 1446 1526  768 770 775 790 -hsync -vsync (47.4 kHz)
[105418.578] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found

dmesg

11/09/11 01:59:11 PM	localhost	dbus-daemon[593]	** (polkitd:673): DEBUG:
11/09/11 01:59:11 PM	localhost	dbus-daemon[593]	** (polkitd:673): DEBUG: system-bus-name::1.5 is inquiring whether system-bus-name::1.199 is authorized for org.freedesktop.NetworkManager.settings.modify.system
11/09/11 01:59:11 PM	localhost	dbus-daemon[593]	** (polkitd:673): DEBUG:  user of caller is unix-user:root
11/09/11 01:59:11 PM	localhost	dbus-daemon[593]	** (polkitd:673): DEBUG:  user of subject is unix-user:rob
11/09/11 01:59:11 PM	localhost	dbus-daemon[593]	** (polkitd:673): DEBUG: checking whether system-bus-name::1.199 is authorized for org.freedesktop.NetworkManager.settings.modify.system
11/09/11 01:59:11 PM	localhost	dbus-daemon[593]	** (polkitd:673): DEBUG:   0x160e990
11/09/11 01:59:11 PM	localhost	dbus-daemon[593]	** (polkitd:673): DEBUG:  subject is in session /org/freedesktop/ConsoleKit/Session8 (local=1 active=1)
11/09/11 01:59:11 PM	localhost	dbus-daemon[593]	** (polkitd:673): DEBUG:  is authorized (has implicit authorization local=1 active=1)
11/09/11 01:59:11 PM	localhost	dbus-daemon[593]	** (polkitd:673): DEBUG:
11/09/11 01:59:11 PM	localhost	dbus-daemon[593]	** (polkitd:673): DEBUG: system-bus-name::1.5 is inquiring whether system-bus-name::1.199 is authorized for org.freedesktop.NetworkManager.settings.modify.own
11/09/11 01:59:11 PM	localhost	dbus-daemon[593]	** (polkitd:673): DEBUG:  user of caller is unix-user:root
11/09/11 01:59:11 PM	localhost	dbus-daemon[593]	** (polkitd:673): DEBUG:  user of subject is unix-user:rob
11/09/11 01:59:11 PM	localhost	dbus-daemon[593]	** (polkitd:673): DEBUG: checking whether system-bus-name::1.199 is authorized for org.freedesktop.NetworkManager.settings.modify.own
11/09/11 01:59:11 PM	localhost	dbus-daemon[593]	** (polkitd:673): DEBUG:   0x7fea78080c10
11/09/11 01:59:11 PM	localhost	dbus-daemon[593]	** (polkitd:673): DEBUG:  subject is in session /org/freedesktop/ConsoleKit/Session8 (local=1 active=1)
11/09/11 01:59:11 PM	localhost	dbus-daemon[593]	** (polkitd:673): DEBUG:  is authorized (has implicit authorization local=1 active=1)
11/09/11 01:59:11 PM	localhost	dbus-daemon[593]	** (polkitd:673): DEBUG:
11/09/11 01:59:11 PM	localhost	dbus-daemon[593]	** (polkitd:673): DEBUG: system-bus-name::1.5 is inquiring whether system-bus-name::1.199 is authorized for org.freedesktop.NetworkManager.settings.modify.hostname
11/09/11 01:59:11 PM	localhost	dbus-daemon[593]	** (polkitd:673): DEBUG:  user of caller is unix-user:root
11/09/11 01:59:11 PM	localhost	dbus-daemon[593]	** (polkitd:673): DEBUG:  user of subject is unix-user:rob
11/09/11 01:59:11 PM	localhost	dbus-daemon[593]	** (polkitd:673): DEBUG: checking whether system-bus-name::1.199 is authorized for org.freedesktop.NetworkManager.settings.modify.hostname
11/09/11 01:59:11 PM	localhost	dbus-daemon[593]	** (polkitd:673): DEBUG:   0x7fea78080c10
11/09/11 01:59:11 PM	localhost	dbus-daemon[593]	** (polkitd:673): DEBUG:  subject is in session /org/freedesktop/ConsoleKit/Session8 (local=1 active=1)
11/09/11 01:59:11 PM	localhost	dbus-daemon[593]	** (polkitd:673): DEBUG:  is authorized (has implicit authorization local=1 active=1)
11/09/11 01:59:11 PM	localhost	dbus-daemon[593]	** (polkitd:673): DEBUG:

It happens with direct-rendering in Kwin, which I thought was a no-no for intel chips, but if I disable direct-rendering, kwin crashes immediately with a segfault.

Offline

#5 2011-11-10 18:28:18

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: OpenGL WMs (gnome-shell, Kwin, Compiz) temporarily freeze the display

So, apparently this issue is not unique to me, but used to happen back when the intel drivers used XAA. The solution then was to use the Xorg option XAANoOffscreenPixmaps and set it to true.
http://wiki.compiz.org/Troubleshooting# … 27t_Update

From my understanding, the current intel drivers can only use UXA acceleration method and I don't even think they use the whole offscreen pixmaps thing...

Surely there is some Xorg option that will fix this issue.

I've tried a bunch, but it's all a shot in the dark for me. TripleBuffer, MigrationHeuristic, BackingStore didn't do anything.

Last edited by pogeymanz (2011-11-10 19:28:57)

Offline

Board footer

Powered by FluxBB