Bug 497609

Summary: kinfo shows incorrect braphics platform
Product: [Applications] kinfocenter Reporter: Emmett Culley <lst_manage>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: sitter
Priority: NOR    
Version First Reported In: 6.2.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Emmett Culley 2024-12-17 15:49:10 UTC
SUMMARY
kinfocenter show graphics display as X11, even tough it seems I am on wayland

STEPS TO REPRODUCE
1.  run kinfo in terminal and note output shows Graphics platform: X11
2.  run env | grep -E -i 'x11|xorg|wayland' and note output
3. 

OBSERVED RESULT
See kinfo report under SOFTWARE/OS VERSIONS
running "env | grep -E -i 'x11|xorg|wayland'" outputs:
WAYLAND_DISPLAY=wayland-0
QT_WAYLAND_RECONNECT=1

EXPECTED RESULT
First, I expect to be on Wayland not X11.  In the login screen there are two choices at the bottom left corner:  Plasma and Plasma X11.

I choose Plasma and expect to be on wayland.  

SOFTWARE/OS VERSIONS
From kinfo in terminal:
Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.12.4-200.fc41.x86_64 (64-bit)
Graphics Platform: X11
Processors: 32 × AMD Ryzen 9 5950X 16-Core Processor
Memory: 125.7 GiB of RAM
Graphics Processor: AMD Radeon RX 550 / 550 Series

ADDITIONAL INFORMATION

This system was newly installed from KDE live image as Feroda 39 or 40, both of which had wayland available.  I did't try to use wayland exclusively until Fedora 41.

Now I am not sure I am even on wayland, but I suspect the env call tells the true story.
Comment 1 Emmett Culley 2024-12-17 15:55:59 UTC
Note that kinfocenter GUI also shows graphic platform as X11
Comment 2 Harald Sitter 2024-12-17 16:00:00 UTC
XDG_SESSION_TYPE is what the tool follows, if that's not wayland then your system is misconfigured.
Comment 3 Emmett Culley 2024-12-17 17:39:25 UTC
echo $XDG_SESSION_TYPE returns tty
Comment 4 Emmett Culley 2024-12-17 17:41:26 UTC
echo $XDG_SESSION_TYPE returns tty in a konsole session.
Comment 5 Emmett Culley 2024-12-17 17:44:42 UTC
If my system is mis-configured, can you provide clues to help me figure out how it is misconfigured, and what to do about it?

Keep in mind, this system was a fresh install to Fedora 39 or 40 and wayland worked then,  I only saw this issue after upgrading inplace to Fedora 41.