Page 1 of 1

xyzz's Shader Compiler Problem (failed to mmap NULL page)

Posted: Tue Sep 06, 2016 1:42 am
by John Dupe
Just as the title says, I'm trying to compile shaders for the Vita using xyzz's shader compiler. I download the zip, and type

Code: Select all

make
I then try to compile my shader using

Code: Select all

./shacc --vertex shader.cg shader.gxp
It just tells me that it failed to mmap NULL page, and that the result was ffffffff.

Could someone please help? I really need this for a project I'm doing.

Re: xyzz's Shader Compiler Problem (failed to mmap NULL page

Posted: Tue Sep 06, 2016 6:43 pm
by xyz
have you tried doing what it tells you to?

Code: Select all

sudo -i
echo 0 > /proc/sys/vm/mmap_min_addr
# then run it again

Re: xyzz's Shader Compiler Problem (failed to mmap NULL page

Posted: Wed Sep 07, 2016 2:03 am
by John Dupe
xyz wrote:have you tried doing what it tells you to?

Code: Select all

sudo -i
echo 0 > /proc/sys/vm/mmap_min_addr
# then run it again
didn't work :\