Announcement

Collapse
No announcement yet.

Mesa 10.0 Delivers Many Exciting New Features

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

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

    Leave a comment:


  • gradinaruvasile
    replied
    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).

    Leave a comment:


  • geearf
    replied
    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.

    Leave a comment:


  • gradinaruvasile
    replied
    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.

    Leave a comment:


  • gradinaruvasile
    replied
    Originally posted by oibaf View Post
    This is no longer required.
    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.

    Leave a comment:


  • geearf
    replied
    Nope it's completely stable (well XBMC will crash after a few seconds in a movie so maybe not that stable.. ), no reset that I can see while running the tests, nothing in dmesg

    Leave a comment:


  • gradinaruvasile
    replied
    Originally posted by geearf View Post
    exact same results:
    43 passes, 28 fails
    ;/
    Do you get gpu resets? The screen goes blang then comes back in .

    Leave a comment:


  • geearf
    replied
    Originally posted by geearf View Post
    I don't have glamor and xf86-ati in git version, let me try that
    exact same results:
    43 passes, 28 fails
    ;/

    Leave a comment:


  • geearf
    replied
    I don't have glamor and xf86-ati in git version, let me try that

    Leave a comment:


  • gradinaruvasile
    replied
    Originally posted by geearf View Post
    Oh I was just using the simple test from that page nothing more.

    I also tried the opencl examples linked in the wiki, and about 1/3 of them fail :/

    How did you get them all to pass? Did you run them without X?
    I ran everything from within X (i dont remember seeing anything about not using it with the simple tests) and i got gpu resets all over the place but most reported pass. Might be some failed, ill have to check again sometimes. First time i tried none worked and i recompiled everything - llvm+clang (aded the shared option that might have been the problem previously), mesa, drm, glamor, xf86-ati. Then they worked, but as i said i had gpu resets which might or might not be ok.

    Also note that opencl/llvm git are quite unstable on mesa. I pulled the latest git (it said version 3.5svn) of llvm and clang, recompiled mesa and x restarted when i started libreoffice after a few seconds. After restart i observed that glamor wouldnt work anymore and x was started with exa rendering despite having explicitly set glamor in the xorg.conf. It seems that it started, crashed and started automatically again with auto settings which in my case its exa. Tried restarting the lightdm server a few times, but every time glamor crashed. I didnt have the time to mess around so i recompiled mesa without llvm which works with no issues.

    So dont get your hopes up, opencl/llvm is very much a work in progress prone to breakage if you use the latest version with the latest features, dont try to use it for anything serious ATM.

    Leave a comment:

Working...
X