You are not logged in.

#1 2024-09-21 15:39:16

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,152
Website

[SOLVED] Black box around kgx and gnome-text-editor

Since the latest Gnome update, both kgx and gnome-text-editor are surrounded by a black box, which makes them annoying to use.
For the time being, I switched back to gnome-terminal and gedit respectively, but I'd like to find a solution for this graphics glitch.
The laptop uses a hi-DPI screen (3840x2400) which is scaled down to 1920x1200 via gsettings.
The graphics card is a CPU built-in AMD card:

03:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 24 [Radeon RX 6400/6500 XT/6500M] [1002:743f] (rev c3)
	Subsystem: Lenovo Device [17aa:22f3]
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu

If you need further information, please let me know.

Image


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#2 2024-09-21 18:55:42

snx9
Member
Registered: 2024-05-02
Posts: 6

Re: [SOLVED] Black box around kgx and gnome-text-editor

It might be the new vulkan renderer used as default for gtk4 apps.

try setting env variable GSK_RENDERER=ngl or GSK_RENDERER=gl and see if that helps

Offline

#3 2024-09-21 19:59:52

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,152
Website

Re: [SOLVED] Black box around kgx and gnome-text-editor

Thank you. Either option works.


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#4 2024-09-23 13:11:10

tekstryder
Member
Registered: 2013-02-14
Posts: 187

Re: [SOLVED] Black box around kgx and gnome-text-editor

schard wrote:

Since the latest Gnome update, both kgx and gnome-text-editor are surrounded by a black box...

03:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 24 [Radeon RX 6400/6500 XT/6500M] [1002:743f] (rev c3)

See also https://gitlab.gnome.org/GNOME/gtk/-/issues/6890

Perhaps the workaround there may be applicable in your case as well.

Offline

#5 2024-09-23 13:37:40

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,152
Website

Re: [SOLVED] Black box around kgx and gnome-text-editor

Thank you. I can confirm that replacing amdvlk with vulkan-radeon also solves the issue for me without the need to override GSK_RENDERER.


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

Board footer

Powered by FluxBB