Menu

#29 Failed to initialize fosphor!

1.0
open
nobody
None
2022-12-31
2022-11-18
noodless
No

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?

1 Attachments

Related

Tickets: #29

Discussion

  • Cemaxecuter

    Cemaxecuter - 2022-11-18

    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.

     
    • noodless

      noodless - 2022-11-18

      Thank you very much, you are so nice!

       
      • noodless

        noodless - 2022-11-18

        I have intalled "intel-opencl-icd" through apt-get,but still failed to initialize fosphor! Looking forward to your reply.

         
  • noodless

    noodless - 2022-11-18

    I think I have installed opecl as the picture shows, right? But still can not use fosphor.

     
  • Cemaxecuter

    Cemaxecuter - 2022-11-18

    I checked, that is not working 22.04. I will do some research.

     
    • noodless

      noodless - 2022-11-21

      Did you find the resolution?

       
    • noodless

      noodless - 2022-11-21

      I still failed with Focal_r26(20.04), please help

       
  • Cemaxecuter

    Cemaxecuter - 2022-11-21

    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.

     
  • Cemaxecuter

    Cemaxecuter - 2022-12-31

    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

Log in to post a comment.