Flickering Issues on Ubuntu 24.04

Dear Community,

I upgraded from Ubuntu 22.04 to 24.04 and since then, Slicer is constantly flickering when using it.

Does anybody else experience the same issues or knows where this might come from?

I use 5.7 but the issue also appears in 5.6.

Thank you in advance :slight_smile:

We use 24.04 and there is no flickering. Maybe the display drivers have been upgraded incorrectly? I’d start there (but I’m no Linux expert)

I have found out that the issue only appears on wayland and not on xorg.

So the drivers are up-to-date and seem to be okay - but thank you very much! :slight_smile:

I too don’t understand enough why Xorg works and wayland does not, but this seems to be a temporary fix.

I don’t have flickering issues on Wayland in Arch. There are other troubles like excessive console messages, splash screen and other windows strictly positioned according to KDE rules with self-built Slicer but not with downloadable factory archive.

All these are resolved however with:

export QT_QPA_PLATFORM=“xcb”

You may add this line to a startup bash script to simplify things, if it’s not done already.

Thank you for your answer. I have no experience with bash scripts, so the following 2 lines are what I use. However, this does not fix the issue yet

#!/bin/bash
export QT_QPA_PLATFORM="xcb"
/opt/Slicer5.7.0/Slicer "$@"