GithubHelp home page GithubHelp logo

Build errors about atlas HOT 2 OPEN

shujaatak avatar shujaatak commented on August 27, 2024
Build errors

from atlas.

Comments (2)

shujaatak avatar shujaatak commented on August 27, 2024

Update:
I commented the return statement of the following code which was throwing the second error, I also noted that thisif statementdoesn't get proved true as the printf statement is not executed. So,in my case, commenting the return statement can not be the cause of the crash :

if (availableFormats.size() == 1 && availableFormats[0].format == vk::Format::eUndefined)
{
    printf("Never Reach Here!");
    //return { vk::Format::eB8G8R8A8Unorm, vk::ColorSpaceKHR::eSrgbNonlinear };
}

Now atlas compiles successfully but it crashes at the startup. I run it with --shader-directory /home/shujaat/Desktop/Vulkan/atlas/build/bin/shaders -v:

[2020-09-08 14:03:11.100] [atlas] [info] initialize
[2020-09-08 14:03:11.100] [atlas] [info] shader directory.../home/shujaat/Desktop/Vulkan/atlas/build/bin/shaders
[2020-09-08 14:03:11.173] [atlas] [debug] create window
[2020-09-08 14:03:11.173] [instance] [info] initialize
[2020-09-08 14:03:11.208] [instance] [debug] enabled extensions: 2
[2020-09-08 14:03:11.208] [instance] [debug] 	VK_KHR_surface
[2020-09-08 14:03:11.208] [instance] [debug] 	VK_KHR_xcb_surface
[2020-09-08 14:03:11.208] [instance] [debug] validation layers are disabled
[2020-09-08 14:03:11.213] [instance] [debug] instance created.
[2020-09-08 14:03:11.213] [instance] [debug] surface created
[2020-09-08 14:03:11.219] [instance] [debug] found 1 device(s)
[2020-09-08 14:03:11.219] [instance] [debug] selected device #0 (Intel(R) HD Graphics 5500 (BDW GT2))
[2020-09-08 14:03:11.222] [instance] [debug] create device
[2020-09-08 14:03:11.223] [allocator] [info] initializing
[2020-09-08 14:03:11.223] [pipeline] [debug] shader directory set to /home/shujaat/Desktop/Vulkan/atlas/build/bin/shaders/
[2020-09-08 14:03:11.224] [pipeline] [debug] pipeline 'debug' created successfully
[2020-09-08 14:03:11.228] [scene <main>] [info] initialized
[2020-09-08 14:03:11.229] [pipeline] [debug] pipeline 'terrain' created successfully
[2020-09-08 14:03:11.229] [pipeline] [debug] pipeline 'grid' created successfully
Press <RETURN> to close this window...

from atlas.

shujaatak avatar shujaatak commented on August 27, 2024

Update:
Now when I ran it in Debug mode, I got this (The last error is hinting something useful):

[2020-09-08 14:18:35.454] [atlas] [info] initialize
[2020-09-08 14:18:35.454] [atlas] [info] shader directory.../home/shujaat/Desktop/Vulkan/atlas/build/bin/shaders
[2020-09-08 14:18:35.510] [atlas] [debug] create window
[2020-09-08 14:18:35.510] [instance] [info] initialize
[2020-09-08 14:18:35.548] [instance] [debug] enabled extensions: 3
[2020-09-08 14:18:35.548] [instance] [debug] 	VK_KHR_surface
[2020-09-08 14:18:35.548] [instance] [debug] 	VK_KHR_xcb_surface
[2020-09-08 14:18:35.548] [instance] [debug] 	VK_EXT_debug_report
[2020-09-08 14:18:36.223] [instance] [debug] instance created.
[2020-09-08 14:18:36.225] [instance] [debug] setup debug callback
[2020-09-08 14:18:36.225] [instance] [debug] surface created
[2020-09-08 14:18:36.231] [instance] [debug] found 1 device(s)
[2020-09-08 14:18:36.232] [instance] [debug] selected device #0 (Intel(R) HD Graphics 5500 (BDW GT2))
[2020-09-08 14:18:36.233] [instance] [debug] create device
[2020-09-08 14:18:36.246] [allocator] [info] initializing
[2020-09-08 14:18:36.247] [pipeline] [debug] shader directory set to /home/shujaat/Desktop/Vulkan/atlas/build/bin/shaders/
[2020-09-08 14:18:36.292] [pipeline] [debug] pipeline 'debug' created successfully
[2020-09-08 14:18:36.296] [scene <main>] [info] initialized
[2020-09-08 14:18:36.299] [pipeline] [debug] pipeline 'terrain' created successfully
[2020-09-08 14:18:36.301] [pipeline] [debug] pipeline 'grid' created successfully
[2020-09-08 14:18:36.328] [instance] [error]  [ VUID-VkRenderPassBeginInfo-framebuffer-parameter ] Object: 0x1a000000001a (Type = 24) | Invalid VkFramebuffer Object 0x1a000000001a. The Vulkan spec states: framebuffer must be a valid VkFramebuffer handle (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkRenderPassBeginInfo-framebuffer-parameter)
Press <RETURN> to close this window...

from atlas.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.