Announcement

Collapse
No announcement yet.

RS480/RS690 OSS Compiz Achieved

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #11
    Thanks! I'm going to try that!

    Comment


    • #12
      I've installed libdrm, x11proto-dri2 from
      https://edge.launchpad.net/~xorg-edgers/+archive
      And the ati driver from
      https://launchpad.net/~tormodvolden/+archive
      And mesa from
      https://edge.launchpad.net/~stikonas/+archive

      Now EXA gives fantastic performance, but I still get "Fatal: No GLXFBConfig for default depth, this isn't going to work." when trying to start compiz.

      What else am I missing?

      Comment


      • #13
        Originally posted by zombiepig View Post
        I've installed libdrm, x11proto-dri2 from
        https://edge.launchpad.net/~xorg-edgers/+archive
        And the ati driver from
        https://launchpad.net/~tormodvolden/+archive
        And mesa from
        https://edge.launchpad.net/~stikonas/+archive

        Now EXA gives fantastic performance, but I still get "Fatal: No GLXFBConfig for default depth, this isn't going to work." when trying to start compiz.

        What else am I missing?
        what's your xorg.conf?! do you use ati framebuffer?! are you using textured video?!

        Comment


        • #14
          Originally posted by zombiepig View Post
          I've installed libdrm, x11proto-dri2 from
          https://edge.launchpad.net/~xorg-edgers/+archive
          And the ati driver from
          https://launchpad.net/~tormodvolden/+archive
          And mesa from
          https://edge.launchpad.net/~stikonas/+archive

          Now EXA gives fantastic performance, but I still get "Fatal: No GLXFBConfig for default depth, this isn't going to work." when trying to start compiz.

          What else am I missing?
          You may try also try mesa git from PPA/~xorg-edgers repository, I have only provided as small as possible changes to stable mesa in my PPA/stikonas so that possibility of breaking smth will be much smaller.

          Comment


          • #15
            i was forgetting:

            did you use the following variable

            Code:
            LIBGL_ALWAYS_INDIRECT=1
            and enabled Dri in xorg.conf?! if you didn't maybe, it's quite the chance that dri isn't enabled, but disabled by default. so you wouldn't be able to run compiz.
            the above variable forces indirect rendering since for the moment it's the only one providing glx_ex_texture_from_pixmap necessary for copiz to run.
            also you need to run compiz with

            Code:
            compiz --replace ccp
            and then use emerald with

            Code:
            emerald --replace
            since kwindecorator doesn't work well (at least for me).

            Comment


            • #16
              Originally posted by givemesugarr
              and enabled Dri in xorg.conf?! if you didn't maybe, it's quite the chance that dri isn't enabled, but disabled by default. so you wouldn't be able to run compiz.
              That's what I was missing - when I added it, compiz started perfectly. This is really fantastic

              Comment


              • #17
                Originally posted by zombiepig View Post
                That's what I was missing - when I added it, compiz started perfectly. This is really fantastic
                and is stable also in video playback and fast, even when going with 500+ mbs of ram occupied in compiling and the processor at 100% load. i'm really impressed how well compiz works on the radeon driver. the devs have really done a real good job.

                ps. with dri2 and direct rendering this should be even more faster and good.

                Comment


                • #18
                  Slow scrolling

                  Hi,

                  I followed the instructions, i.e.

                  I have also enabled DRI in xorg.conf and checked the X log file and everything looks fine. EXA is activated, along with DRI and PageFlipping.

                  I managed to start compiz by setting LIBGL_ALWAYS_INDIRECT to 1 and modifying the script to skip check of ati/radeon driver on a laptop.

                  Almost everything works fine. Performance is very good overall. The issue I have is that scrolling a window and moving a window around is very slow (I don't have the wobbling effect activated).

                  Any idea? I am running Hardy with an XPRESS 200M (5955) on a HP dv5000 laptop.

                  Comment


                  • #19
                    vtence - that sounds like the same steps I took. Maybe try making the changes to xorg.conf that are listed here https://wiki.ubuntu.com/RS485 . I noticed a small performance boost after following those steps.

                    Comment


                    • #20
                      No difference

                      zombiepig, thx for your help.

                      Unfortunatly, I still cannot make scrolling perf acceptable. Moving windows is really slow as well.

                      My xorg.conf looks like this:

                      Code:
                      Section "Device"
                              Identifier      "Configured Video Device"
                              Driver          "radeon"
                              Option          "AccelMethod" "EXA"
                              Option          "EnablePageFlip" "on"
                              Option          "DRI"   "true"
                              Option          "TexturedVideo" "on"
                              Option          "GARTSize" "64"
                      EndSection
                      
                      Section "DRI"
                              Mode    0666
                      EndSection
                      
                      Section "Extensions"
                              Option "Composite" "Enable"
                      EndSection
                      I tried without the TexturedVideo option and it does not seem to make any difference.

                      IIUC it should not be necessary to specify the Composite option, shouldn't it be on by default in Hardy? What's the use of DRI Mode 0666?

                      I'm not sure what else to try. When I run glxinfo, I get:

                      Code:
                      direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
                      but the X log file says DRI is activated:

                      Code:
                      (II) RADEON(0): Direct rendering experimental on RS400/Xpress 200 enabled

                      Comment

                      Working...
                      X