(02-11-2015, 01:54 PM)Bigpet Wrote:(02-11-2015, 07:47 AM)syphurith Wrote: Surely 0x0100 is less than 4KB, why not try modify the amount to 0x1000 instead? And from "include", there is "PTHREAD_STACK_MIN" which is defined as 4096 (0x1000). Eh.. The implementation of sys_ppu_thread_create is not so accurate as it may be..
I read that section too and thought that to myself but I can't be sure without either testing it on a real PS3 or disassembling the lv2 lib.
And yeah, most of the lv2 function that are implemented are really inaccurate at the moment. Very few even return all of the possible errorcodes given in the SDK.
I made a dirty hack about this minutes ago. Now it can automatically increase the stack size of created ppu thread (round up to products of 4KB). Along with the LLVM build of the version there is a test file, which is only designed to call pthread_attr_getstacksize to have a so-called stack size, while the main ppu thread create the test threads with specified stack size. I haven't contacted anyone for testing the SELF though, and would looking forward for its result.
Since i don't know which game OP tried to experience i can't tell if this would really fix the problem.
Download the build here: http://rghost.net/private/885SgSMFJ/b38d...3ec228227d (only 30 days, private)
BTW you may have to get the newest version of 7zip to unzip the archive..
Asus X450V, I5-3230M 2.6GHz, Nvidia GT720M. Windows x64 with VS2013.