Skip to content

[BUG]Example "OpenGLESHelloAPI" Segmentation fault on Wayland build #94

@lijie005

Description

@lijie005

Description

Build commands:
cmake .. -DPVR_WINDOW_SYSTEM=Wayland -DPVR_BUILD_OPENGLES_EXAMPLES=On -DPVR_BUILD_VULKAN_EXAMPLES=Off -DCMAKE_BUILD_TYPE=Debug

Repro steps

Run OpenGLESHelloAPI example
It failed with Segmentation fault (core dumped)

Environment

  • SDK version: [R24.1-v5.12]
  • Operating System/Device: Ubuntu 22.04 with GNOME on Wayland

Additional Info

I have gdb into the source code examples/OpenGLES/01_HelloAPI/OpenGLESHelloAPI_LinuxWayland.cpp and found no wl_shell registeration occured in registerGlobalCallback()

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions