Kinfo does not report graphics platform

when you run kinfo from a command line it reports everything about your system, except for the graphics platform.

i found this relevant bug report

and there appears to be a solution that was approved by @ngraham in 2024

so what happens next?

does this patch eventually make it out to distros or is there something else that needs to happen?

it would be helpful for this discuss website to be able to just have ppl post the output of kinfo but alas it leaves out what is perhaps the most relevant fact.

Patch gets pushed and should be dealt with by the kinfo packagers of whatever distribution you are using.

[brian@thinkpad ~]: kinfo
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Kernel Version: 6.16.10-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 PRO 7840U w/ Radeon 780M Graphics
Memory: 32 GiB of RAM (30.0 GiB usable)
Graphics Processor: AMD Radeon 780M Graphics
[brian@thinkpad ~]: 

1 Like

On Fedora 42, from a terminal emulator inside a Plasma Wayland session:

Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.2
Kernel Version: 6.16.11-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700X 8-Core Processor
Memory: 32 GiB of RAM (31.3 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 3060 Ti

From a text-mode terminal, i.e. outside a Plasma session (on Fedora I did this by hitting Ctrl-Alt-F3 and logging in to a text mode session):

Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.2
Kernel Version: 6.16.11-200.fc42.x86_64 (64-bit)
Graphics Platform: offscreen
Processors: 16 × AMD Ryzen 7 5700X 8-Core Processor
Memory: 32 GiB of RAM (31.3 GiB usable)

Both as expected.

Seeing your output I just remembered to check for updates. :rofl:

1 Like

Indeed. I suspect it’ll never be backported into Plasma 5 unless a distro writes a custom patch, since the code is Plasma 6-specific:

if [ "$XDG_SESSION_TYPE" = "wayland" ]; then
  exec kcmshell6 kcm_about-distro --args dump --platform wayland
elif [ -n "${DISPLAY+x}" ]; then
  exec kcmshell6 kcm_about-distro --args dump --platform xcb
else
  exec kcmshell6 kcm_about-distro --args dump --platform offscreen
fi
1 Like

there were apparently two commits at the time, i assume one for plasma 5 and the other for plasma 6.

i guess the plasma 5 one never made it into my distro…. i’ll take it up over there.

I have always just asked for people to use KInfoCenter. Quick and easy, no terminal, and can be found in System Settings, among other places. To be honest, in my 23+ years on KDE user forums, chat, etc, I didn’t even notice kinfo until recently.

I suspect those distros on Plasma 5 still might not bother going through any of their often time-consuming processes to approve and allow an update to patch the terminal application when a more widely known option is available.

1 Like

It’s the same (Plasma 6) code change, committed separately into two different branches.

1 Like