Skip to content

Issu in execution of samples #10

@BenLag2906

Description

@BenLag2906

HI,

After compilation of samples, I have the following error at execution
My environment :

  • GPU 3070 laptop
  • Ubuntu 22.04

Error descrirption :
./vk_sample
createSurfaceResources(204): -1=vkCreateSwapchainKHR(m_device, &swapCreateInfo, m_allocator, &m_swapchain)
vk_sample: /home/eekmekci/Downloads/TEST/NVIDIAImageScaling/samples/VK/src/DeviceResources.cpp:204: void DeviceResources::createSurfaceResources(): Assertion `0' failed.
Aborted (core dumped)

So I also run it on error inside a docker but for a display raison this time.

Image

Could you please have a look and provide a starting solution ?

Best regards

For installation I follow this items :

git clone https://github.com/NVIDIAGameWorks/NVIDIAImageScaling.git
apt install wget
wget -qO- https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo tee /etc/apt/trusted.gpg.d/lunarg.asc
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-jammy.list http://packages.lunarg.com/vulkan/lunarg-vulkan-jammy.list
sudo apt update
sudo apt install vulkan-sdk
apt install cmake
sudo apt-get install xorg-dev libglu1-mesa-dev
cmake .. -DNIS_VK_SAMPLE=ON
make

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions