Skip to content

OpenGL ES 3: Fail to start on aarch64: [glfw error 65543] #2790

Description

@tgunnoe

Describe the bug
Fails to start

To Reproduce
$ kitty

Expected behavior
Startup

Screenshots

[175 14:38:59.616720] [glfw error 65543]: EGL: Failed to create context: Arguments are inconsistent
[175 14:38:59.621982] Traceback (most recent call last):
  File "/nix/store/b9zhn4izh0c2xnhxk94s4rqshzc8jwr8-kitty-0.16.0/bin/../lib/kitty/kitty/main.py", line 351, in main
    _main()
  File "/nix/store/b9zhn4izh0c2xnhxk94s4rqshzc8jwr8-kitty-0.16.0/bin/../lib/kitty/kitty/main.py", line 344, in _main
    run_app(opts, args, bad_lines)
  File "/nix/store/b9zhn4izh0c2xnhxk94s4rqshzc8jwr8-kitty-0.16.0/bin/../lib/kitty/kitty/main.py", line 145, in run_app
    _run_app(opts, args, bad_lines)
  File "/nix/store/b9zhn4izh0c2xnhxk94s4rqshzc8jwr8-kitty-0.16.0/bin/../lib/kitty/kitty/main.py", line 129, in _run_app
    args.cls or appname, load_all_shaders)
ValueError: Failed to create GLFWwindow

Environment details
OS: NixOS 20.03 aarch64
on Pinebook Pro
RK-3399 and Mali-T860
Panfrost on Mesa 20.1, experimental OpenGL ES 3.0 support

 $ env PAN_MESA_DEBUG=gles3 glxinfo | grep OpenGL                            

OpenGL vendor string: Panfrost
OpenGL renderer string: Mali T860 (Panfrost)
OpenGL version string: 2.1 Mesa 20.1.0
OpenGL shading language version string: 1.20
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 20.1.0
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:

Output of kitty --debug-config

kitty 0.16.0 created by Kovid Goyal
Linux gammu 5.6.0 #1-NixOS SMP Thu Jan 1 00:00:01 UTC 1970 aarch64
<<< Welcome to NixOS 20.03.2262.2b417708c28 (\m) - \l >>>

Run `nixos-help` for the NixOS manual.
Running under: Wayland

Config options different from defaults:

Additional context

Is OpenGL ES 3.0 not enough to support kitty? If this isnt a bug, should there not be errors here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions