ayufan-pine64 / linux-build

Pine64 Linux build scripts, tools and instructions (based on Longsleep work)
MIT License
154 stars 36 forks source link

[v0.7.5] Suspend-resume is broken #39

Closed Funmungus closed 7 years ago

Funmungus commented 7 years ago

Using Pinebook with default Mate desktop, starting from fresh 0.6.2 installation

Symptoms: 1) Closing laptop lid or suspend from the shutdown menu will put the Pinebook to sleep, but only wake to a black screen. 2) sudo systemctl suspend does not successfully suspend, and will be a black screen. This was only tried once, and may be a fluke.

Steps to reproduce: 1) Start with Pinebook v0.6.2 firmware 2) Use the following scripts from /usr/local/sbin

Workaround: 1) Downgrade firmware with the following scripts from /usr/local/sbin

Funmungus commented 7 years ago

So I have downgraded after installing sunxi libraries. Will sunxi, Mali, and egl still work, or is a newer kernel build required?

pfeerick commented 7 years ago

0.6.2 is the current 'stable' release... whereas 0.7.x are still pre-release, and hence buggy and instabilities are to be expected. For example, it's currently a 50/50 chance of the build suspending or locking up when you suspend (I've had both happen at one time or another before I disabled suspend), and then a 0% chance of it resuming... :-O the sunxi_drm is an experimental feature requiring the kernel changes in 0.7.x, so it basically won't be working now since you've downgraded the kernel back down to 0.6.2

Funmungus commented 7 years ago

I suspected as much. I have not fully read the changes from stable to current. I would guess it has to do with the sunxi changes but I still see it with sunxi turned off

ayufan commented 7 years ago

DId you had suspend issue on sunxidrm or regular non egl drivers?

Funmungus commented 7 years ago

I tested both with sunxi installed and enabled and without.

ayufan commented 7 years ago

The https://github.com/ayufan-pine64/linux-build/releases/tag/0.7.10 can suspend when old DE driver is used. Suspend still does not work on sunxidrm.