cancel
Showing results for 
Search instead for 
Did you mean: 

OpenGL & Vulkan

fwgreuter
Journeyman III

vulkan unable to allocate memory

Hi,

I started a new job.

First assignment is to find out if existing video encoding using intel GPU can be faster by replacing intel with AMD GPU.

We are running on ubuntu 18.04 and have a board with AMD GPU

I downloaded AMF code and compiled and linked the simpleEncode sample code.

Since it links I assume the libraries are in place.

When I start the program is crashes even before it hits an breakpoint in the first line of main().

On my screen I see:

0119-00-21 14:54:42 D3A10740 [AMFEncoderVulkan]   Error: ../../../../../runtime/src/components/EncoderVulkan/EncoderVulkanH264Impl.cpp(265):Assertion failed:AllocateEncoderMemory() resOR: Unable to allocate Vulkan device memory for encoder(resor code : 0xFFFFFFFE)

Any has a hint how to fix this?

Best regards,

Frits

0 Likes
1 Solution
fwgreuter
Journeyman III

Fixed it.

The compile flags were not set correctly in my own workspace.

View solution in original post

0 Likes
1 Reply
fwgreuter
Journeyman III

Fixed it.

The compile flags were not set correctly in my own workspace.

0 Likes