You are not logged in.

#1 2025-03-18 05:33:18

yousefosama
Member
Registered: 2025-03-05
Posts: 9

[resolved] GTK3/GTK4 applications graphical glitches & resizing lags o

I installed nvidia-390xx-dkms driver and used gnome (Xorg) for it to work, All applications like firefox works fine but any apps related to gtk or gnome like Settings apps
It's corners doesn't display correctly and it fells very lagy when resizing it

Last edited by yousefosama (2025-04-06 23:42:25)

Offline

#2 2025-03-18 07:12:34

seth
Member
Registered: 2012-09-03
Posts: 62,433

Re: [resolved] GTK3/GTK4 applications graphical glitches & resizing lags o

Does exporting either of
· GSK_RENDERER=cairo
· GSK_RENDERER=gl
· GSK_RENDERER=ngl
make any difference?

Offline

#3 2025-03-30 17:55:30

yousefosama
Member
Registered: 2025-03-05
Posts: 9

Re: [resolved] GTK3/GTK4 applications graphical glitches & resizing lags o

seth wrote:

Does exporting either of
· GSK_RENDERER=cairo
· GSK_RENDERER=gl
· GSK_RENDERER=ngl
make any difference?

Sorry for taking so long to respond, yes exporting GSK_RENDERER=cairo in profile file worked fine for me thanks for helping

Offline

#4 2025-03-30 20:04:27

seth
Member
Registered: 2012-09-03
Posts: 62,433

Re: [resolved] GTK3/GTK4 applications graphical glitches & resizing lags o

https://bbs.archlinux.org/viewtopic.php?id=303893 but I doubt that GSP is default or even available w/ 390xx
However, nvidia is notorious for being slow at resizing GL contexts so if it's only that, avoiding hardware acceleration will make /that/ aspect faster.

Pick your poison, I guees hmm
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#5 2025-03-31 04:06:46

aeonyx
Member
Registered: 2025-01-24
Posts: 1

Re: [resolved] GTK3/GTK4 applications graphical glitches & resizing lags o

Does your issue look like this by chance?

https://imgur.com/a/YgD5myt

I’m having a similar problem with resizing and app sluggishness with Gnome 48 when xwayland-native-scaling is enabled.

Here’s my post from the Gnome forums describing in more detail: https://discourse.gnome.org/t/gnome-48- … e/28013/12

Finding a solution has been a real head scratcher big_smile

Offline

#6 2025-04-06 13:34:31

yousefosama
Member
Registered: 2025-03-05
Posts: 9

Re: [resolved] GTK3/GTK4 applications graphical glitches & resizing lags o

aeonyx wrote:

Does your issue look like this by chance?

https://imgur.com/a/YgD5myt

I’m having a similar problem with resizing and app sluggishness with Gnome 48 when xwayland-native-scaling is enabled.

Here’s my post from the Gnome forums describing in more detail: https://discourse.gnome.org/t/gnome-48- … e/28013/12

Finding a solution has been a real head scratcher big_smile

I don't see any visual issues when resizing, it's only a delay and not smooth resizing when i tried apps like chromium, spotify, obsidian the delay happened but for native apps like nautilus and apps like firefox it was much more smooth and better resizing.
I tried that on both gnome and cinnamon and same results happen

Offline

#7 2025-04-06 13:52:59

yousefosama
Member
Registered: 2025-03-05
Posts: 9

Re: [resolved] GTK3/GTK4 applications graphical glitches & resizing lags o

I just found that disabling hardware acceleration in chromium fixes the problem, and running spotify and vscode with --disable-gpu fix it also, so maybe it's a problem with chromium & electron based apps?
How can i let all apps use --disable-gpu flag by default?

Offline

#8 2025-04-06 14:15:15

seth
Member
Registered: 2012-09-03
Posts: 62,433

Re: [resolved] GTK3/GTK4 applications graphical glitches & resizing lags o

not smooth resizing when i tried apps like chromium, spotify, obsidian the delay happened but for native apps like nautilus and apps like firefox it was much more smooth and better resizing.

