Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Emacs works perfectly fine under xwayland. The recent pgtk feature branch does not use X anymore under wayland. What is not working for you?


Yes, 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.


Yeah, 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...


Why 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?


The 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.


Which 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.


I'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.


Interesting, 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)


I'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.


Yeah, I hear you and I am sad that your unit probably has some issue.. perhaps writing an email asking for a replacement?


I'll give that a shot, but AFAICT from the forum discussions, Pine isn't to amenable to shipping replacements without paying for them.


The note "segfaults on multiple displays" in the readme made me stay away from that.


I 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?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: