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

"Can not find GPU contains Graphic support" #48

Open
notshriram opened this issue Aug 14, 2023 · 1 comment
Open

"Can not find GPU contains Graphic support" #48

notshriram opened this issue Aug 14, 2023 · 1 comment

Comments

@notshriram
Copy link

I copied the vkApp example into my own project and it works great on M1 macOS. However, when I try to run it on my debian 12 laptop, it seems to be throwing this error.
I tried compiling with both g++12 and clang++-16. The App window opens for a fraction of a second and goes out.

[2023-08-14 21:13:30.066] [info] Create instance success
[2023-08-14 21:13:30.071] [info] Picked device name = Intel(R) UHD Graphics 620 (KBL GT2)
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_8bit_storage
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_16bit_storage
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_bind_memory2
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_buffer_device_address
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_copy_commands2
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_create_renderpass2
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_dedicated_allocation
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_deferred_host_operations
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_depth_stencil_resolve
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_descriptor_update_template
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_device_group
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_draw_indirect_count
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_driver_properties
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_dynamic_rendering
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_external_fence
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_external_fence_fd
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_external_memory
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_external_memory_fd
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_external_semaphore
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_external_semaphore_fd
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_format_feature_flags2
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_get_memory_requirements2
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_image_format_list
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_imageless_framebuffer
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_incremental_present
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_maintenance1
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_maintenance2
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_maintenance3
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_maintenance4
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_multiview
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_pipeline_executable_properties
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_pipeline_library
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_push_descriptor
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_relaxed_block_layout
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_sampler_mirror_clamp_to_edge
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_sampler_ycbcr_conversion
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_separate_depth_stencil_layouts
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_shader_atomic_int64
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_shader_clock
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_shader_draw_parameters
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_shader_float16_int8
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_shader_float_controls
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_shader_integer_dot_product
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_shader_non_semantic_info
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_shader_subgroup_extended_types
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_shader_subgroup_uniform_control_flow
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_shader_terminate_invocation
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_spirv_1_4
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_storage_buffer_storage_class
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_swapchain
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_swapchain_mutable_format
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_synchronization2
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_timeline_semaphore
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_uniform_buffer_standard_layout
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_variable_pointers
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_vulkan_memory_model
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_workgroup_memory_explicit_layout
[2023-08-14 21:13:30.071] [info] ext : VK_KHR_zero_initialize_workgroup_memory
[2023-08-14 21:13:30.071] [info] ext : VK_EXT_4444_formats
[2023-08-14 21:13:30.071] [info] ext : VK_EXT_border_color_swizzle
[2023-08-14 21:13:30.071] [info] ext : VK_EXT_buffer_device_address
[2023-08-14 21:13:30.071] [info] ext : VK_EXT_calibrated_timestamps
[2023-08-14 21:13:30.071] [info] ext : VK_EXT_color_write_enable
[2023-08-14 21:13:30.071] [info] ext : VK_EXT_conditional_rendering
[2023-08-14 21:13:30.071] [info] ext : VK_EXT_conservative_rasterization
[2023-08-14 21:13:30.071] [info] ext : VK_EXT_custom_border_color
[2023-08-14 21:13:30.071] [info] ext : VK_EXT_depth_clamp_zero_one
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_depth_clip_control
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_depth_clip_enable
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_descriptor_indexing
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_display_control
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_extended_dynamic_state
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_extended_dynamic_state2
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_extended_dynamic_state3
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_external_memory_dma_buf
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_external_memory_host
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_fragment_shader_interlock
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_global_priority
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_global_priority_query
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_host_query_reset
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_image_2d_view_of_3d
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_image_drm_format_modifier
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_image_robustness
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_image_view_min_lod
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_index_type_uint8
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_inline_uniform_block
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_line_rasterization
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_memory_budget
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_multi_draw
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_mutable_descriptor_type
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_non_seamless_cube_map
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_pci_bus_info
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_physical_device_drm
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_pipeline_creation_cache_control
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_pipeline_creation_feedback
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_post_depth_coverage
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_primitive_topology_list_restart
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_primitives_generated_query
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_private_data
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_provoking_vertex
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_queue_family_foreign
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_robustness2
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_sample_locations
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_sampler_filter_minmax
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_scalar_block_layout
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_separate_stencil_usage
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_shader_atomic_float
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_shader_atomic_float2
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_shader_demote_to_helper_invocation
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_shader_module_identifier
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_shader_stencil_export
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_shader_subgroup_ballot
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_shader_subgroup_vote
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_shader_viewport_index_layer
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_subgroup_size_control
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_texel_buffer_alignment
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_tooling_info
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_transform_feedback
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_vertex_attribute_divisor
[2023-08-14 21:13:30.072] [info] ext : VK_EXT_ycbcr_image_arrays
[2023-08-14 21:13:30.072] [info] ext : VK_GOOGLE_decorate_string
[2023-08-14 21:13:30.072] [info] ext : VK_GOOGLE_hlsl_functionality1
[2023-08-14 21:13:30.072] [info] ext : VK_GOOGLE_user_type
[2023-08-14 21:13:30.072] [info] ext : VK_INTEL_shader_integer_functions2
[2023-08-14 21:13:30.072] [info] ext : VK_NV_compute_shader_derivatives
[2023-08-14 21:13:30.072] [info] ext : VK_VALVE_mutable_descriptor_type
[2023-08-14 21:13:30.072] [info] dynamic state is enabled: 1
[2023-08-14 21:13:30.072] [error] Can not find GPU contains Graphic support
@RuiwenTang
Copy link
Owner

Maybe you can try to update the GPU driver.
I met the same problem on Ubuntu. But my computer uses Nvidia GPU, and when I installed the latest drivers, the problem disappeared.

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