https://open-source-silicon.dev logo
Title
h

Harald Pretl

03/17/2023, 9:42 PM
@Tim Edwards Since a few releases (maybe related to upgrading to Ubuntu 22.04 as the base OS), we have had an issue with
magic
in our Docker. The display is broken, in that the screen refresh is not working properly. Some menu items do not show up when dropping down a menu, and also, in the layout window, when zooming or moving, the refresh is not working properly, and the display of the layout looks garbled. This only seems to happen when using XQuartz (X11) on the Mac. I know this description is a bit fuzzy, but: Any idea what could be the issue? Other tools (
xschem
,
KLayout
) don’t show this behavior.
t

Tim Edwards

03/17/2023, 11:27 PM
Have you tried all three graphics interfaces (X11, Cairo, and OpenGL)? Although that would not affect menu items. In fact, menu issues should be entirely disassociated from drawing window issues; the menu is entirely taken care of by Tcl/Tk, whereas drawing on the layout window makes direct calls to one of the three graphics libraries.
h

Harald Pretl

03/19/2023, 3:54 PM
I ran a few tests: • X11 works fine in the layout window, rare glitches in the top down menus. • XR has heavy issues in the layout window, even a redraw does not work, see example after a few zoom in/out. • OGL does not work in our Docker VM.
image.png
Is there a disadvantage of
X11
vs.
XR
? If not, then I would just switch the default calling to
X11
as a kind of hotfix.
@Tim Edwards The “fix” of using
X11
works nicely, but any idea what might be wrong with
XR
? I have no insight into XQuartz, and there are not much settings to change, unfortunately.