Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
TheAwesome98-Real opened this issue Aug 9, 2022 · 6 comments

Comments

@TheAwesome98-Real
Copy link

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

@johnpayne-dev
Copy link
Owner

What are your pc specs?

@TheAwesome98-Real
Copy link
Author

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

@johnpayne-dev
Copy link
Owner

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

@TheAwesome98-Real
Copy link
Author

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
Copy link
Author

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

@TheAwesome98-Real
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants