Announcement

Collapse
No announcement yet.

8.42.3 Compiz Missing GLX_EXT_texture_from_pixmap

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

  • #16
    Originally posted by pm_64 View Post
    Even if it would start you really don't want all the processing done by the cpu (which is what indirect rendering means -> no hardware acceleration). You really want direct rendering with AIGLX which is somehow not supported by the current driver 8.42.3. Check the output of 'glxinfo'. You'll see that 'GLX_EXT_texture_from_pixmap' is missing under 'GLX extensions' -> check first posting of this thread
    As far as I know, indirect rendering does NOT mean software rendering, but only that the rendering commands are passed through the X server. This makes the whole thing a bit slower than direct rendering, but it's probably still hardware accelerated. After all AIGLX = Accelerated Indirect GLX.

    Comment


    • #17
      Originally posted by ambro814 View Post
      As far as I know, indirect rendering does NOT mean software rendering, but only that the rendering commands are passed through the X server. This makes the whole thing a bit slower than direct rendering, but it's probably still hardware accelerated. After all AIGLX = Accelerated Indirect GLX.
      I think you are wrong there. Indirect rendering is synonymous with software/slow rendering [1]. Maybe this will be completed in 8.43

      References:
      [1] Accelerated Indirect GLX, Kristian Høgsberg, XDevConf, 9 Feb 2006, http://people.freedesktop.org/~krh/aiglx.pdf (page 4)
      Last edited by pm_64; 10-29-2007, 02:57 PM.

      Comment


      • #18
        Originally posted by pm_64 View Post
        I think you are wrong there. Indirect rendering is synonymous with software/slow rendering [1]. Maybe this is already fixed in 8.43

        References:
        [1] Accelerated Indirect GLX, Kristian Høgsberg, XDevConf, 9 Feb 2006, http://people.freedesktop.org/~krh/aiglx.pdf (page 4)
        You don't know what you're reading. What you said was *before* AIGLX. AIGLX is what allows you do do hardware accelerated indirect rendering. I suggest you read a few pages further ...
        In an AIGLX enabled server, try running "glxgears" and "LIBGL_ALWAYS_INDIRECT=1 glxgears" and compare fps. Indirect will be maybe only 70% performance, but stil hardware accelerated.
        Last edited by ambro814; 10-29-2007, 03:08 PM.

        Comment


        • #19
          Originally posted by ambro814 View Post
          You don't know what you're reading. What you said was *before* AIGLX. AIGLX is what allows you do do hardware accelerated indirect rendering. I suggest you read a few pages further ...
          What do you think is the reason for the compiz script to check for direct rendering support and after the check fails to fall back to indirect rendering? Is that for the use with XGL?

          # Check whether the GLX_EXT_texture_from_pixmap extension is available in
          # direct or indirect rendering contexts. If it is available only in indirect
          # rendering contexts, force compiz to use indirect rendering.
          Btw I only disproved your statement:
          As far as I know, indirect rendering does NOT mean software rendering, but only that the rendering commands are passed through the X server.
          If you know more regarding the topic of this thread please tell us. Currently it is far too slow to be useful. With XGL it worked flawlessly with low cpu usage.
          Last edited by pm_64; 10-29-2007, 03:19 PM.

          Comment


          • #20
            Originally posted by ambro814 View Post
            In an AIGLX enabled server, try running "glxgears" and "LIBGL_ALWAYS_INDIRECT=1 glxgears" and compare fps. Indirect will be maybe only 70% performance, but stil hardware accelerated.
            Yeah, 92% of the performance (process xorg takes 100% cpu load). Anyway, fact is cpu load is far to high with compiz based on AIGLX. Maybe some calculations are done on the gpu but it seems that's not enough. I haven't read anything about poor performance with the aiglx implementation of nvidia so i draw my conclusion maybe too fast. But I really hope it won't stay that way because fglrx 8.42.3 with compiz on aiglx is too slow to be useful and there are lots of people stating the same.

            Comment


            • #21
              Originally posted by pm_64 View Post
              If you know more regarding the topic of this thread please tell us. Currently it is far too slow to be useful. With XGL it worked flawlessly with low cpu usage.
              I think the check is for nvidia, maybe for Xgl too.
              If you use compiz with AIGLX, you do indirect rendering. I think you all are discussing something that isn't even a problem. I agree that compiz is slow with ati 8.42.3, but that's probably due to buggy drivers ...
              AIGLX probably also allows you to do hardware rendering from a remote X client, becouse commands are passed through network to the X server, which does the rendering.
              Last edited by ambro814; 10-29-2007, 03:53 PM.

              Comment


              • #22
                This should give you a small overview about AIGLX texture from pixmap and why nvidia is faster.
                http://www.phoronix.com/forums/showt...7254#post17254

                Comment


                • #23
                  Thanks anyway for the LIBGL_ALWAYS_INDIRECT=true hint. I had to locally recompile Emerald to get the window decorations work again with the renamed libwnk22 in Gutsy but now the effects all seem to work again. Raw glxgears is at 2900fps (up from 1300fpf with the open source driver and down from the 3000fps i am getting without compiz..) I spite of the inproved glxgears numbers, redraw of "wobbly windows" and even regular scrolling in Mozilla has actually slowed down with the fglrx driver. (jagged edges due to the slow refresh of "wobbly windows" are really ugly) I regret having updated my running Feisty installation to this crap.. :-(

                  Comment


                  • #24
                    Thanks anyway for the LIBGL_ALWAYS_INDIRECT=true hint. I had to locally recompile Emerald to get the window decorations work again with the renamed libwnk22 in Gutsy but now the effects all seem to work again. Raw glxgears is at 2900fps (up from 1300fpf with the open source driver and down from the 3000fps i am getting without compiz..) I spite of the inproved glxgears numbers, redraw of "wobbly windows" and even regular scrolling in Mozilla has actually slowed down with the fglrx driver. (the jagged edges - due to the slow refresh - of "wobbly windows" are really ugly now) I regret having updated my running Feisty installation to this crap.. :-(

                    Comment


                    • #25
                      I apologize for bumping, but I have the exact same problem.

                      compiz --replace:
                      Code:
                      user@hostname:~$ compiz --replace
                      GLX_EXT_texture_from_pixmap is not available with direct rendering.
                      GLX_EXT_texture_from_pixmap is not available with indirect rendering. Aborting!
                      user@hostname:~$
                      Code:
                      user@hostname:~$ grep AIGLX /var/log/Xorg.0.log
                      (**) Option "AIGLX" "on"
                      (**) AIGLX enabled
                      (EE) AIGLX error: dlsym for __driCreateNewScreen_20050727 failed (/usr/lib/dri/fglrx_dri.so: undefined symbol: __driCreateNewScreen_20050727)
                      (EE) AIGLX: reverting to software rendering
                      BTW, that AIGLX stuff is a bit old. If it's still the same after I restart the X server, I'll post again to let you know.

                      Comment


                      • #26
                        I have a question for all people with GTX_EXT_texture_from_pixmap problem: Are you running dual monitors setup with separate X on each?

                        I have a fresh install of Gutsy, fglrx 7.11, compiz 0.6.2 running fine with one large horizontal desktop (using Option "DesktopSetup" "horizontal") and with cloned desktops (one screen/monitor/device in xorg.conf).
                        However when I try dual head (I believe this is the correct name when each monitor has its own X server), I get the GLX_EXT_texture_from_pixmap error.

                        I am not sure if that disprove a problem in the driver but I thought I would share my findings.

                        Good luck

                        Comment


                        • #27
                          I have only one monitor.

                          Comment


                          • #28
                            Code:
                            [nognir@hammer ~]$ LIBGL_ALWAYS_INDIRECT=1 glxgears
                            X Error of failed request:  GLXBadContext
                              Major opcode of failed request:  144 (GLX)
                              Minor opcode of failed request:  5 (X_GLXMakeCurrent)
                              Serial number of failed request:  21
                              Current serial number in output stream:  21
                            Why is that?

                            Comment


                            • #29
                              I know the solution

                              Originally posted by ka_3 View Post
                              I apologize for bumping, but I have the exact same problem.

                              compiz --replace:
                              Code:
                              user@hostname:~$ compiz --replace
                              GLX_EXT_texture_from_pixmap is not available with direct rendering.
                              GLX_EXT_texture_from_pixmap is not available with indirect rendering. Aborting!
                              user@hostname:~$
                              Code:
                              user@hostname:~$ grep AIGLX /var/log/Xorg.0.log
                              (**) Option "AIGLX" "on"
                              (**) AIGLX enabled
                              (EE) AIGLX error: dlsym for __driCreateNewScreen_20050727 failed (/usr/lib/dri/fglrx_dri.so: undefined symbol: __driCreateNewScreen_20050727)
                              (EE) AIGLX: reverting to software rendering
                              BTW, that AIGLX stuff is a bit old. If it's still the same after I restart the X server, I'll post again to let you know.


                              If you try
                              $ compiz --replace --force-fglrx
                              ??
                              It works!!

                              Comment

                              Working...
                              X