Datatombraider's Blog

2011/06/14

RHEL 6.1, ATI and compiz

Filed under: Linux — datatombraider @ 22:21

After upgrading my RHEL6.0 installation to RHEL6.1 compiz made some trouble. the menus and screens of some application, most notable openoffice and firefox looked distorted, like they weren’t refreshed properly. Compiz made some trouble in the past, so i first decided to disable it. But after some time i missed the compiz features like wall and zoom, so i tried to solve the issue and succeeded, hooray.

The fix was very easy: start compiz with ‘–indirect-rendering’. The best way to do it is to change ‘/usr/bin/compiz-gtk’ (i use GNOME). The script checks if ‘–indirect-rendering’ is necessary but for unknown reasons it doesn’t work properly on my ATI card. Here’s the change:

$ cat /usr/bin/compiz-gtk

function runCompiz() {
gtk-window-decorator &
#    exec compiz –ignore-desktop-hints glib gconf gnomecompat $@
exec compiz –indirect-rendering –ignore-desktop-hints glib gconf gnomecompat $@
}

After the change everything is working just fine.

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.