Gentoo Archives: gentoo-user

From: Arnau Bria <arnau@×××××××××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] compiz and intel driver
Date: Mon, 21 Dec 2009 21:31:20
Message-Id: 20091221223314.1cfc0366@amparo
1 Hi all.
2
3 I'm reading http://en.gentoo-wiki.com/wiki/Compiz-Fusion and I'd like
4 to configure an intel graph card and I use xfce.
5
6 it says:
7
8 Intel GMA
9
10 Intel GMA PC owners should start compiz with some more parameters (INTEL_BATCH & LIBGL_ALWAYS_INDIRECT & --indirect-rendering) set before starting compiz:
11 LIBGL_ALWAYS_INDIRECT=1 INTEL_BATCH=1 compiz --replace --indirect-rendering --sm-disable ccp
12
13 But where do I have to set those params?
14 is /home/<username>/.start-compiz the right place?
15
16 something like:
17 #!/bin/bash
18
19 export LIBGL_ALWAYS_INDIRECT=1
20 export INTEL_BATCH=1
21 compiz --replace --indirect-rendering --sm-disable ccp
22 emerald --replace
23
24
25 TIA,
26 Arnau