Announcement

Collapse
No announcement yet.

Mesa 10.0 Delivers Many Exciting New Features

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

  • #21
    So, recompiled everything again. The simple tests now run ok, no gpu resets, i have 69 passes and 2 fails:

    Code:
    Running ./math-int add 1 2 3
    Passed
    Running ./math-int add 2 1 3
    Passed
    Running ./math-int add -5 10 5
    Passed
    Running ./math-int add -1 -4 -5
    Passed
    Running ./math-int mul 4 5 20
    Passed
    Running ./math-int mul 8 0 0
    Passed
    Running ./math-int mul -3 8 -24
    Passed
    Running ./math-int mul -12 -6 72
    Passed
    Running ./math-int div 20 5 4
    Passed
    Running ./math-int div 23 5 4
    Passed
    Running ./math-int div 30 1 30
    Passed
    Running ./math-int div 57 -1 -57
    Passed
    Running ./math-int div 10 -2 -5
    Passed
    Running ./math-int div 17 -3 -5
    Passed
    Running ./math-int div -28 2 -14
    Passed
    Running ./math-int div -8 3 -2
    Passed
    Running ./math-int div -25 -5 5
    Passed
    Running ./math-int div -24 -5 4
    Passed
    Running ./math-int mod 18 6 0
    Passed
    Running ./math-int mod 59 12 11
    Passed
    Running ./math-int mod -20 5 0
    Passed
    Running ./math-int mod -18 5 -3
    Passed
    Running ./math-int mod 50 -10 0
    Passed
    Running ./math-int mod 16 -3 1
    Passed
    Running ./math-int mod 2147483647 12345 9172
    Passed
    Running ./math-int mod -2147483648 476 -128
    Passed
    Running ./math-int mod 10 20 10
    Passed
    Running ./math-int mod_nine 18 9 0
    Failed
    Running ./math-int mod_nine 23 9 5
    Failed
    Running ./math-int mod_four 20 4 0
    Passed
    Running ./math-int mod_four 5 4 1
    Passed
    Running ./get-global-id 100 100
    Passed
    Running ./get-global-id 250 1
    Passed
    Running ./math-int if_gt 5 4 1
    Passed
    Running ./math-int if_gt 5 6 0
    Passed
    Running ./math-int if_gt -20 10 0
    Passed
    Running ./math-int if_gt -5 8 0
    Passed
    Running ./math-int if_gt 12 -15 1
    Passed
    Running ./math-int if_gt 16 -3 1
    Passed
    Running ./math-int if_ge 8 7 1
    Passed
    Running ./math-int if_ge 10 10 1
    Passed
    Running ./math-int if_ge 20 30 0
    Passed
    Running ./math-int if_ge 3 -8 1
    Passed
    Running ./math-int if_ge -5 5 0
    Passed
    Running ./math-int if_ge -20 10 0
    Passed
    Running ./math-int if_eq 21 21 1
    Passed
    Running ./math-int if_eq 30 18 0
    Passed
    Running ./math-int if_eq -12 12 0
    Passed
    Running ./math-int if_eq 81 -81 0
    Passed
    Running ./math-int if_lt 2 10 1
    Passed
    Running ./math-int if_lt -20 3 1
    Passed
    Running ./math-int if_lt 15 3 0
    Passed
    Running ./math-int if_le 20 25 1
    Passed
    Running ./math-int if_le 18 18 1
    Passed
    Running ./math-int if_le -10 5 1
    Passed
    Running ./math-int if_le 18 9 0
    Passed
    Running ./math-int if_le 10 -20 0
    Passed
    Running ./math-int if_ne 10 9 1
    Passed
    Running ./math-int if_ne -20 20 1
    Passed
    Running ./math-int if_ne 31 -31 1
    Passed
    Running ./math-int if_ne 3 3 0
    Passed
    Running ./loop loop_lt 10
    Passed
    Running ./loop loop_le 10
    Passed
    Running ./loop loop_gt 10
    Passed
    Running ./loop loop_ge 10
    Passed
    Running ./math-int rotl 1 1 2
    Passed
    Running ./math-int rotl 1 32 1
    Passed
    Running ./math-int rotl -1 5 -1
    Passed
    Running ./math-int rotl 4096 23 8
    Passed
    Running ./use-host-ptr 10
    Passed
    Running ./vec-load
    Passed
    69 passes, 2 fails
    There is some black magic involved in the compiling of llvm/clang sometimes it seems.

    Comment


    • #22
      Damned, how did you get only 2 to fail? :/
      What was your card by the way? I can only assume it may somehow matter here.

      Comment


      • #23
        Originally posted by geearf View Post
        Damned, how did you get only 2 to fail? :/
        What was your card by the way? I can only assume it may somehow matter here.
        I have a integrated 7560D (A8-5500 APU) that uses the r600g driver. Now, as previously said, llvm sometimes doesnt compile correctly for me. I always used the same compile scripts, did a make clean in both the llvm root and the clang folders before building. Last time i built llvm+clang for 32 bit and 64 bit, both went well. Then i tried to recompile mesa for 32 and 64 bit, the 32 bit succeeded, the 64 bit failed because it turns out some include files were missing that were present in the 32 bit build. Recompiled 64 bit again (with the exactly same method) and then i could rebuild mesa. I dont know why. And the mesa i built this way works well unlike the previous build that made glamor crash (maybe some commits that happened between them corrected it or it was just another failed build?).

        Self-quote:
        When i first compiled (llvm without this option) it took a few hours to complete. I got a huge package after that and when i compiled the rest of the stuff i got crashes and errors in virtually all opengl apps. After compiling with this option, i had a reasonable 60 MB deb package and no issues until i recompiled with the 3.5 git llvm right after 3.4 was launched i think, where glamor crashed the x server.
        This isnt exactly true it seems. The issue seems to be that if i dont have clang installed, the building process uses gcc and its a huge memory hog - parallel builds with 4 threads resulted in processes using 600-800 MB or even 1.2 GB EACH and swapped the hell out of everything else ( i have 4 GB RAM) and it lasted for a few hours (i had something else to do and a few hours later it was still running). If i installed the clang from the repos previously, the building was done with clang and went smooth and fast. Also, the first time i had the patience to wait to build then i rebuilt it using the gcc-made llvm and all went well.

        PS I have the whole stack (mesa, drm, llvm, clang, glamor, libclc, xf86-ati) including the kernel built from git with no custom patches so the bugs i encounter are likely to be "vanilla" ones. Using prebuilt packages from distro or others might introduce other issues if custom patches are applied. Also make sure that libraries dont mix - eg using some packages from the distro and building a few others by yourself. Always rebuild the depending packages in the required order and you have to actually install the built packages before building the next one (mesa depends on llvm, clang and drm, glamor on mesa, xf86-ati on drm, correct me if im wrong).

        Comment


        • #24
          Just refreshed it all and still
          "43 passes, 28 fails" :./

          Comment

          Working...
          X