MinecraftC icon indicating copy to clipboard operation
MinecraftC copied to clipboard

Raytracer.c:29 ERROR: Couldn't find a suitable platform for OpenCL

Open TheAwesome98-Real opened this issue 3 years ago • 10 comments

when I go into mods to turn on raytracing this error is printed in console (with a longer path to Raytracer.c)

TheAwesome98-Real avatar Aug 09 '22 13:08 TheAwesome98-Real

What are your pc specs?

johnpayne-dev avatar Aug 09 '22 13:08 johnpayne-dev

OS: Ubuntu 20.04.4 LTS x86_64 
Kernel: Linux 5.15.0-43-generic 
CPU: AMD Ryzen 5 2600X (12) @ 3.600GHz 
GPU: AMD ATI Radeon RX 470/480/570/570X/580/580X/590 
Memory: 16GiB

TheAwesome98-Real avatar Aug 09 '22 14:08 TheAwesome98-Real

Are you using AMD's latest gpu drivers? Try updating and if it still doesn't work try this sudo apt install mesa-opencl-icd

johnpayne-dev avatar Aug 09 '22 15:08 johnpayne-dev

i tried running the apt command and it failed saying i have held broken packages image I have encountered this error before but I can't remember how you fix it

TheAwesome98-Real avatar Aug 10 '22 09:08 TheAwesome98-Real

this will likely be fixed due to my updated graphics drivers, i'm just unable to build right now

TheAwesome98-Real avatar Sep 10 '23 18:09 TheAwesome98-Real

i found an old copy, it gets further than it used to but it segfaults now

TheAwesome98-Real avatar Sep 10 '23 18:09 TheAwesome98-Real