Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

byte-swapped client fails #96

Closed
idaho-1 opened this issue Jan 7, 2024 · 2 comments
Closed

byte-swapped client fails #96

idaho-1 opened this issue Jan 7, 2024 · 2 comments

Comments

@idaho-1
Copy link

idaho-1 commented Jan 7, 2024

2023 Mac Mini M2 Pro Fedora 39
Firstly, congratulations and thanks for an amazing release!

When attempting to connect with PowerPC64 G5 based host or PowerPC G4 based host.
These are both big-endian, the connection is made but connection to X server fails:

lewis@fedora:~$ ssh -Y 10.1.200.13
(lewis@10.1.200.13) Password:
lewis@pseudotsuga ~ $ xclock
Prohibited client endianess, see the Xserver man page Error: Can't open display: localhost:11.0

Message notwithstanding man page for Xserver and Xwayland do not reference byte-swapped client.
I note that this is disabled by default but can be activated with option "-byteswappedclients"
This appears to be already enabled:

lewis@fedora:~$ ps ax | grep wayland
2129 tty2 Ssl+ 0:00 /usr/libexec/gdm-wayland-session /usr/bin/gnome-session
3372 ? Sl 0:00 /usr/bin/Xwayland :0 -rootless -noreset -accessx -core -auth /run/user/1000/.mutter-Xwaylandauth.NM4SG2 -listenfd 4 -listenfd 5 -displayfd 6 -initfd 7 -byteswappedclients -enable-ei-portal
6901 tty3 Ssl+ 0:00 /usr/libexec/gdm-wayland-session /usr/bin/gnome-session
13268 pts/5 S+ 0:00 grep --color=auto wayland

Little-endian clients work as expected.

@DavidBuchanan314
Copy link

DavidBuchanan314 commented Jan 7, 2024

This is not an asahi linux issue

https://fedoraproject.org/wiki/Changes/XServerProhibitsByteSwappedClients

@idaho-1
Copy link
Author

idaho-1 commented Jan 9, 2024

David,
Thanks for the link.
I checked the Fedora Wiki and installed 'gsettings' and 'dconf-editor' and turned on
the 'mutter' flag which turned on the 'Xwayland' option. I was a little confused
until I realized this is a "per-user" setting and I made the mistake of checking it as 'root'
where it was enabled but it failed for 'user' where it was not. I can confirm that this is not
a bug, it is a (slightly complicated) feature.
Byte swapped access to both a big-endian 64-bit G5 and big-endian 32-bit G4 does work
from Asahi-Fedora-39. Sorry for the confusion.

@idaho-1 idaho-1 closed this as completed Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants