5 ms·
Emacs works perfectly fine under xwayland. The recent pgtk feature branch does not use X anymore under wayland. What is not working for you?
by ahendriksen 6y ago
Emacs works perfectly fine under xwayland. The recent pgtk feature branch does not use X anymore under wayland. What is not working for you?
- dleslie 6y agoYes, when Wayland acts like X then X apps sometimes work. In the process you abandon the security and performance features of Wayland. Getting xwayland working is another story. I can't seem to get it to work at all on my PinePhone; but to Wayland's credit, the phone crashes for all sorts of reasons.
- arghwhat 6y agoYeah, Wayland needs to act like X when using a pure X application. But emacs X/"gtk" frontend has been controversial for a few reasons, with work having been under way for quite a while for a new frontend, somewhat unrelated to Wayland. Xwayland not working on pinephone is ironically primarily an X problem, as Xwayland is just xorg-server compiled with only the Wayland backend enabled. And, as there are little to no xorg developers, fixing xorg is proving tricky as there is no one to make a new xorg release...
- kaba0 6y agoWhy would you abandon the security of wayland by an xwayland app? It only sees at most other xwayland apps. As for the pinephone part, I may not understand your point about “to Wayland’s credit”, do you think stability issues on the pinephone is due to wayland?
- dleslie 6y agoThe PinePhone has unstable hardware, it doesn't matter if I run X or Wayland and it doesn't matter what distribution I use. I can't keep it operating for more than 5 minutes before the screen goes to blank and/or it gets stuck in an endless reboot cycle that requires removing the battery to halt.
- kaba0 6y agoWhich distro? I have one as well and at least under mobian , while it is really far from stable, it works. But reboot cycles sound like a hardware bug rather than unstable hardware.
- dleslie 6y agoI've tried: Ubuntu Touch Mobian (phosh) PostmarketOS (sxmo, phosh) Manjaro (Phosh, Plasma and Lomiri) And multiple release versions of each; using multiple different sdcards as well as the on-board memory. The only OS that doesn't exhibit the reboot/black-screen issues for me is the one used to allow flashing of the device over USB. The factory test software works, all of the different OS variants; so if there is a hardware issue the factory test software isn't able to detect it. Notably, I've left the test software running without issue. I've even tried turning off all the hardware dip switches.
- kaba0 6y agoInteresting, but if you really are enthusiastic about the pinephone than perhaps try to order another motherboard (I’m thinking about it because the older has only 2 GB of ram)
- dleslie 6y agoI've got the Manjaro CE version, so it should be new enough. I'm also not flush wish cash, so... Yah, I'll be buying diapers for my toddler, not a motherboard that may or may not work. It's a shame, 'cause I really like the concept, and bought it for myself as a birthday gift. Thought it would be a fun project to hack on.
- kaba0 6y agoYeah, I hear you and I am sad that your unit probably has some issue.. perhaps writing an email asking for a replacement?
- one_comment 6y agoThe note "segfaults on multiple displays" in the readme made me stay away from that.
- ahendriksen 6y agoI have been plugging and unplugging multiple displays into my laptop since March. Usually I have emacs running locally (xwayland) and an emacsclient over X11 to a remote server. I have not experienced any issues so far. Maybe the readme is too conservative in this regard?