Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: ATI R600/700 Command Checker Published

  1. #1
    Join Date
    Jan 2007
    Posts
    10,188

    Default ATI R600/700 Command Checker Published

    Phoronix: ATI R600/700 Command Checker Published

    Jerome Glisse has sent a new patch to the other DRI developers that adds a command checker for the ATI R600/700 series graphics processors. The command stream (CS) checker ensures that no commands are attempting to access the GPU in a way that it shouldn't, such as accessing memory out of its resource size, which without the safety mechanism could be exploited by those with malicious intentions...

    http://www.phoronix.com/vr.php?view=NzkzOA

  2. #2
    Join Date
    Nov 2007
    Location
    Die trolls, die!
    Posts
    525

    Default

    Nice and important work, thank you.
    But does this influence the performance?

  3. #3
    Join Date
    Jan 2009
    Location
    Vienna, Austria; Germany; hello world :)
    Posts
    534

    Default

    Quote Originally Posted by bugmenot View Post
    Nice and important work, thank you.
    But does this influence the performance?
    why is everyone so eager to get performance out of every patch ?

    to answer your question:

    it rather helps the devs to create a stable and feature-rich and high-performance driver instead of a (probably) slightly faster BUT rather unstable and hardlocking driver

  4. #4
    Join Date
    Oct 2009
    Posts
    1,782

    Default

    Hardlock is the slowest it can ever be....

  5. #5
    Join Date
    Sep 2006
    Posts
    708

    Default

    It would probably help development. If a person is playing around with driver code and makes a mistake; this should catch it instead of just locking up the machine or whatever.

    That should help speed up development, at least.

  6. #6
    Join Date
    May 2007
    Posts
    227

    Default

    Command checking is slowing down rendering as we have to perform analysis of what the userspace sends us. That being said the overhead of this process seems very small as of today, ie our bottleneck is elsewhere.

    Anyway, it's a feature opensource driver needs to have because you don't want some one to use your GPU to crash your kernel or do anythings malicious. Closed source drivers (what ever their platform is) likely doesn't do any kind of command checking, thus i believe some one very clever and with a very very deep understanding of GPU inner working can use those to gain access to all system memory. But hey this is theory and you know how hard, sometimes, it's to put theory into practise

  7. #7
    Join Date
    Oct 2007
    Location
    Toronto-ish
    Posts
    6,909

    Default

    I guess command checking should only slow things down noticably if the system is running CPU-limited, ie the command queue is often empty and the limiting factor is the ability of app plus driver to push commands through the driver stack into the GPU.

    I don't think that's going to be a problem on most systems - maybe the "small CPU plus big honkin GPU" systems will get there sooner

  8. #8
    Join Date
    Jul 2008
    Posts
    557

    Default

    Quote Originally Posted by bridgman View Post
    I guess command checking should only slow things down noticably if the system is running CPU-limited, ie the command queue is often empty and the limiting factor is the ability of app plus driver to push commands through the driver stack into the GPU.

    I don't think that's going to be a problem on most systems - maybe the "small CPU plus big honkin GPU" systems will get there sooner
    I knew I shouldn't have bought that 5970 for my 8086. :P

  9. #9
    Join Date
    Oct 2009
    Posts
    1,782

    Default

    Quote Originally Posted by Yfrwlf View Post
    I knew I shouldn't have bought that 5970 for my 8086. :P
    As a side note, I'm having a hard time getting it to plug in. How did you get yours to hook up?

  10. #10
    Join Date
    Nov 2008
    Posts
    687

    Default

    Quote Originally Posted by droidhacker View Post
    As a side note, I'm having a hard time getting it to plug in. How did you get yours to hook up?
    duct tape.


    I noticed that bridgman said in that fun and productive "70% performance" discussion that there are no linux apps to utilize most recent GPUs anyway (i.e. everything is CPU bound), but now it seems to have switched around


    Of course a command checker is needed, so the (small) performance penalty cannot be avoided.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •