Xgl (한국어)
From ArchWiki
i18n |
---|
English |
Franc,ais |
한국어 |
Xgl는 일종의 X 서버 아키텍처이며, David Reveman에 의해 시작되었고, glitz를 사용하여 OpenGL을 기반으로 하고 있습니다. OpenGL 드라이버를 통해 최근의 그래픽카드의 이점을 받고 있으며, 모든 X, OpenGL, XVideo 응용 프로그램과 그래픽 효과의 하드웨어 가속을 Compiz 같은 컴포지팅 윈도우 매니저(compositing window manager)를 통해 지원합니다. 2006년 2월, 제작 초기단계에 있으며 로우레벨의 OpenGL드라이버를 필요로하는 상태입니다. Xgl에 관한 더 많은것을 Wikipedia 에서 읽어보세요.
Xgl 설치
요구사항
제일 먼저, Arch Linux 시스템이 필요합니다 :). 또한 모듈버전의 X(X11R7)이 필요합니다. 만약 아직 설치하지 않았다면, 당장 이렇게 하세요:
pacman -Sy xorg
ATI와 nVidia의 그래픽카드 유저들은 반드시 독점 드라이버를 사용하세요. Xorg의 "ati"와 "r300" 드라이버는 XGL을 아직 지원하지 않고있습니다. 인텔 그래픽카드 유저들은 오픈소스 드라이버를 사용할 수 있습니다.
저장소에서 (쉬운 방법)
Shadowhand로 부터의 알림: "다시 한번 말하건대, 나는 더 이상 XGL패키지(compiz, fixesproto, xgl-cvs, mesa-xgl-cvs, etc)를 컴파일하거나 유지보수하지 않을것입니다." 제발 그것들에 대한 문의를 보내지 말아주세요. 달리 말하면, 패키지들은 더 이상 그의 저장소에 존재하지 않습니다.
패키지들은 DaNiMoTh의 서버에 있습니다. Shadowhand는 더 이상 그의 저장소에서 XGL을 관리하지 않기때문에 DaNiMoTh의 저장소를 사용해야합니다(DaNiMoTh는 AUR에 있는 PKGBUILD의 관리자 입니다). 아래의 문구를 /etc/pacman.conf 에 추가하세요.
[danimoth] Server = http://jjdanimoth.altervista.org/arch/i686
AthlonXP(역자 주 : AMD CPU군의 이름. 저도 AthlonXP인 바톤 2500+를 사용하고 있습니다. 만세!)를 사용한다면 아래의 저장소를 사용하세요.
[danimoth] Server = http://jjdanimoth.altervista.org/arch/athlon-xp
그리고 다음과 같이 하세요.
pacman -Syu pacman -S xgl-git compiz-git (or compiz-quinn-cvs)
의존성 문제를 해결치 못했다면 [testing] 저장소와 [community] 저장소를 /etc/pacman.conf 에서 활성화 했는지 확인하세요.
compiz-cvs는 순수한 CVS버전의 Compiz이며, compiz-quinn-cvs는 Quinn의 고도로 패치된 버전이라는것을 유념하세요. compiz-quinn-cvs는 기능이 좀 더 많으며 더 흥미롭습니다.
또한 Compiz에서 더 나은 윈도우 타이틀바를 보기 원한다면, libwnck-compiz 패치를 설치하세요.
pacman -S libwnck-compiz
존재하는 모든 X 서버를 종료하고 사용하기 원하는 인자를 결정하기 위해 startxgl --help 를 실행하세요. 그리고 startxgl 을 정확한 인자들과 함께 다시 한번 실행하세요.
소스에서
You need to obtain Mikos' PKGBUILDs. You can find them here, or in AUR. Compile and install in this order:
- fixesproto
- glproto-git
- glitz-cvs
- mesa-xgl-cvs
- xgl-git
- cairo-git
- libwnck-compiz
- compiz-git or compiz-quinn-cvs
If pacman complains about dependency, just remove the problematic package using:
pacman -Rd <package>
and then install the newer cvs version.
데스크탑 매니저 설정
알림: Compiz 는 윈도우 매니저입니다!
Compiz 는 멋진 눈요기감 효과를 보여주는 컴포지팅/윈도우 매니저입니다. 윈도우 매니저이기때문에, Enlightenment, Fluxbox, Metacity, 그리고 다른 어떤 윈도우 매니저와도 함께 실행시킬 수 없습니다. 오직 데스크탑 환경(Gnome, KDE, Xfce, EDE...)만을 Compiz와 함께 사용할 수 있습니다. 정말 다른 윈도우 매니저를 사용하면서 멋진 효과를 보기 원한다면 glxcompmgr 을 사용할 수 있습니다. glxcompmgr 은 반대당합니다(원문 : Glxcompmgr is deprecated 역자 주 : 별로 추천하지 않는다는 말 같군요). xcompmgr과 비슷한 컴포지팅 매니저입니다. Compiz가 가지는 모든 효과들을 가질 수 없음을 명심하세요. 설치는 shadowhand의 저장소를 이용합니다. 사용하기 위해서 Xgl과 무엇이든 원하는 윈도우 매니저를 실행하고 터미널을 연 다음 "glxcompmgr" 이라고 입력하세요.
GDM
Method 1 - GDM 에서 XGL 사용하기
이 안내서는 대부분 Gentoo Wiki 에 있는 these instructions 의 수정판입니다. 이 안내서는 필자가 GDM을 이용하면서 Xgl을 실행시키기 위해 밟은 수순을 설명해 줄 것입니다.
먼저, 정규적인 X 대신에 XGL을 사용하도록 GDM을 설정해 줄 필요가 있으므로 /opt/gnome/etc/gdm/gdm.conf 을 주로쓰는 텍스트 편집기를 사용하여 root 권한으로 엽니다. (먼저 백업을 작성했는지 확인하세요) :
(알림: Gnome 2.13 이라면, 아래의 변경사항을 /opt/gnome/etc/gdm/custom.conf 에 넣던지 혹은 선택적으로 /opt/gnome/sbin/gdmsetup (GUI 설정 프론트엔드) 를 사용하여 gdm.conf 를 생성할 수 있습니다)
- [servers] 섹션을 찾고
- 0=Standard 의 주석을 풀고 0=inactive 라고 바꾸고
- 0=inactive 다음에 새 줄을 추가하여 1=Xgl 라고 입력합니다
이제 끝내봅시다:
[servers] # These are the standard servers. You can add as many you want here # and they will always be started. Each line must start with a unique # number and that will be the display number of that server. Usually just # the 0 server is used. # 0=Standard 0=inactive 1=Xgl
1=Xgl 라고 입력했기때문에 Xgl을 서버로 정의해야합니다. 그러기 위해서 gdm.conf 의 마지막에 아래와같이 추가합니다:
# Definition of the xgl X server. [server-Xgl] name=Xgl command=/usr/bin/Xgl :1 -ac -accel glx:pbuffer -accel xv flexible=true chooser=false handled=true priority=0
ATI 그래픽카드 유저라면 command 줄을 아래와같이 하세요:
command=/usr/bin/Xgl :1 -ac -accel xv:pbuffer -accel glx:pbuffer
다음으로 compiz 와 gtk-window-decorator 를 실행시킬 필요가 있습니다. 이를 위해, 필자는 /usr/bin/compizrc 를 생성하여 아래와같은 코드를 입력했습니다:
#!/bin/bash # # Start compiz within gnome-session # This script checks to see if XGL is running before starting compiz & gtk-window-decorator if [ `ps -A | grep Xgl | wc -l` == "1" ]; then LD_LIBRARY_PATH=/opt/mesa-xgl-cvs/lib/ \ LD_PRELOAD=/opt/mesa-xgl-cvs/lib/libGL.so.1.2 \ compiz --replace miniwin decoration transset \ state wobbly fade minimize cube rotate zoom \ place scale move resize switcher trailfocus water bs & gtk-window-decorator --replace & fi
LD_LIBRARY_PATH=/opt/mesa-xgl-cvs/lib/ 가 실제 경로와 다를수 있으므로 정확한 경로를 위해/usr/bin/startxgl 를 검사해야함을 유의하세요.
/usr/bin/compizrc 를 실행가능하게 만듭시다:
chmod 755 /usr/bin/compizrc
그리고 자신이 선택한 데스크탑 환경이나 윈도우 매니저의 자동실행설정(startup)에 추가하세요. 즉 Gnome 에서는 Desktop -> Preferences -> Sessions 의 Startup Programs 탭에 가서 Add 를 클릭합니다. (역자 주 : 제가 Gnome을 쓰는 일이 거의 없어서 한글번역명이 무엇인지 모르니 Gnome 쓰시는분이 번역해 주세요)
Method 2 - Xgl을 이용하여 새 GDM 엔트리로 Gnome 실행하기
알림: 이 방법은 Xgl 세션을 GDM과는 분리하여 실행합니다(GDM은 정규 X 서버위에서 실행됩니다). 이것은 사실상 GDM이 세션을 관리하지 않는다는것을 의미하고 몇가지 문제를 일으킵니다. 첫번째 방법이 더 적절합니다.
간단한 방법(UTjunkie)방법은 꽤 잘돌아가는것처럼 보인다. 필자가 찾은 이 방법의 유일한 단점은 더 이상 직접적으로 Gnome을 재시작하거나 종료할 수 없다는겁니다. 먼저 로그아웃한 다음 GDM으로부터 종료 혹은 재시작을 선택해야하지요. 나는 Nvidia 그래픽카드 환경에서 돌아가는 Gnome을 위해서 이걸 했지만, 기본적으로 다른 환경에서도 똑같습니다:
root 권한으로 하셔야 합니다: 자신이 선호하는 텍스트 편집기(필자의 경우는 nano... 비웃겠군(역자 주: 저도 nano...))로 /etc/X11/sessions/gnome-xgl.desktop 를 생성합니다. 내용은 다음과 같습니다:
[Desktop Entry] Encoding=UTF-8 Type=XSession Exec=startxgl-custom TryExec=startxgl-custom Name=GNOME with XGL support Name[en_CA]=GNOME with XGL support Name[en_GB]=GNOME with XGL support Name[ko_KR]=XGL 지원하의 GNOME
이제 /usr/bin/startxgl-custom 를 생성합시다. 내용은 다음과 같습니다:
#!/bin/sh export KDMWM="/usr/bin/compizrc" Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer & # 이건 ATI 그래픽카드 유저를 위한것이므로, NVidia 그래픽카드 유저는 이것을 사용하세요: Xgl :1 -ac -accel glx:pbuffer -accel xv DISPLAY=:1 gnome-session
그리고 실행가능하게 만들어줍니다:
chmod 755 /usr/bin/startxgl-custom
다음으로 /usr/bin/compizrc 를 생성합시다. 내용은 다음과 같습니다:
#!/bin/bash if [ `ps -A | grep Xgl | wc -l` == "1" ]; then LD_LIBRARY_PATH=/opt/mesa-xgl-cvs/lib/ \ LD_PRELOAD=/opt/mesa-xgl-cvs/lib/libGL.so.1.2 \ compiz --replace miniwin decoration transset \ state wobbly fade minimize cube rotate zoom \ place scale move resize switcher trailfocus water bs & gtk-window-decorator --replace & fi
이것도 실행가능하게 만들어줍니다:
chmod 755 /usr/bin/compizrc
이제 Gnome에서 Desktop>Preferences>Sessions 으로 갑시다. "Startup programs" 탭으로 가서, Add 를 누르고 "compizrc" 라고 입력합니다. OK를 누르고 창을 닫습니다. 그리고 끝입니다. 이제 GDM의 "choose session"에 추가된 엔트리가 생겼습니다. GDM에서 Xgl을 사용하여 실행할지, 없이 실행할지 선택할 옵션을 가지게되었습니다. 만약 다른 하드웨어를 가지고있거나 다른 데스크탑 환경을 추가하기 원한다면 /usr/bin/startxgl 을 수정하여 "gnome-session"을 선호하는 데스크탑 환경으로 바꿉니다. 명백히 /etc/X11/sessions 디렉토리 안에 .desktop 파일들을 다른 설정이나 윈도우 매니저를 위해 더 생성할 수 있습니다.
필자가 자신의 로케일을 선택했음을 꼭 유념하세요. 만약 다른 어딘가에 살고있다면, 십중팔구 자신의 로케일을 선택하기 원할것입니다. 원래 /etc/X11/sessions/ 안에 있던 다른 어떤 파일로부터도 로케일의 전체 목록을 얻을 수 있을것이다(그리고 당신의 새 .desktop 파일에 복사&붙여넣기를 할 수도 있을것이다). 만약 잘못된 로케일을 얻어왔다면, GDM에서 당신이 얻어온 것이 아닌 "foo"나 다른것으로 보이게 됩니다.(If you get the locales wrong, the name will come up in GDM as "foo" or something, not the description you gave it.)
KDM
Method 1 - KDM 에서 XGL 사용하기
이 파일을 수정합시다. /opt/kde/share/config/kdm/kdmrc
다음 문구를 찾으세요.
ServerCmd=/usr/bin/X -br
nVIDIA 그래픽카드 유저라면, 이렇게 바꾸세요.
ServerCmd=/usr/bin/Xgl :0 -fullscreen -ac -accel xv -accel glx:pbuffer
ATi 그래픽카드 유저라면, 이렇게 바꾸세요
ServerCmd=/usr/bin/Xgl :0 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer
그 다음으로, [X-*-Core] 섹션으로 가서 아래의 문구들을 추가합니다.
#Xgl extra lines OpenRepeat=5 OpenDelay=15 OpenTimeout=2000 ServerTimeout=60
KDE 에서 compiz를 실행하기 위해, /usr/bin/compizrc 같은 파일에 아래의 스크립트를 씁니다.
#!/bin/bash if [ `ps -A | grep Xgl | wc -l` == "1" ]; then LD_LIBRARY_PATH=/opt/mesa-xgl-cvs/lib/ \ LD_PRELOAD=/opt/mesa-xgl-cvs/lib/libGL.so.1.2 \ compiz --replace miniwin decoration transset \ state wobbly fade minimize cube rotate zoom \ scale move resize place switcher trailfocus water bs & gtk-window-decorator --replace & fi
파일에 실행가능 속성을 주는것을 잊지맙시다.
chmod +x /usr/bin/compizrc
compiz를 실행시키기 위해, 터미널창에서 compizplease 라고 입력합니다.
시작할때 compiz를 실행시키기 위해 .kde/Autostart 에 다음과같은 명령이 씌어진 바로가기를 만듭니다.
#!/bin/bash compizrc &
Method 2 - Xgl을 이용하여 새 KDM 엔트리로 KDE 실행하기
알림: 이 방법은 Xgl 세션을 KDM과는 분리하여 실행합니다(KDM은 정규 X 서버위에서 실행됩니다. kdmrc 파일을 바꿀 필요가 없지요.). 이것은 사실상 KDM이 세션을 관리하지 않는다는것을 의미하고 몇가지 문제를 일으킵니다. 첫번째 방법이 더 적절하지만 rc.conf에서 KDM을 실행하는데 약간의 문제를 일으킬 수 있습니다.
필자가 찾은 이 방법의 유일한 단점은 더 이상 직접적으로 KDE를 재시작하거나 종료할 수 없다는겁니다. 먼저 로그아웃한 다음 KDM으로부터 종료 혹은 재시작을 선택해야하지요. 나는 ATI 그래픽카드 환경에서 돌아가는 KDE를 위해서 이걸 했지만, 기본적으로 다른 환경에서도 똑같습니다:
root 권한으로 하셔야합니다: /etc/X11/sessions/kde-xgl.desktop 을 선호하는 편집기로 생성합니다.(필자는 vim.....비웃겠군(역자 주 : 필자가 바뀌었나봐요... ㅊㄱㅅ네))
다음과 같은 내용이어야 합니다:
[Desktop Entry] Encoding=UTF-8 Type=XSession Exec=startxgl-kde TryExec=startxgl-kde Name=KDE with XGL support Name[en_CA]=KDE with XGL support Name[en_GB]=KDE with XGL support Name[ko_KR]=XGL 지원하의 KDE
(역자 주 : 명색이 번역본이라 추가 해주었습니다.)
/usr/bin/startxgl-kde 을 생성합니다. 다음과 같이 입력하세요:
#!/bin/sh Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer & # 만약 제대로 작동하지 않는다면 nVIDIA 그래픽카드 유저들은 xv:pbuffer 부분을 xv 로 바꿔보세요.(제 경우에 그러더군요) DISPLAY=:1 startkde
그리고 실행가능하게 만들어 줍니다:
chmod 755 /usr/bin/startxgl-kde
다음으로 /usr/bin/compizrc 를 생성합시다. 다음과 같은 내용으로 채워집니다:
#!/bin/bash if [ `ps -A | grep Xgl | wc -l` == "1" ]; then LD_LIBRARY_PATH=/opt/mesa-xgl-cvs/lib/ \ LD_PRELOAD=/opt/mesa-xgl-cvs/lib/libGL.so.1.2 \ compiz --replace miniwin decoration transset \ state wobbly fade minimize cube rotate zoom \ place scale move resize switcher trailfocus water bs & gtk-window-decorator --replace & fi
이것도 실행가능하게 만들어 주세요.
chmod +x /usr/bin/compizrc
그리고 끝입니다. 이제 KDM의 "choose session"(역자 주 : 한글 번역으로 뭐였죠? 잘 기억이 안나네요, 지금 윈도라서)에 새로운 엔트리가 추가됩니다. KDM에서 KDE를 불러오기 위해 XGL을 사용할지 사용하지 않을지 고를 수 있는 옵션이 생긴거죠.
Method 3 - Xstartup 사용하기
/opt/kde/share/config/kdm/kdmrc 을 수정합시다.
다음과 같은 줄을 찾아서
ServerCmd=/usr/bin/X -br
nVIDIA 그래픽카드 유저라면 이렇게 바꿔주세요
ServerCmd=/usr/bin/Xgl :0 -fullscreen -br -accel glx:pbuffer -accel xv:pbuffer
ATi 그래픽카드 유저라면 이렇게 바꿔주세요
ServerCmd=/usr/bin/Xgl :0 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer
그 다음에, [X-*-Core] 섹션을 찾아서 다음과같은 내용을 추가해 주세요
#Xgl extra lines OpenRepeat=5 OpenDelay=15 OpenTimeout=2000 ServerTimeout=60
/opt/kde/share/config/kdm/Xstartup 을 수정해 주세요 :
#! /bin/sh # Xstartup - run as root before session starts LD_LIBRARY_PATH=/opt/mesa-xgl-cvs/lib/ \ LD_PRELOAD=/opt/mesa-xgl-cvs/lib/libGL.so.1.2 \ compiz --replace miniwin decoration transset \ state wobbly fade minimize cube rotate zoom \ place scale move resize switcher trailfocus water bs & gtk-window-decorator --replace & fi
Hardware experiences
Those experiences have been taken from the the forum thread xgl - success stories?
Desktops
Sorting on videocard: from old to new
nVidia
nVidia Geforce 3 ti 200 (P4 1.8 Ghz, 512 MB Ram, nvidia)
( Questions/Remarks: profoX )
- Compiled myself (buildscript by Shadowhand, pkgbuilds by Mikos)
compiz-quinn-cvs (20060601-1) mesa-xgl-cvs (20060601-1) xgl-cvs (20060601-1)
Everything works pretty good. Small video windows play back smooth. Big video (640x480 and higher will make everything pretty sluggish. Renicing your video player and Xgl will help a little bit. But it will still be sluggish.)
Edit: lately it seems to work/respond better already! I can now also watch big/maximized video's in mplayer with the gl2 output. It's really good. I would say nVidia Geforce 3 ti 200 is fully supported now! Everything works very stable and pretty fast. (Fast enough, don't expect to be running 5 movies at the same time while switching the cube at a decent framerate though)
nVidia Geforce FX 5100 (AMD K7 2.4GHz, 1.5 GB)
Works perfectly with xgl-cvs 20060602 and compiz-quinn 0.0.13-0quinn26
-accel gl:fbo will crash when you run opengl apps, -accel gl:pbuffer works fine
-accel xv:pbuffer seems to be a bit faster than -accel xv:fbo. In mplayer xv is always much faster than gl/gl2
nVIDIA config: fast write enabled, SBA enabled, Render Accel enabled. compiz is started with __GL_FSAA_MODE=7 __GL_LOG_MAX_ANISO=3 __GL_SYNC_TO_VBLANK=1 (for compiz only, not xgl or other apps).
nVidia Geforce FX 5200 (P4 3.2GHz, 512 MB) [1]
- Do *not* use the exports directed at nvidia cards (made it all sluggish here). Problems I had - Couldn't play any vids, couldn't run ZSNES or MAME.
nVidia Geforce FX 5200 (AMD64 3200+ Venice o/c'd to 2.12ghz, 512 MB DDR 400)
Had an Arch Linux 7.0 system. Upgraded system and installed XGL from Shadowland's repo and tried to use it with KDE by just replacing one of the 'exec xfce' statements with 'exec startkde' in the file /usr/bin/startxgl and it half way worked. My KDE Splash Screen was just a grey rectangle in the middle of my screen, with weird glitchy graphics that would be the system startup icons and messages. My background and icons were all just as glitchy when KDE started up. The taskbar worked, the menu worked, and they looked great. I could use firefox and xmms, but the glitchy graphics were too bad to handle. I would try and kill kwin, and then KDE locked up, xgl kept running. All the hotkeys for xgl worked the whole time. When I restarted into normal X, all my icons were gone, but the text below them (if it was normally there) was still visible, and that goes for menu's, background, programs, you name it.
I then saved all my important files to another hard drive and downloaded Arch Linux 7.1 and installed from scratch. I installed the base from FTP and then all the daemons, xorg stuff, network, office, we've all done it. Got all modules working correctly. Shadowland's repo again...edited the /usr/bin/startxgl code again to start kde for me, typed in 'startxgl 0 kde nvidia' at the bash prompt (this wont work for you unless you make a kde section in the file /usr/bin/startxgl) and bam! KDE works flawlessly. I don't have any problems with much of anything. UT2003 doesn't want to work, but I would always bail out of my display manager and just start a raw X for ut2003 anyway, so for me that doesn't matter.
- Screensavers all work
- All menu's work well
- All XGL hotkeys and features work: zoom, spin, expose, fade, etc.
- All my friends are amazed at my PC now.
I have stress tested with 2 movies playing while xmms was running with 2 visualizations running, what a goom! and synthaesia both enlarged to about 400x400, and everything worked at a good frame rate. I could actually place what a goom! over anything, it has a transparent canvas, so it looked really cool over movies. I moved the cube around with my mouse wile doing all of this, no real drop in framerate. XGL is never too CPU intensive.
Gripes:
- KDE's built in menu transparency's do not work with XGL as far as I've found, but the panel transparency works better than ever.
- KDE's menu drop shadows refuse to work well as well.
- I cannot adjust my nvidia settings with the nvidia-settings program.
- Not that it ever worked too well with the rest of the system, but KDE's slideshow for a background option seems to kick my system harder now.
Tips:
- enable the 'show window decorations' in xmms (right click->Options->Preferences->Options tab) for some fun and expect to alt+click to move anything that isn't the main player.
- Use gl2 video output in mplayer. It's the multiple textures version. It works MUCH bettr than normal gl, and everything else in my opinion.
- mplayer-plugin doesn't want to work well, so use gxine if it gives you problems.
- When you start Firefox or Adobe Acrobat 7.0, it takes the geometry of the last size it was when you ran it last, but the window is maximized with a grayed out area. Just click the maximize button and then alt+click to move it, then resize it to fit.
nVidia Geforce 6800(256mb) (AMD64 3200+, 2GB Ram ddr(400), nforce4)(By Omniwolf)
Just installed compiz 8/16/06 from AUR
- Everything works with gnome and KDE(Using method 2)
- Video intensive programs are faster now, and I can now open 9 video files at the same time without problems
- Graphical programs all work fine including google-earth and blender.
- Havent gotten the cgwd advanced windows decos to work yet (they make compiz crash)
- UT2004 shows weird textures, but it doesn't bother me, I ususally run UT2004 in a separate Xsession from WMs and DEs anyway.
ATI
ATI Radeon 9550 (by Saphire)
It works really good, screen is refreshed more quickly than ever before.
ATI Radeon 9600 (by stjepan)
It works great and flawlessly.
ATI Radeon 9600 Pro [2]
It's very snappy and looks good
ATI Radeon 9700 Pro
Run well with ATI Proprietary Linux Driver Version 8.24.8
ATI Radeon 9800 Pro [3]
Working using Mikos package from the long xgl thread (same results with shadowhand's repo), except:
- UT2003 won't run
- Window switcher applet in Gnome is very tiny and only allows me to choose 1 usable workspace (though there are always 4 working)
- Window scrolling is slow (relative to how it is in normal xserver)
- Can't successfully exit Gnome (have to use CTRL+ALT+BKSPC)
- Keyboard shortcuts for "Take Snapshot..." and to use the Gnome menu don't work
- "fglrxinfo" doesn't work but "fglrxinfo -display :1" does
ATI Radeon 9800 Pro flashed to XT (ASRock 939Dual-Sata2 MBO with ALI chipset) [4]
- I got shadowhands packages to work easily but only when started from a text console (or within an allready running X session)
ATI Radeon X800 Pro (P4 2.4 GHz, 1.5 GB RAM, fglrx) [5]
- using FoPref's binaries and am using them with XFCE
- everything works beautifully
Results:
- XV playback works well
- Wobbly windows very fast
- Cube, ALT + TAB and Zoom look great with no problems
Minor problems mentioned already:
- Firefox scrolls badly with smooth scrolling on
- VLC windows has no window border (good thing there's XGL's ALT + Drag)
- XFCE Pager doesn't behave correctly
- Setup windows can't be moved
Other:
- XFCE won't close properly, I get dropped into a screen with only a mouse pointer and then the system just idles there until I Ctrl + Alt + Backspace
- Slight delay between one window losing focus and another gaining it
- Scale (Expose) works very well for the most part but occasionally windows get placed underneath other windows when it's activated making them harder to click
Some sort of integrated ATI graphics card running ati drivers (P4 1.7 GHz, 768 MB) [6]
- Get some artifacting on the desktop when using XGL functionality, didn't really put any time into seeing if this could be fixed
- Wobbly windows still look good but are slow
- Cube is still very fast
Laptops
Sorting on videocard: from old to new
nVidia
nVidia Geforce 4 MX 4200 Go 64MB (Dell Inspiron 8500, P4M 2,2GHz, 512 MB)
- I do have problems with screen refresh. Sometimes the cursor disapear, or it leaves some traces, etc.
- Running at 1920x1200 is ok.
- The Gnome desktop is really slow to appear (1 to 2 minutes...) but taskbar is working before that.
- Normally I prefer KDE. I do have problems with keyboard mapping in Gnome and XFCE, whitch I don't have in KDE.
- Setup/Config window cannot be moved
- XFCE doesn't close, needs Ctrl+Alt+Del
EDIT: No more problem with a different /etc/X11/xorg.conf. It seemed mine had to much edits in it. I used another one (from the Ubuntu live cd) to create a working one. You can find it at http://nbigaouette.inrs-emt.homelinux.net/linux/xorg.conf.di8500.20060817
nvidia GeForce 7300 Go 256MB (Dell Inspiron 6400, Core Duo 1.8GHz, 1GB ram)
- Running at 1280x800 perfectly
- Using it with kde by adding the entry to kdm (option 2)
- Absolutely everything works even with the -accel xv:pbuffer option
nVidia Geforce Go 7600 512MiB (Zepto Znote 6214w, Core Duo T2400 1.86GHz, 1GiB)
- Running at native 1280x768.
- Didn't try it for long - wish compiz was useable like openbox :D - didn't encounter oddities with normal setup
ATI
ATI Mobility Radeon 7500 32MB (Intel Pentium M 1.5 Ghz, 256 MB Ram)
( Questions/Remarks: profoX )
Proprietary driver not available for this card (this card is too old) I wasn't able to install a decent open source driver with DRI enabled. (please let me know if you know more about this!) --> Thanks jzivak! I will try out the information you provided soon, and update this entry <--
With Jzivak's pointer about DRI on this card, I got it to work, but I did it on AIGLX. It works very fast and very good in 24bit at a resolution of 1024x768. Watching videos up to 500x500 works fast. But when you do fullscreen videos it will slow down the other effects like the cube (it will look choppy a little). On 16bit resolution (yes, this is possible with AIGLX) it is twice as fast and I can watch 2 big videos without slowdowns!
Note by another user: As far as I can tell, the driver "xf86-video-ati" works well with this video card. The instructions here to install XGL leave me with just a blocky, unusable desktop though. Probably a configuration problem, as the Kororaa live CD works wonderfully.
ATI Mobility Radeon 9700 64 MB (Pentium M 2.0 Ghz, 512 MB Ram)
Installed from danimoth's repo, everything works really fast and looks nice. Resizing windows is pretty slow. Cube, zoom, wobbly windows and others works. So does mplayer in fullscreen. I have only tried XGL in Gnome so far.
ATI Mobility Radeon X200m 128 MB (AMD Athlon 64 3200+ 2.0GHz, 1.5 GB) [7]
I installed XGL via shadowhand's repo. It works solid for about 10min. and then locks up. Working:
- Cube, Zoom, Alt +Tab, F12, wobbly windows, Mplayer and Xine play video fine.
Not-Working:
- XFCE + XGL - I type startxgl-xfce and then it goes to a light blue screen, and then it freezes.
Note by profoX: A possible workaround could be to add 2 options to your xorg.conf, please view the section "Troubleshooting - System freeze with ATI Express cards"
ATI Mobility Radeon X300 64MB (Dell D610, Pentium M 1.73 GHz, 1 GB, fglrx)
Installed compiz-quinn-cvs. Everything is working fast and looks good. Had to add the Radeon workaround in my xorg.conf, see the section "Troubleshooting - System freeze with ATI Express cards". Only tested this under Gnome. Haven't tried mplayer etc yet. Epiphany would not start with the regular Compiz!
ATI Mobility Radeon X700 256MB (Pentium M 2.0 Ghz, 1 GB Ram, fglrx)
( Questions/Remarks: profoX )
- Shadowhands binary packages:
compiz-quinn-cvs (20060413-1) mesa-xgl-cvs (20060413-1) xgl-cvs (20060413-1)
I had to edit /etc/xorg.conf to avoid a system freeze with my PCI-Express ATI X700:
Section "Device" Identifier "AtiGraphicsX700" Driver "fglrx" Option "UseInternalAGPGART" "no" Option "KernelModuleParm" "agplock=0" BusID "PCI:1:0:0" EndSection
I had to add those 2 Options to get it working properly
Result:
- XV playback works
- All effects work
- I tried running a game in OpenGL with wine, but all the textures looked really weird
- VLC works perfectly, but when resizing some parts get "black", this looks stupid, but everything still works ok
- Xine's control window is just a mass of weird looking lines
- Most other things work perfectly
- VLC with XV engine works good, with OpenGL engine the screen stays black for awhile and then I get video, but when I go fullscreen with the OpenGL engine X crashes
- Going fullscreen with the XV engine in VLC doesn't cover the taskbars of Gnome
ATI Radeon Xpress 1100 128MB (Turion 64 X2 1.6 GHz, 1 GB Ram, fglrx 8.26.18)
( Questions/Remarks: emuranch )
Using Danimoth's packages and an older fglrx (8.27.10 is very slow) everything works fine but is a little glitchy using Switcher and Rotate. This is a problem with my configuration though, because the same system has worked flawlessly with Xgl in other distros.
Intel
Intel GMA900 VGA (MSI S260) [8]
Everything works smoothly, except:
- Minimizing big windowses
- Scrolling firefox
Keyboard Shortcuts
Default plugin keyboard shortcuts
* Switch windows = Alt + Tab * Arrange and View All Windows = F12 turns on or off; clicking a window will zoom it to the front * Switch desktops on cube = Ctrl + Alt + Left/Right Arrow * Switch desktops on cube - with active window following = Ctrl + Shift + Alt + Left/Right Arrow * Rotate cube manually = Ctrl + Alt + left-click * Make window translucent/opaque = Ctrl + Alt + wheel mouse OR Alt + wheel mouse * Zoom-in once = Super-key right-click * Zoom-in manually = Super-key + wheel mouse up OR WIN-key + wheel mouse up * Zoom-out manually = Super-key + wheel mouse down OR WIN-key + wheel mouse down * Move window = Alt + left-click * Snap Move window (will stick to borders) = Ctrl + Alt + left-click * Resize window = Alt + right-click * Bring up the window below the top window = Alt + middle-click * Slow-motion = Shift + F10 * Water = hold Ctrl + Super key * Rain = Shift-F9 * Film effect - changing dekstop = Ctrl + Alt + Down Arrow (Compiz-quinn: Ctrl + Alt + Page Down)
Source: Compiz - openSUSE
Tips
Clear compiz configuration
If you want to clear your compiz configuration in gconf database, run this (before starting Compiz):
gconftool-2 --recursive-unset /apps/compiz
Remove ugly and slow GNOME's wireframe animations
You can see those ugly animations when you click on an app icon in gnome-panel. It can be sometimes very annoying. So here is how to disable it: Open gconf-editor (Applications>System Tools>Configuration Editor). Go to /apps/panel/global. Deselect "enable_animations".
Nice eyecandy with xscreensaver
Use xwinwrap (can be installed from Mikos' PKGBUILDs or Shadowhand's repo) to run OpenGL screensavers on your desktop, for example:
xwinwrap -ni -argb -fs -s -st -sp -b -nf -- /usr/libexec/xscreensaver/glmatrix -window-id WID -delay 10000
(this effect requires the glmatrix screensaver, which can be found in the xscreensaver pacakge)
Terminal emulator with real transparency
If you want terminal emulator with native support for real transparency, install rxvt-unicode and run it with these options:
urxvt -depth 32 -bg rgba:0000/0000/0000/cccc -fg white
Troubleshooting
Incompatible software
- Java 1.5 and 1.6 with swing applications may show blank window, set the environment variable
AWT_TOOLKIT=MToolkit
to fix the problem.
- Nero Linux shows an empty window frame after being closed. You have to restart compiz to make it disappear...
- Blender, and other programs that uses OpenGL may kill your XGL session (depending on your gfx driver). You can start them in Xnest, which is a "client-server" in X. It will start a windowed program without XGL. Though, since we run it inside a XGL session, the program window will still have some of the features of XGL. Just run:
Xnest :1 & DISPLAY=":1" blender
in a terminal. A tips, set an alias for it in ~/.bashrc.
- Xine's seek/controller bar is completely glitched. Movies play though.
Solution:
Edit the config file for Imlib:
gedit /etc/imrc
Set "SharedPixmaps" to "off" and this will workaround the problem.
- Metamonitor seems to give some problems with XGL
Make KDE systray work
update: it works fine now for me using kde 3.5.2 and the latest XGL
Boot KDE inside Xgl, but without loading compiz. Once the systray is loaded, load compiz and gtk-window-decorator (kill kwin if needed).
WARNING: Avoid amarok. It makes konqueror not to load. Maybe some other programs will have similar consequences.
Support for non power of two textures missing
for ATI: Set all DISPLAY=:0 variables (in the created scripts) to DISPLAY=:1 ! after that it worked for me (ATI 9600 XT, custom fglrx-driver)
This problem appears when you use "Method 1 - GDM uses XGL" to set up XGL. Try "Method 2 - New GDM entry starts XGL" instead. If it still doesn't work, try this:
ln -sf /usr/lib/libGL.so.1.2 /usr/lib/libGL.so.1
XGL doesn't work with Xorg "ati" driver
XGL currently doesn't work with the opensource driver for ATI cards. You should use the properieatry driver - fglrx.
I use dock plugin and compiz very often crashes
Dock plugin is currently very unstable. To disable it, open Applications>System tools>Configuration Editor. Go to /apps/compiz/general/allscreens/options. Edit active_plugins and remove "dock" from there. Restart Compiz
Mousecursor disappering
Is your mousecursor disappearing all the time? Make sure you have disabled SWcursor and CursorShadow in your xorg.conf
XGL unexpecdly crashes
Check if you are using "GLcore" module in xorg.conf. If you're not, add this line:
Load "GLcore"
in the "Module" section in your xorg.conf.
I have an ATI card, I can't run compiz and fglrxinfo says "Mesa GLX Indirect" is using
The problem is probably in /usr/lib/libGL.so.1. It is linked to a wrong lib: /usr/lib/libGL.so.1.2.R200 To fix this problem, run this: ln -sf /usr/lib/libGL.so.1.2 /usr/lib/libGL.so.1
OpenGL games are too slow
If you use XGL as a nested server on top of normal X server, you can run OpenGL games in normal X while using Xgl. Just open terminal and run games as following:
ATI users:
DISPLAY=:0 mygame
NVidia users:
DISPLAY=:93 mygame
XGL and (OpenGL) Games in Fullscreen Mode
XGL is a really cool solution, for those who love eye candy. For gamers this seemed a little unsuitable, since XGL does not allow games to be ran in fullscreen mode. Even though I run XGL as a nested server on top of the original X server, using the variable mentioned above (DISPLAY=:93) resulted in an error message stating that no protocol was specified. I started asking a question about it in the #archlinux IRC chat room, soon enough I got a reply that this probably was not the place for such a XGL specific question and so I started Googling (to Google). After a while I added "Gentoo" to my query and got "Gamers, XGL users, xlaunch is for you :)" (http://forums.gentoo.org/viewtopic-t-483004.html) as the first result, I read the page. It is about a script a user of Gentoo wrote which enables a XGL user to run OpenGL applications in fullscreen mode. With a minor adjustment -to suit Arch Linux's system- I followed the tutorial. And now I am able to run my games (enemy-territory, blobwars (hot) and such) using fullscreen mode again.
Some technical background; the script launches the game on the normal X server, which is the same as the above mentioned command would have accomplished (if it simply worked).
Follow the tutorial ("III - The xlaunch script", on the original Gentoo forum page) with the following exception. When you get to the "/etc/profile-replacement" part, you will see that this does not suit the Arch Linux system, so instead of following this by the letter I did this:
Replace:
export PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/bin"
With:
export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/opt/bin:/home/scripts"
Simply reboot your Archie box (because "source /etc/profile" did not pull off the trick as I expected).
You are now able to run your games again using xlaunch:
xlaunch blobwars
twosouls82
P.S. another nice thing about xlaunch is that the games launches in VC8, so you can switch between Xgl (your new Desktop X Server) and X (the xlaunch game server) using Ctrl+Alt+F7 and Ctrl+Alt+F8, respectively.
GDM reports problems with running XGL
If you are getting errors like this:
/opt/gnome/etc/gdm/PreSession/Default: Registering your session with wtmp and utmp /opt/gnome/etc/gdm/PreSession/Default: running: /usr/bin/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/opt/gnome/var/gdm/:0.Xservers" -h "" -l ":0" "stjepan" /opt/gnome/etc/gdm/Xsession: Beginning session setup... /opt/gnome/etc/gdm/Xsession: ssh-agent not found! /opt/gnome/etc/gdm/Xsession: Setup done, will execute: /usr/bin/startxgl-custom _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed _XSERVTransMakeAllCOTSServerListeners: server already running
open /usr/bin/startxgl-custom and add parameters "-nolisten tcp" to the Xgl command. Here's an example:
Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer -nolisten tcp &
Resizing windows is very slow
This is a known problem. There is a simple workaround. Run gconf-editor, go to /apps/compiz/plugins/resize/allscreens. Make sure stretch_texture is checked. Now resizing will be cooler and smoother, althrough buggy - sometimes the resizing window won't be resized until you release left mouse button.
XGL giving segmentation faults
Does your XGL segfault running the startxgl script? Make sure the following options in your xorg.conf are disabled:
- NoRenderExtension
- AllowGLXWithComposite
Also make sure that you dont have composite extension enabled:
Section "Extensions" # Option "Composite" "Enable" Option "RENDER" "Enable" EndSection
Gnome Window Decoration Missing
If your Gnome title bars are missing after running compizrc with the gconf flag, you need to make sure that you have enabled them.
- Run gconf-editor
- Under apps > compiz > general > allscreens > options > active_plugins add 'decoration' to the list of active_plugins
- Add any other compiz plugins you want enabled here as well, the full list being:
gconf, gconf-dump, miniwin, decoration, transset, state, wobbly, fade, minimize, cube, rotate, zoom, scale, move, resize, place, switcher, trailfocus, water, bs
The order of plugins is very important!
XGL is unresponsive under high CPU load
The problem has disappeared from newer versions: xgl-cvs 20060608, xorg-server 1.0.2-3, kernel26 2.6.17.1
Renice/nice your busy applications or XGL/compiz doesn't help much, so you need to give XGL real-time priority:
- Get schedtool (http://aur.archlinux.org/packages.php?do_Details=1&ID=187)
- After Xgl is started, run "schedtool -R -p 1 `pidof Xgl`" (as superuser, but your XGL should be run as non-root)
- Or create a script that contains the above quoted command, and chmod +s it (setuid).
Xgl itself doesn't use much CPU resource, but giving it a higher "nice" priority doesn't help anyway. Beware the real-time Xgl may affect your sound daemons such as jackd.
Switcher Does Not Terminate
If Switcher does not terminate after activating it (ALT+TAB):
- Run gconf-editor
- Under apps > compiz > plugins > fade > screen0 > options > window_types remove 'Splash from the list of of window_types
System freeze with ATI Express cards
I had to edit /etc/xorg.conf to avoid a system freeze with my PCI-Express ATI X700:
Section "Device" Identifier "AtiGraphicsCard" Driver "fglrx" # I had to add these 2 options Option "UseInternalAGPGART" "no" Option "KernelModuleParm" "agplock=0" BusID "PCI:1:0:0" EndSection
I had to add those 2 Options to get it working properly. Other ATI PCI Express are reported to be affected too. (X200, X300, X600, X700, X1400... and possibly others)
Problems with special characters on foreign keyboards
If you are missing special characters that uses e.g the AltGr key, run setxkbmap and it should load the correct layout.
X Server crashes when Shift + Backspace are pressed
Quick fix:
$ xmodmap -e "keycode 22 = BackSpace"
Unfortunately the above works on a per-session basis so the bug would reappear after a restart. If you use KDM, add the following line to "/opt/kde/share/config/kdm/Xstartup":
$ sudo nano -w /opt/kde/share/config/kdm/Xstartup
For GDM users, add the aforementioned xmodmap line to your $HOME/.xprofile.
Forums
Here is some info in Arch Linux forums: