No option to select a graphics platform

After system update wayland disappeared. Its installed in pacman, but theres no option to select it on the login screen. Now im stuck on x11

what login manager, what DE, when you say ā€œIts installed in pacmanā€ specifically what is installed?

Sorry for the lack of information.
I have sddm and kde plasma. Im not sure about the login manager, where can I find it?

Wayland package and the other components for it that were previously installed with the system

Is this what you mean?

yeah, nothing there

If you type kinfo in a terminal , what does it show ?

kinfo                                                                ī‚¶ āœ” ī‚¶ 19:51:58 ī‚“
Operating System: EndeavourOS 
KDE Plasma Version: 6.6.3
KDE Frameworks Version: 6.24.0
Qt Version: 6.11.0
Kernel Version: 6.19.10-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 Ɨ AMD Ryzen 5 7600 6-Core Processor
Memory: 16 GiB of RAM (14.7 GiB usable)
Graphics Processor: AMD Ryzen 5 7600 6-Core Processor
Operating System: EndeavourOS
KDE Plasma Version: 6.6.3
KDE Frameworks Version: 6.24.0
Qt Version: 6.11.0
Kernel Version: 6.19.10-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 12 Ɨ 11th Gen IntelĀ® Coreā„¢ i5-11400F @ 2.60GHz
Memory: 32 GiB of RAM (31.2 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 4060 Ti

If you haven’t reinstalled already, this are things you can try.
If you use the sddm greeter.
Go to system settings type sddm in the search box and click on the option given, next on the behaviour option on the top of the window, and see if autologin gives you a wayland option, tick the boxes and click apply, and reboot. If you are in wayland now, don’t start anything e.g. Vivaldi to avoid the Kwallet popup to logon , next reverse the changes you made, click apply and reboot. Now see if you have got the options back on the login screen.
If that doesn’t work creating a second user might work.
As a last resort (that I can think of that is) go to this page.

And next go to paragraph 2.12 (note:you will have to create the mentioned 10-wayland conf. file yourself).

Reinstallation did not give any results, sddm settings only show X11.
Creating the 10-wayland.conf file didnt help either. I entered the lines into the file as described in section 2.12.1

Tried downgrading nvidia drivers and creating a new user, still doesnt solve the problem

Is plasma-wayland-session installed? Try running pacman -Syu --needed plasma-wayland-session

error: target not found: plasma-wayland-session

Sorry, it was only a guess based on plasma-x11 session.

Try reinstalling plasma-workspace

The solution was simple all along—thank you

I’ve run into this before when switching between Wayland and X11. Sometimes the display manager configuration gets a bit stubborn. It might be worth checking your /etc/gdm/custom.conf (if you’re on GNOME) to see if ā€˜WaylandEnable=false’ is uncommented. That often hides the session selection gear icon entirely until it’s toggled back.

Just for your information Plasma is not Gnome and uses SDDM not GDM, and this thread seems to have been about a user that missed a package that in normal circumstances should have been installed, how it happened is a total mystery to me, because we don’t know the complet story behind all this.

More likely, one of the files from that package was deleted and reinstalling that package restored the missing file.

In this case, /usr/share/wayland-sessions/plasma.desktop

Yes I agree but I meant to say how this package was deleted is a mystery to me.