Skip to content

Error with run sample #4

@hefeng-oppo

Description

@hefeng-oppo

Hi, according to your guide, I has finished the compiler with webgpu-native-samples. But when run it , error accured,

-> error info:
nianrui@oppo:~/webgpu_module/webgpu-native-examples/build/Releasex64$ ./wgpu_sample_launcher triangle
17:19:47 INFO /home/nianrui/webgpu_module/webgpu-native-examples/src/main.c:19: Running example: triangle
GLFW Error occured, Error id: 65544, Description: X11: The DISPLAY environment variable is missing
Failed to initialize GLFW
Error: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
at CheckVkSuccessImpl (/home/nianrui/webgpu_module/webgpu-native-examples/external/dawn/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
at CreateVkInstance (/home/nianrui/webgpu_module/webgpu-native-examples/external/dawn/dawn/src/dawn/native/vulkan/BackendVk.cpp:363)
at Initialize (/home/nianrui/webgpu_module/webgpu-native-examples/external/dawn/dawn/src/dawn/native/vulkan/BackendVk.cpp:238)
at Create (/home/nianrui/webgpu_module/webgpu-native-examples/external/dawn/dawn/src/dawn/native/vulkan/BackendVk.cpp:168)
at operator() (/home/nianrui/webgpu_module/webgpu-native-examples/external/dawn/dawn/src/dawn/native/vulkan/BackendVk.cpp:423)

Available adapters:
Null backend ()
deviceID=0, vendorID=0x0, BackendType::Null, AdapterType::CPU
GLFW Error occured, Error id: 65537, Description: The GLFW library is not initialized
GLFW Error occured, Error id: 65537, Description: The GLFW library is not initialized

my environment is :
System: Linux oppo 4.15.0-175-generic #184-Ubuntu SMP Thu Mar 24 17:48:36 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
GPU: 00:02.0 VGA compatible controller: Intel Corporation Device 3e92

Did you met it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions