You are not logged in.
As the title says, I have a RX580 gpu. I have tried installing `rocm-opencl-runtime` with `ROC_ENABLE_PRE_VEGA=1` but the davinci-resolve-check.py script outputs this: `Not found opencl platforms with appropriate GPUs. Check that you have installed corresponding driver. Otherwise you cannot run DR.` and when running the resolve itself using `LD_PRELOAD="/usr/lib/libgio-2.0.so /usr/lib/libgmodule-2.0.so" ROC_ENABLE_PRE_VEGA=1 sudo /opt/resolve/bin/resolve` command, I get this output:
```
ActCCMessage Already in Table: Code= c005, Mode= 13, Level= 1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= c006, Mode= 13, Level= 1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= c007, Mode= 13, Level= 1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= 2282, Mode= 0, Level= 0, CmdKey= 8, Option= 0
log4cxx: No appender could be found for logger (BtCommon).
log4cxx: Please initialize the log4cxx system properly.
19.0.0.0069 Linux/Clang x86_64
Main thread starts: B0F9C000
0x761eb0f9c000 | Undefined | INFO | 2024-08-29 04:26:16,879 | --------------------------------------------------------------------------------
0x761eb0f9c000 | Undefined | INFO | 2024-08-29 04:26:16,879 | Loaded log config from /root/.local/share/DaVinciResolve/configs/log-conf.xml
0x761eb0f9c000 | Undefined | INFO | 2024-08-29 04:26:16,879 | --------------------------------------------------------------------------------
```
I tried using `amdgpu-pro-oglp` but that did not change anything, still crashing on startup.
Last edited by amiroof (2024-09-03 02:59:17)
Offline
https://wiki.archlinux.org/title/GPGPU#Troubleshooting
rx580 is polaris 20, pre-vega - so that's relevant.
Consider trying https://wiki.archlinux.org/title/GPGPU#Rusticl
Offline
I installed `opencl-rusticl-mesa` package and changed the launch command to `LD_PRELOAD="/usr/lib/libgio-2.0.so /usr/lib/libgmodule-2.0.so" RUSTICL_ENABLE=radeonsi /opt/resolve/bin/resolve` but the output is the same. I also tried running `/opt/rocm/bin/rocminfo` for troubleshooting but there is no such file.
Offline
Mod note: moving to AUR Issues
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Offline
https://archlinux.org/packages/extra/x86_64/clinfo/
https://archlinux.org/packages/extra/x86_64/rocminfo/
pacman -Fh
OCL_ICD_VENDORS / OCL_ICD_FILENAMES
https://github.com/KhronosGroup/OpenCL- … ader-tests
Offline
Ok so the `rocminfo` shows my GPU. I didn't understand what you meant by the last reply. can you clearify?
Offline
Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
What's the actual output and what does clinfo tell you?
OCL_ICD_VENDORS / OCL_ICD_FILENAMES allow you to select/control the OCL (if you want to use rustic while rocm-opencl-runtime is still installed.
Offline
```
> /opt/rocm/bin/romcinfo/
ROCk module is loaded
=====================
HSA System Attributes
=====================
Runtime Version: 1.1
System Timestamp Freq.: 1000.000000MHz
Sig. Max Wait Duration: 18446744073709551615 (0xFFFFFFFFFFFFFFFF) (timestamp count)
Machine Model: LARGE
System Endianness: LITTLE
Mwaitx: DISABLED
DMAbuf Support: YES
==========
HSA Agents
==========
*******
Agent 1
*******
Name: 12th Gen Intel(R) Core(TM) i5-12400F
Uuid: CPU-XX
Marketing Name: 12th Gen Intel(R) Core(TM) i5-12400F
Vendor Name: CPU
Feature: None specified
Profile: FULL_PROFILE
Float Round Mode: NEAR
Max Queue Number: 0(0x0)
Queue Min Size: 0(0x0)
Queue Max Size: 0(0x0)
Queue Type: MULTI
Node: 0
Device Type: CPU
Cache Info:
L1: 49152(0xc000) KB
Chip ID: 0(0x0)
ASIC Revision: 0(0x0)
Cacheline Size: 64(0x40)
Max Clock Freq. (MHz): 4400
BDFID: 0
Internal Node ID: 0
Compute Unit: 12
SIMDs per CU: 0
Shader Engines: 0
Shader Arrs. per Eng.: 0
WatchPts on Addr. Ranges:1
Features: None
Pool Info:
Pool 1
Segment: GLOBAL; FLAGS: FINE GRAINED
Size: 16182088(0xf6eb48) KB
Allocatable: TRUE
Alloc Granule: 4KB
Alloc Alignment: 4KB
Accessible by all: TRUE
Pool 2
Segment: GLOBAL; FLAGS: KERNARG, FINE GRAINED
Size: 16182088(0xf6eb48) KB
Allocatable: TRUE
Alloc Granule: 4KB
Alloc Alignment: 4KB
Accessible by all: TRUE
Pool 3
Segment: GLOBAL; FLAGS: COARSE GRAINED
Size: 16182088(0xf6eb48) KB
Allocatable: TRUE
Alloc Granule: 4KB
Alloc Alignment: 4KB
Accessible by all: TRUE
ISA Info:
*******
Agent 2
*******
Name: gfx803
Uuid: GPU-XX
Marketing Name: AMD Radeon RX 580 Series
Vendor Name: AMD
Feature: KERNEL_DISPATCH
Profile: BASE_PROFILE
Float Round Mode: NEAR
Max Queue Number: 128(0x80)
Queue Min Size: 64(0x40)
Queue Max Size: 131072(0x20000)
Queue Type: MULTI
Node: 1
Device Type: GPU
Cache Info:
L1: 16(0x10) KB
Chip ID: 26591(0x67df)
ASIC Revision: 1(0x1)
Cacheline Size: 64(0x40)
Max Clock Freq. (MHz): 1360
BDFID: 256
Internal Node ID: 1
Compute Unit: 36
SIMDs per CU: 4
Shader Engines: 4
Shader Arrs. per Eng.: 1
WatchPts on Addr. Ranges:4
Coherent Host Access: FALSE
Features: KERNEL_DISPATCH
Fast F16 Operation: TRUE
Wavefront Size: 64(0x40)
Workgroup Max Size: 1024(0x400)
Workgroup Max Size per Dimension:
x 1024(0x400)
y 1024(0x400)
z 1024(0x400)
Max Waves Per CU: 40(0x28)
Max Work-item Per CU: 2560(0xa00)
Grid Max Size: 4294967295(0xffffffff)
Grid Max Size per Dimension:
x 4294967295(0xffffffff)
y 4294967295(0xffffffff)
z 4294967295(0xffffffff)
Max fbarriers/Workgrp: 32
Packet Processor uCode:: 730
SDMA engine uCode:: 58
IOMMU Support:: None
Pool Info:
Pool 1
Segment: GLOBAL; FLAGS: COARSE GRAINED
Size: 8388608(0x800000) KB
Allocatable: TRUE
Alloc Granule: 4KB
Alloc Alignment: 4KB
Accessible by all: FALSE
Pool 2
Segment: GLOBAL; FLAGS: EXTENDED FINE GRAINED
Size: 8388608(0x800000) KB
Allocatable: TRUE
Alloc Granule: 4KB
Alloc Alignment: 4KB
Accessible by all: FALSE
Pool 3
Segment: GROUP
Size: 64(0x40) KB
Allocatable: FALSE
Alloc Granule: 0KB
Alloc Alignment: 0KB
Accessible by all: FALSE
ISA Info:
ISA 1
Name: amdgcn-amd-amdhsa--gfx803
Machine Models: HSA_MACHINE_MODEL_LARGE
Profiles: HSA_PROFILE_BASE
Default Rounding Mode: NEAR
Default Rounding Mode: NEAR
Fast f16: TRUE
Workgroup Max Size: 1024(0x400)
Workgroup Max Size per Dimension:
x 1024(0x400)
y 1024(0x400)
z 1024(0x400)
Grid Max Size: 4294967295(0xffffffff)
Grid Max Size per Dimension:
x 4294967295(0xffffffff)
y 4294967295(0xffffffff)
z 4294967295(0xffffffff)
FBarrier Max Size: 32
*** Done ***
``
```
> clinfo
free(): invalid pointer
[1] 54353 IOT instruction (core dumped) clinfo
```
Offline
Please use [code][/code] tags, the BBS predates markdown by approximately your age.
https://wiki.archlinux.org/title/Core_d … _core_dump
Also please clarify
I have tried installing `rocm-opencl-runtime` with `ROC_ENABLE_PRE_VEGA=1`
Where are you exporting the environment, how do you start the davinci-resolve-check.py ?
Don#t try to sudo it, this isn't a permission issue.
Offline
Thank for the advice, I will keep it in mind.
I use `ROC_ENABLE_PRE_VEGA=1 python davinci-resolve-checker.py` to run the checker. here is the full output:
Using locale en_US
DaVinci Resolve checker 5.2.8
Installed DaVinci Resolve package: davinci-resolve 19.0-3
Chassis type: desktop
Installed OpenCL drivers:
opencl-rusticl-mesa 1:24.1.6-1
rocm-opencl-runtime 6.0.2-1
Presented GPUs:
Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (kernel driver in use: amdgpu)
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 580 Series (radeonsi, polaris10, LLVM 18.1.8, DRM 3.57, 6.10.6-arch1-1)
clinfo detected platforms and devices:
Warning: could not parse clinfo data!
Not found opencl platforms with appropriate GPUs. Check that you have installed corresponding driver. Otherwise you cannot run DR.
All seems good. You should be able to run DaVinci Resolve successfully.
as for the `clinfo` here is the output of `coredumpctl info`:
PID: 55851 (clinfo)
UID: 1000 (amiroof)
GID: 1000 (amiroof)
Signal: 6 (ABRT)
Timestamp: Thu 2024-08-29 17:40:32 +0330 (10s ago)
Command Line: clinfo detected platforms and devices:
Executable: /opt/rocm/bin/clinfo
Control Group: /user.slice/user-1000.slice/session-1.scope
Unit: session-1.scope
Slice: user-1000.slice
Session: 1
Owner UID: 1000 (amiroof)
Boot ID: 2cd27c99aac544ba8adf609391165e6f
Machine ID: 2e2f983893da440c8fe6c5408e9884ee
Hostname: amiroofPC
Storage: /var/lib/systemd/coredump/core.clinfo.1000.2cd27c99aac544ba8adf609391165e6f.55851.1724940632000000.zst (present)
Size on Disk: 2.2M
Message: Process 55851 (clinfo) of user 1000 dumped core.
Stack trace of thread 55851:
#0 0x000076aa262a53f4 n/a (libc.so.6 + 0x963f4)
#1 0x000076aa2624c120 raise (libc.so.6 + 0x3d120)
#2 0x000076aa262334c3 abort (libc.so.6 + 0x244c3)
#3 0x000076aa26234354 n/a (libc.so.6 + 0x25354)
#4 0x000076aa262af765 n/a (libc.so.6 + 0xa0765)
#5 0x000076aa262b1c4c n/a (libc.so.6 + 0xa2c4c)
#6 0x000076aa262b45ce __libc_free (libc.so.6 + 0xa55ce)
#7 0x000076aa16122aad n/a (libamdocl64.so + 0xa7aad)
#8 0x000076aa161a427d n/a (libamdocl64.so + 0x12927d)
#9 0x000076aa160f22cd n/a (libamdocl64.so + 0x772cd)
#10 0x000076aa262a88fb n/a (libc.so.6 + 0x998fb)
#11 0x000076aa262a8979 pthread_once (libc.so.6 + 0x99979)
#12 0x000076aa160f2100 clIcdGetPlatformIDsKHR (libamdocl64.so + 0x77100)
#13 0x000076aa266b84d4 n/a (libOpenCL.so.1 + 0x34d4)
#14 0x000076aa266b8980 n/a (libOpenCL.so.1 + 0x3980)
#15 0x000076aa262a88fb n/a (libc.so.6 + 0x998fb)
#16 0x000076aa262a8979 pthread_once (libc.so.6 + 0x99979)
#17 0x000076aa266b8a45 clGetPlatformIDs (libOpenCL.so.1 + 0x3a45)
and here is the full backtrace from `coredumpctl debug`:
Thread 3 (Thread 0x7a375e4006c0 (LWP 54809)):
#0 0x00007a3778923ced in ioctl () from /usr/lib/libc.so.6
No symbol table info available.
#1 0x00007a37768ccd11 in ?? () from /opt/rocm/lib/libhsakmt.so.1
No symbol table info available.
#2 0x00007a37768c5a09 in hsaKmtWaitOnMultipleEvents_Ext () from /opt/rocm/lib/libhsakmt.so.1
No symbol table info available.
#3 0x00007a375e67d9ee in ?? () from /opt/rocm/lib/libhsa-runtime64.so.1
No symbol table info available.
#4 0x00007a375e655ec7 in ?? () from /opt/rocm/lib/libhsa-runtime64.so.1
No symbol table info available.
#5 0x00007a375e67425b in ?? () from /opt/rocm/lib/libhsa-runtime64.so.1
No symbol table info available.
#6 0x00007a375e61ca6c in ?? () from /opt/rocm/lib/libhsa-runtime64.so.1
No symbol table info available.
#7 0x00007a37788a339d in ?? () from /usr/lib/libc.so.6
No symbol table info available.
#8 0x00007a377892849c in ?? () from /usr/lib/libc.so.6
No symbol table info available.
Thread 2 (Thread 0x7a375da006c0 (LWP 54810)):
#0 0x00007a377892848d in ?? () from /usr/lib/libc.so.6
No symbol table info available.
#1 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 1 (Thread 0x7a3778cc9740 (LWP 54806)):
#0 0x00007a37788a53f4 in ?? () from /usr/lib/libc.so.6
No symbol table info available.
#1 0x00007a377884c120 in raise () from /usr/lib/libc.so.6
No symbol table info available.
#2 0x00007a37788334c3 in abort () from /usr/lib/libc.so.6
No symbol table info available.
#3 0x00007a3778834354 in ?? () from /usr/lib/libc.so.6
No symbol table info available.
#4 0x00007a37788af765 in ?? () from /usr/lib/libc.so.6
No symbol table info available.
--Type <RET> for more, q to quit, c to continue without paging--ret
#5 0x00007a37788b1c4c in ?? () from /usr/lib/libc.so.6
No symbol table info available.
#6 0x00007a37788b45ce in free () from /usr/lib/libc.so.6
No symbol table info available.
#7 0x00007a3768722aad in ?? () from /opt/rocm/lib/libamdocl64.so
No symbol table info available.
#8 0x00007a37687a427d in ?? () from /opt/rocm/lib/libamdocl64.so
No symbol table info available.
#9 0x00007a37686f22cd in ?? () from /opt/rocm/lib/libamdocl64.so
No symbol table info available.
#10 0x00007a37788a88fb in ?? () from /usr/lib/libc.so.6
No symbol table info available.
#11 0x00007a37788a8979 in pthread_once () from /usr/lib/libc.so.6
No symbol table info available.
#12 0x00007a37686f2100 in clIcdGetPlatformIDsKHR () from /opt/rocm/lib/libamdocl64.so
No symbol table info available.
#13 0x00007a3778dee4d4 in ?? () from /opt/rocm/lib/libOpenCL.so.1
No symbol table info available.
#14 0x00007a3778dee980 in ?? () from /opt/rocm/lib/libOpenCL.so.1
No symbol table info available.
#15 0x00007a37788a88fb in ?? () from /usr/lib/libc.so.6
No symbol table info available.
#16 0x00007a37788a8979 in pthread_once () from /usr/lib/libc.so.6
No symbol table info available.
#17 0x00007a3778deea45 in clGetPlatformIDs () from /opt/rocm/lib/libOpenCL.so.1
No symbol table info available.
#18 0x00005d375d1ac1c8 in ?? ()
No symbol table info available.
#19 0x00005d375d1a1b7d in ?? ()
No symbol table info available.
#20 0x00007a3778834e08 in ?? () from /usr/lib/libc.so.6
No symbol table info available.
#21 0x00007a3778834ecc in __libc_start_main () from /usr/lib/libc.so.6
No symbol table info available.
#22 0x00005d375d1a8275 in ?? ()
No symbol table info available.
Offline
Warning: could not parse clinfo data!
'cause it crashes - or rather "aborts", probably https://github.com/rocm-arch/rocm-arch/issues/981
Is libhsa-runtime64.so.1 covered by debuginfod?
Edit: also https://retrace.fedoraproject.org/faf/reports/973282/
Last edited by seth (2024-08-29 15:24:10)
Offline
I tried running `find /etc/OpenCL/vendors/ -name '*.icd' | while read OPENCL_VENDOR_PATH ; do clinfo -l > /dev/null ; echo "$? ${OPENCL_VENDOR_PATH}" ; done` command found in the clinfo client and I got this input:
free(): invalid pointer
134 /etc/OpenCL/vendors/rusticl.icd
free(): invalid pointer
134 /etc/OpenCL/vendors/amdocl64.icd
Offline
cliinfo crashes, it'll most likely leave a backtrace and you want to check whether that's akin to the linked ones.
Offline
I have already posted a backtrace here and I have no idea how to proceed further with it. Is it really necessary?
Offline
Is libhsa-runtime64.so.1 covered by debuginfod?
It's necessary if you want to *know* whether you're facing the same as the linked bugs - otherwise you may just assume that, there's a good chance it is.
Offline
Since I am unable to resolve the crash, let's just say it is and move on. what should I do to fix it now?
Offline
You don't need to resolve it, just to trigger it and get a better backtrace to confirm it's the same.
However, your options are
1. wait for the bug to be fixed upstream
2. (according to the upstream bug) downgrade to rocm 5.7.1
3. don't use rocm w/ polaris GPUs (they're not "really" supported and it's not clear whether this or future bugs would ever get resolved because of this condition and you cannot indefinitely stall the package)
Offline
I don't think it will be fixed. What other alternatives do I have for rocm?
Offline
https://aur.archlinux.org/packages/open … mdgpu-pro/ and rusticl, https://wiki.archlinux.org/title/GPGPU#Rusticl
You seem to be correct in your expectations, btw: https://wiki.archlinux.org/title/Talk:GPGPU
Offline
I tried using proprietary drivers, when I run `progl glmark2` this is the output:
/usr/bin/progl: line 30: 2372 Segmentation fault (core dumped) "$@"
and the output of `glxinfo | grep "OpenGL vendor string" | cut -f2 -d":" | xargs` is `AMD` which shows the proprietary drivers are not in use.
running DR with it just results in a crash:
> progl /opt/resolve/bin/resolve
/usr/bin/progl: line 30: 1540 Segmentation fault (core dumped) "$@"
UPDATE:
Same things happens with `opencl-amd` package. here is the output of `coredumpctl info 68764` after getting `/usr/bin/progl: line 30: 68764 Segmentation fault (core dumped) "$@"` from `progl glmark2`:
PID: 68764 (glmark2)
UID: 1000 (amiroof)
GID: 1000 (amiroof)
Signal: 11 (SEGV)
Timestamp: Mon 2024-09-02 10:35:47 +0330 (13s ago)
Command Line: glmark2
Executable: /usr/bin/glmark2
Control Group: /user.slice/user-1000.slice/session-1.scope
Unit: session-1.scope
Slice: user-1000.slice
Session: 1
Owner UID: 1000 (amiroof)
Boot ID: 37da13f9cbb34bb8b3cb4c8bdef12a6c
Machine ID: 2e2f983893da440c8fe6c5408e9884ee
Hostname: amiroofPC
Storage: /var/lib/systemd/coredump/core.glmark2.1000.37da13f9cbb34bb8b3cb4c8bdef12a6c.68764.1725260747000000.zst (present)
Size on Disk: 1.2M
Message: Process 68764 (glmark2) of user 1000 dumped core.
Stack trace of thread 68764:
#0 0x00007ed72705cf95 InitXThreadsIfNeeded (amdgpu_dri.so + 0x145cf95)
#1 0x00007ed72a8e45b7 n/a (ld-linux-x86-64.so.2 + 0x45b7)
#2 0x00007ed72a8e46ad n/a (ld-linux-x86-64.so.2 + 0x46ad)
#3 0x00007ed72a8e15c2 _dl_catch_exception (ld-linux-x86-64.so.2 + 0x15c2)
#4 0x00007ed72a8eb4fc n/a (ld-linux-x86-64.so.2 + 0xb4fc)
#5 0x00007ed72a8e1523 _dl_catch_exception (ld-linux-x86-64.so.2 + 0x1523)
#6 0x00007ed72a8eb904 n/a (ld-linux-x86-64.so.2 + 0xb904)
#7 0x00007ed72a181f14 n/a (libc.so.6 + 0x8ff14)
#8 0x00007ed72a8e1523 _dl_catch_exception (ld-linux-x86-64.so.2 + 0x1523)
#9 0x00007ed72a8e1679 n/a (ld-linux-x86-64.so.2 + 0x1679)
#10 0x00007ed72a1819f3 n/a (libc.so.6 + 0x8f9f3)
#11 0x00007ed72a181fcf dlopen (libc.so.6 + 0x8ffcf)
#12 0x00005bdaeba1df30 n/a (glmark2 + 0x14f30)
#13 0x00005bdaeba1cfcc n/a (glmark2 + 0x13fcc)
#14 0x00005bdaeba1990d n/a (glmark2 + 0x1090d)
#15 0x00007ed72a117e08 n/a (libc.so.6 + 0x25e08)
#16 0x00007ed72a117ecc __libc_start_main (libc.so.6 + 0x25ecc)
#17 0x00005bdaeba1c6e5 n/a (glmark2 + 0x136e5)
ELF object binary architecture: AMD x86-64
Last edited by amiroof (2024-09-02 07:08:00)
Offline
This isn't the AMDGPU pro driver, did you also remove rocm-opencl-runtime?
What's the output/coredump of clinfo?
Offline
That's right. I also installed the `amdgpu-pro-oglp` which conflicts with rocm-opencl-runtime so that is automatically removed.
output of `coredumpctl info clinfo`:
PID: 38865 (clinfo)
UID: 1000 (amiroof)
GID: 1000 (amiroof)
Signal: 6 (ABRT)
Timestamp: Mon 2024-09-02 13:03:50 +0330 (1min 47s ago)
Command Line: clinfo
Executable: /opt/rocm-6.2.0/bin/clinfo
Control Group: /user.slice/user-1000.slice/session-1.scope
Unit: session-1.scope
Slice: user-1000.slice
Session: 1
Owner UID: 1000 (amiroof)
Boot ID: 87c9c90ef9234d38b5250ef915a64392
Machine ID: 2e2f983893da440c8fe6c5408e9884ee
Hostname: amiroofPC
Storage: /var/lib/systemd/coredump/core.clinfo.1000.87c9c90ef9234d38b5250ef915a64392.38865.1725269630000000.zst (present)
Size on Disk: 3.4M
Message: Process 38865 (clinfo) of user 1000 dumped core.
Module libamdocl-orca64.so without build-id.
Stack trace of thread 38865:
#0 0x00007264cb2a53f4 n/a (libc.so.6 + 0x963f4)
#1 0x00007264cb24c120 raise (libc.so.6 + 0x3d120)
#2 0x00007264cb2334c3 abort (libc.so.6 + 0x244c3)
#3 0x00007264cb234354 n/a (libc.so.6 + 0x25354)
#4 0x00007264cb2af765 n/a (libc.so.6 + 0xa0765)
#5 0x00007264cb2b1c4c n/a (libc.so.6 + 0xa2c4c)
#6 0x00007264cb2b45ce __libc_free (libc.so.6 + 0xa55ce)
#7 0x00007264b7526880 n/a (libamdocl64.so + 0xef880)
#8 0x00007264b752fac0 n/a (libamdocl64.so + 0xf8ac0)
#9 0x00007264b74ece92 n/a (libamdocl64.so + 0xb5e92)
#10 0x00007264b751cc0e n/a (libamdocl64.so + 0xe5c0e)
#11 0x00007264b74c77b5 n/a (libamdocl64.so + 0x907b5)
#12 0x00007264cb2a88fb n/a (libc.so.6 + 0x998fb)
#13 0x00007264cb2a8979 pthread_once (libc.so.6 + 0x99979)
#14 0x00007264b74c882f clIcdGetPlatformIDsKHR (libamdocl64.so + 0x9182f)
#15 0x00007264cb7c3750 n/a (libOpenCL.so.1 + 0x3750)
#16 0x00007264cb7c6155 n/a (libOpenCL.so.1 + 0x6155)
#17 0x00007264cb2a88fb n/a (libc.so.6 + 0x998fb)
#18 0x00007264cb2a8979 pthread_once (libc.so.6 + 0x99979)
#19 0x00007264cb7c4316 clGetPlatformIDs (libOpenCL.so.1 + 0x4316)
#20 0x00005777f3e467e4 n/a (clinfo + 0xb7e4)
#21 0x00005777f3e3e68b n/a (clinfo + 0x368b)
#22 0x00007264cb234e08 n/a (libc.so.6 + 0x25e08)
#23 0x00007264cb234ecc __libc_start_main (libc.so.6 + 0x25ecc)
and here is the backtrace:
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
[Current thread is 1 (Thread 0x7264cb757740 (LWP 38865))]
(gdb) bt
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1 0x00007264cb2a5463 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:78
#2 0x00007264cb24c120 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3 0x00007264cb2334c3 in __GI_abort () at abort.c:79
#4 0x00007264cb234354 in __libc_message_impl (fmt=fmt@entry=0x7264cb3c22f5 "%s\n") at ../sysdeps/posix/libc_fatal.c:132
#5 0x00007264cb2af765 in malloc_printerr (str=str@entry=0x7264cb3c0082 "free(): invalid pointer") at malloc.c:5772
#6 0x00007264cb2b1c4c in _int_free (av=<optimized out>, p=p@entry=0x60f8f0, have_lock=have_lock@entry=0) at malloc.c:4507
#7 0x00007264cb2b45ce in __GI___libc_free (mem=0x60f900) at malloc.c:3398
#8 0x00007264b7526880 in ?? () from /opt/rocm-6.2.0/bin/../lib/libamdocl64.so
#9 0x00007264b752fac0 in ?? () from /opt/rocm-6.2.0/bin/../lib/libamdocl64.so
#10 0x00007264b74ece92 in ?? () from /opt/rocm-6.2.0/bin/../lib/libamdocl64.so
#11 0x00007264b751cc0e in ?? () from /opt/rocm-6.2.0/bin/../lib/libamdocl64.so
#12 0x00007264b74c77b5 in ?? () from /opt/rocm-6.2.0/bin/../lib/libamdocl64.so
#13 0x00007264cb2a88fb in __pthread_once_slow (once_control=0x7264b75f5780, init_routine=0x7264cb4e03a0 <std::__once_proxy()>) at pthread_once.c:116
#14 0x00007264cb2a8979 in ___pthread_once (once_control=<optimized out>, init_routine=<optimized out>) at pthread_once.c:143
#15 0x00007264b74c882f in clIcdGetPlatformIDsKHR () from /opt/rocm-6.2.0/bin/../lib/libamdocl64.so
#16 0x00007264cb7c3750 in ?? () from /opt/rocm-6.2.0/bin/../lib/libOpenCL.so.1
#17 0x00007264cb7c6155 in ?? () from /opt/rocm-6.2.0/bin/../lib/libOpenCL.so.1
#18 0x00007264cb2a88fb in __pthread_once_slow (once_control=0x7264cb7ca110, init_routine=0x7264cb7c5e80) at pthread_once.c:116
#19 0x00007264cb2a8979 in ___pthread_once (once_control=<optimized out>, init_routine=<optimized out>) at pthread_once.c:143
#20 0x00007264cb7c4316 in clGetPlatformIDs () from /opt/rocm-6.2.0/bin/../lib/libOpenCL.so.1
#21 0x00005777f3e467e4 in ?? ()
#22 0x00005777f3e3e68b in ?? ()
#23 0x00007264cb234e08 in __libc_start_call_main (main=main@entry=0x5777f3e3e540, argc=argc@entry=1, argv=argv@entry=0x7ffe9eba6ba8)
at ../sysdeps/nptl/libc_start_call_main.h:58
#24 0x00007264cb234ecc in __libc_start_main_impl (main=0x5777f3e3e540, argc=1, argv=0x7ffe9eba6ba8, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffe9eba6b98) at ../csu/libc-start.c:360
#25 0x00005777f3e44415 in ?? ()
Offline
I also installed the `amdgpu-pro-oglp`
Why?
Backtrace is same as https://bbs.archlinux.org/viewtopic.php … 8#p2192758 (but libamdocl64.so is in a different location)
pacman -Qo /opt/rocm-6.2.0/lib/libamdocl64.so
Offline
Because the arch wiki for DR said so, and it seems to be my only hope.
here is the output:
/opt/rocm-6.2.0/lib/libamdocl64.so is owned by opencl-amd 1:6.2.0-1
Offline