Announcement

Collapse
No announcement yet.

Cleaning Up The R600 Gallium3D Driver

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

  • #11
    Originally posted by Azpegath View Post
    Thank you, so are they working better? =)
    I've tried 2d-tiling patch-set today. And the only thing that rendered correctly is mouse pointer The screen is black with a gray garbage
    Radeon Mobility HD 2600, Archlinux, KDE

    Comment


    • #12
      Originally posted by ChrisXY View Post
      Code:
       ~ % LIBGL_DEBUG=verbose glxinfo | grep render
      libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/r600_dri.so
      libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/r600_dri.so
      libGL error: dlopen /usr/lib/xorg/modules/dri/r600_dri.so failed (/usr/lib/libglsl.so: undefined symbol: _mesa_symbol_table_add_symbol)
      libGL: OpenDriver: trying /tls/r600_dri.so
      libGL: OpenDriver: trying /r600_dri.so
      libGL error: dlopen /r600_dri.so failed (/r600_dri.so: cannot open shared object file: No such file or directory)
      libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri/tls/r600_dri.so
      libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri/r600_dri.so
      libGL error: dlopen /usr/lib32/xorg/modules/dri/r600_dri.so failed (/usr/lib32/xorg/modules/dri/r600_dri.so: wrong ELF class: ELFCLASS32)
      libGL error: unable to load driver: r600_dri.so
      libGL error: driver pointer missing
      libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/swrast_dri.so
      libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/swrast_dri.so
      [1]    13627 segmentation fault (core dumped)  LIBGL_DEBUG=verbose glxinfo | 
             13628 exit 1                            grep --color=auto render
      Anybody else?
      Well, the problem was errors in the build "undefined reference... bla" that the build scripts didn't think were so important to abort or print an error message after the build finished...


      So I have a little request:
      Can you please test your changes a bit more before you commit them?

      1:
      Code:
      commit d36f89c8cfb3776368f8acef46514421f454205c
      Author: Christian König <deathsimple@vodafone.de>
      Date:   Tue Jan 31 14:49:07 2012 +0100
      
          vl: fix some missing prototypes error
          
          Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45444
          Signed-off-by: Christian König <deathsimple@vodafone.de>
      
       src/gallium/state_trackers/vdpau/preemption.c |    1 +
       src/gallium/winsys/g3dvl/dri/XF86dri.c        |   27 -------------------------
       2 files changed, 1 insertions(+), 27 deletions(-)
      2:
      Code:
      commit f53e7e981ef35ab64a084c8da6c67bd2d230fe33
      Author: Matt Turner <mattst88@gmail.com>
      Date:   Tue Jan 31 11:54:24 2012 -0500
      
          Make sure libGL.so links with libglsl
          
          Can't link against *.la files if we're not using libtool to link.
          
          Fixes undefined symbol: _ZN23ir_hierarchical_visitor5visitEP11ir_variable
      
       configure.ac         |    2 ++
       src/mesa/sources.mak |    2 +-
       2 files changed, 3 insertions(+), 1 deletions(-)
      3:
      Code:
      commit ffe376d5a74dee837dc1a421de29ae551087630f
      Author: Paul Berry <stereotype441@gmail.com>
      Date:   Mon Jan 30 18:53:09 2012 -0800
      
          glsl: Fix optimization tests after converting src/glsl to automake.
          
          Commit 99476561 (automake: src/glsl and src/glsl/glcpp) changed the
          build system so that src/glsl/glsl_test is not built by default.  This
          inadvertently broke "make check", since the tests in
          src/glsl/tests/lower_jumps (which are run by "make check") rely on
          glsl_test.
          
          This patch ensures that "make check" builds glsl_test before running
          any tests.
          
          Reviewed-by: Matt Turner <mattst88@gmail.com>
      
       Makefile |    1 +
       1 files changed, 1 insertions(+), 0 deletions(-)
      In one day alone...

      And still it doesn't even build... (how does it work for all of you people here discussing the changes?)
      http://pastebin.com/fE1BULTD
      Code:
      r600_dri.so.tmp: undefined reference to `st_gl_api_create'
      Of course I appreciate your work very much, but just to let you know that I rather wait longer for changes when that results in a repository that I actually can build from.

      Comment


      • #13
        I have not get such verbose errors but todays master of Mesa is completely broken for me.
        See http://phoronix.com/forums/showthrea...005#post249005

        Comment


        • #14
          As far as I can tell they are currently transitioning to automake. Give it a few days and I think these will be fixed.

          Comment


          • #15
            PCIe-2.0 support works perfectly here. 2D Tiling works fine with gnome-shell, but hardlocks with "real" GL 2.1 workloads e.g. wine -> dx9 -> star trek online. Doesn't hardlock with 1D tiling. Haven't yet spotted any regressions resulting from Marek's recent cleanups, so that's good -- the chances of regressions are fairly good when you touch that many pieces of code. Nice job Marek

            Comment


            • #16
              Is it supposed to compile?

              Here's what I get (git HEAD + the two-line patch for RS780M/HD3200 Mobility):
              Code:
              make[4]: Entering directory `/mnt/mesa/src/gfx/mesa.git/src/glsl'
                CXX    builtin_function.lo
              builtin_function.cpp:6935:2: error: #error builtins profile 100_frag failed to compile
              builtin_function.cpp:6936:2: error: #error builtins profile 100_vert failed to compile
              builtin_function.cpp:9714:2: error: #error builtins profile 120_frag failed to compile
              builtin_function.cpp:9715:2: error: #error builtins profile 120_vert failed to compile
              builtin_function.cpp:9716:2: error: #error builtins profile 130_frag failed to compile
              builtin_function.cpp:9717:2: error: #error builtins profile 130_vert failed to compile
              builtin_function.cpp:10216:2: error: #error builtins profile EXT_texture_array_frag failed to compile
              builtin_function.cpp:10217:2: error: #error builtins profile EXT_texture_array_vert failed to compile
              builtin_function.cpp:10218:2: error: #error builtins profile OES_EGL_image_external_frag failed to compile
              builtin_function.cpp:10219:2: error: #error builtins profile OES_EGL_image_external_vert failed to compile
              builtin_function.cpp:10220:2: error: #error builtins profile OES_texture_3D_frag failed to compile
              builtin_function.cpp:10221:2: error: #error builtins profile OES_texture_3D_vert failed to compile
              builtin_function.cpp: In function 'void _mesa_glsl_initialize_functions(_mesa_glsl_parse_state*)':
              builtin_function.cpp:10267: error: 'prototypes_for_100_frag' was not declared in this scope
              builtin_function.cpp:10268: error: 'functions_for_100_frag' was not declared in this scope
              builtin_function.cpp:10274: error: 'prototypes_for_100_vert' was not declared in this scope
              builtin_function.cpp:10275: error: 'functions_for_100_vert' was not declared in this scope
              builtin_function.cpp:10295: error: 'prototypes_for_120_frag' was not declared in this scope
              builtin_function.cpp:10296: error: 'functions_for_120_frag' was not declared in this scope
              builtin_function.cpp:10302: error: 'prototypes_for_120_vert' was not declared in this scope
              builtin_function.cpp:10303: error: 'functions_for_120_vert' was not declared in this scope
              builtin_function.cpp:10309: error: 'prototypes_for_130_frag' was not declared in this scope
              builtin_function.cpp:10310: error: 'functions_for_130_frag' was not declared in this scope
              builtin_function.cpp:10316: error: 'prototypes_for_130_vert' was not declared in this scope
              builtin_function.cpp:10317: error: 'functions_for_130_vert' was not declared in this scope
              builtin_function.cpp:10351: error: 'prototypes_for_EXT_texture_array_frag' was not declared in this scope
              builtin_function.cpp:10352: error: 'functions_for_EXT_texture_array_frag' was not declared in this scope
              builtin_function.cpp:10358: error: 'prototypes_for_EXT_texture_array_vert' was not declared in this scope
              builtin_function.cpp:10359: error: 'functions_for_EXT_texture_array_vert' was not declared in this scope
              builtin_function.cpp:10365: error: 'prototypes_for_OES_EGL_image_external_frag' was not declared in this scope
              builtin_function.cpp:10366: error: 'functions_for_OES_EGL_image_external_frag' was not declared in this scope
              builtin_function.cpp:10372: error: 'prototypes_for_OES_EGL_image_external_vert' was not declared in this scope
              builtin_function.cpp:10373: error: 'functions_for_OES_EGL_image_external_vert' was not declared in this scope
              builtin_function.cpp:10379: error: 'prototypes_for_OES_texture_3D_frag' was not declared in this scope
              builtin_function.cpp:10380: error: 'functions_for_OES_texture_3D_frag' was not declared in this scope
              builtin_function.cpp:10386: error: 'prototypes_for_OES_texture_3D_vert' was not declared in this scope
              builtin_function.cpp:10387: error: 'functions_for_OES_texture_3D_vert' was not declared in this scope
              make[4]: *** [builtin_function.lo] Error 1
              I'm not sure where it broke, though.

              For those who don't dare to test:
              It's pretty easy to install to an alternate prefix, then set LD_LIBRARY_PATH and {LIB,E}GL_DRIVERS_PATH, then run your test programs.

              Comment

              Working...
              X