# Build project for Vulkan

**URL:** <https://forums.unrealengine.com/t/build-project-for-vulkan/62965>\
**Category:** Mobile\
**Tags:** unreal-engine, Android\
**Created:** [May 4, 2016, 7:12pm UTC](https://forums.unrealengine.com/t/build-project-for-vulkan/62965 "2016-05-04T19:12:07Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![Irigoyen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Irigoyen](https://forums.unrealengine.com/u/Irigoyen)\
**Post date:** [May 4, 2016, 7:12pm UTC](https://forums.unrealengine.com/t/build-project-for-vulkan/62965/1 "2016-05-04T19:12:07Z")

</div>

Is there any documentation on how to deploy to Vulkan?

I have my S7 and a project that I have successfully build in the past for Android.

I have tried building for Vulkan with 4.12 compiled from Github, I think I have everything required installed, but the build keeps failing.

Any hint on the steps to follow and requirements to successfully build for Vulkan would be much appreciated.

Thanks

---

<div class="post-metadata">

**Author:** ![s4ng3r](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/s4ng3r/32/556289_2.png) [@s4ng3r](https://forums.unrealengine.com/u/s4ng3r)\
**Post date:** [May 5, 2016, 7:07pm UTC](https://forums.unrealengine.com/t/build-project-for-vulkan/62965/2 "2016-05-05T19:07:51Z")

</div>

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

Regards!

---

<div class="post-metadata">

**Author:** ![Chris\_Babcock](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chris\_Babcock](https://forums.unrealengine.com/u/Chris_Babcock)\
**Post date:** [May 5, 2016, 7:35pm UTC](https://forums.unrealengine.com/t/build-project-for-vulkan/62965/3 "2016-05-05T19:35:09Z")

</div>

Hi Irigoyen,

With latest 4.12 you will need to first install LunarG Vulkan SDK on your PC. Build the editor. Run the editor and create your project. In the Android Project Settings, enable Supports Vulkan and package for ASTC or do a launch-on to your S7. Check the logcat to make sure it didn’t fall back to ES2 and used the Vulkan driver. You should see:

Compiled with Vulkan support  
Vulkan library detected, checking for available driver  
Vulkan driver available, will use VulkanRHI

You may also need to set the min/target SDK to 21; I don’t remember if this is necessary, but we do so in our tests.

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [May 5, 2016, 7:42pm UTC](https://forums.unrealengine.com/t/build-project-for-vulkan/62965/4 "2016-05-05T19:42:57Z")

</div>

Eeeh, ouch. Is it going to be available as stock checkbox option in maybe 4.13 ?

---

<div class="post-metadata">

**Author:** ![s4ng3r](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/s4ng3r/32/556289_2.png) [@s4ng3r](https://forums.unrealengine.com/u/s4ng3r)\
**Post date:** [May 5, 2016, 9:31pm UTC](https://forums.unrealengine.com/t/build-project-for-vulkan/62965/5 "2016-05-05T21:31:09Z")

</div>

Maybe it implemented in 4.12 cross our fingers 😉

Regards!

---

<div class="post-metadata">

**Author:** ![Chris\_Babcock](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chris\_Babcock](https://forums.unrealengine.com/u/Chris_Babcock)\
**Post date:** [May 6, 2016, 1:12am UTC](https://forums.unrealengine.com/t/build-project-for-vulkan/62965/6 "2016-05-06T01:12:43Z")

</div>

It will be easier once it moves out of Experimental.

---

<div class="post-metadata">

**Author:** ![Irigoyen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Irigoyen](https://forums.unrealengine.com/u/Irigoyen)\
**Post date:** [May 6, 2016, 11:20am UTC](https://forums.unrealengine.com/t/build-project-for-vulkan/62965/8 "2016-05-06T11:20:36Z")

</div>

Thank you for the answer.

I am getting this error, both in visual studio and Unreal, so I guess that is the problem, but I dont know why is not there.

Any hint?

Vulkan SDK is installed, but [SDK]/Source/lib/libvulkan.so was not found. Disabling Vulkan RHI for Android

Thanks again.

---

<div class="post-metadata">

**Author:** ![s4ng3r](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/s4ng3r/32/556289_2.png) [@s4ng3r](https://forums.unrealengine.com/u/s4ng3r)\
**Post date:** [May 6, 2016, 4:07pm UTC](https://forums.unrealengine.com/t/build-project-for-vulkan/62965/9 "2016-05-06T16:07:16Z")

</div>

> **[Ubuntu Vulkan driver installed but cannot locate libVulkan.so.1](https://forums.developer.nvidia.com/t/ubuntu-vulkan-driver-installed-but-cannot-locate-libvulkan-so-1/41556)**
>
> Hi, I have installed NVIDIA-Linux-x86\_64-355.00.27.run on Ubuntu 14.04 with Nvidia GeForce GT 630 and Intel i7 processor. on compiling https://github.com/SaschaWillems/Vulkan samples I am able to compile without error however running sample gives...

You need install libs in unix.

try with this. [Installing And Testing Vulkan On Ubuntu – LinuxGameCast](https://linuxgamecast.com/2016/02/installing-and-testing-vulkan-on-ubuntu/)

Regards!

---

<div class="post-metadata">

**Author:** ![Irigoyen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Irigoyen](https://forums.unrealengine.com/u/Irigoyen)\
**Post date:** [May 6, 2016, 4:54pm UTC](https://forums.unrealengine.com/t/build-project-for-vulkan/62965/10 "2016-05-06T16:54:47Z")

</div>

Thanks for the reply.

I am in windows though.  
I have tried to copy manually libvulkan.so from and then recompile but I get this

Error C:/VulkanSDK/1.0.11.0/Source/lib/libvulkan.so: incompatible target

---

<div class="post-metadata">

**Author:** ![Chris\_Babcock](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chris\_Babcock](https://forums.unrealengine.com/u/Chris_Babcock)\
**Post date:** [May 6, 2016, 7:12pm UTC](https://forums.unrealengine.com/t/build-project-for-vulkan/62965/11 "2016-05-06T19:12:21Z")

</div>

Hi Irigoyen,

This was a temporary workaround before Vulkan was released. The next 4.12 preview will remove this; we now check for it at runtime on device and properly fall back to ES2 if either the Vulkan loader is missing, or it is present but the device doesn’t have a Vulkan driver available. As I said above, _Experimental_ :rolleyes:

---

<div class="post-metadata">

**Author:** ![s4ng3r](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/s4ng3r/32/556289_2.png) [@s4ng3r](https://forums.unrealengine.com/u/s4ng3r)\
**Post date:** [May 6, 2016, 7:15pm UTC](https://forums.unrealengine.com/t/build-project-for-vulkan/62965/12 "2016-05-06T19:15:37Z")

</div>

Try to use the same settings.  
[https://vulkan.lunarg.com/app/docs/v1.0.11.1/getting\_started\_windows](https://vulkan.lunarg.com/app/docs/v1.0.11.1/getting_started_windows)

Look System Requirements. Visual Studio 2013 Update 4 and this things.

Regards!

---

<div class="post-metadata">

**Author:** ![Irigoyen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Irigoyen](https://forums.unrealengine.com/u/Irigoyen)\
**Post date:** [May 6, 2016, 7:43pm UTC](https://forums.unrealengine.com/t/build-project-for-vulkan/62965/13 "2016-05-06T19:43:47Z")

</div>

Thank you both for the help.

I’ll keep trying and report back.

---

<div class="post-metadata">

**Author:** ![Sunchaser](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sunchaser](https://forums.unrealengine.com/u/Sunchaser)\
**Post date:** [May 11, 2016, 3:57pm UTC](https://forums.unrealengine.com/t/build-project-for-vulkan/62965/14 "2016-05-11T15:57:09Z")

</div>

Is this possible on MacOSx ?  
I’m downloading UE4 4.12 Preview 3. What else do I need for me to be able to compile, for example, the Protostar demo?

---

<div class="post-metadata">

**Author:** ![Chris\_Babcock](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chris\_Babcock](https://forums.unrealengine.com/u/Chris_Babcock)\
**Post date:** [May 11, 2016, 6:53pm UTC](https://forums.unrealengine.com/t/build-project-for-vulkan/62965/15 "2016-05-11T18:53:34Z")

</div>

Hi Sunchaser,

At the moment we can only generate Vulkan shaders on Windows. Mac OSX to package for Android Vulkan will be possible before it moves out of experimental.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_23e5c04c1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_23e5c04c1](https://forums.unrealengine.com/u/anonymous_user_23e5c04c1)\
**Post date:** [May 13, 2016, 10:08am UTC](https://forums.unrealengine.com/t/build-project-for-vulkan/62965/16 "2016-05-13T10:08:12Z")

</div>

I’ve been trying to build project using Vulkan to my s7 edge but result isn’t quite what I expect.  
Any thoughts what might be the issue?  
Build with 12.3 on windows.  
In android settings only Vulkan is ticked.

 ![c93623845be05caeaffa9fc521f04bb27941f2a9.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/9/3/c93623845be05caeaffa9fc521f04bb27941f2a9.jpeg)

---

<div class="post-metadata">

**Author:** ![Chris\_Babcock](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chris\_Babcock](https://forums.unrealengine.com/u/Chris_Babcock)\
**Post date:** [May 13, 2016, 7:26pm UTC](https://forums.unrealengine.com/t/build-project-for-vulkan/62965/17 "2016-05-13T19:26:48Z")

</div>

Is this on an S7 Exynos (Mali)? We are still making adjustments to the VulkanRHI and there will be updated drivers correcting issues.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_23e5c04c1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_23e5c04c1](https://forums.unrealengine.com/u/anonymous_user_23e5c04c1)\
**Post date:** [May 16, 2016, 3:10pm UTC](https://forums.unrealengine.com/t/build-project-for-vulkan/62965/18 "2016-05-16T15:10:35Z")

</div>

Yes Chris that is correct. S7 Edge Exynos Mali.  
Not pushing or anything but do you have any timeframe or is it just “we’re working on it”?

---

<div class="post-metadata">

**Author:** ![Chris\_Babcock](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chris\_Babcock](https://forums.unrealengine.com/u/Chris_Babcock)\
**Post date:** [May 16, 2016, 4:25pm UTC](https://forums.unrealengine.com/t/build-project-for-vulkan/62965/19 "2016-05-16T16:25:28Z")

</div>

At this point we have fixed the issue on our side. I do not have any knowledge of release schedule for driver updates.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_23e5c04c1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_23e5c04c1](https://forums.unrealengine.com/u/anonymous_user_23e5c04c1)\
**Post date:** [May 17, 2016, 7:56am UTC](https://forums.unrealengine.com/t/build-project-for-vulkan/62965/20 "2016-05-17T07:56:21Z")

</div>

Thank you Chris
