Announcement

Collapse
No announcement yet.

Updated and Optimized Ubuntu Free Graphics Drivers

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

  • #21
    I've just tested stock Ubuntu mesa with the X drivers from your PPA, and it hasn't produced a crash yet, so it seems it's mesa git that is the cause of this.

    But just to be sure, is there an easy way to install mesa from your PPA while keeping the stock X-stuff from Natty? I've been struggling with Synaptic for some time and I can't get it to work without getting a message about "broken packages".

    Comment


    • #22
      Originally posted by runeks View Post
      I've just tested stock Ubuntu mesa with the X drivers from your PPA, and it hasn't produced a crash yet, so it seems it's mesa git that is the cause of this.

      But just to be sure, is there an easy way to install mesa from your PPA while keeping the stock X-stuff from Natty? I've been struggling with Synaptic for some time and I can't get it to work without getting a message about "broken packages".
      Enable the PPA and do a:
      Code:
      sudo apt-get install package1 package2 ...
      where package1 ... are the packages you get with:
      Code:
      $ dpkg -l | grep mesa
      Note that it will also install newer libdrm (required by mesa git) and libtxc-dxtn0 (Reccomended by mesa from my PPA).

      Then you may want to disable the PPA to avoid to automatically upgrading also x drivers on successive upgrades (and eventually enable it again, upgrade mesa and disable it again when you want a newer mesa git).

      Comment


      • #23
        Thanks, that worked smoothly. It doesn't seem to have updated libdrm though:

        Code:
        rune@runescomp:~$ dpkg -l | grep libdrm
        ii  libdrm-dev                            2.4.23-1ubuntu6                                  Userspace interface to kernel DRM services -- development files
        ii  libdrm-intel1                         2.4.23-1ubuntu6                                  Userspace interface to intel-specific kernel DRM services -- runtime
        rc  libdrm-nouveau1                       2.4.21-1ubuntu2.1                                Userspace interface to nouveau-specific kernel DRM services -- runtime
        ii  libdrm-nouveau1a                      2.4.23-1ubuntu6                                  Userspace interface to nouveau-specific kernel DRM services -- runtime
        ii  libdrm-radeon1                        2.4.23-1ubuntu6                                  Userspace interface to radeon-specific kernel DRM services -- runtime
        ii  libdrm-radeon1-dbg                    2.4.23-1ubuntu6                                  Userspace interface to radeon-specific kernel DRM services -- debugging symbols
        ii  libdrm2                               2.4.23-1ubuntu6                                  Userspace interface to kernel DRM services -- runtime
        ii  libdrm2-dbg                           2.4.23-1ubuntu6                                  Userspace interface to kernel DRM services -- debugging symbols
        rune@runescomp:~$ dpkg -l | grep mesa
        ii  libgl1-mesa-dri                       7.11.0~git1105151033.bd5b7a~gd~n                 A free implementation of the OpenGL API -- DRI modules
        ii  libgl1-mesa-dri-dbg                   7.11.0~git1105151033.bd5b7a~gd~n                 Debugging symbols for the Mesa DRI modules
        ii  libgl1-mesa-glx                       7.11.0~git1105151033.bd5b7a~gd~n                 A free implementation of the OpenGL API -- GLX runtime
        ii  libglapi-mesa                         7.11.0~git1105151033.bd5b7a~gd~n                 Common gl api shared library
        ii  libglu1-mesa                          7.11.0~git1105151033.bd5b7a~gd~n                 The OpenGL utility library (GLU)
        ii  mesa-utils                            8.0.1+git20110129+d8f7d6b-0ubuntu2               Miscellaneous Mesa GL utilities
        But everything seems to be working fine:
        Code:
        rune@runescomp:~$ dpkg -l | grep xserver-xorg-video-radeon
        ii  xserver-xorg-video-radeon             1:6.14.0-0ubuntu4                                X.Org X server -- AMD/ATI Radeon display driver
        ii  xserver-xorg-video-radeon-dbg         1:6.14.0-0ubuntu4                                X.Org X server -- AMD/ATI Radeon display driver (debugging symbols)
        rune@runescomp:~$ glxinfo | grep OpenGL
        OpenGL vendor string: X.Org
        OpenGL renderer string: Gallium 0.4 on AMD RV670
        OpenGL version string: 2.1 Mesa 7.11-devel (git-bd5b7a6 ubuntu-natty-graphics-drivers-ppa)
        OpenGL shading language version string: 1.20
        OpenGL extensions:
        Also, I found out that it is compiz that hangs/freezes. Killing compiz solves the issue; it restarts and everything works fine again. I expect it to happen sooner or later now that I'm using mesa git. I plan to try this out when it happens again. Please let me know if there's anything I could do besides that to help uncover the problem.

        Comment


        • #24
          Do you have any idea what is going on with your r600g driver on my RadeonHD 5670?

          Trine simply crashes and Sauerbraten does too, it spits out a whole bunch of lines about "EXCEEDED NATIVE LIMITS" and then finishes with Cannot locate shader definitions.

          Comment


          • #25
            So the freeze just happened. I got a backtrace:

            Code:
            (gdb) where
            #0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136
            #1  0x00007f965fb905b4 in _L_lock_944 () from /lib/x86_64-linux-gnu/libpthread.so.0
            #2  0x00007f965fb903ca in __pthread_mutex_lock (mutex=0x12bb9c8) at pthread_mutex_lock.c:61
            #3  0x00007f965a24ed9c in radeon_bo_destroy (radeon=0x12bb970, dst=0x1750508, src=0x0) at radeon_bo.c:147
            #4  radeon_bo_reference (radeon=0x12bb970, dst=0x1750508, src=0x0) at radeon_bo.c:167
            #5  0x00007f965a24a5c6 in r600_bo_destroy (radeon=0x12bb970, bo=0x17504f0) at r600_bo.c:161
            #6  0x00007f965a24a695 in r600_bo_reference (radeon=0x12bb970, dst=0x1733608, src=0x0) at r600_bo.c:170
            #7  0x00007f965a234340 in r600_texture_destroy (screen=<value optimized out>, ptex=0x17335c0) at r600_texture.c:338
            #8  0x00007f965a3c9b2d in pipe_resource_reference (ctx=<value optimized out>, texImage=0x1773540) at ../../src/gallium/auxiliary/util/u_inlines.h:123
            #9  st_FreeTextureImageData (ctx=<value optimized out>, texImage=0x1773540) at state_tracker/st_cb_texture.c:154
            #10 0x00007f965a2cac1d in _mesa_delete_texture_image (ctx=<value optimized out>, texImage=0x1773540) at main/teximage.c:665
            #11 0x00007f965a2d02a1 in _mesa_delete_texture_object (ctx=0x13fcfb0, texObj=0x17884c0) at main/texobj.c:207
            #12 0x00007f965a2d0584 in _mesa_reference_texobj (ptr=0x7fff700d14e8, tex=0x0) at main/texobj.c:357
            #13 0x00007f965a2d101f in _mesa_DeleteTextures (n=1, textures=<value optimized out>) at main/texobj.c:971
            #14 0x00007f965af0af20 in GLTexture::~GLTexture (this=<value optimized out>, __in_chrg=<value optimized out>) at /build/buildd/compiz-0.9.4+bzr20110415/plugins/opengl/src/texture.cpp:109
            #15 0x00007f965af0be89 in TfpTexture::~TfpTexture (this=0x1774370, __in_chrg=<value optimized out>) at /build/buildd/compiz-0.9.4+bzr20110415/plugins/opengl/src/texture.cpp:445
            #16 0x00007f965af0b115 in GLTexture::List::clear (this=0x1770dd0) at /build/buildd/compiz-0.9.4+bzr20110415/plugins/opengl/src/texture.cpp:96
            #17 0x00007f965af13bc1 in GLWindow::release (this=0x179a9a0) at /build/buildd/compiz-0.9.4+bzr20110415/plugins/opengl/src/window.cpp:119
            #18 0x000000000043693a in CompWindow::resizeNotify (this=0x1789d80, dx=<value optimized out>, dy=<value optimized out>, dwidth=<value optimized out>, dheight=<value optimized out>)
                at /build/buildd/compiz-0.9.4+bzr20110415/src/window.cpp:1822
            #19 0x00007f9653df1918 in DecorWindow::resizeNotify (this=0x1762f30, dx=0, dy=0, dwidth=0, dheight=0) at /build/buildd/compiz-0.9.4+bzr20110415/plugins/decor/src/decor.cpp:1965
            #20 0x000000000043693a in CompWindow::resizeNotify (this=0x1789d80, dx=<value optimized out>, dy=<value optimized out>, dwidth=<value optimized out>, dheight=<value optimized out>)
                at /build/buildd/compiz-0.9.4+bzr20110415/src/window.cpp:1822
            #21 0x00007f9652b3209e in ResizeWindow::resizeNotify (this=0x17a8bf0, dx=<value optimized out>, dy=<value optimized out>, dwidth=<value optimized out>, dheight=<value optimized out>)
                at /build/buildd/compiz-0.9.4+bzr20110415/plugins/resize/src/resize.cpp:1473
            #22 0x000000000043693a in CompWindow::resizeNotify (this=0x1789d80, dx=<value optimized out>, dy=<value optimized out>, dwidth=<value optimized out>, dheight=<value optimized out>)
                at /build/buildd/compiz-0.9.4+bzr20110415/src/window.cpp:1822
            #23 0x000000000043693a in CompWindow::resizeNotify (this=0x1789d80, dx=<value optimized out>, dy=<value optimized out>, dwidth=<value optimized out>, dheight=<value optimized out>)
                at /build/buildd/compiz-0.9.4+bzr20110415/src/window.cpp:1822
            #24 0x0000000000438634 in CompWindow::updateWindowOutputExtents (this=0x1789d80) at /build/buildd/compiz-0.9.4+bzr20110415/src/window.cpp:852
            #25 0x00007f9653df2a1b in DecorWindow::update (this=0x1762f30, allowDecoration=true) at /build/buildd/compiz-0.9.4+bzr20110415/plugins/decor/src/decor.cpp:929
            #26 0x00007f9653df45a0 in DecorScreen::handleEvent (this=<value optimized out>, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/plugins/decor/src/decor.cpp:1616
            #27 0x000000000044e9a3 in CompScreen::handleEvent (this=0x11f59f0, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/src/event.cpp:986
            #28 0x00007f96539d44bf in RegexScreen::handleEvent (this=0x1503c30, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/plugins/regex/src/regex.cpp:250
            #29 0x000000000044e9a3 in CompScreen::handleEvent (this=0x11f59f0, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/src/event.cpp:986
            #30 0x000000000044e9a3 in CompScreen::handleEvent (this=0x11f59f0, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/src/event.cpp:986
            #31 0x00007f96533947bc in MoveScreen::handleEvent (this=<value optimized out>, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/plugins/move/src/move.cpp:641
            #32 0x000000000044e9a3 in CompScreen::handleEvent (this=0x11f59f0, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/src/event.cpp:986
            #33 0x000000000044e9a3 in CompScreen::handleEvent (this=0x11f59f0, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/src/event.cpp:986
            #34 0x00007f9652b35396 in ResizeScreen::handleEvent (this=0x15c2ec0, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/plugins/resize/src/resize.cpp:1454
            #35 0x000000000044e9a3 in CompScreen::handleEvent (this=0x11f59f0, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/src/event.cpp:986
            #36 0x000000000044e9a3 in CompScreen::handleEvent (this=0x11f59f0, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/src/event.cpp:986
            #37 0x00007f96505413c0 in SessionScreen::handleEvent (this=0x1665c10, event=0x7fff700d37b0) at /build/buildd/compiz-plugins-main-0.9.4+bzr20110406/session/src/session.cpp:707
            #38 0x000000000044e9a3 in CompScreen::handleEvent (this=0x11f59f0, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/src/event.cpp:986
            #39 0x00007f965010a1ad in WorkaroundsScreen::handleEvent (this=0x16719e0, event=0x7fff700d37b0) at /build/buildd/compiz-plugins-main-0.9.4+bzr20110406/workarounds/src/workarounds.cpp:941
            #40 0x000000000044e9a3 in CompScreen::handleEvent (this=0x11f59f0, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/src/event.cpp:986
            #41 0x00007f964fa926c1 in FadeScreen::handleEvent (this=0x168e1a0, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/plugins/fade/src/fade.cpp:76
            #42 0x000000000044e9a3 in CompScreen::handleEvent (this=0x11f59f0, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/src/event.cpp:986
            #43 0x00007f964f8773c7 in PrivateScaleScreen::handleEvent (this=0x16a0110, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/plugins/scale/src/scale.cpp:1579
            #44 0x000000000044e9a3 in CompScreen::handleEvent (this=0x11f59f0, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/src/event.cpp:986
            #45 0x000000000042e59b in PrivateScreen::processEvents (this=0x11f5ab0) at /build/buildd/compiz-0.9.4+bzr20110415/src/screen.cpp:768
            #46 0x0000000000455958 in CompEventSource::callback (this=<value optimized out>) at /build/buildd/compiz-0.9.4+bzr20110415/src/eventsource.cpp:69
            #47 0x00007f9660db2daf in Glib::Source::dispatch_vfunc(_GSource*, int (*)(void*), void*) () from /usr/lib/libglibmm-2.4.so.1
            #48 0x00007f9660261bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
            #49 0x00007f96602623a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
            #50 0x00007f96602629f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
            #51 0x000000000042a2ea in CompScreen::eventLoop (this=0x11f59f0) at /build/buildd/compiz-0.9.4+bzr20110415/src/screen.cpp:128
            #52 0x0000000000423160 in main (argc=<value optimized out>, argv=0x7fff700d3b68) at /build/buildd/compiz-0.9.4+bzr20110415/src/main.cpp:285
            Full gdb output.

            Should I just report it as a bug in r600g or what? I presume it's mesa's fault and not compiz'?

            Comment


            • #26
              Originally posted by runeks View Post
              So the freeze just happened. I got a backtrace:

              Code:
              (gdb) where
              #0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136
              #1  0x00007f965fb905b4 in _L_lock_944 () from /lib/x86_64-linux-gnu/libpthread.so.0
              #2  0x00007f965fb903ca in __pthread_mutex_lock (mutex=0x12bb9c8) at pthread_mutex_lock.c:61
              #3  0x00007f965a24ed9c in radeon_bo_destroy (radeon=0x12bb970, dst=0x1750508, src=0x0) at radeon_bo.c:147
              #4  radeon_bo_reference (radeon=0x12bb970, dst=0x1750508, src=0x0) at radeon_bo.c:167
              #5  0x00007f965a24a5c6 in r600_bo_destroy (radeon=0x12bb970, bo=0x17504f0) at r600_bo.c:161
              #6  0x00007f965a24a695 in r600_bo_reference (radeon=0x12bb970, dst=0x1733608, src=0x0) at r600_bo.c:170
              #7  0x00007f965a234340 in r600_texture_destroy (screen=<value optimized out>, ptex=0x17335c0) at r600_texture.c:338
              #8  0x00007f965a3c9b2d in pipe_resource_reference (ctx=<value optimized out>, texImage=0x1773540) at ../../src/gallium/auxiliary/util/u_inlines.h:123
              #9  st_FreeTextureImageData (ctx=<value optimized out>, texImage=0x1773540) at state_tracker/st_cb_texture.c:154
              #10 0x00007f965a2cac1d in _mesa_delete_texture_image (ctx=<value optimized out>, texImage=0x1773540) at main/teximage.c:665
              #11 0x00007f965a2d02a1 in _mesa_delete_texture_object (ctx=0x13fcfb0, texObj=0x17884c0) at main/texobj.c:207
              #12 0x00007f965a2d0584 in _mesa_reference_texobj (ptr=0x7fff700d14e8, tex=0x0) at main/texobj.c:357
              #13 0x00007f965a2d101f in _mesa_DeleteTextures (n=1, textures=<value optimized out>) at main/texobj.c:971
              #14 0x00007f965af0af20 in GLTexture::~GLTexture (this=<value optimized out>, __in_chrg=<value optimized out>) at /build/buildd/compiz-0.9.4+bzr20110415/plugins/opengl/src/texture.cpp:109
              #15 0x00007f965af0be89 in TfpTexture::~TfpTexture (this=0x1774370, __in_chrg=<value optimized out>) at /build/buildd/compiz-0.9.4+bzr20110415/plugins/opengl/src/texture.cpp:445
              #16 0x00007f965af0b115 in GLTexture::List::clear (this=0x1770dd0) at /build/buildd/compiz-0.9.4+bzr20110415/plugins/opengl/src/texture.cpp:96
              #17 0x00007f965af13bc1 in GLWindow::release (this=0x179a9a0) at /build/buildd/compiz-0.9.4+bzr20110415/plugins/opengl/src/window.cpp:119
              #18 0x000000000043693a in CompWindow::resizeNotify (this=0x1789d80, dx=<value optimized out>, dy=<value optimized out>, dwidth=<value optimized out>, dheight=<value optimized out>)
                  at /build/buildd/compiz-0.9.4+bzr20110415/src/window.cpp:1822
              #19 0x00007f9653df1918 in DecorWindow::resizeNotify (this=0x1762f30, dx=0, dy=0, dwidth=0, dheight=0) at /build/buildd/compiz-0.9.4+bzr20110415/plugins/decor/src/decor.cpp:1965
              #20 0x000000000043693a in CompWindow::resizeNotify (this=0x1789d80, dx=<value optimized out>, dy=<value optimized out>, dwidth=<value optimized out>, dheight=<value optimized out>)
                  at /build/buildd/compiz-0.9.4+bzr20110415/src/window.cpp:1822
              #21 0x00007f9652b3209e in ResizeWindow::resizeNotify (this=0x17a8bf0, dx=<value optimized out>, dy=<value optimized out>, dwidth=<value optimized out>, dheight=<value optimized out>)
                  at /build/buildd/compiz-0.9.4+bzr20110415/plugins/resize/src/resize.cpp:1473
              #22 0x000000000043693a in CompWindow::resizeNotify (this=0x1789d80, dx=<value optimized out>, dy=<value optimized out>, dwidth=<value optimized out>, dheight=<value optimized out>)
                  at /build/buildd/compiz-0.9.4+bzr20110415/src/window.cpp:1822
              #23 0x000000000043693a in CompWindow::resizeNotify (this=0x1789d80, dx=<value optimized out>, dy=<value optimized out>, dwidth=<value optimized out>, dheight=<value optimized out>)
                  at /build/buildd/compiz-0.9.4+bzr20110415/src/window.cpp:1822
              #24 0x0000000000438634 in CompWindow::updateWindowOutputExtents (this=0x1789d80) at /build/buildd/compiz-0.9.4+bzr20110415/src/window.cpp:852
              #25 0x00007f9653df2a1b in DecorWindow::update (this=0x1762f30, allowDecoration=true) at /build/buildd/compiz-0.9.4+bzr20110415/plugins/decor/src/decor.cpp:929
              #26 0x00007f9653df45a0 in DecorScreen::handleEvent (this=<value optimized out>, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/plugins/decor/src/decor.cpp:1616
              #27 0x000000000044e9a3 in CompScreen::handleEvent (this=0x11f59f0, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/src/event.cpp:986
              #28 0x00007f96539d44bf in RegexScreen::handleEvent (this=0x1503c30, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/plugins/regex/src/regex.cpp:250
              #29 0x000000000044e9a3 in CompScreen::handleEvent (this=0x11f59f0, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/src/event.cpp:986
              #30 0x000000000044e9a3 in CompScreen::handleEvent (this=0x11f59f0, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/src/event.cpp:986
              #31 0x00007f96533947bc in MoveScreen::handleEvent (this=<value optimized out>, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/plugins/move/src/move.cpp:641
              #32 0x000000000044e9a3 in CompScreen::handleEvent (this=0x11f59f0, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/src/event.cpp:986
              #33 0x000000000044e9a3 in CompScreen::handleEvent (this=0x11f59f0, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/src/event.cpp:986
              #34 0x00007f9652b35396 in ResizeScreen::handleEvent (this=0x15c2ec0, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/plugins/resize/src/resize.cpp:1454
              #35 0x000000000044e9a3 in CompScreen::handleEvent (this=0x11f59f0, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/src/event.cpp:986
              #36 0x000000000044e9a3 in CompScreen::handleEvent (this=0x11f59f0, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/src/event.cpp:986
              #37 0x00007f96505413c0 in SessionScreen::handleEvent (this=0x1665c10, event=0x7fff700d37b0) at /build/buildd/compiz-plugins-main-0.9.4+bzr20110406/session/src/session.cpp:707
              #38 0x000000000044e9a3 in CompScreen::handleEvent (this=0x11f59f0, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/src/event.cpp:986
              #39 0x00007f965010a1ad in WorkaroundsScreen::handleEvent (this=0x16719e0, event=0x7fff700d37b0) at /build/buildd/compiz-plugins-main-0.9.4+bzr20110406/workarounds/src/workarounds.cpp:941
              #40 0x000000000044e9a3 in CompScreen::handleEvent (this=0x11f59f0, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/src/event.cpp:986
              #41 0x00007f964fa926c1 in FadeScreen::handleEvent (this=0x168e1a0, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/plugins/fade/src/fade.cpp:76
              #42 0x000000000044e9a3 in CompScreen::handleEvent (this=0x11f59f0, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/src/event.cpp:986
              #43 0x00007f964f8773c7 in PrivateScaleScreen::handleEvent (this=0x16a0110, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/plugins/scale/src/scale.cpp:1579
              #44 0x000000000044e9a3 in CompScreen::handleEvent (this=0x11f59f0, event=0x7fff700d37b0) at /build/buildd/compiz-0.9.4+bzr20110415/src/event.cpp:986
              #45 0x000000000042e59b in PrivateScreen::processEvents (this=0x11f5ab0) at /build/buildd/compiz-0.9.4+bzr20110415/src/screen.cpp:768
              #46 0x0000000000455958 in CompEventSource::callback (this=<value optimized out>) at /build/buildd/compiz-0.9.4+bzr20110415/src/eventsource.cpp:69
              #47 0x00007f9660db2daf in Glib::Source::dispatch_vfunc(_GSource*, int (*)(void*), void*) () from /usr/lib/libglibmm-2.4.so.1
              #48 0x00007f9660261bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
              #49 0x00007f96602623a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
              #50 0x00007f96602629f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
              #51 0x000000000042a2ea in CompScreen::eventLoop (this=0x11f59f0) at /build/buildd/compiz-0.9.4+bzr20110415/src/screen.cpp:128
              #52 0x0000000000423160 in main (argc=<value optimized out>, argv=0x7fff700d3b68) at /build/buildd/compiz-0.9.4+bzr20110415/src/main.cpp:285
              Full gdb output.

              Should I just report it as a bug in r600g or what? I presume it's mesa's fault and not compiz'?
              Yes, you should open a bug against mesa. Then developers can take a look at it and suggest something.

              Comment


              • #27
                Originally posted by DaemonFC View Post
                Do you have any idea what is going on with your r600g driver on my RadeonHD 5670?

                Trine simply crashes and Sauerbraten does too, it spits out a whole bunch of lines about "EXCEEDED NATIVE LIMITS" and then finishes with Cannot locate shader definitions.
                My packages just provides snapshots of mesa from git, also I don't have a card using the r600g driver. Try opening a bug against mesa: https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa so that r600g developers can take a look at this bug.

                Comment


                • #28
                  Originally posted by runeks View Post
                  Thanks, that worked smoothly. It doesn't seem to have updated libdrm though:
                  OK, I updated the dependencies. On the next update libdrm 2.6.25 should be installed.

                  Comment


                  • #29
                    VDPAU/XvMC r600/nouveau drivers

                    In the current mesa packages I merge the pipe-video branch to provide VDPAU and XvMC video acceleration drivers. Currently supported:

                    VDPAU: r600
                    XvMC: r600 and nouveau


                    VA API r600 driver can also be built, but it is disabled since it's not supported by developers.

                    To test it enable this PPA and update all the packages included (see the first post of this thread for more details), then also install the libg3dvl-mesa package:

                    Code:
                    sudo apt-get install libg3dvl-mesa
                    To test the r600 VDPAU driver with mplayer use:
                    Code:
                    VDPAU_DRIVER=r600 mplayer -vo vdpau yourvideofile
                    To test the XvMC r600/nouveau drivers edit the file /etc/X11/XvMCConfig and insert:
                    Code:
                    /usr/lib/dri/libXvMCr600.so
                    or:
                    Code:
                    /usr/lib/dri/libXvMCnouveau.so
                    and restart the X server. Then to test it with mplayer:
                    Code:
                    mplayer -vo xvmc yourvideofile
                    If you get any crashes you can install the debug symbols with:
                    Code:
                    sudo apt-get install libg3dvl-mesa-dbg
                    Note1: thanks to Christian K?nig and Bryan Cain for the feedback about this.
                    Note2: I moved the nouveau dri gallium driver from the experimental to the standard package and it is installed by default now.
                    Note3: I don't own a r600 or nouveau compatible card so I couldn't test it (especially the XvMC drivers). If it doesn't work let me know and I'll try to fix the package. I can't reply before monday anyway.
                    Note4: I'd like to add these instructions to the first post but Phoronix disabled editing posts some time ago .

                    You can also make a donation to support this PPA:

                    Comment


                    • #30
                      I've got massive amounts of tearing in OpenGL programs... even glxgears. However it stays vsynced to 60FPS it seems more like a texturing problem really and it updates the visual much slower than the indicated fps

                      again on r600 I hope you get a card to test on they aren't too expensive these days.

                      EDITING: wow this is nice to be able to edit :P ... but yeah don't see anything at all in my dmesg about this :/
                      Last edited by cb88; 27 May 2011, 02:52 PM.

                      Comment

                      Working...
                      X