Draft: Initial implementation of command to swap wayland session #7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Some games run better on wayland and especially when remote playing. For instance Fifa 22 has flickering cinematics on Xorg.
Steam beta on Pipewire seemed to have solved a lot of issues, however it is broken again after some recent changes (from what I gather).
Although last time I had a full Xorg auto-login, it would be useful to have the wayland option while not at home. Even if things start working again, I need to take into consideration that an update may break it which will lock me outside of my system until I'm back home.
/etc/gdm/custom.conf needs to be edited to force wayland or Xorg on desktop auto-login. However, the following issues need to be solved:
One way to solve this is to have another process running on elevated privileges for the sole purpose of switching from wayland to xorg. Might need to dig further if this would be possible with current service privileges.