Could not run the sketch (Target VM failed to initialize).
For more information, read Help → Troubleshooting.
I wish it was more specific.
It happens only when I ask for P2D or P3D (both in static or dynamic mode), so it seems to be an OPENGL related issue.
After reading many previous forum contributions (like this one, specificaly related to P3D), I see it can be related to fonts, to my graphic driver, to librairies, but there it happens without doing anything (but I might have upgraded my graphic card driver though),… I really don’t have a clue and I’m not sure when I used P3D mode the last time.
I’m using Processing 4.2 on kubuntu, with a radeon graphics card…
If anyone has a clue, knows how to get a more specific error message, or has experienced the same problem recently on a similar system, I’m interested to know more !
So…
I did a lot of tryouts about my graphic card configuration, and at one point, kubuntu was unable to start at all, except with the shell. I tried a lot of other things, and eventually uninstalled “amdgpu”…
Now my system works apparently fine, and P2D/P3D works too !
I didn’t write down seriously each step, so I just can tell I ended up succeding.
hi, i have the same problem. could you explain what archives and how did you uninstall “amdgpu”? because when i’ve search “amdgpu” i’ve found a lot of archives.
thanks!
thanks for your answer. i’ve also got ubuntu 22.04. on an old macbookPro. with GeForce 9600M GT/PCIe/SSE2. i’ve tried to uninstall amdgpu with synaptic but it says that is related to a lot of other archives, so i wonder how can i uninstall it without affecting something else… i’ll keep searching…
Sorry, when it finaly worked I was happy but I didn’t take notes or dig deeper…
What I can say is that it finaly works, and that my graphic cards seems to work fine too - 3D is fast,…)
hi again. this message is for someone reading topic. i uninstalled “undgpu” with synaptic and when i reboot i’ve got a black screen asking for my login … it doesn’t look good… so be carefull with these archives…