I’ve noticed some odd graphical effects with Qt programs, nothing that hinders usability but it’s a serious pain in the neck with some instances. Anyone know what’s causing this problem or how it can be fixed?
Some examples
VLC’s controls in fullscreen:
PureRef’s dialogs:
Tahoma2D’s startup window:
These typically have to do with text spacing and formatting, but sometimes include UI elements not showing at all (like that VLC screenshot). On rare occasion there’s screen tearing in PureRef, but usually it’s very minimal.
Are you using high dpi screen? Any Nvidia in play? Xorg or Wayland.
I think my display is considered high DPI? IDK at this point. I have two monitors, both of them are 1600x900. My GPU is Nvidia so I don’t really have a choice when it comes to Xorg vs Wayland.
Was just wondering whether qt apps are not scaled properly and possible tearing because of Nvidia driver. That happened to me on plasma on xorg in the past when using high dpi screen with another 1080 screen and using hybrid Nvidia/Intel card. Most of the tearing happens when Nvidia drivers are either not properly installed and/or something going on with Optimus manager.
Perhaps you could post more system infos to check.
I don’t think it’s a problem on the driver side as the only instance where screen tearing happened was with a single closed-source application, (PureRef) and even then it doesn’t happen 100% of the time. I have the full composition pipeline enabled in Nvidia settings so screen tearing never happens to other apps.
As for more system information, I don’t really have much else to share outside of a spec sheet and a link to the GTK theme I’m using. I’d also like to clarify that this is a desktop system, not a laptop.
Spec sheet and system theme
Hardware specs:
CPU: Core i5-4590
GPU: GeForce GT 1030
RAM: 16 GB DDR3 (4x 4 GB DIMMs)
Storage: 2x 250 GB SATA SSDs, 1x 1TB HDD and 1x 650GB HDD
Monitors: A Scepter E20 as the primary, and a Dell S2009W used in portrait mode as the secondary. I have an older Dell CRT plugged directly into the motherboard that I’m currently not using due to Nvidia Prime not working with the “force full composition pipeline” setting enabled
GTK theme: https://www.mate-look.org/p/1173113
Look at the wiki :
https://wiki.archlinux.org/title/Uniform_look_for_Qt_and_GTK_applications
I use qt5ct for the look of my QT apps, qt5-styleplugins AUR package is needed for GTK2 style. The only app that is not theme friendly is Virtual Box.
That’s only somewhat fixed the problem, the text formatting bugs and the like are still there for the most part.