HOW TO - Compiz and Intel x3100 graphics

Write tutorials and howtos in here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

HOW TO - Compiz and Intel x3100 graphics

Postby Cambo105 on Thu Apr 03, 2008 10:46 pm

Even though the new intel x3100 integrated graphics card is supported by Linux, it is unfortunately not supported by Compiz-Fusion. A bug during video playback with compiz enabled forced them to blacklist the x3100 card, but this is easily worked around.

First, I like to test that compiz will indeed work, this is done by entering the following code into the terminal:
Code: Select all
SKIP_CHECKS=yes compiz


At this point compiz should be working, if it is we can continue. Don't close that terminal!

Before proceeding, disable compiz in control center>appearence>visual effects tab by selecting "None"

To make compiz work, we need to force compiz to ignore the blacklist. To do this enter the following into the terminal:
Code: Select all
sudo gedit /usr/bin/compiz


This will open gedit, and it will display some code. Scroll down slowly and look for the following code:

Code: Select all
# blacklist based on the pci ids
# See http://wiki.compiz-fusion.org/Hardware/Blacklist for details
T="   1002:5954 1002:5854 1002:5955" # ati rs480
T="$T 1002:4153" # ATI Rv350
T="$T 8086:2982 8086:2992 8086:29a2 8086:2a02 8086:2a12"  # intel 965
T="$T 8086:2972" # i965 (x3000)
T="$T 1002:3152 1002:3150 1002:5462 1002:5653 " # ati X300 X600,X600 X700
BLACKLIST_PCIIDS="$T"
unset T


This is what we need to modify. One method is to just to delete this portion of code, but I don't recommend this because it isn't easy to return everything to normal. Instead I suggest just commenting out this section of code. This is done by placing a "#" in front of every line you want the computer to ignore. Place a "#" in front of all the above lines, the result should look like this:
Code: Select all
# blacklist based on the pci ids
# See http://wiki.compiz-fusion.org/Hardware/Blacklist for details
#T="   1002:5954 1002:5854 1002:5955" # ati rs480
#T="$T 1002:4153" # ATI Rv350
#T="$T 8086:2982 8086:2992 8086:29a2 8086:2a02 8086:2a12"  # intel 965
#T="$T 8086:2972" # i965 (x3000)
#T="$T 1002:3152 1002:3150 1002:5462 1002:5653 " # ati X300 X600,X600 X700
#BLACKLIST_PCIIDS="$T"
#unset T


Now just simply click save and exit gedit. If everything went smoothly you should be able to enable compiz with no problems. Go back to control center>appearance>visual effects tab and click "extra". Compiz should be working!

However now we have to deal with the reason why this card was blacklisted in the first place. If you try to play video (DVD for example) with compiz enabled, you wont be happy with the results, so I suggest not trying. There are two fixes for this problem. 1) (The easiest) Whenever you want to play a video, disable compiz in s similar manner to the way you enabled it, then simply re-enable when you finished. 2) (Slightly more involved) You can change the video playback settings. Do this by entering the following into the terminal:
Code: Select all
gstreamer-properties


This will open a little window. Click the "video" tab and under "output" on the "plugin" pulldown select "X window system (no Xv)". This should resolve any problems with video playback while compiz is enabled.

This is my first how-to, so criticism is welcome.
Keep your stick on the ice.

If the women don't find you handsome, they should at least find you handy.
Cambo105
Level 3
Level 3
 
Posts: 109
Joined: Fri Feb 15, 2008 12:20 am

Linux Mint is funded by ads and donations.
 

Re: HOW TO - Compiz and Intel x3100 graphics

Postby Husse on Fri Apr 04, 2008 6:17 am

I've seen you struggle with this and it's nice that you made a how to
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: HOW TO - Compiz and Intel x3100 graphics

Postby Husse on Sat May 03, 2008 2:31 pm

Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden


Return to Tutorials / Howtos

Who is online

Users browsing this forum: No registered users and 4 guests

cron