Language Selection

English French German Italian Portuguese Spanish

Howto: ATI fglrx driver + Xgl + compiz on Debian Sid for KDE users

Filed under

A how-to on manually installing Xgl and compiz on Debian Sid, for KDE users, with the proprietary ATI graphics driver ("fglrx").

Note: This how-to was done with Kanotix, which is very close to stock Debian Sid. I think it'll work on stock Debian Sid, but since I don't have Sid on my spare partition at the moment, I can't test it. If someone here can, it would be much appreciated.

Note: You should already have the fglrx driver installed and enabled before you start installing Xgl.

Note: If you have an nvidia card, AIGLX is a much better way to go than XGL. The new beta nvidia driver, v1.0-9626, supports AIGLX. AIGLX is better for the following reasons: AIGLX is built into (whereas Xgl runs on top of, so it's easy to enable and will get regular updates along with the rest of; and you still get 3D accelleration with AIGLX, meaning you can run, for example, Google Earth (you don't get 3D accelleration with Xgl).

So why not run AIGLX with the ATI driver? Because, as far as I can tell, the proprietary ATI driver doesn't support the "composite" extension. Evidently you can run AIGLX using the non-proprietary "radeon" driver, but it's much slower. So, on my laptop, which has an ATI Radeon Xpress 200M, for example, if I want those fancy desktop effects, I'm stuck with Xgl.

1.Install the following packages from the normal Sid repositories:

Note: Even though compiz packages are in Sid now, they're aimed at GNOME users and don't come with a Preferences utility or a Theme Selector utility. So we'll install a more functional compiz package later.

2. Add to /etc/apt/sources.list:
deb unstable/
deb-src unstable/

Then "apt-get update" and install:

3. Add to /etc/apt/sources.list:
deb binary-i386/

Then "apt-get update" and install:

4. Edit /etc/kde3/kdm/kdmrc:
In section "[X-:*-Core]":
"ServerCmd=/usr/bin/X -br"
"ServerCmd=/usr/bin/Xgl :1 -fp /usr/share/fonts/X11/misc -fullscreen -ac -accel glx:pbuffer -accel xv:pbuffer -br"

Even better, comment out the existing "ServerCmd" so you can go back and forth between Xgl and regular X.

5. Edit /etc/X11/xorg.conf:
In the keyboard section, add: "Option "XkbOptions" "altwin:super_win" "
In the screen section, make sure the default color depth is 24
In the graphics card section, make sure that "sw_cursor" is disabled/commented out

6. Edit /etc/init.d/kdm:
After the "set -e" line, add this line (omit the quotation marks):
"export LIBGL_DRIVERS_PATH=/usr/lib/dri"

At this point, Xgl should be running when you log in to KDE.

7. To start compiz:
Bring up a konsole window and type " &" You should now have compiz window decorations, wobbly windows, a desktop cube, etc.
You should also have a cgwd icon in your system tray (click on it to set compiz options and select themes!).

In order to start compiz when KDE starts, make a file named "compiz.desktop" with the following text:

[Desktop Entry]
Exec=xmodmap -e 'keycode 113 = Mode_switch' -e 'keycode 22 = BackSpace';

Double-click on it, and the screen should flicker have compiz going, with all the effects (wobbly windows; destop cube; etc.). You should also have an icon in your system tray that allows you to select themes and set preferences.

If you want it to run every time you log into KDE, put it in ~/.kde/Autostart.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

problem with Gtk

I did every step. At my lovely desktop IBM machine it worked. But now i tried it to a laptopt that has an intel videocard it didnt worked.Here is the output when i tried

/usr/bin/ GtkWarning: Can't set a parent on widget which has a parent

compiz: No composite extension
Couldn't load settings. Reverting to defaults.

** (cgwd:3529): WARNING **: Cannot open pixmap: unshade

** (cgwd:3529): WARNING **: Cannot open pixmap: above

** (cgwd:3529): WARNING **: Cannot open pixmap: unabove

** (cgwd:3529): WARNING **: Cannot open pixmap: sticky

** (cgwd:3529): WARNING **: Cannot open pixmap: unsticky

I can see the icon that will show preferences and the seelection at the tray. But there is no compiz effects on the desktop.
I will be happy if you help me.

compiz not installable on Sid

I tried your instructions for installing compiz on Sid. I ran into a dependency problem as the compiz package requires libdbus-1-2, but Sid only has libdbus-1-3 and dpkg/apt-get doesn't recognize it as fulfilling the dependency.

Any ideas as to if compiz will work with libdbus-1-3?

More in Tux Machines

New GNOME Mobile Shell Mockups Tease a Tactile Future on Tablets

With Phosh, the mobile face of GNOME Shell, taking shape on phones it’s not a major leap to start thinking about how the GNOME user experience might function on larger screen sizes. Like, say a tablet. Despite some folks thinking that GNOME Shell is a touch-focused UI, it isn’t. In fact, it’s pretty tedious to use without a keyboard or a mouse. Same was true of Unity, RIP. To succeed in a finger-driven environment you need a finger-driven interface. Just like the one on show in “very experimental” concept images recently shared by GNOME designer Tobias Bernard on the GNOME design Gitlab. Tobias is lead UI/UX designer at Purism and works directly on Phosh. Read more Also in GNOME today: Georges Basile Stavracas Neto: Timelines on Calendar

Audiocasts/Shows: Linux in the Ham Shack, Linux Headlines, and Going Linux

  • LHS Episode #337: SDRAngel Deep Dive

    Hello and welcome to Episode 337 of Linux in the Ham Shack. In this episode, the hosts take a deep dive into the shallow end of SDRAngel. The project is a GPLv3 licensed, modular front end and headless server for connecting to and operating SDR receivers and transceivers. Discussion includes where to find the software, how to build it, basic operation with broadcast FM stations, DMR, SSB, CW and more. Take a look. Try it out. Have fun with SDR. Hope you enjoy!

  • 2020-04-07 | Linux Headlines

    Microsoft proposes a new Linux kernel security mechanism, Firefox 75 rolls out significant changes, the Cloud Native Computing Foundation adopts Argo, and The Linux Foundation aims to boost adoption of the seL4 secure microkernel.

  • Going Linux #389 · Listener Feedback

    Bill burns out on distrohopping after providing multiple release reviews. Our listeners provide feedback on new user recommendations, hard drive mounting, encryption, trying Linux via USB, and the Linux Spotlight interview. We answer questions on security audit results. Episode 389 Time Stamps 00:00 Going Linux #389 · Listener Feedback 01:43 Bill burns out on distro hopping 02:24 but he has some feedback on a few releases 02:46 Linux Mint 19.3 03:24 Linux Mint Debian Edition 4 04:38 Endevour OS 07:13 ArcoLinux 10:19 Open Suse 12:16 Ubuntu MATE 14:49 Zorin 17:55 New user recommendations 24:22 Gregory: Hard drive mounting 27:28 Gregory: Great interview 30:09 John: Security audit recommendations 34:19 George: Paul's encryption problem 37:57 David: Linux via USB 44:09,, +1-904-468-7889, @goinglinux, feedback, listen, subscribe 45:17 End

Linux powered automotive computer is loaded with wireless

Eurotech’s rugged “DynaGate 20-30” is an automotive-certified IoT edge gateway that runs Linux on an Apollo Lake SoC with LTE Cat 4, WiFi, BLE, GPS, 2x GbE, and isolated DIO, serial, and CAN. A week after announcing a BoltGate 20-31 transportation computer aimed at rolling stock applications, Eurotech has unveiled an “automotive-certified Multi-service IoT Edge Gateway.” The fanless DynaGate 20-30 runs the same Yocto-derived Eurotech Everyware Linux distribution with Eclipse tooling and Azul Java support on the same Intel Apollo Lake platform used by the BoltGate 20-31. Read more

Red Hat Promoting Linux Containers

  • Why Linux containers are a CIO's best friend

    CIOs have many challenges today (to say the least), but one of the biggest is enabling the constant development and delivery of new applications — no longer a "nice to have" but a "must have" in today's ever-changing business and global environments. There are many tools that can help CIOs provide this support, but one of the most important is Linux containers. In a recent Smarter with Gartner report, Gartner Distinguished VP Analyst Gene Alvarez named "enabling and balancing product and project management of applications to focus on delivering business outcomes while maintaining highly reliable core business operations" as being one of the key challenges CIOs face in 2020. Organizations are turning to containers as a way to provide this business-technology balance. Indeed, the use of Linux containers has increased significantly in just the last year.

  • Be careful when pulling images by short name
  • Migrating applications to OpenShift, Part 1: Overview