Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.

Blank screen with blinking cursor after install steps #4

Open
klundry opened this issue Jul 6, 2020 · 6 comments
Open

Blank screen with blinking cursor after install steps #4

klundry opened this issue Jul 6, 2020 · 6 comments

Comments

@klundry
Copy link

klundry commented Jul 6, 2020

What I did:

  1. Install postmarketos with pmbootstrap.
  2. Boot the pinephone with the postmarketos sd card
  3. SSH into the pinephone and run all the install commands
  4. Reboot

Everything completed without errors as far as I could tell and I can still ssh into the phone. On the Pinephone screen however I only get a blank screen with blinking cursor in the top left after rebooting. I've started from scratch twice with the same result.

@Dejvino
Copy link
Owner

Dejvino commented Aug 5, 2020

I had the same result when trying this on a newer postmarketos installation and I expect this is due to issue #3

@lazmol
Copy link

lazmol commented Apr 6, 2021

Hello,
I think I have similar issue but on arch.
I have installed Danctnix arch linux (flashed archlinux-pinephone-phosh-20210331.img)
Then installed dependencies:
sudo pacman -S sway waybar bemenu swaylock swayidle squeekboard bash dialog tzdata
sudo pacman -S networkmanager htop pavucontrol
sudo pacman -S git make meson ninja cargo linux-headers libinput libevdev

Then ran the make commands (had some warnings after the install_system).
Then sudo systemctl disable phosh
Then changed to HandlePowerKey=suspend in /etc/systemd/logind.conf and rebooted.
I am stuck with the arch penguin and the spinning loader.
Mounted the system and did the change recommended in #3 to no avail.

Do you have an idea what might have gone wrong or where to look for logs to debug this?
I really find this sway on pinephone a nice idea and would like to try it since I use sway on desktop too.

@Artturin
Copy link

Artturin commented Apr 6, 2021

Redirect the output of sway to a file

@lazmol
Copy link

lazmol commented Apr 7, 2021

Redirect the output of sway to a file

How to do that? I've extended the sway.desktop with a redirect to a log file:
Exec=dbus-run-session /usr/bin/sway > /var/log/sway.log
But after a reboot, then checking again the emmc contents, I have not found /var/log/sway.log.
Is it possible that phosh has to be deactivated other than sudo systemctl disable phosh? What about a login manager? Is there one with the phosh images? How do a I go back to tty login from phosh? (Maybe I should ask these on the pinephone arch telegram...)

@Dejvino
Copy link
Owner

Dejvino commented Apr 7, 2021

On Arch you have to enable sway.service in systemd:
sudo systemctl enable --now sway.service
This should add a link from /etc/systemd/system/graphical.target.wants/sway.service to /usr/lib/systemd/system/sway.service.

In case /usr/lib/systemd/system/sway.service is not part of the distribution, just copy it over from /usr/lib/systemd/system/phosh.service and replace ExecStart=/usr/bin/phosh with ExecStart=/usr/bin/sway.

@Dejvino
Copy link
Owner

Dejvino commented Apr 7, 2021

One little improvement worth doing on Arch:
Add EnvironmentFile=/etc/systemd/system/sway.env under the ExecStart line into the sway.service file, the referenced sway.env file should have this content:

MOZ_ENABLE_WAYLAND=1
GDK_GL=gles
QT_WAYLAND_DISABLE_WINDOWDECORATION=1
QT_QPA_PLATFORM=wayland

This improves Firefox performance a lot.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants