LuxMark v3.0: LuxRender propaganda with OpenCL

Discussions related to GPU Acceleration in LuxRender

Moderators: Dade, jromang, tomb, coordinators

Re: LuxMark v3.0: LuxRender propaganda with OpenCL

Postby cwizou » Wed Jul 29, 2015 10:19 am

Edit : To answer your question, using only AMD drivers here, sorry if I confused you with mentioning the Intel drivers issues that we had previously on another machine.

Thanks for your very quick reply. This is a clean Windows install with 0 specific configuration so nothing fancy there.

TMP points to %USERPROFILE%\AppData\Local\Temp which is writable.

I checked the folder and have some Luxmark data, but I think I know what the issue is.

The CPU I have is an Engineering Sample from AMD, and the name returned by the driver is quite different than a traditional CPU, so I guess the issue is there :

2015-07-29 16:59:10 - [LuxRays] [0.656] OpenCL Platform 0: Advanced Micro Devices, Inc.
2015-07-29 16:59:10 - [LuxRays] [0.656] Device 0 name: NativeThread
2015-07-29 16:59:10 - [LuxRays] [0.656] Device 0 type: NATIVE_THREAD
2015-07-29 16:59:10 - [LuxRays] [0.656] Device 0 compute units: 1
2015-07-29 16:59:10 - [LuxRays] [0.656] Device 0 preferred float vector width: 4
2015-07-29 16:59:10 - [LuxRays] [0.656] Device 0 max allocable memory: 0MBytes
2015-07-29 16:59:10 - [LuxRays] [0.656] Device 0 max allocable memory block size: 0MBytes
2015-07-29 16:59:10 - [LuxRays] [0.656] Device 1 name: Spectre
2015-07-29 16:59:10 - [LuxRays] [0.656] Device 1 type: OPENCL_GPU
2015-07-29 16:59:10 - [LuxRays] [0.656] Device 1 compute units: 6
2015-07-29 16:59:10 - [LuxRays] [0.656] Device 1 preferred float vector width: 1
2015-07-29 16:59:10 - [LuxRays] [0.656] Device 1 max allocable memory: 2559MBytes
2015-07-29 16:59:10 - [LuxRays] [0.656] Device 1 max allocable memory block size: 1151MBytes
2015-07-29 16:59:10 - [LuxRays] [0.656] Device 2 name: AMD Eng Sample: ZD317095I4468_38/31/16/07_1313
2015-07-29 16:59:10 - [LuxRays] [0.656] Device 2 type: OPENCL_CPU
2015-07-29 16:59:10 - [LuxRays] [0.656] Device 2 compute units: 4
2015-07-29 16:59:10 - [LuxRays] [0.656] Device 2 preferred float vector width: 8
2015-07-29 16:59:10 - [LuxRays] [0.656] Device 2 max allocable memory: 7110MBytes
2015-07-29 16:59:10 - [LuxRays] [0.656] Device 2 max allocable memory block size: 2048MBytes


A quick guess is you use Device Name to create the subfolder, as in %tmp%\kernel_cache\LUXCORE_1.5dev\Advanced Micro Devices, Inc\ I have Spectre\6\ which contains 3 .ocl files.

Using that string above with the slashes would probably generate the boost failure. This is a very unusual situation since this is not a commercial CPU, but we reviewers tend to get them from time to time (very rare from AMD actually). So I'll double check later with a commercial CPU and report back if it works as intended, but you may want to consider that issue for a future release.

Again, massive thanks.
cwizou
 
Posts: 7
Joined: Wed Jul 29, 2015 9:12 am

Re: LuxMark v3.0: LuxRender propaganda with OpenCL

Postby cwizou » Wed Jul 29, 2015 10:49 am

Checked with a commercial AMD A10-7850 and can confirm the bug isn't occurring.

Can also confirm that you indeed create a folder name based on Device Name (in that case "AMD A10-7850K Radeon R7, 12 Compute Cores 4C+8G") in that tmp folder, so in all likelihood it's the "/" in the Device Name of my other CPU that creates the failure.

