
Hi Tom - yes, I would certainly not expect Chimera to natively support Wayland (it predates it, after all). And I wouldn't spend much time myself (or expect you to either) trying to make it work - unless a bunch of folks tell me that it works fine for them, so clearly I am holding it wrong! In my testing so far most X11 applications work fine with XWayland, including VMD for example. So I think Togl is the sticking point here. The underlying error comes from Togl and is "couldn't choose pixel format" and "Couldn't configure togl widget". XCrySDen also uses Togl and reports the same error with Wayland, but some folks have a workaround: https://unix.stackexchange.com/questions/702305/running-xcrysden-in-wayland. I'm not familiar enough with Tcl though to know whether that workaround would also work for Chimera or even where to inject it in the Chimera startup. On Mon, Jun 2, 2025 at 6:37 PM Tom Goddard <goddard@sonic.net> wrote:
Hi Ben,
I think your wish will come true that Chimera is not going to work directly on Wayland, and Chimera users should move to ChimeraX if they want to work on modern computer operating systems.
Chimera uses the Tk window toolkit for its user interface, an ancient package popular around 2000, and so it is probably easiest to explore if Tk can work with Wayland. Googling Tk Wayland says "Tk, the toolkit underlying Tkinter, does not have native Wayland support. Instead, Tk applications run under XWayland, a compatibility layer that allows X11 applications to run on Wayland compositors." Tkinter is the Python bindings for Tk and is what Chimera is using. Even if Tk could work directly with Wayland without XWayland, Chimera still may not work because Chimera needs OpenGL 3D graphics support and Togl is a Tk extension for making an OpenGL window that is even much less well supported than Tk. I don't know if Togl will work with XWayland.
Let us know if you figure anything out, good or bad. We have had no funding for Chimera development for about 10 years, all the funding, development and support is for ChimeraX. So we won't be undertaking any major work to make Chimera work on Wayland.
Tom
On Jun 2, 2025, at 5:45 PM, Ben Webb via Chimera-users <chimera-users@cgl.ucsf.edu> wrote:
RedHat Enterprise Linux 10 has dropped Xorg in favor of Wayland, and Fedora 43 will likely do the same. Fedora 42 already uses Wayland by default. Is Chimera expected to work with Wayland?
ChimeraX works fine in our environment with Wayland, but I have folks that still want to use Chimera. And they're getting a Togl failure at startup: "Display misconfiguration. Please increase the color quality (24 bit color or greater), update your display (graphics) driver, and/or upgrade your graphics card. Also see chimera installation instructions." I would love to tell them that "the Chimera folks say it doesn't work with Wayland so you need to switch to ChimeraX" (we can eke out another six months or so with Fedora 42 using Xorg) but if you think it *should* work, any clues as to where to look to tweak our configuration? Other than using the NVIDIA drivers (570.133.07), we are using a stock Fedora and Wayland install. _______________________________________________ Chimera-users mailing list -- chimera-users@cgl.ucsf.edu To unsubscribe send an email to chimera-users-leave@cgl.ucsf.edu Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimera-users@cgl.ucsf.edu/