~ghost08/photon

2 2

Photon not launching on Arch Linux

Details
Message ID
<CSOQPJPKNWJA.288ECCWQ41AHJ@hollister-laptop>
DKIM signature
missing
Download raw message
I have tried running photon on multiple arch linux systems using both
the AUR package and compiling from source. It works just fine on both
ubuntu and alpine linux. When I try and open it, it does not do anything
and it just hangs until I close it. I redirected stdout to a file and
nothing gets printed. I have tried feeds both with and without images
with the same outcome. I debugged it with dlv and it seems to hang on 
imgproc/clir_linux.go line 33 which is a call to the C init function.
Details
Message ID
<CSP3WK9FI2ND.3QK194S4MOX8U@micro-pc>
In-Reply-To
<CSOQPJPKNWJA.288ECCWQ41AHJ@hollister-laptop> (view parent)
DKIM signature
missing
Download raw message
This is great, that you've debugged it. But I don't know what's wrong.
When you redirect the output it should at least start with the log:

	imgproc: starting OpenCL initialization

try to install some opencl things (drivers, ocl-icd, ...)

----------------------------------
https://useplaintext.email/
pgp: https://mgyar.me/vladimir.gpg
Details
Message ID
<CSPKJKCP668F.2EAJGJG9M24QZ@hollister-laptop>
In-Reply-To
<CSP3WK9FI2ND.3QK194S4MOX8U@micro-pc> (view parent)
DKIM signature
missing
Download raw message
I tried installing some drivers and ocl-icd but what ended up working
was following the instructions here [1]. Before I made that change, I
tried other software which uses opencl which all hangs so this is
probably an archlinux thing and not related to Photon. 

[1]: https://forum.manjaro.org/t/clinfo-and-codes-using-opencl-hangs-forever-after-last-update/138541
Reply to thread Export thread (mbox)