Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VkResult " UNKNOWN_ERROR " #3

Closed
onlynovice opened this issue May 18, 2023 · 4 comments
Closed

VkResult " UNKNOWN_ERROR " #3

onlynovice opened this issue May 18, 2023 · 4 comments

Comments

@onlynovice
Copy link

onlynovice commented May 18, 2023

显卡是6500xt,编译成功,运行时出现:

devenv_IYdqKcHA2z

@onlynovice
Copy link
Author

onlynovice commented May 18, 2023

我看到这个异常是在raytraced_reflection调用之后出现的,请问这种情况是因为我是amd显卡,不能用光追吗

@onlynovice
Copy link
Author

我在RenderGraph里面的init函数中,把涉及光追的部分注释掉了,但是运行时还是会在调用到VulkanDesciptorSet::update函数的时候出问题

	auto RenderGraph::init(uint32_t width, uint32_t height) -> void
	{
                // ...
		builder->registerQueue(beginQ);
		builder->registerQueue(renderQ);
		builder->registerWithinQueue<on_begin_renderer::system>(renderQ);

		//raytracing::registerAccelerationStructureModule(beginQ, builder);
		bindless::registerBindlessModule(beginQ, renderQ, builder);
		shadow_map::registerShadowMap(beginQ, renderQ, builder);
		deferred_offscreen::registerGBufferRenderer(beginQ, renderQ, builder);
		sdf::registerGlobalDistanceRenderer(beginQ, renderQ, builder);
		sdf::registerGlobalSurfaceAtlas(beginQ, renderQ, builder);
		ddgi::registerDDGI(beginQ, renderQ, builder);
		//raytraced_reflection::registerRaytracedReflection(beginQ, renderQ, builder);
		//raytraced_shadow::registerRaytracedShadow(beginQ, renderQ, builder);
		deferred_lighting::registerDeferredLighting(beginQ, renderQ, builder);
		atmosphere_pass::registerAtmosphere(beginQ, renderQ, builder);
		skybox_renderer::registerSkyboxRenderer(beginQ, renderQ, builder);
		ddgi::registerDDGIVisualization(beginQ, renderQ, builder);
		sdf::registerSDFVisualizer(beginQ, renderQ, builder);
		final_screen_pass::registerFinalPass(renderQ, builder);
	}

devenv_FCdLZ964BD

@onlynovice
Copy link
Author

靠,原来是amd的问题,我换了4070的电脑,完美运行,哈哈哈哈哈哈

@flwmxd
Copy link
Owner

flwmxd commented May 18, 2023

there are some issues on AMD card, it might be the driver issue. if RTX is ok, that is cool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants