Skip to content

Port conky to MetalΒ #35

@npyl

Description

@npyl

Problem

X11 support is limited on macOS (see #5 , #37 , #29) and will probably become obsolete in the next few years now that Metal has made its way in, even OpenGL is considered obsolete by apple.

Solution

There are 2 solutions to this problem:

  • Add more #ifdefs inside conky for Metal stuff
  • Create a library that will bridge Xlib API to Metal API

The second option seems to be the best in our case, I am not sure if it is do-able yet but I am willing to try it out.

Caveats

In the linux world there exists the need to switch to more modern APIs (see Wayland) and ditch Xlib. This is understandable and a positive move for the longevity of the project. Problem is, if conky decides to transition to wayland our approach will be useless.

(Once solution to this would be to start a port of conky to wayland and implement a translation layer between wayland and metal.)

Epilogue

I am positive that if the bridge gets implemented then there is a big possibility that the Xquartz related problems will be fixed and conky will be able to run on macOS just like it does on linux.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions