Re: preventing GPU reset DoS

2009-09-23 Thread Pauli Nieminen
On Wed, Sep 23, 2009 at 10:52 PM, Nicolai Hähnle wrote: > Am Tuesday 22 September 2009 23:25:09 schrieb Pauli Nieminen: > > Too bad GPU reset is already now stopping this use case while it doesn't > > protect user from possible attack causing multiple GPU reset in row. So > > this long rendering

Re: preventing GPU reset DoS

2009-09-23 Thread Nicolai Hähnle
Am Tuesday 22 September 2009 23:25:09 schrieb Pauli Nieminen: > Too bad GPU reset is already now stopping this use case while it doesn't > protect user from possible attack causing multiple GPU reset in row. So > this long rendering operation blocking GPU is more like scheduler or mesa > bug that i

Re: preventing GPU reset DoS

2009-09-23 Thread Bruno Kleinert
Am Mittwoch, den 23.09.2009, 06:10 +1000 schrieb Dave Airlie: > I'm just wondering what other use-case we'd need anything more > agressive? Hi, the computer rooms at my University came to my mind: There are students who want to do their homework for the computer graphics lectures. If it *is* poss

Re: preventing GPU reset DoS

2009-09-22 Thread Pauli Nieminen
On Tue, Sep 22, 2009 at 11:51 PM, Corbin Simpson wrote: > On 09/22/2009 01:19 PM, Nicolai Hähnle wrote: > > I'm pretty confident that you can write a perfectly legal OpenGL > application > > that creates commands that take *minutes* to run on decent graphics > cards. > > Just produce a huge number

Re: preventing GPU reset DoS

2009-09-22 Thread Corbin Simpson
On 09/22/2009 01:19 PM, Nicolai Hähnle wrote: > I'm pretty confident that you can write a perfectly legal OpenGL application > that creates commands that take *minutes* to run on decent graphics cards. > Just produce a huge number of screen-sized primitives and use a very long > fragment program

Re: preventing GPU reset DoS

2009-09-22 Thread Nicolai Hähnle
Am Tuesday 22 September 2009 21:13:47 schrieb Pauli Nieminen: > Hi! > > I have been thinking GPU reset as possible DoS attack from > user-space.Problem here is that display doesn't work anymore at all if > attacker chooses to run a application that constantly causes GPU hang. It > would be of cours

Re: preventing GPU reset DoS

2009-09-22 Thread Dave Airlie
On Wed, Sep 23, 2009 at 5:13 AM, Pauli Nieminen wrote: > Hi! > > I have been thinking GPU reset as possible DoS attack from > user-space.Problem here is that display doesn't work anymore at all if > attacker chooses to run a application that constantly causes GPU hang. It > would be of course idea

Re: preventing GPU reset DoS

2009-09-22 Thread Keith Whitwell
On Tue, 2009-09-22 at 12:13 -0700, Pauli Nieminen wrote: > Hi! > > I have been thinking GPU reset as possible DoS attack from > user-space.Problem here is that display doesn't work anymore at all if > attacker chooses to run a application that constantly causes GPU hang. > It would be of course id