| 196 | |
| 197 | |
| 198 | == Misc === |
| 199 | {{{ |
| 200 | rick@uheat:~$ lspci -k -s 01:00.0 |
| 201 | 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Juniper XT [Radeon HD 5770] |
| 202 | Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Juniper XT [Radeon HD 5770] |
| 203 | Kernel driver in use: radeon |
| 204 | Kernel modules: radeon |
| 205 | rick@uheat:~$ clinfo |
| 206 | Number of platforms 1 |
| 207 | Platform Name Clover |
| 208 | Platform Vendor Mesa |
| 209 | Platform Version OpenCL 1.1 Mesa 18.0.5 |
| 210 | Platform Profile FULL_PROFILE |
| 211 | Platform Extensions cl_khr_icd |
| 212 | Platform Extensions function suffix MESA |
| 213 | |
| 214 | Platform Name Clover |
| 215 | Number of devices 0 |
| 216 | |
| 217 | NULL platform behavior |
| 218 | clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) Clover |
| 219 | clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Clover |
| 220 | clCreateContext(NULL, ...) [default] No devices found in platform |
| 221 | clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) No devices found in platform |
| 222 | clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform |
| 223 | clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) No devices found in platform |
| 224 | clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platform |
| 225 | clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No devices found in platform |
| 226 | clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) No devices found in platform |
| 227 | |
| 228 | ICD loader properties |
| 229 | ICD loader Name OpenCL ICD Loader |
| 230 | ICD loader Vendor OCL Icd free software |
| 231 | ICD loader Version 2.2.11 |
| 232 | ICD loader Profile OpenCL 2.1 |
| 233 | |
| 234 | |
| 235 | DKMS make.log for |
| 236 | fglrx-core-15.201 for kernel 4.4.0-31-generic (x86_64) |
| 237 | Tue Sep 18 21:39:19 CEST 2018 |
| 238 | /usr/sbin/dkms: line 73: cd: /var/lib/dkms/fglrx/15.201/build: No such file or directory |
| 239 | AMD kernel module generator version 2.1 |
| 240 | doing Makefile based build for kernel 2.6.x and higher |
| 241 | rm -rf *.c *.h *.o *.ko *.a .??* *.symvers |
| 242 | make -C /lib/modules/4.4.0-31-generic/build SUBDIRS=/var/lib/dkms/fglrx-core/15.201/build/2.6.x modules |
| 243 | make[1]: Entering directory `/usr/src/linux-headers-4.4.0-31-generic' |
| 244 | CC [M] /var/lib/dkms/fglrx-core/15.201/build/2.6.x/firegl_public.o |
| 245 | /var/lib/dkms/fglrx-core/15.201/build/2.6.x/firegl_public.c:194:22: fatal error: asm/i387.h: No such file or directory |
| 246 | #include "asm/i387.h" |
| 247 | ^ |
| 248 | compilation terminated. |
| 249 | make[2]: *** [/var/lib/dkms/fglrx-core/15.201/build/2.6.x/firegl_public.o] Error 1 |
| 250 | make[1]: *** [_module_/var/lib/dkms/fglrx-core/15.201/build/2.6.x] Error 2 |
| 251 | make[1]: Leaving directory `/usr/src/linux-headers-4.4.0-31-generic' |
| 252 | make: *** [kmod_build] Error 2 |
| 253 | build failed with return value 2 |
| 254 | |
| 255 | |
| 256 | |
| 257 | # Install standard Ubuntu 14.04.05 LTS amd64 Server edition. |
| 258 | |
| 259 | # Download fglrx binaries from: |
| 260 | https://www.amd.com/en/support/graphics/amd-radeon-hd/ati-radeon-hd-5000-series/ati-radeon-hd-5770 |
| 261 | |
| 262 | # [optional] Make system up2date |
| 263 | sudo apt-get dist-upgrade |
| 264 | |
| 265 | # Install and load compatible kernel |
| 266 | sudo apt-get install linux-headers-3.19.0-80-generic linux-image-3.19.0-80-generic linux-image-extra-3.19.0-80-generic |
| 267 | sudo sed -i 's/GRUB_DEFAULT=0/GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux 3.19.0-80-generic"/' /etc/default/grub |
| 268 | sudo update-grub |
| 269 | sudo reboot |
| 270 | |
| 271 | # Install fglrx (headless) drivers |
| 272 | sudo dpkg -i fglrx-core_15.201-0ubuntu1_amd64_UB_14.01.deb |
| 273 | sudo apt-get install -f |
| 274 | |
| 275 | # Fix for segfault for e.g. on 2nd invocation of clinfo: |
| 276 | ar p fglrx_15.201-0ubuntu1_i386_UB_14.01.deb data.tar.gz | sudo tar -C / -xzf - ./etc/ati/amdpcsdb.default |
| 277 | |
| 278 | # Fix missing OpenCL symlink |
| 279 | (cd /tmp; ln -s libOpenCL.so.1 libOpenCL.so) |
| 280 | |
| 281 | # Load module |
| 282 | modprobe fglrx |
| 283 | |
| 284 | sudo apt-get install boinc-amd-opencl |
| 285 | rick@uheat:~$ boinccmd --lookup_account http://einstein.phys.uwm.edu/ info@rickvanderzwet.nl 'PlainText2018!E' |
| 286 | status: Success |
| 287 | poll status: operation in progress |
| 288 | poll status: operation in progress |
| 289 | poll status: operation in progress |
| 290 | account key: 7358bdde713819037b3d3406e9558c4c |
| 291 | rick@uheat:~$ boinccmd --project_attach http://einstein.phys.uwm.edu/ 7358bdde713819037b3d3406e9558c4c |
| 292 | sudo apt-get install boinctui |
| 293 | |
| 294 | # Test if module is detected (sample output) |
| 295 | rick@uheat:~$ clinfo | head -10 |
| 296 | Number of platforms: 1 |
| 297 | Platform Profile: FULL_PROFILE |
| 298 | Platform Version: OpenCL 2.0 AMD-APP (1800.11) |
| 299 | Platform Name: AMD Accelerated Parallel Processing |
| 300 | Platform Vendor: Advanced Micro Devices, Inc. |
| 301 | Platform Extensions: cl_khr_icd cl_amd_event_callback cl_amd_offline_devices |
| 302 | |
| 303 | |
| 304 | Platform Name: AMD Accelerated Parallel Processing |
| 305 | Number of devices: 2 |
| 306 | |
| 307 | |
| 308 | |
| 309 | |
| 310 | |
| 311 | |
| 312 | |
| 313 | |
| 314 | rick@uheat:~$ strings /lib/modules/3.19.0-80-generic/updates/dkms/fglrx.ko | grep amd_ |
| 315 | depends=amd_iommu_v2 |
| 316 | amd_iommu_free_device |
| 317 | amd_iommu_init_device |
| 318 | amd_iommu_unbind_pasid |
| 319 | amd_iommu_set_invalidate_ctx_cb |
| 320 | amd_iommu_enable_device_erratum |
| 321 | amd_iommu_device_info |
| 322 | amd_iommu_set_invalid_ppr_cb |
| 323 | amd_iommu_bind_pasid |
| 324 | amd_iommu_bind_pasid |
| 325 | amd_iommu_set_invalid_ppr_cb |
| 326 | amd_iommu_device_info |
| 327 | amd_iommu_enable_device_erratum |
| 328 | amd_iommu_set_invalidate_ctx_cb |
| 329 | amd_iommu_unbind_pasid |
| 330 | amd_iommu_init_device |
| 331 | amd_iommu_free_device |
| 332 | rick@uheat:~$ find /lib/modules | grep amd_iommu_v2 |
| 333 | /lib/modules/4.4.0-31-generic/kernel/drivers/iommu/amd_iommu_v2.ko |
| 334 | /lib/modules/4.4.0-135-generic/kernel/drivers/iommu/amd_iommu_v2.ko |
| 335 | rick@uheat:~$ less /boot/config- |
| 336 | config-3.19.0-80-generic config-4.4.0-135-generic config-4.4.0-31-generic |
| 337 | rick@uheat:~$ less /boot/config-3.19.0-80-generic |
| 338 | |
| 339 | |
| 340 | rick@uheat:~$ sudo dpkg -S /lib/modules/4.4.0-135-generic/kernel/drivers/iommu/amd_iommu_v2.ko |
| 341 | linux-image-extra-4.4.0-135-generic: /lib/modules/4.4.0-135-generic/kernel/drivers/iommu/amd_iommu_v2.ko |
| 342 | |
| 343 | |
| 344 | rick@uheat:~$ clinfo |
| 345 | Number of platforms: 1 |
| 346 | Platform Profile: FULL_PROFILE |
| 347 | Platform Version: OpenCL 2.0 AMD-APP (1800.11) |
| 348 | Platform Name: AMD Accelerated Parallel Processing |
| 349 | Platform Vendor: Advanced Micro Devices, Inc. |
| 350 | Platform Extensions: cl_khr_icd cl_amd_event_callback cl_amd_offline_devices |
| 351 | |
| 352 | |
| 353 | Platform Name: AMD Accelerated Parallel Processing |
| 354 | Number of devices: 2 |
| 355 | Device Type: CL_DEVICE_TYPE_GPU |
| 356 | Vendor ID: 1002h |
| 357 | Board name: |
| 358 | Device Topology: PCI[ B#1, D#0, F#0 ] |
| 359 | Max compute units: 10 |
| 360 | Max work items dimensions: 3 |
| 361 | Max work items[0]: 256 |
| 362 | Max work items[1]: 256 |
| 363 | Max work items[2]: 256 |
| 364 | Max work group size: 256 |
| 365 | Preferred vector width char: 16 |
| 366 | Preferred vector width short: 8 |
| 367 | Preferred vector width int: 4 |
| 368 | Preferred vector width long: 2 |
| 369 | Preferred vector width float: 4 |
| 370 | Preferred vector width double: 0 |
| 371 | Native vector width char: 16 |
| 372 | Native vector width short: 8 |
| 373 | Native vector width int: 4 |
| 374 | Native vector width long: 2 |
| 375 | Native vector width float: 4 |
| 376 | Native vector width double: 0 |
| 377 | Max clock frequency: 850Mhz |
| 378 | Address bits: 32 |
| 379 | Max memory allocation: 134217728 |
| 380 | Image support: Yes |
| 381 | Max number of images read arguments: 128 |
| 382 | Max number of images write arguments: 8 |
| 383 | Max image 2D width: 16384 |
| 384 | Max image 2D height: 16384 |
| 385 | Max image 3D width: 2048 |
| 386 | Max image 3D height: 2048 |
| 387 | Max image 3D depth: 2048 |
| 388 | Max samplers within kernel: 16 |
| 389 | Max size of kernel argument: 1024 |
| 390 | Alignment (bits) of base address: 2048 |
| 391 | Minimum alignment (bytes) for any datatype: 128 |
| 392 | Single precision floating point capability |
| 393 | Denorms: No |
| 394 | Quiet NaNs: Yes |
| 395 | Round to nearest even: Yes |
| 396 | Round to zero: Yes |
| 397 | Round to +ve and infinity: Yes |
| 398 | IEEE754-2008 fused multiply-add: Yes |
| 399 | Cache type: None |
| 400 | Cache line size: 0 |
| 401 | Cache size: 0 |
| 402 | Global memory size: 536870912 |
| 403 | Constant buffer size: 65536 |
| 404 | Max number of constant args: 8 |
| 405 | Local memory type: Scratchpad |
| 406 | Local memory size: 32768 |
| 407 | Max pipe arguments: 0 |
| 408 | Max pipe active reservations: 0 |
| 409 | Max pipe packet size: 0 |
| 410 | Max global variable size: 0 |
| 411 | Max global variable preferred total size: 0 |
| 412 | Max read/write image args: 0 |
| 413 | Max on device events: 0 |
| 414 | Queue on device max size: 0 |
| 415 | Max on device queues: 0 |
| 416 | Queue on device preferred size: 0 |
| 417 | SVM capabilities: |
| 418 | Coarse grain buffer: No |
| 419 | Fine grain buffer: No |
| 420 | Fine grain system: No |
| 421 | Atomics: No |
| 422 | Preferred platform atomic alignment: 0 |
| 423 | Preferred global atomic alignment: 0 |
| 424 | Preferred local atomic alignment: 0 |
| 425 | Kernel Preferred work group size multiple: 64 |
| 426 | Error correction support: 0 |
| 427 | Unified memory for Host and Device: 0 |
| 428 | Profiling timer resolution: 1 |
| 429 | Device endianess: Little |
| 430 | Available: Yes |
| 431 | Compiler available: Yes |
| 432 | Execution capabilities: |
| 433 | Execute OpenCL kernels: Yes |
| 434 | Execute native function: No |
| 435 | Queue on Host properties: |
| 436 | Out-of-Order: No |
| 437 | Profiling : Yes |
| 438 | Queue on Device properties: |
| 439 | Out-of-Order: No |
| 440 | Profiling : No |
| 441 | Platform ID: 0x7f17343f3430 |
| 442 | Name: Juniper |
| 443 | Vendor: Advanced Micro Devices, Inc. |
| 444 | Device OpenCL C version: OpenCL C 1.2 |
| 445 | Driver version: 1800.11 |
| 446 | Profile: FULL_PROFILE |
| 447 | Version: OpenCL 1.2 AMD-APP (1800.11) |
| 448 | 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 |
| 449 | |
| 450 | |
| 451 | Device Type: CL_DEVICE_TYPE_CPU |
| 452 | Vendor ID: 1002h |
| 453 | Board name: |
| 454 | Max compute units: 2 |
| 455 | Max work items dimensions: 3 |
| 456 | Max work items[0]: 1024 |
| 457 | Max work items[1]: 1024 |
| 458 | Max work items[2]: 1024 |
| 459 | Max work group size: 1024 |
| 460 | Preferred vector width char: 16 |
| 461 | Preferred vector width short: 8 |
| 462 | Preferred vector width int: 4 |
| 463 | Preferred vector width long: 2 |
| 464 | Preferred vector width float: 4 |
| 465 | Preferred vector width double: 2 |
| 466 | Native vector width char: 16 |
| 467 | Native vector width short: 8 |
| 468 | Native vector width int: 4 |
| 469 | Native vector width long: 2 |
| 470 | Native vector width float: 4 |
| 471 | Native vector width double: 2 |
| 472 | Max clock frequency: 1596Mhz |
| 473 | Address bits: 64 |
| 474 | Max memory allocation: 1006837760 |
| 475 | Image support: Yes |
| 476 | Max number of images read arguments: 128 |
| 477 | Max number of images write arguments: 64 |
| 478 | Max image 2D width: 8192 |
| 479 | Max image 2D height: 8192 |
| 480 | Max image 3D width: 2048 |
| 481 | Max image 3D height: 2048 |
| 482 | Max image 3D depth: 2048 |
| 483 | Max samplers within kernel: 16 |
| 484 | Max size of kernel argument: 4096 |
| 485 | Alignment (bits) of base address: 1024 |
| 486 | Minimum alignment (bytes) for any datatype: 128 |
| 487 | Single precision floating point capability |
| 488 | Denorms: Yes |
| 489 | Quiet NaNs: Yes |
| 490 | Round to nearest even: Yes |
| 491 | Round to zero: Yes |
| 492 | Round to +ve and infinity: Yes |
| 493 | IEEE754-2008 fused multiply-add: Yes |
| 494 | Cache type: Read/Write |
| 495 | Cache line size: 64 |
| 496 | Cache size: 32768 |
| 497 | Global memory size: 1006837760 |
| 498 | Constant buffer size: 65536 |
| 499 | Max number of constant args: 8 |
| 500 | Local memory type: Global |
| 501 | Local memory size: 32768 |
| 502 | Max pipe arguments: 16 |
| 503 | Max pipe active reservations: 16 |
| 504 | Max pipe packet size: 1006837760 |
| 505 | Max global variable size: 1006837760 |
| 506 | Max global variable preferred total size: 1006837760 |
| 507 | Max read/write image args: 64 |
| 508 | Max on device events: 0 |
| 509 | Queue on device max size: 0 |
| 510 | Max on device queues: 0 |
| 511 | Queue on device preferred size: 0 |
| 512 | SVM capabilities: |
| 513 | Coarse grain buffer: No |
| 514 | Fine grain buffer: No |
| 515 | Fine grain system: No |
| 516 | Atomics: No |
| 517 | Preferred platform atomic alignment: 0 |
| 518 | Preferred global atomic alignment: 0 |
| 519 | Preferred local atomic alignment: 0 |
| 520 | Kernel Preferred work group size multiple: 1 |
| 521 | Error correction support: 0 |
| 522 | Unified memory for Host and Device: 1 |
| 523 | Profiling timer resolution: 1 |
| 524 | Device endianess: Little |
| 525 | Available: Yes |
| 526 | Compiler available: Yes |
| 527 | Execution capabilities: |
| 528 | Execute OpenCL kernels: Yes |
| 529 | Execute native function: Yes |
| 530 | Queue on Host properties: |
| 531 | Out-of-Order: No |
| 532 | Profiling : Yes |
| 533 | Queue on Device properties: |
| 534 | Out-of-Order: No |
| 535 | Profiling : No |
| 536 | Platform ID: 0x7f17343f3430 |
| 537 | Name: Intel(R) Core(TM)2 Duo CPU E7400 @ 2.80GHz |
| 538 | Vendor: GenuineIntel |
| 539 | Device OpenCL C version: OpenCL C 1.2 |
| 540 | Driver version: 1800.11 (sse2) |
| 541 | Profile: FULL_PROFILE |
| 542 | Version: OpenCL 1.2 AMD-APP (1800.11) |
| 543 | 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_int64_base_atomics cl_khr_int64_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_khr_gl_event |
| 544 | |
| 545 | sudo apt-get install opencl-headers |
| 546 | https://laanwj.github.io/2016/05/06/opencl-ubuntu1604.html |
| 547 | |
| 548 | wget https://laanwj.github.io/assets/2016/05/06/opencl-ubuntu1604/devices.c |
| 549 | gcc -o devices devices.c /usr/lib/libOpenCL.so.1 -std=c99 |
| 550 | |
| 551 | wget https://laanwj.github.io/assets/2016/05/06/opencl-ubuntu1604/hello.c |
| 552 | gcc -o hello hello.c /usr/lib/libOpenCL.so.1 -std=c99 |
| 553 | |
| 554 | https://software.intel.com/en-us/articles/caps-basic |
| 555 | |
| 556 | [ 3967.208046] <6>[fglrx] Maximum main memory to use for locked dma buffers: 879 MBytes. |
| 557 | [ 3967.208335] <6>[fglrx] vendor: 1002 device: 68b8 revision: 0 count: 1 |
| 558 | [ 3967.208891] <6>[fglrx] ioport: bar 4, base 0xe000, size: 0x100 |
| 559 | [ 3967.209302] <6>[fglrx] Kernel PAT support is enabled |
| 560 | [ 3967.209323] <6>[fglrx] module loaded - fglrx 15.20.3 [Sep 8 2015] with 1 minors |
| 561 | [ 3984.154399] <6>[fglrx] Try to set gart size 737M failed, should be within 64M and 448M. Discard the setting. |
| 562 | [ 3984.160905] <6>[fglrx] Firegl kernel thread PID: 11464 |
| 563 | [ 3984.160941] <6>[fglrx] Firegl kernel thread PID: 11465 |
| 564 | [ 3984.160973] <6>[fglrx] Firegl kernel thread PID: 11466 |
| 565 | [ 3984.161041] <6>[fglrx] IRQ 27 Enabled |
| 566 | [ 3984.188853] <6>[fglrx] Reserved FB block: Shared offset:0, size:1000000 |
| 567 | [ 3984.188855] <6>[fglrx] Reserved FB block: Unshared offset:fb70000, size:2000 |
| 568 | [ 3984.188857] <6>[fglrx] Reserved FB block: Unshared offset:fb72000, size:18e000 |
| 569 | [ 3984.188858] <6>[fglrx] Reserved FB block: Unshared offset:3fff3000, size:d000 |
| 570 | [ 4497.364558] devices[11555]: segfault at 108 ip 00007f261c74c58f sp 00007ffcd8e78f50 error 4 in libatiadlxx.so[7f261c717000+a9000] |
| 571 | rick@uheat:~$ gdb ./devices |
| 572 | GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.3) 7.7.1 |
| 573 | Copyright (C) 2014 Free Software Foundation, Inc. |
| 574 | License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> |
| 575 | This is free software: you are free to change and redistribute it. |
| 576 | There is NO WARRANTY, to the extent permitted by law. Type "show copying" |
| 577 | and "show warranty" for details. |
| 578 | This GDB was configured as "x86_64-linux-gnu". |
| 579 | Type "show configuration" for configuration details. |
| 580 | For bug reporting instructions, please see: |
| 581 | <http://www.gnu.org/software/gdb/bugs/>. |
| 582 | Find the GDB manual and other documentation resources online at: |
| 583 | <http://www.gnu.org/software/gdb/documentation/>. |
| 584 | For help, type "help". |
| 585 | Type "apropos word" to search for commands related to "word"... |
| 586 | Reading symbols from ./devices...(no debugging symbols found)...done. |
| 587 | (gdb) run |
| 588 | Starting program: /home/rick/devices |
| 589 | [Thread debugging using libthread_db enabled] |
| 590 | Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". |
| 591 | |
| 592 | Program received signal SIGSEGV, Segmentation fault. |
| 593 | 0x00007ffff7e5f58f in ADL2_Send () from /usr/lib/libatiadlxx.so |
| 594 | |
| 595 | |
| 596 | https://community.amd.com/thread/191438 |
| 597 | |
| 598 | |
| 599 | |
| 600 | Max allocation limit: 254803968 |
| 601 | Global mem size: 1019215872 |
| 602 | |
| 603 | Error allocating device memory: 268435456 bytes (error: -61) |
| 604 | |
| 605 | |
| 606 | g++ -std=c++0x main.cpp -o main.out -lOpenCL |
| 607 | ./main.out |
| 608 | <suspend> |
| 609 | sudo rmmod nvidia_uvm && sudo modprobe nvidia_uvm |
| 610 | ./main.out |
| 611 | |
| 612 | === |
| 613 | Dag, |
| 614 | |
| 615 | Ik heb interesse in de grafische kaart. |
| 616 | |
| 617 | Ik zou graag de kaart willen overnemen voor de gestelde vraagprijs + verzendkosten. |
| 618 | Ik woon zelf in omgeving Leiden, dus versturen geniet mijn voorkeur. |
| 619 | |
| 620 | Met vriendelijke groet, |
| 621 | Rick van der Zwet |
| 622 | === |
| 623 | |
| 624 | |
| 625 | https://scienceunited.org/wiki/PreferencesXml |
| 626 | http://boinc.berkeley.edu/wiki/Preferences#Computing |
| 627 | https://scienceunited.org/wiki/Client_configuration |
| 628 | |
| 629 | |
| 630 | Radeon HD 5570 ~ G3D 1708 ~ Collatz task avg ~ 3.5h |
| 631 | GT650M ~ G3D 1225 ~ 1.35 days |
| 632 | GT630 ~ G3D 746 ~ 8.5h |
| 633 | Radeon HD 7850 ~ ~ 1h |
| 634 | |
| 635 | GeForce GTX 1070 Ti ~ ~ 15m |
| 636 | GeForce GTX 1070 ~ ~ 15m |
| 637 | |
| 638 | |
| 639 | |
| 640 | |
| 641 | i7-3630QM ~ CPU Mark 7586 ~ 15 min/task |
| 642 | Q8400 ~ CPU Mark 3173 ~ 23 min/task |
| 643 | |
| 644 | |
| 645 | PSU + Motherboard + CPU ~ 200 Watt per systeem |
| 646 | Radeon HD 5570 ~ TDP 61W |
| 647 | GT630 ~ TDP 50 W |
| 648 | |
| 649 | - Nodig voor verwarmen woonkamer ~ 3kW |
| 650 | - Dit is ongeveer 50 low-spec GPUs |
| 651 | |
| 652 | Prijs los systeem ~ 50 EUR ~ 500 EUR hardware. |
| 653 | |
| 654 | |
| 655 | Basis systeem ~ 100 EUR |
| 656 | PCI 1x to 4 SLOTS PCI-E 16X Extender ~ 15 EUR |
| 657 | Riser Card Adapter module 8@piece ~ 24 EUR |
| 658 | GPU low-grade 30@piece ~ 120 EUR |
| 659 | ============================================== |
| 660 | TOTAL ~ 240 EUR |
| 661 | |
| 662 | Total TDP ~ 400Watt |
| 663 | |
| 664 | |
| 665 | |
| 666 | - CUDA Compute capability |
| 667 | - Performance versus power usage, versus money |
| 668 | |
| 669 | |
| 670 | Card ~ G3D || Price || TDP || EUR/W || G3D/W || G3D/EUR |
| 671 | -------------------------------------------------------------------------------- |
| 672 | GeForce GTX 1080 Ti ~ 14061 || 850 EUR || 250W || 3.40 EUR || 56 G3D || |
| 673 | GeForce GTX 1080 ~ 12309 || 550 EUR || 180W || 3.05 EUR || 68 G3D || |
| 674 | Radeon RX 580 ~ 8404 || 200 EUR || 185W || 1.08 EUR || 45 G3D || |
| 675 | GeForce GTX 1050 Ti ~ 5937 || 160 EUR || 75W || 2.13 EUR || 80 G3D || |
| 676 | |
| 677 | Radeon HD 7850 ~ 3838 || 50 EUR || 130W || 0.38 EUR || 29 G3D || |
| 678 | Radeon HD 5570 ~ 1708 || ?? EUR || 61W || ?? EUR || 28 G3D || |
| 679 | GeForce GT 650M ~ 1225 || ?? EUR || 45W || ?? EUR || 20 G3D || |
| 680 | GeForce GT 630 ~ 746 || 30 EUR || 50W || 0.60 EUR || 15 G3D || |
| 681 | |
| 682 | http://www.timzaman.com/2012/05/opencv-gpu-cuda-performance-comparison/ |
| 683 | https://www.techspot.com/article/1438-ethereum-mining-gpu-benchmark/ |
| 684 | https://www.techradar.com/news/best-mining-gpu |
| 685 | |
| 686 | |
| 687 | GeForce GT 630 - CC2.1 |
| 688 | |
| 689 | https://developer.nvidia.com/opencl |
| 690 | |
| 691 | === |
| 692 | |
| 693 | ^[[B^[[20~02-Oct-2018 22:34:17 [---] Fetching configuration file from https://www.grcpool.com/get_project_config.php |
| 694 | 02-Oct-2018 22:34:18 [---] Contacting account manager at https://www.grcpool.com/ |
| 695 | 02-Oct-2018 22:34:20 [---] [unparsed_xml] AM_ACCOUNT: unrecognized no_rsc |
| 696 | Unrecognized XML tag '<no_rsc>' in AM_ACCOUNT::parse; skipping |
| 697 | |
| 698 | outdated BOINC client |
| 699 | |
| 700 | ==== |
| 701 | |
| 702 | https://setiathome.berkeley.edu/forum_thread.php?id=74403 |
| 703 | Command: # add-apt-repository ppa:costamagnagianfranco/boinc |
| 704 | Command: # apt-get update |
| 705 | Command: # apt-get install boinc-client |
| 706 | |
| 707 | ATI - collatz_sieve ~ 3.5h |
| 708 | NVIDIA - collatz_sieve ~ 8h |
| 709 | |
| 710 | |
| 711 | Good overview of NVIDIA version naming: |
| 712 | https://forums.geforce.com/default/topic/946368/geforce-drivers/weird-glitchy-artifact-problem-please-help-/ |
| 713 | |
| 714 | NVIDIA memory check: https://developer.nvidia.com/CUDA-MEMCHECK |
| 715 | |
| 716 | |
| 717 | https://github.com/ihaque/memtestCL |
| 718 | dnf install opencl-headers g++ |
| 719 | |
| 720 | [ 40.952730] NVRM: GPU at PCI:0000:01:00: GPU-52b6f1af-58d9-a846-da29-d37b4411e133 |
| 721 | [ 40.952736] NVRM: GPU Board Serial Number: 0322911063585 |
| 722 | [ 40.952739] NVRM: Xid (PCI:0000:01:00): 13, Graphics SM Warp Exception on (GPC 0, TPC 0): Out Of Range Register |
| 723 | [ 40.956484] NVRM: Xid (PCI:0000:01:00): 13, Graphics SM Global Exception on (GPC 0, TPC 0): Physical Multiple Warp Errors |
| 724 | [ 40.960277] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: ESR 0x504648=0x1000d 0x504650=0x4 0x504644=0x1beff2 0x50464c=0xf |
| 725 | [ 40.964129] NVRM: Xid (PCI:0000:01:00): 13, Graphics SM Warp Exception on (GPC 0, TPC 1): Out Of Range Register |
| 726 | [ 40.967955] NVRM: Xid (PCI:0000:01:00): 13, Graphics SM Global Exception on (GPC 0, TPC 1): Physical Multiple Warp Errors |
| 727 | [ 40.971800] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: ESR 0x504e48=0x1000d 0x504e50=0x4 0x504e44=0x1beff2 0x504e4c=0xf |
| 728 | [ 40.975709] NVRM: Xid (PCI:0000:01:00): 13, Graphics SM Warp Exception on (GPC 1, TPC 0): Out Of Range Register |
| 729 | [ 40.979632] NVRM: Xid (PCI:0000:01:00): 13, Graphics SM Global Exception on (GPC 1, TPC 0): Physical Multiple Warp Errors |
| 730 | [ 40.983574] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: ESR 0x50c648=0xd 0x50c650=0x4 0x50c644=0x1beff2 0x50c64c=0xf |
| 731 | [ 40.987562] NVRM: Xid (PCI:0000:01:00): 13, Graphics SM Warp Exception on (GPC 1, TPC 1): Out Of Range Register |
| 732 | [ 40.991587] NVRM: Xid (PCI:0000:01:00): 13, Graphics SM Global Exception on (GPC 1, TPC 1): Physical Multiple Warp Errors |
| 733 | [ 40.995653] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: ESR 0x50ce48=0x1000d 0x50ce50=0x4 0x50ce44=0x1beff2 0x50ce4c=0xf |
| 734 | [ 40.999781] NVRM: Xid (PCI:0000:01:00): 13, Graphics SM Warp Exception on (GPC 1, TPC 2): Out Of Range Register |
| 735 | [ 41.003915] NVRM: Xid (PCI:0000:01:00): 13, Graphics SM Global Exception on (GPC 1, TPC 2): Physical Multiple Warp Errors |
| 736 | [ 41.008119] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: ESR 0x50d648=0x1000d 0x50d650=0x4 0x50d644=0x1beff2 0x50d64c=0xf |
| 737 | [ 41.012369] NVRM: Xid (PCI:0000:01:00): 13, Graphics SM Warp Exception on (GPC 2, TPC 0): Out Of Range Register |
| 738 | [ 41.016602] NVRM: Xid (PCI:0000:01:00): 13, Graphics SM Global Exception on (GPC 2, TPC 0): Physical Multiple Warp Errors |
| 739 | [ 41.020869] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: ESR 0x514648=0x1000d 0x514650=0x4 0x514644=0x1beff2 0x51464c=0xf |
| 740 | [ 41.025203] NVRM: Xid (PCI:0000:01:00): 13, Graphics SM Warp Exception on (GPC 2, TPC 1): Out Of Range Register |
| 741 | [ 41.029537] NVRM: Xid (PCI:0000:01:00): 13, Graphics SM Global Exception on (GPC 2, TPC 1): Physical Multiple Warp Errors |
| 742 | [ 41.033881] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: ESR 0x514e48=0x1000d 0x514e50=0x4 0x514e44=0x1beff2 0x514e4c=0xf |
| 743 | [ 41.038261] NVRM: Xid (PCI:0000:01:00): 13, Graphics SM Warp Exception on (GPC 2, TPC 2): Out Of Range Register |
| 744 | [ 41.042632] NVRM: Xid (PCI:0000:01:00): 13, Graphics SM Global Exception on (GPC 2, TPC 2): Physical Multiple Warp Errors |
| 745 | [ 41.047026] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: ESR 0x515648=0x1000d 0x515650=0x4 0x515644=0x1beff2 0x51564c=0xf |
| 746 | [ 41.051493] NVRM: Xid (PCI:0000:01:00): 13, Graphics Exception: ChID 0001, Class 000090c0, Offset 00001b0c, Data 00000000 |
| 747 | [ 41.057410] NVRM: Xid (PCI:0000:01:00): 39, CCMDs 00000002 000090b5 |
| 748 | |
| 749 | https://www.nvidia.com/object/unix.html |
| 750 | |
| 751 | |
| 752 | https://github.com/mpentler/boinctui-extended |
| 753 | ncurses-devel expat-devel openssl-devel |
| 754 | autoconf |
| 755 | ./configure --without-gnutls |
| 756 | |
| 757 | |
| 758 | |
| 759 | 1 apt-get update |
| 760 | 2 sudo apt-get update |
| 761 | 3 sudo apt-get upgrade |
| 762 | 4 sudo apt-get dist-upgrade |
| 763 | 5 sudo reboot |
| 764 | 6 ifconfig -a |
| 765 | 7 ls |
| 766 | 8 cd .ssh/ |
| 767 | 9 ls |
| 768 | 10 cat authorized_keys |
| 769 | 11 vim authorized_keys |
| 770 | 12 ls |
| 771 | 13 cd |
| 772 | 14 ls |
| 773 | 15 chmod 755 NVIDIA-Linux-x86_64-390.87.run |
| 774 | 16 sudo ./NVIDIA-Linux-x86_64-390.87.run |
| 775 | 17 rmmod nouveau |
| 776 | 18 sudo rmmod nouveau |
| 777 | 19 sudo ./NVIDIA-Linux-x86_64-390.87.run |
| 778 | 20 gcc |
| 779 | 21 sudo apt-get install build-essential |
| 780 | 22 sudo ./NVIDIA-Linux-x86_64-390.87.run |
| 781 | 23 sudo reboot |
| 782 | 24 nvidia-smi |
| 783 | 25 sudo nvidia-smi |
| 784 | 26 ls |
| 785 | 27 lsmod |
| 786 | 28 lsmod | grep nouveau |
| 787 | 29 cat /etc/modprobe.d/nvidia-installer-disable-nouveau.conf |
| 788 | 30 rmmod nouveau |
| 789 | 31 sudo rmmod nouveau |
| 790 | 32 ls |
| 791 | 33 sudo modprobe nvidia |
| 792 | 34 sudo nvidia-smi |
| 793 | 35 top |
| 794 | 36 ps au |
| 795 | 37 ps aux |
| 796 | 38 uname -a |
| 797 | 39 lsb_release -a |
| 798 | 40 sudo update-initramfs -u |
| 799 | 41 history |
| 800 | 39 lsb_release -a |
| 801 | 40 sudo update-initramfs -u |
| 802 | 41 history |
| 803 | 42 sudo reboot |
| 804 | 43 sudo nvidia-smi |
| 805 | 44 sudo apt-get install boinc |
| 806 | 45 sudo apt-cache search boinc |
| 807 | 46 sudo apt-get install boinc-client |
| 808 | 47 sudo apt-get install boinc-client boinctui |
| 809 | 48 sudo clinfo |
| 810 | 49 clinfo |
| 811 | 50 sudo apt-get install clinfo |
| 812 | 51 clinfo |
| 813 | 52 ls |
| 814 | 53 git clone https://github.com/ihaque/memtestCL.git |
| 815 | 54 cd memtestCL/ |
| 816 | 55 ls |
| 817 | 56 make -f Makefiles/Makefile.linux64 |
| 818 | 57 sudo apt-cache search opencl |
| 819 | 58 sudo apt-cache search opencl-headers |
| 820 | 59 sudo apt-get install opencl-headers |
| 821 | 60 make -f Makefiles/Makefile.linux64 |
| 822 | 61 ls |
| 823 | 62 ./memtestCL |
| 824 | 63 systemctl |
| 825 | 64 sudo systemctl start boinc-client |
| 826 | 65 boinccmd --project_attach http://einstein.phys.uwm.edu/ 7358bdde713819037b3d3406e9558c4c |
| 827 | 66 boinctui |
| 828 | 67 sudo nvidia-smi |
| 829 | 68 history |
| 830 | |
| 831 | ==== |
| 832 | |
| 833 | sudo dpkg -i fglrx-core*.deb |
| 834 | sudo apt-get install -f |
| 835 | |
| 836 | 1 sudo apt-get update |
| 837 | 2 sudo apt-get dist-upgrade |
| 838 | 3 sudo apt-cache search kernel |
| 839 | 4 sudo apt-cache search kernel | less |
| 840 | 5 sudo apt-cache search 3.19 |
| 841 | 6 sudo apt-cache search 3.19.0-80 |
| 842 | 7 sudo apt-get install linux-headers-3.19.0-80-generic |
| 843 | 8 sudo apt-get install linux-image-3.19.0-80-generic |
| 844 | 9 sudo apt-get install linux-image-extra-3.19.0-80-generic |
| 845 | 10 sudo apt-get install linux-tools-3.19.0-80-generic |
| 846 | 11 sudo reboot |
| 847 | 12 dmesg |
| 848 | 13 ifconfig -a |
| 849 | 14 git clone https://github.com/ihaque/memtestCL.git |
| 850 | 15 sudo apt-get install build-essential |
| 851 | 16 sudo apt-get install git |
| 852 | 17 git clone https://github.com/ihaque/memtestCL.git |
| 853 | 18 sudo apt-get install opencl-headers |
| 854 | 19 cd memtestCL/ |
| 855 | 20 make -f Makefiles/Makefile.linux64 |
| 856 | 21 sudo apt-cache search openCL |
| 857 | 22 ls |
| 858 | 23 cd /usr/lib |
| 859 | 24 ls |
| 860 | 25 ln -s libOpenCL.so.1 libOpenCL.so |
| 861 | 26 sudo ln -s libOpenCL.so.1 libOpenCL.so |
| 862 | 27 ls -alh |
| 863 | 28 cd ~/memtestCL/ |
| 864 | 29 make -f Makefiles/Makefile.linux64 |
| 865 | 30 ./memtestCL |
| 866 | 31 ls |
| 867 | 32 gdb ./memtestCL |
| 868 | 33 apt-get install gdb |
| 869 | 34 sudo apt-get install gdb |
| 870 | 35 history |
| 871 | rick@uheat-amd:~/memte |
| 872 | |
| 873 | |
| 874 | 33 apt-get install gdb |
| 875 | 34 sudo apt-get install gdb |
| 876 | 35 history |
| 877 | 36 ls |
| 878 | 37 sudo history |
| 879 | 38 history |
| 880 | 39 gdb ./memtestCL |
| 881 | 40 ls |
| 882 | 41 clinfo |
| 883 | 42 top |
| 884 | 43 ps aux |
| 885 | 44 uname |
| 886 | 45 top |
| 887 | 46 ps aux | grep flg |
| 888 | 47 lsmod |
| 889 | 48 lsmod | grep fglrx |
| 890 | 49 cd |
| 891 | 50 ls |
| 892 | 51 ar p fglrx_15.201-0ubuntu1_i386_UB_14.01.deb data.tar.gz | sudo tar -C / -xzf - ./etc/ati/amdpcsdb.default |
| 893 | 52 ar p fglrx-core_15.201-0ubuntu1_amd64_UB_14.01.deb data.tar.gz | sudo tar -C / -xzf - ./etc/ati/amdpcsdb.default |
| 894 | 53 ar p fglrx_15.201-0ubuntu1_i386_UB_14.01.deb data.tar.gz | sudo tar -C / -xzf - ./etc/ati/amdpcsdb.default |
| 895 | 54 ls |
| 896 | 55 ar p fglrx_15.201-0ubuntu1_amd64_UB_14.01.deb data.tar.gz | sudo tar -C / -xzf - ./etc/ati/amdpcsdb.default |
| 897 | 56 clinfo |
| 898 | 57 ./memtestCL/memtestCL |
| 899 | 58 history |
| 900 | |
| 901 | |
| 902 | # DHEP project |
| 903 | boinccmd --project_attach http://dhep.ga/boinc/ dad24ce8e9db0b9f0b03ce1fe9742096 |
| 904 | |
| 905 | |
| 906 | https://einsteinathome.org/content/impossible-gpu-tasks-floating-point-received#comment-166880 |
| 907 | |
| 908 | }}} |