Announcement

Collapse
No announcement yet.

DIY: Fglrx and Compiz Fusion on Kubuntu Feisty

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    DIY: Fglrx and Compiz Fusion on Kubuntu Feisty

    out-of-date BE Warned !


    This is based on: HOWTO: ATi(fglrx) and Compiz Fusion on Feisty and How to Install Compiz Fusion on Ubuntu- For GNOME and KDE users some parts are from Install Beryl on Ubuntu Feisty with XGL


    Note:
    Install Beryl on Ubuntu Feisty with XGL tells:
    Since this wiki was getting defaced, it will remain closed for a few days until someone gives it some love (secures it, cleans it...) Thanks for your comprehension
    You can find it via Google cache or get same information from: Topic: i want to install Beryl on Kubuntu 7.04 graphic card is ATI x1400


    Warnings

    As said How To Compiz Fusion on Ubuntu 7.04 Feisty Fawn
    Compiz Fusion is a very exciting new advancement in Desktop Effects. Be that as it may, Compiz Fuzion is NOT for Beginners. It is in development now, and is not stable.
    and From CompositeManager
    Xgl is alpha software and AIGLX has only been available for two releases of xorg, as of xorg 7.2. Using them on a production machine is not recomended, but usually they should work. Some programs does not work well yet with composite managers. You have been warned.
    even more: CompositeManager/Xgl
    Xgl is alpha software so it isn't recommended that you install this software on a production machine. For Dual Monitor (or more) users: A lot of people are experiencing troubles when enabling Xgl. Especially for this group, be *very* careful with Xgl.

    Here Compiz fusion + fglrx + XGL is working. As fine as you could expect alpha programs to work


    Why XGL

    XGL
    is a GLX based X server that currently runs on top of the Xorg server.
    AIGLX
    is the solution that works with the current architecture, without too many intrusive changes to the server or drivers.
    But there is this problem with AMD(Ati) drivers:
    http://www.phoronix.com/scan.php?pag...item=804&num=1
    With the 8.40.4 driver still being on the old ATI code-base, this driver does not support AIGLX, any performance improvements, or Radeon HD 2000 "R600" support.

    What is
    From CompositeManager
    When running AIGLX or Xgl, all windows are rendered to an off-screen buffer. The composite manager is then responsible for drawing the windows to the screen, and has the opportunity to manipulate them, adding in cool effects such as transparency and wobbliness.

    There are currently two composite managers available.
    • CompositeManager/Compiz - A combination window manager and composite manager from Novell.
    • CompositeManager/Beryl - A fork of Compiz that adds some additional features. It is generally much less stable than Compiz.
    • CompositeManager/CompizFusion - Compiz plus addons from Beryl.

    Quick and dirty: Compiz Fusion on Kubuntu Feisty with fglrx
    a.k.a ten little steps...

    1 Test, if you really have fglrx:
    :~$ fglrxinfo
    display: :0.0 screen: 0
    OpenGL vendor string: ATI Technologies Inc.
    OpenGL renderer string: ATI RADEON 9600 Series
    OpenGL version string: 2.0.6650 (8.39.4)
    Note
    FAQ: Links - How to Install AMD(Ati) Proprietary Linux Display Driver (fglrx)
    http://kubuntuforums.net/forums/inde...opic=3085652.0

    2 Add Gompiz-git repository to your sources.list
    Code:
    deb [url]http://download.tuxfamily.org/3v1deb[/url] feisty eyecandy
    deb-src [url]http://download.tuxfamily.org/3v1deb[/url] feisty eyecandy
    3 Get gpg key
    Code:
    :~$ wget [url]http://download.tuxfamily.org/3v1deb/DD800CD9.gpg[/url]
    and
    Code:
    :~$ sudo apt-key add DD800CD9.gpg
    4 Install XGL and Compiz
    Update package list and install programs:
    • xserver-xgl
    • compiz
    • compiz-kde
    • compizconfig-settings-manager
    • libcompizconfig-backend-kconfig
    • compiz-fusion-plugins-extra
    • compiz-fusion-plugins-main
    • compiz-fusion-plugins-unsupported


    If you want emerald decorations
    • emerald
    • emerald-themes


    5 Add a Xgl login session
    Press Alt + F2:
    kdesu kate /usr/local/bin/startxgl.sh

    Insert:
    Code:
    #!/bin/sh
    Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
    DISPLAY=:1
    cookie="$(xauth -i nextract - :0 | cut -d ' ' -f 9)"
    xauth -i add :1 . "$cookie"
    exec /etc/X11/Xsession startkde
    Setting rights:
    Code:
    :~$ sudo chmod a+x /usr/local/bin/startxgl.sh
    6 Creating the login session entry
    Press Alt + F2:
    kdesu kate /usr/share/xsessions/xgl.desktop

    Insert:
    Code:
    [Desktop Entry]
    Encoding=UTF-8
    Name=Xgl_fglrx
    Exec=/usr/local/bin/startxgl.sh
    Icon=
    Type=Application
    7 Log out

    8 Restart x or Restart computer

    9 Start Xgl_fglrx session. Log in

    Kubuntu is a bit sluggish before compiz starts.

    10 Start Compiz
    Code:
    :~$ compiz --replace
    and
    Backend : kconfig
    Integration : true
    Profile : default
    Adding core settings (General Options)
    Adding plugin annotate (annotate)
    Adding plugin blur (blur)
    Adding plugin clone (clone)
    Adding plugin cube (cube)
    Adding plugin dbus (dbus)
    Adding plugin decoration (decoration)
    Adding plugin fade (fade)
    Adding plugin fs (fs)
    Adding plugin glib (glib)
    Adding plugin inotify (inotify)
    Adding plugin minimize (minimize)
    Adding plugin move (move)
    Adding plugin place (place)
    Adding plugin plane (plane)
    Adding plugin png (png)
    Adding plugin regex (regex)
    Adding plugin resize (resize)
    .
    .
    .
    Nice looking toy. . But there is Ubuntu logo on the top of cube :P
    (cube settings -> /usr/share/compiz/default-cubecap.png)


    Better look
    Lets add emerald decorations to the desktop:
    Code:
    :~$ compiz --replace -c emerald & killall kwin
    More from:
    Easy way to enable/disable Compiz Fusion (KDE)
    http://ubuntuforums.org/showthread.php?p=3030945


    Links
    How To: Compiz Fusion on Ubuntu 7.04
    http://ubuntuforums.org/showthread.php?t=481314

    How to Install Compiz Fusion on Ubuntu - For GNOME and KDE users
    http://news.softpedia.com/news/How-t...tu-58113.shtml

    Swich between XGl and Xorg through GDM (or KDM)
    http://doc.gwos.org/index.php/Swich_...M_%28or_KDM%29

    BinaryDriverHowto/ATI
    https://help.ubuntu.com/community/BinaryDriverHowto/ATI

    Ubuntu Feisty Installation Guide
    http://wiki.cchtml.com/index.php/Ubu...allation_Guide

    Topic: how do u install ATI drivers?
    http://kubuntuforums.net/forums/inde...opic=3084084.0

    Topic: X Error: BadDevice, invalid or uninitialized input device 168
    http://kubuntuforums.net/forums/index.php?topic=7964.0

    Topic: HOWTO : Disaster Recovery and xorg.conf
    http://kubuntuforums.net/forums/inde...opic=3082808.0
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    #2
    Re: DIY: Fglrx and Compiz Fusion on Kubuntu Feisty

    I followed this guide, but when I started the xgl_fglrx session, my desktop looked like the attached screenshot... how do I fix this?
    Attached Files

    Comment


      #3
      Re: DIY: Fglrx and Compiz Fusion on Kubuntu Feisty

      Do you have supported hardware ?
      HARDWARE Video Card Support Under XGL
      http://gentoo-wiki.com/HARDWARE_Vide...port_Under_XGL

      Note
      I don't know if this list is up to date


      Do you have fglrx installed and running ?

      1) fglrxinfo
      2) glxinfo | grep "direct"
      3) clean Xorg.0.log
      no errors: cat /var/log/Xorg.0.log | grep "(EE)"
      no severe warnings: cat /var/log/Xorg.0.log | grep "(WW)"


      Do you have dual monitors ?
      From CompositeManager/Xgl
      https://help.ubuntu.com/community/CompositeManager/Xgl
      Xgl is alpha software so it isn't recommended that you install this software on a production machine. For Dual Monitor (or more) users: A lot of people are experiencing troubles when enabling Xgl. Especially for this group, be *very* careful with Xgl.

      And last: Xgl is alpha software


      Links
      Swich between XGl and Xorg through GDM (or KDM)
      http://doc.gwos.org/index.php/Swich_...M_%28or_KDM%29

      Before you edit, BACKUP !

      Why there are dead links ?
      1. Thread: Please explain how to access old kubuntu forum posts
      2. Thread: Lost Information

      Comment


        #4
        Re: DIY: Fglrx and Compiz Fusion on Kubuntu Feisty

        This may not be of help but maybe worth noting. I installed the ubuntu version of gutsy last night for reasons of comparison and guess what? Compiz is activated and works straight from the cd and at login after install. So thought I would be clever and copied / pasted the xorg.config file from my new ubuntu to my kubuntu gutsy, installed kde-compiz and all the rest. but no luck. compiz-manager doesn't even load.

        kde (kubuntu) is still the little sister of oh great gnome (ubuntu) in many respects. I feel a bit let down by this because I really don't like gnome.

        i would wait at least until tribe 4 (5??) to get into compiz.
        Or if someone wants to install ubuntu tribe 3 put kubuntu kde - desktop along side of, remove gnome and see what happens :P
        It wont be me I have work to take care of

        Just my 2 c's
        HP Pavilion dv6 core i7 (Main)
        4 GB Ram
        Kubuntu 18.10

        Comment


          #5
          Re: DIY: Fglrx and Compiz Fusion on Kubuntu Feisty

          Originally posted by Rog131
          Do you have supported hardware ?
          HARDWARE Video Card Support Under XGL
          http://gentoo-wiki.com/HARDWARE_Vide...port_Under_XGL

          Note
          I don't know if this list is up to date


          Do you have fglrx installed and running ?

          1) fglrxinfo
          2) glxinfo | grep "direct"
          3) clean Xorg.0.log
          no errors: cat /var/log/Xorg.0.log | grep "(EE)"
          no severe warnings: cat /var/log/Xorg.0.log | grep "(WW)"


          Do you have dual monitors ?
          From CompositeManager/Xgl
          https://help.ubuntu.com/community/CompositeManager/Xgl
          Xgl is alpha software so it isn't recommended that you install this software on a production machine. For Dual Monitor (or more) users: A lot of people are experiencing troubles when enabling Xgl. Especially for this group, be *very* careful with Xgl.

          And last: Xgl is alpha software


          Links
          Swich between XGl and Xorg through GDM (or KDM)
          http://doc.gwos.org/index.php/Swich_...M_%28or_KDM%29

          My card is supported.

          1)
          Code:
          administrator@Hades:~$ fglrxinfo
          Xlib: extension "XFree86-DRI" missing on display ":0.0".
          display: :0.0 screen: 0
          OpenGL vendor string: Mesa project: [url]www.mesa3d.org[/url]
          OpenGL renderer string: Mesa GLX Indirect
          OpenGL version string: 1.4 (1.5 Mesa 6.5.2)
          2)
          Code:
          administrator@Hades:~$ glxinfo | grep "direct"
          Xlib: extension "XFree86-DRI" missing on display ":0.0".
          direct rendering: No
          OpenGL renderer string: Mesa GLX Indirect
          3)
          Code:
          administrator@Hades:~$ cat /var/log/Xorg.0.log | grep "(EE)"
              (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
          (EE) xf86OpenSerial: Cannot open device /dev/input/wacom
          (EE) xf86OpenSerial: Cannot open device /dev/input/wacom
          (EE) xf86OpenSerial: Cannot open device /dev/input/wacom
          administrator@Hades:~$ cat /var/log/Xorg.0.log | grep "(WW)"
              (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
          (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
          (WW) RADEON(0): Unknown DDCType 5 found
          (WW) RADEON(0): LCD DDC Info Table found!
          (WW) RADEON(0): No valid DDCType is given for DDC2, try vbe probing ...
          (WW) RADEON(0): Failed to detect secondary monitor, MergedFB/Clone mode disabled
          (WW) RADEON(0): Direct rendering disabled
          (WW) RADEON(0): Option "DisableGLXRootClipping" is not used
          (WW) RADEON(0): Option "AddARGBGLXVisuals" is not used
          (WW) RADEON(0): Option "AllowGLXWithComposite" is not used
          I only have one monitor.

          Comment


            #6
            Re: DIY: Fglrx and Compiz Fusion on Kubuntu Feisty

            You are using:
            OpenGL vendor string: Mesa project: www.mesa3d.org
            OpenGL renderer string: Mesa GLX Indirect
            OpenGL version string: 1.4 (1.5 Mesa 6.5.2)
            If you want fglrx:


            Installing AMD(Ati) Proprietary Linux Display Driver (fglrx)


            DIY

            BinaryDriverHowto/ATI
            https://help.ubuntu.com/community/BinaryDriverHowto/ATI

            Ubuntu Feisty Installation Guide
            http://wiki.cchtml.com/index.php/Ubu...allation_Guide

            Installing Breezy...Feisty
            http://wiki.cchtml.com/index.php/Ubuntu


            With a Little Help

            SheeEttin fglrx automatic download/installation script
            http://kubuntuforums.net/forums/inde...opic=3082777.0

            Envy
            http://www.albertomilone.com/nvidia_scripts1.html


            Laptops

            Ati Xpress 200M + Edgy + Feisty + FGLRX working how to + eyecandy
            http://ubuntuforums.org/showthread.php?t=321766


            Aftermath

            Topic: how do u install ATI drivers?
            http://kubuntuforums.net/forums/inde...opic=3084084.0

            Topic: X Error: BadDevice, invalid or uninitialized input device 168
            http://kubuntuforums.net/forums/index.php?topic=7964.0

            Topic: HOWTO : Disaster Recovery and xorg.conf
            http://kubuntuforums.net/forums/inde...opic=3082808.0


            There are troubleshooting sections in the installation guides and in the aftermath links.
            Before you edit, BACKUP !

            Why there are dead links ?
            1. Thread: Please explain how to access old kubuntu forum posts
            2. Thread: Lost Information

            Comment


              #7
              Re: DIY: Fglrx and Compiz Fusion on Kubuntu Feisty

              Followed this guide (nice one btw :-)), however my compiz doesn't work at all. Can'T run even ccsm:
              $ ccsm
              Traceback (most recent call last):
              File "/usr/bin/ccsm", line 45, in <module>
              idle = ccm.IdleSettingsParser(context)
              File "usr/lib/python2.5/site-packages/ccm/Utils.py", line 229, in __init__
              File "usr/lib/python2.5/site-packages/ccm/Utils.py", line 228, in <lambda>
              File "usr/lib/python2.5/site-packages/ccm/Utils.py", line 225, in FilterPlugin
              AttributeError: 'compizconfig.Plugin' object has no attribute 'Initialized'
              ..it wouldn't be that bad problem,but when i login into my xgl session, it's slow like hell (as expected), but compiz --replace doesn't proceed. It talks about these pixmaps like when not running xgl,but it's a bit different error, can't copy it from console,as it's slow like hell :/ Now after some messing i can't even log into xgl session - it just hangs before ksplash..and my DRI got disabled.
              Just messy like hell, i'd love any idea please...it's starting to make me totally mad

              Comment


                #8
                Re: DIY: Fglrx and Compiz Fusion on Kubuntu Feisty

                If you want, you can wait till Thursday and upgrade to Gutsy; Compiz-fusion is standard in the repos.
                Asus G1S-X3:
                Intel Core2 Duo T7500, Nvidia GeForce 8600M GT, 4Gb PC2-5300, 320Gb Hitachi 7k320, Linux ( )

                Comment


                  #9
                  Re: DIY: Fglrx and Compiz Fusion on Kubuntu Feisty

                  Originally posted by integr8e
                  If you want, you can wait till Thursday and upgrade to Gutsy; Compiz-fusion is standard in the repos.
                  Mmm 2 days are not that long time, can hope for new ati drivers too and then it could rule at all :P Thx

                  Comment


                    #10
                    Re: DIY: Fglrx and Compiz Fusion on Kubuntu Feisty

                    Help! I tried to enable compiz using this thread, and now my systems hangs for a few minutes after the login screen, and the falls back to the login screen. I tried deleting the two files that were created, but that still doesn't work.

                    What is kwin? I tried that too, to no avail? I also noticed that my xorg.conf file had changed, so I tried rolling that back, no luck.
                    Stumper

                    Comment


                      #11
                      Re: DIY: Fglrx and Compiz Fusion on Kubuntu Feisty

                      KWin is just a window manager, it's useless as long as you're running Compiz. When you boot to the login screen, press Ctrl+Alt+F1 to take you to a terminal. Then, enter the command
                      Code:
                      sudo apt-get autoremove compiz emerald
                      That will uninstall Compiz and revert you back to your previous window manager (controls how application windows appear), but still allow you to keep any changes you may have made to Compiz' configuration in case you want to reinstall it in the future.

                      Once you've done that, press Ctrl+Alt+F7 to take you back to the login screen, and press Alt+E to restart X (Xorg). Login and you should be good.

                      What video card are you using?
                      Asus G1S-X3:
                      Intel Core2 Duo T7500, Nvidia GeForce 8600M GT, 4Gb PC2-5300, 320Gb Hitachi 7k320, Linux ( )

                      Comment


                        #12
                        Re: DIY: Fglrx and Compiz Fusion on Kubuntu Feisty

                        I'm using an Nvidia 5200 card. I ended up re-installing the nvidia drivers with Envy, which got me back up and running, but X keeps crashing (randomly, no program or relation to time, etc.) and putting me back at the login prompt. I looked in the xorg log files, and don't see anything that would be causing that. I'm thinking I might have a memory problem at this point, because it's so random. Thanks for the help!
                        Stumper

                        Comment


                          #13
                          Re: DIY: Fglrx and Compiz Fusion on Kubuntu Feisty

                          Check its log in /var/log/Xorg.0.log and see what it says.

                          Edit: You may also want to check some of the others such as syslog.0, one of them is bound to have the information you need.
                          Asus G1S-X3:
                          Intel Core2 Duo T7500, Nvidia GeForce 8600M GT, 4Gb PC2-5300, 320Gb Hitachi 7k320, Linux ( )

                          Comment


                            #14
                            Re: DIY: Fglrx and Compiz Fusion on Kubuntu Feisty

                            I had a similar poor experience. One of the whiz kids got me back to normal with the suggestion to remove xserver-xgl (I think, look to see if you have anything installed with xgl).

                            Comment

                            Working...
                            X