Page 1 of 1

Radeon R4 (integrated gpu) crash after 90%

Posted: Thu May 14, 2020 2:05 am
by ignacio
I've been experiencing crashes lately. The last one reached 98% after days of folding, while using Firefox the screen start to fail and flick, then stop responding.
I use Archlinux, driver: AMDGPU and opencl-amd. I use Sway WM and the R5 as render GPU.
My notebook is an Acer Apire e5-521 with A6-6310 micro, with iGPU Radeon R4 and a dGPU Radeon R5 m240. I could't make the R5 fold correctly... so I only use the R4.

Log:

Code: Select all

*********************** Log Started 2020-05-14T01:33:46Z ***********************
01:33:46:Trying to access database...
01:33:47:Successfully acquired database lock
01:33:47:Read GPUs.txt
01:33:52:Enabled folding slot 01: PAUSED gpu:0:Mullins [Radeon APU A4-6000 R2] (by user)
01:33:52:****************************** FAHClient ******************************
01:33:52:        Version: 7.6.13
01:33:52:         Author: Joseph Coffland <joseph@cauldrondevelopment.com>
01:33:52:      Copyright: 2020 foldingathome.org
01:33:52:       Homepage: https://foldingathome.org/
01:33:52:           Date: Apr 28 2020
01:33:52:           Time: 04:20:16
01:33:52:       Revision: 5a652817f46116b6e135503af97f18e094414e3b
01:33:52:         Branch: master
01:33:52:       Compiler: GNU 8.3.0
01:33:52:        Options: -std=c++11 -ffunction-sections -fdata-sections -O3
01:33:52:                 -funroll-loops -fno-pie
01:33:52:       Platform: linux2 4.19.0-5-amd64
01:33:52:           Bits: 64
01:33:52:           Mode: Release
01:33:52:           Args: --config /etc/foldingathome/config.xml --log
01:33:52:                 /var/log/foldingathome/log.txt --log-rotate-dir
01:33:52:                 /var/log/foldingathome
01:33:52:         Config: /etc/foldingathome/config.xml
01:33:52:******************************** CBang ********************************
01:33:52:           Date: Apr 25 2020
01:33:52:           Time: 00:07:53
01:33:52:       Revision: ea081a3b3b0f4a37c4d0440b4f1bc184197c7797
01:33:52:         Branch: master
01:33:52:       Compiler: GNU 8.3.0
01:33:52:        Options: -std=c++11 -ffunction-sections -fdata-sections -O3
01:33:52:                 -funroll-loops -fno-pie -fPIC
01:33:52:       Platform: linux2 4.19.0-5-amd64
01:33:52:           Bits: 64
01:33:52:           Mode: Release
01:33:52:******************************* System ********************************
01:33:52:            CPU: AMD A6-6310 APU with AMD Radeon R4 Graphics
01:33:52:         CPU ID: AuthenticAMD Family 22 Model 48 Stepping 1
01:33:52:           CPUs: 4
01:33:52:         Memory: 6.75GiB
01:33:52:    Free Memory: 6.07GiB
01:33:52:        Threads: POSIX_THREADS
01:33:52:     OS Version: 5.6
01:33:52:    Has Battery: true
01:33:52:     On Battery: false
01:33:52:     UTC Offset: -3
01:33:52:            PID: 892
01:33:52:            CWD: /var/lib/private/fah
01:33:52:             OS: Linux 5.6.11-arch1-1 x86_64
01:33:52:        OS Arch: AMD64
01:33:52:           GPUs: 2
01:33:52:          GPU 0: Bus:0 Slot:1 Func:0 AMD:5 Mullins [Radeon APU A4-6000 R2]
01:33:52:          GPU 1: Bus:1 Slot:0 Func:0 AMD:5 xxxx [Radeon R5 M200 Series]
01:33:52:           CUDA: Not detected: Failed to open dynamic library 'libcuda.so':
01:33:52:                 libcuda.so: cannot open shared object file: No such file or
01:33:52:                 directory
01:33:52:OpenCL Device 0: Platform:0 Device:0 Bus:0 Slot:1 Compute:1.2 Driver:3075.10
01:33:52:OpenCL Device 1: Platform:0 Device:1 Bus:1 Slot:0 Compute:1.2 Driver:3075.10
01:33:52:******************************* libFAH ********************************
01:33:52:           Date: Apr 15 2020
01:33:52:           Time: 21:43:24
01:33:52:       Revision: 216968bc7025029c841ed6e36e81a03a316890d3
01:33:52:         Branch: master
01:33:52:       Compiler: GNU 8.3.0
01:33:52:        Options: -std=c++11 -ffunction-sections -fdata-sections -O3
01:33:52:                 -funroll-loops -fno-pie
01:33:52:       Platform: linux2 4.19.0-5-amd64
01:33:52:           Bits: 64
01:33:52:           Mode: Release
01:33:52:***********************************************************************
01:33:52:<config>
01:33:52:  <!-- Folding Core -->
01:33:52:  <checkpoint v='30'/>
01:33:52:
01:33:52:  <!-- Folding Slot Configuration -->
01:33:52:  <cause v='COVID_19'/>
01:33:52:
01:33:52:  <!-- Network -->
01:33:52:  <proxy v=':8080'/>
01:33:52:
01:33:52:  <!-- Slot Control -->
01:33:52:  <pause-on-start v='true'/>
01:33:52:  <power v='FULL'/>
01:33:52:
01:33:52:  <!-- User Information -->
01:33:52:  <passkey v=''/>
01:33:52:  <team v=''/>
01:33:52:  <user v=''/>
01:33:52:
01:33:52:  <!-- Folding Slots -->
01:33:52:  <slot id='1' type='GPU'/>
01:33:52:</config>
01:48:09:6:127.0.0.1:New Web session
01:48:30:FS01:Unpaused
01:48:30:WU00:FS01:Starting
01:48:30:WU00:FS01:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/private/fah/cores/cores.foldingathome.org/v7/lin/64bit/Core_22.fah/FahCore_22 -dir 00 -suffix 01 -version 706 -lifeline 892 -checkpoint 30 -gpu-vendor amd -opencl-platform 0 -opencl-device 0 -gpu 0
01:48:30:WU00:FS01:Started FahCore on PID 2944
01:48:30:WU00:FS01:Core PID:2948
01:48:30:WU00:FS01:FahCore 0x22 started
01:48:32:WU00:FS01:0x22:*********************** Log Started 2020-05-14T01:48:32Z ***********************
01:48:32:WU00:FS01:0x22:*************************** Core22 Folding@home Core ***************************
01:48:32:WU00:FS01:0x22:       Type: 0x22
01:48:32:WU00:FS01:0x22:       Core: Core22
01:48:32:WU00:FS01:0x22:    Website: https://foldingathome.org/
01:48:32:WU00:FS01:0x22:  Copyright: (c) 2009-2018 foldingathome.org
01:48:32:WU00:FS01:0x22:     Author: John Chodera <john.chodera@choderalab.org> and Rafal Wiewiora
01:48:32:WU00:FS01:0x22:             <rafal.wiewiora@choderalab.org>
01:48:32:WU00:FS01:0x22:       Args: -dir 00 -suffix 01 -version 706 -lifeline 2944 -checkpoint 30
01:48:32:WU00:FS01:0x22:             -gpu-vendor amd -opencl-platform 0 -opencl-device 0 -gpu 0
01:48:32:WU00:FS01:0x22:     Config: <none>
01:48:32:WU00:FS01:0x22:************************************ Build *************************************
01:48:32:WU00:FS01:0x22:    Version: 0.0.2
01:48:32:WU00:FS01:0x22:       Date: Dec 6 2019
01:48:32:WU00:FS01:0x22:       Time: 21:20:17
01:48:32:WU00:FS01:0x22: Repository: Git
01:48:32:WU00:FS01:0x22:   Revision: f87d92b58abdf7e6bf2e173cfbc4dc3e837c7042
01:48:32:WU00:FS01:0x22:     Branch: core22
01:48:32:WU00:FS01:0x22:   Compiler: GNU 4.8.2 20140120 (Red Hat 4.8.2-15)
01:48:32:WU00:FS01:0x22:    Options: -std=gnu++98 -O3 -funroll-loops
01:48:32:WU00:FS01:0x22:   Platform: linux2 4.9.87-linuxkit-aufs
01:48:32:WU00:FS01:0x22:       Bits: 64
01:48:32:WU00:FS01:0x22:       Mode: Release
01:48:32:WU00:FS01:0x22:************************************ System ************************************
01:48:32:WU00:FS01:0x22:        CPU: AMD A6-6310 APU with AMD Radeon R4 Graphics
01:48:32:WU00:FS01:0x22:     CPU ID: AuthenticAMD Family 22 Model 48 Stepping 1
01:48:32:WU00:FS01:0x22:       CPUs: 4
01:48:32:WU00:FS01:0x22:     Memory: 6.75GiB
01:48:32:WU00:FS01:0x22:Free Memory: 4.92GiB
01:48:32:WU00:FS01:0x22:    Threads: POSIX_THREADS
01:48:32:WU00:FS01:0x22: OS Version: 5.6
01:48:32:WU00:FS01:0x22:Has Battery: true
01:48:32:WU00:FS01:0x22: On Battery: false
01:48:32:WU00:FS01:0x22: UTC Offset: -3
01:48:32:WU00:FS01:0x22:        PID: 2948
01:48:32:WU00:FS01:0x22:        CWD: /var/lib/private/fah/work
01:48:32:WU00:FS01:0x22:         OS: Linux 5.6.11-arch1-1 x86_64
01:48:32:WU00:FS01:0x22:    OS Arch: AMD64
01:48:32:WU00:FS01:0x22:********************************************************************************
01:48:32:WU00:FS01:0x22:Project: 11762 (Run 0, Clone 12232, Gen 12)
01:48:32:WU00:FS01:0x22:Unit: 0x0000001d80fccb0a5e7113a0408c400d
01:48:32:WU00:FS01:0x22:Digital signatures verified
01:48:32:WU00:FS01:0x22:Folding@home GPU Core22 Folding@home Core
01:48:32:WU00:FS01:0x22:Version 0.0.2
01:48:33:WU00:FS01:0x22:  Found a checkpoint file
01:49:18:WU00:FS01:0x22:Completed 950000 out of 1000000 steps (95%)
01:49:18:WU00:FS01:0x22:Temperature control disabled. Requirements: single Nvidia GPU, tmax must be < 110 and twait >= 900

Re: Radeon R4 (integrated gpu) crash after 90%

Posted: Thu May 14, 2020 4:53 am
by PantherX
It might be related to overheating so just check the temperatures of your system.

Regarding the GPUs, this is what could theoretically work:
GPU 0 is iGPU R4
GPU 1 is dGPU R6

Code: Select all

  <slot id='0' type='GPU'>
    <gpu-index v='0'/>
    <opencl-index v='0'/>
  </slot>
  <slot id='1' type='GPU'>
    <gpu-index v='1'/>
    <opencl-index v='1'/>
  </slot>

Re: Radeon R4 (integrated gpu) crash after 90%

Posted: Thu May 14, 2020 5:49 pm
by ignacio
The temps are not that high, under 56 when using the notebook and folding, and under 50 when idle. But could be...

Regarding the config I used that parameters and couldn't make the R5 work, it gets a work unit and fails with

Code: Select all

BAD_WORK_UNIT 
and

Code: Select all

Error initializing context: clCreateCommandQueue (-6)

Re: Radeon R4 (integrated gpu) crash after 90%

Posted: Sun May 17, 2020 3:52 pm
by FireFox-89
No idea if this will help but I had a similar issue a while ago and it was before I had an account here but one thing that seemed to help (could be coincidental) I used DisplayDriverUninstaller to remove the driver and any remnents of it then clean installed a fresh driver.

May be worth a shot and at the very least, you'll have nothing to lose.