question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support Wayland with Linux wheels

See original GitHub issue

Currently, the Linux wheels are built on the manylinux2010 image with a few more X11-related libraries (libXinerama, libXrandr, libXcursor and libXi). This works well for X11 users, but on Wayland users still need to install the GLFW shared library themselves. Ideally, the Linux wheels would allow users of both X11 and Wayland to run GLFW without installing additional packages.

As far as I know, the wheel platform tags are all for X11 based systems so far. I’m not aware of any Wayland support for CentOS 6, which manylinux2010 is based on. manylinux2014 is based on CentOS 7, which seems to have some Wayland support, though it’s not the default.

  • Find out how stable the Wayland libraries are and whether a GLFW library built on manylinux2014 with Wayland packages would work on a more modern Wayland system, e.g. Ubuntu 19.04 or Archlinux
  • Change the library search to allow for two GLFW libraries to be included in a wheel
  • Change the library search to ensure the correct GLFW library will be loaded, depending on the current X11 or Wayland session, for users who have installed both libraries’ dependencies
  • Update the GitLab CI config to build both Wayland and X11 based libraries and package them in a single wheel

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
FlorianRhiemcommented, Feb 21, 2020

I’ve released this as part of version 1.11.0.

1reaction
almarkleincommented, Feb 21, 2020

This approach looks sound to me!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Wayland 1.21 Alpha Finally Introduces High-Resolution Scroll ...
High-resolution wheel scrolling is introduced to the wl_pointer protocol ... Linux 5.0 and newer have supported high resolution scrolling, ...
Read more >
No native wayland support in manylinux wheels #2529 - GitHub
There is no easy obviously correct way to do this. This touches manylinux (specified by Python devs), debian release schedule, SDL2, KDE, ...
Read more >
Blender: Wayland Support on Linux - Hacker News
Been great to see apps slowly getting more native Wayland support. ... wants to reinvent the wheel and paint it their favourite colour....
Read more >
Electron 12 has just been released with Wayland support
It may look to the Linux desktop user that waylsnd-based compositors are reinventing the wheel, but really the Linux desktop is changing lanes ......
Read more >
RFC: Wayland high-resolution wheel scrolling - Mailing Lists
I've been trying to sort out the new hi-res wheel scrolling that was added to linux 5.0 but it's been a bit of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found