It's still an issue for us since we need that other CPU in our upcoming review, I guess sanitizing the Device Name string would be a good idea in any case !
cwizou
 
Posts: 7
Joined: Wed Jul 29, 2015 9:12 am

Re: LuxMark v3.0: LuxRender propaganda with OpenCL

Postby Dade » Wed Jul 29, 2015 2:18 pm

Yup, the problem are the "/" and/or the ":" in "AMD Eng Sample: ZD317095I4468_38/31/16/07_1313" string.

I can easily fix this problem but the fix is going to land in the next v3.1beta2, I would sincerely like to avoid to have to release a v3.0.1 just to fix this quite peculiar problem.

P.S. GPU names are lately out of control ... "Spectre" :lol:
User avatar
Dade
Developer
 
Posts: 8360
Joined: Sat Apr 19, 2008 6:04 pm
Location: Italy

Re: LuxMark v3.0: LuxRender propaganda with OpenCL

Postby cwizou » Wed Jul 29, 2015 4:34 pm

Any chance to get a fixed Windows build this week ?

Thanks for fixing the bug for future builds, and yes indeed codenames are getting silly ! Codenames for the GPU inside the APUs are usually the craziest, they rarely publish them, except through OpenCL APIs ;)
cwizou
 
Posts: 7
Joined: Wed Jul 29, 2015 9:12 am

Re: LuxMark v3.0: LuxRender propaganda with OpenCL

Postby Dade » Thu Jul 30, 2015 5:23 am

cwizou wrote:Any chance to get a fixed Windows build this week ?


I have pushed a fix for this problem: https://bitbucket.org/luxrender/luxrays ... a3212d08a5

And it should now work fine with exotic names too:

Code: Select all
david@i7-3930k:~/projects/luxrender-dev/luxrays$ find /tmp/kernel_cache/
/tmp/kernel_cache/
/tmp/kernel_cache/LUXCORE_1.5RC2
/tmp/kernel_cache/LUXCORE_1.5RC2/Advanced Micro Devices, Inc.
/tmp/kernel_cache/LUXCORE_1.5RC2/Advanced Micro Devices, Inc./Hawaii
/tmp/kernel_cache/LUXCORE_1.5RC2/Advanced Micro Devices, Inc./Hawaii/44
/tmp/kernel_cache/LUXCORE_1.5RC2/Advanced Micro Devices, Inc./Hawaii/44/7d43c95e-68e03a33.ocl
/tmp/kernel_cache/LUXCORE_1.5RC2/Advanced Micro Devices, Inc./AMD Eng Sample__ ZD317095I4468_38__31__16__07_1313
/tmp/kernel_cache/LUXCORE_1.5RC2/Advanced Micro Devices, Inc./AMD Eng Sample__ ZD317095I4468_38__31__16__07_1313/44
/tmp/kernel_cache/LUXCORE_1.5RC2/Advanced Micro Devices, Inc./AMD Eng Sample__ ZD317095I4468_38__31__16__07_1313/44/7d43c95e-68e03a33.ocl


I should be able to post v3.1beta2 today or tomorrow.
User avatar
Dade
Developer
 
Posts: 8360
Joined: Sat Apr 19, 2008 6:04 pm
Location: Italy

Re: LuxMark v3.0: LuxRender propaganda with OpenCL

Postby cwizou » Thu Jul 30, 2015 11:46 am

Thank you very much, looking forward to it !
cwizou
 
Posts: 7
Joined: Wed Jul 29, 2015 9:12 am

Re: LuxMark v3.0: LuxRender propaganda with OpenCL

Postby Dade » Fri Jul 31, 2015 5:36 am

cwizou wrote:Thank you very much, looking forward to it !


It is available here: viewtopic.php?f=34&t=12297
User avatar
Dade
Developer
 
Posts: 8360
Joined: Sat Apr 19, 2008 6:04 pm
Location: Italy

Previous

Return to GPU Acceleration

Who is online

Users browsing this forum: No registered users and 1 guest