Failed to initialize fosphor!
I have tried the DragonOS_FocalX_R27 and R27.1 on my intel CPU, and I install the DragonOS through VMware on my Macbook.
Could you please tell me how to fix it?
You would have to install the opencl from intel as I can't include it by default. Plus you typically have to accept an agreeement during install. I'll jot down some steps on my end tomorrow and share the process.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Failed to initialize fosphor!
I have tried the DragonOS_FocalX_R27 and R27.1 on my intel CPU, and I install the DragonOS through VMware on my Macbook.
Could you please tell me how to fix it?
I've tried several differnet ways and currently no luck. I have no issues running fosphor on my laptop with Nvidia, but opencl w/ intel is a no go for me at the moment.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Confirmed working on both. Please let me know if ot works for you, assuming you see this. I will be rebuilding a gr-fosphor package but you should not need it.
Last edit: Cemaxecuter 2022-12-31
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You would have to install the opencl from intel as I can't include it by default. Plus you typically have to accept an agreeement during install. I'll jot down some steps on my end tomorrow and share the process.
Thank you very much, you are so nice!
I have intalled "intel-opencl-icd" through apt-get,but still failed to initialize fosphor! Looking forward to your reply.
I think I have installed opecl as the picture shows, right? But still can not use fosphor.
Skip the glfw/gr-fosphor parts/libs loaded as that’s already done but have a look at the rest here. I’ll check myself tonight or this weekend too
https://stackoverflow.com/questions/71139199/opencl-error-1001-gr-fosphor-with-intel-cpu-opencl
Sent from Proton Mail for iOS
On Thu, Nov 17, 2022 at 11:57 PM, noodless noodless@users.sourceforge.net wrote:
Related
Tickets: #29
I checked, that is not working 22.04. I will do some research.
Did you find the resolution?
I still failed with Focal_r26(20.04), please help
I've tried several differnet ways and currently no luck. I have no issues running fosphor on my laptop with Nvidia, but opencl w/ intel is a no go for me at the moment.
So good news. If you are running DragonOS FocalX and you have an intel cpu w/ gpu aspect to it (like Iris), then do this
sudo apt install clinfo
sudo apt remove libpocl-dev pocl-opencl-icd
sudo apt install intel-opencl-icd
test osmocom_fft -F
Now if you have a straight intel cpu (possibly works for amd too and maybe i guess for the combo i mention above)
sudo apt install clinfo
sudo apt remove libpocl-dev pocl-opencl-icd
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
sudo apt update
sudo apt install intel-oneapi-runtime-opencl -y
sudo apt install intel-oneapi-runtime-compilers intel-opencl-icd -y
Confirmed working on both. Please let me know if ot works for you, assuming you see this. I will be rebuilding a gr-fosphor package but you should not need it.
Last edit: Cemaxecuter 2022-12-31