Blender 2.69 i GPU render

Grafika, DTP, CAD i dizajn

Moderators: Sinisa, Urednik

Post Reply

Administrator
Administrator
offline
User avatar

Posts: 2677
Joined: 01 Apr 2012, 13:50
Location: Mlečni put

Post Napisano: 21 May 2014, 13:06


Zna li neko kako bih mogao da uključim podršku za GPU renderovanje u Blender-u? Imam Radeon HD6750 i vlasničke drajvere 14.4 verziju. Instalirao sam preko SBo amd-app-sdk i opencl-headers. Slackware je 14.1 sa svim update-ovima. Sistem je praktično default, nisam se ništa igrao.

Problem prvi je što ne mogu u podešavanjima da dobijem GPU u »computing devices«. Drugi problem je što ne mogu da rešim prvi problem :)

Znam da OpenCL, koji je neophodan da bude uključen kako bi radio render uz pomoć GPU, nije baš u sjajnom razvoju. Isto tako podaci ukazuju da Nvidia radi bolje. Ipak postoje dokazi da se OpenCL može uključiti ali ne mogu da nađem kako i gde.

Probao sam većinu stvari na koje je ukazao google.com ali jednostavno bez uspeha.

Da li sam nešto propustio?

P.S. potreba za GPU renderom je u činjenici da mi trenutni procesor nije dovoljno jak ni za potrebe učenja, jednostavno mnogo vremena treba za ovako nešto ↓↓↓↓↓
glass_slack_plaza.png
Use the source, Luke
SSZ irc kanal
Spread the Word, “CHOOSE SLACK! and Don’t look back.”



Administrator
Administrator
offline
User avatar

Posts: 4073
Joined: 04 Feb 2011, 20:32
Location: Beograd
Contact:

Post Napisano: 21 May 2014, 21:04


Nisam se igrao sa Blenderom, ali po Googleu je ta opencl podrška malo sumnjiva (eksperimentalna) i vrlo verovatno zahteva vlasničke drajvere. Takođe po Googleu, postoji i alternativni LuxRender plugin koji je optimizovan za renderovanje pomoću AMD OpenCL, tako da bi mogao da baciš pogled onamo: http://www.luxrender.net/en_GB/blender_2_5" onclick="window.open(this.href);return false;.

Dalje se ni ne usuđujem da tražim, pošto niti imam vremena za to, niti se nešto posebno razumem u materiju. :) Ali kad se već niko drugi nije javio, rekoh da nije loše da bar pokrenem diskusiju. Katkad se desi da je to dovoljno da pokrene temu.



offline

Posts: 5
Joined: 15 Nov 2012, 01:43

Post Napisano: 21 May 2014, 21:27


Imam nvidi_ju GTX 260 i ne mogu da koristim blender noviji od v2.66 . nemam podrsku za cuda.
Moja graficka je iz 2009 slicne su godine proizvodnje, probaj sa starijim blenderom.
Blender/preferences/compute device ukljucujec cuda.



Administrator
Administrator
offline
User avatar

Posts: 2677
Joined: 01 Apr 2012, 13:50
Location: Mlečni put

Post Napisano: 21 May 2014, 21:58


Znam gde sta treba da ukljucim u Blenderu nego ne mogu da dobijem te opcije. Luxrender sam hteo da probam ali za kompajliranje se trazi i nvidia-driver pa nisam hteo tako da kompajliram a gotov paket nisam nasao.

Napisao sam vec koja mi je grafika i drajver i sta sam dodatno instalirao. Video sam da i u ovoj verziji moze da se koristi opencl ako se omoguci a to ne znam kako. Dosta predloga koje je google dao sam vec probao.

Jedino jos nisam nasao onaj pravi :)

Послато са куцаће машине користећи Тапаток 2 :)
Use the source, Luke
SSZ irc kanal
Spread the Word, “CHOOSE SLACK! and Don’t look back.”



Administrator
Administrator
offline
User avatar

Posts: 2677
Joined: 01 Apr 2012, 13:50
Location: Mlečni put

Post Napisano: 22 May 2014, 17:16


Ne znam da li nešto znači ali clinfo komanda daje sledeći izlaz:

Code: Select all

bash-4.2# clinfo
Number of platforms:                             1
  Platform Profile:                              FULL_PROFILE
  Platform Version:                              OpenCL 1.2 AMD-APP (1445.5)
  Platform Name:                                 AMD Accelerated Parallel Processing
  Platform Vendor:                               Advanced Micro Devices, Inc.
  Platform Extensions:                           cl_khr_icd cl_amd_event_callback cl_amd_offline_devices cl_amd_hsa 


  Platform Name:                                 AMD Accelerated Parallel Processing
