How to get v8.12 units to complete on ATI GPU (APU)?

Message boards : Number crunching : How to get v8.12 units to complete on ATI GPU (APU)?
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Graham Thomas

Send message
Joined: 19 May 99
Posts: 32
Credit: 3,880,875
RAC: 4
United Kingdom
Message 1789788 - Posted: 23 May 2016, 15:31:41 UTC

I'd got this sorted for v8.00, but obviously I didn't note down the solution in the right place...

Longer v8.12 work units that use my ATI GPU get to a certain point, then hang in some way. The 'Progress' percent (typically about 20%) stays the same, and both the 'Elapsed' and 'Remaining' times just keep increasing.

The solution for v8.00 was to add a line to a file whose name begins mb_cmdline-[version], and the line was something like:

-period_iterations_num 50 -sbs 256 -hp

I'm saying 'something like' because I remember I had to increase one or both of the numbers in that line. The example I've given is for an earlier version (7.03) because I can no longer see the equivalent for version 8.00. I think the equivalent 8.00 file was deleted when I started to process v8.12 units.

So, I have two questions:

1) What should the numbers in that line be (roughly - I can increase it/them if necessary)?

2) To which file should I add the line? For v8.12 there are five possibilities. They all start mb_cmdline-8.12_windows_intel_opencl_ and then the five files end as follows:
ati_sah.txt
ati5_sah.txt
ati5_SoG.txt
atiapu_sah.txt
atiapu_SoG.txt

I *think* I remember that for v8.00 I put the line into the file ending ati5_sah.txt, but I'm not 100% sure. Would there be a problem if I added the line to all five files?

Thanks for any help you can give. If necessary I can add details of my GPU - it's old (a 5-year-old APU) but I keep the driver up-to-date.

Graham
Graham Thomas
ID: 1789788 · Report as offensive
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 6325
Credit: 106,370,077
RAC: 121
Russia
Message 1789795 - Posted: 23 May 2016, 15:57:29 UTC - in response to Message 1789788.  
Last modified: 23 May 2016, 15:58:14 UTC

1) there is v8.12 support thread better to ask such questions there for other users have benefit of knowing solutions in centralized place.
2) try to use
-period_iterations_num 100 -sbs 256
3) check if system log contains any messages about driver restart
4) if yes - consider to patch TDR key in registry as describet in v.8.12 support thread (in case you don't mind about possible GUI lags but want just to get rid from driver restarts. Else try to increase -period_iterations_num value)

P.S. and put those settings in ALL mb_cmdline files. Hardly they would require too different settings on your host.
ID: 1789795 · Report as offensive
Profile Graham Thomas

Send message
Joined: 19 May 99
Posts: 32
Credit: 3,880,875
RAC: 4
United Kingdom
Message 1790015 - Posted: 24 May 2016, 11:13:47 UTC - in response to Message 1789795.  

Thanks. I hadn't realised that the 8.12 support thread was relevant to my problems.

I'll try your suggested solutions. Yes, I do have ATI GPU driver restarts - yesterday I saw one 'Display driver has stopped and has recovered' message and I had one black screen for a few seconds.

I don't think I want more GUI lag (I had noticed that it was getting worse even before the 8.12 units started) so I may try increasing -period_iterations_num to make it higher than 100. I'll try 100 first, though, and I'll see what the TDR registry key patch involves.
Graham Thomas
ID: 1790015 · Report as offensive
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 6325
Credit: 106,370,077
RAC: 121
Russia
Message 1790038 - Posted: 24 May 2016, 13:47:57 UTC - in response to Message 1790015.  

I'll try 100 first, though, and I'll see what the TDR registry key patch involves.


TDR patch would allow to avoid driver restarts but will don't affect lags. Actually, when driver restart would occur one could expect lag few seconds in length (default TDR value is 2s AFAIK). So, to deal with lags one need to tune app's own options.
ID: 1790038 · Report as offensive

Message boards : Number crunching : How to get v8.12 units to complete on ATI GPU (APU)?


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.