Advertising (This ad goes away for registered users. You can Login or Register)

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

Open discussions on programming specifically for the PS Vita.
Forum rules
Forum rule Nº 15 is strictly enforced in this subforum.
Post Reply
John Dupe
Posts: 79
Joined: Sun Jun 28, 2015 9:24 pm

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

Post by John Dupe » Tue Sep 06, 2016 1:42 am

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.
Advertising
Stuff I've done:
libvita3d

xyz
Posts: 61
Joined: Thu Jan 20, 2011 7:06 pm

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

Post by xyz » Tue Sep 06, 2016 6:43 pm

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
Advertising

John Dupe
Posts: 79
Joined: Sun Jun 28, 2015 9:24 pm

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

Post by John Dupe » Wed Sep 07, 2016 2:03 am

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 :\
Stuff I've done:
libvita3d

Post Reply

Return to “Programming and Security”