You initially had issues with (all?) "gtk3/gtk4 applications" and addressed that w/ "GSK_RENDERER=cairo"
Is that no longer the case or is the variable still and place and relevant?

Please post the output of "glxinfo -B"

https://wiki.archlinux.org/title/Chromi … persistent
https://wiki.archlinux.org/title/Visual … figuration
https://wiki.archlinux.org/title/Spotify#HiDPI_Mode (eg, only for the AUR version of spotify)

Are the "non-native apps" flatpaks?
spotify and vscode will have similar config files,

Offline

#9 2025-04-06 15:40:40

yousefosama
Member
Registered: 2025-03-05
Posts: 9

Re: [resolved] GTK3/GTK4 applications graphical glitches & resizing lags o

seth wrote:

not smooth resizing when i tried apps like chromium, spotify, obsidian the delay happened but for native apps like nautilus and apps like firefox it was much more smooth and better resizing.

You initially had issues with (all?) "gtk3/gtk4 applications" and addressed that w/ "GSK_RENDERER=cairo"
Is that no longer the case or is the variable still and place and relevant?

Please post the output of "glxinfo -B"

https://wiki.archlinux.org/title/Chromi … persistent
https://wiki.archlinux.org/title/Visual … figuration
https://wiki.archlinux.org/title/Spotify#HiDPI_Mode (eg, only for the AUR version of spotify)

Are the "non-native apps" flatpaks?
spotify and vscode will have similar config files,

yes the first problem fixed with "GSK_RENDERER=cairo", but after that i found that another problem happen to electron based apps

"glxinfo -B" output:
name of display: :1
display: :1  screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 1024 MB
    Total available memory: 1024 MB
    Currently available dedicated video memory: 733 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: Quadro 2000/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 390.157
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 390.157
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 390.157
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Offline

#10 2025-04-06 15:41:39

yousefosama
Member
Registered: 2025-03-05
Posts: 9

Re: [resolved] GTK3/GTK4 applications graphical glitches & resizing lags o

seth wrote:

not smooth resizing when i tried apps like chromium, spotify, obsidian the delay happened but for native apps like nautilus and apps like firefox it was much more smooth and better resizing.

You initially had issues with (all?) "gtk3/gtk4 applications" and addressed that w/ "GSK_RENDERER=cairo"
Is that no longer the case or is the variable still and place and relevant?

Please post the output of "glxinfo -B"

https://wiki.archlinux.org/title/Chromi … persistent
https://wiki.archlinux.org/title/Visual … figuration
https://wiki.archlinux.org/title/Spotify#HiDPI_Mode (eg, only for the AUR version of spotify)

Are the "non-native apps" flatpaks?
spotify and vscode will have similar config files,

yes the first problem fixed with "GSK_RENDERER=cairo", but after that i found that another problem happen to electron based apps with resizing, or it was already their.

"glxinfo -B" output:
name of display: :1
display: :1  screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 1024 MB
    Total available memory: 1024 MB
    Currently available dedicated video memory: 733 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: Quadro 2000/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 390.157
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 390.157
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 390.157
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Last edited by yousefosama (2025-04-06 15:42:21)

Offline

#11 2025-04-06 19:42:35

seth
Member
Registered: 2012-09-03
Posts: 62,433

Re: [resolved] GTK3/GTK4 applications graphical glitches & resizing lags o

[*** EDIT ***]
https://bbs.archlinux.org/viewtopic.php … 4#p2235674
[*** /EDIT ***]


Please use [code][/code] tags. Edit your post in this regard.

You're using the nvidia driver, so that's not the problem and the only path forward would be the linked config files for those electron clients.
(Most support that in some capacity, but the config file names can vary - you'll have to google them or strace the client to see what files it looks at)

Do you get the same problems with eg. an openbox session instead of gnome?

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Last edited by seth (2025-04-06 19:57:40)

Offline

Board footer

Powered by FluxBB