Number of devices:                               2
  Device Type:                                   CL_DEVICE_TYPE_GPU
  Vendor ID:                                     1002h
  Board name:                                    AMD Radeon HD 6700 Series   
  Device Topology:                               PCI[ B#2, D#0, F#0 ]
  Max compute units:                             9
  Max work items dimensions:                     3
    Max work items[0]:                           256
    Max work items[1]:                           256
    Max work items[2]:                           256
  Max work group size:                           256
  Preferred vector width char:                   16
  Preferred vector width short:                  8
  Preferred vector width int:                    4
  Preferred vector width long:                   2
  Preferred vector width float:                  4
  Preferred vector width double:                 0
  Native vector width char:                      16
  Native vector width short:                     8
  Native vector width int:                       4
  Native vector width long:                      2
  Native vector width float:                     4
  Native vector width double:                    0
  Max clock frequency:                           700Mhz
  Address bits:                                  32
  Max memory allocation:                         134217728
  Image support:                                 Yes
  Max number of images read arguments:           128
  Max number of images write arguments:          8
  Max image 2D width:                            16384
  Max image 2D height:                           16384
  Max image 3D width:                            2048
  Max image 3D height:                           2048
  Max image 3D depth:                            2048
  Max samplers within kernel:                    16
  Max size of kernel argument:                   1024
  Alignment (bits) of base address:              2048
  Minimum alignment (bytes) for any datatype:    128
  Single precision floating point capability
    Denorms:                                     No
    Quiet NaNs:                                  Yes
    Round to nearest even:                       Yes
    Round to zero:                               Yes
    Round to +ve and infinity:                   Yes
    IEEE754-2008 fused multiply-add:             Yes
  Cache type:                                    None
  Cache line size:                               0
  Cache size:                                    0
  Global memory size:                            536870912
  Constant buffer size:                          65536
  Max number of constant args:                   8
  Local memory type:                             Scratchpad
  Local memory size:                             32768
  Kernel Preferred work group size multiple:     64
  Error correction support:                      0
  Unified memory for Host and Device:            0
  Profiling timer resolution:                    1
  Device endianess:                              Little
  Available:                                     Yes
  Compiler available:                            Yes
  Execution capabilities:                                
    Execute OpenCL kernels:                      Yes
    Execute native function:                     No
  Queue properties:                              
    Out-of-Order:                                No
    Profiling :                                  Yes
  Platform ID:                                   0xb746e420
  Name:                                          Juniper
  Vendor:                                        Advanced Micro Devices, Inc.
  Device OpenCL C version:                       OpenCL C 1.2 
  Driver version:                                1445.5
  Profile:                                       FULL_PROFILE
  Version:                                       OpenCL 1.2 AMD-APP (1445.5)
  Extensions:                                    cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_atomic_counters_32 cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_amd_image2d_from_buffer_read_only cl_khr_spir cl_khr_gl_event 


  Device Type:                                   CL_DEVICE_TYPE_CPU
  Vendor ID:                                     1002h
  Board name:                                    
  Max compute units:                             2
  Max work items dimensions:                     3
    Max work items[0]:                           1024
    Max work items[1]:                           1024
    Max work items[2]:                           1024
  Max work group size:                           1024
  Preferred vector width char:                   16
  Preferred vector width short:                  8
  Preferred vector width int:                    4
  Preferred vector width long:                   2
  Preferred vector width float:                  4
  Preferred vector width double:                 2
  Native vector width char:                      16
  Native vector width short:                     8
  Native vector width int:                       4
  Native vector width long:                      2
  Native vector width float:                     4
  Native vector width double:                    2
  Max clock frequency:                           2800Mhz
  Address bits:                                  32
  Max memory allocation:                         1073741824
  Image support:                                 Yes
  Max number of images read arguments:           128
  Max number of images write arguments:          8
  Max image 2D width:                            8192
  Max image 2D height:                           8192
  Max image 3D width:                            2048
  Max image 3D height:                           2048
  Max image 3D depth:                            2048
  Max samplers within kernel:                    16
  Max size of kernel argument:                   4096
  Alignment (bits) of base address:              1024
  Minimum alignment (bytes) for any datatype:    128
  Single precision floating point capability
    Denorms:                                     Yes
    Quiet NaNs:                                  Yes
    Round to nearest even:                       Yes
    Round to zero:                               Yes
    Round to +ve and infinity:                   Yes
    IEEE754-2008 fused multiply-add:             Yes
  Cache type:                                    Read/Write
  Cache line size:                               64
  Cache size:                                    65536
  Global memory size:                            3758096384
  Constant buffer size:                          65536
  Max number of constant args:                   8
  Local memory type:                             Global
  Local memory size:                             32768
  Kernel Preferred work group size multiple:     1
  Error correction support:                      0
  Unified memory for Host and Device:            1
  Profiling timer resolution:                    1
  Device endianess:                              Little
  Available:                                     Yes
  Compiler available:                            Yes
  Execution capabilities:                                
    Execute OpenCL kernels:                      Yes
    Execute native function:                     Yes
  Queue properties:                              
    Out-of-Order:                                No
    Profiling :                                  Yes
  Platform ID:                                   0xb746e420
  Name:                                          AMD Athlon(tm) II X2 220 Processor
  Vendor:                                        AuthenticAMD
  Device OpenCL C version:                       OpenCL C 1.2 
  Driver version:                                1445.5 (sse2)
  Profile:                                       FULL_PROFILE
  Version:                                       OpenCL 1.2 AMD-APP (1445.5)
  Extensions:                                    cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_spir cl_amd_svm cl_khr_gl_event 
EDIT: da napišem samo šta sam još probao.

Iz /opt/blender/2.69/scripts/addons/cycles/kernel/kernel_types.h sam otkomentarisao sve. Nije bilo efekta.
Pre pokretanja Blendera, kucao sam

Code: Select all

export CYCLES_OPENCL_TEST=all
ali ni to nije imalo efekta. Probao sam i kao root i kao običan korisnik.

Nikako da dobijem mogućnost da mogu da izaberem GPU render.
Use the source, Luke
SSZ irc kanal
Spread the Word, “CHOOSE SLACK! and Don’t look back.”


Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest