Page MenuHomePhabricator

E stops updating screen, englightenment-remote -restart needed
Open, Pending on user inputPublic

Description

This bug has plagued me for the last two years or so, on a variety of E versions.

This happens rarely (once a week or so).

The effect is that E stops updating the screen (except for the mouse position&shape, see below) -- the currently visible app updates stop as well.
However, input is still processed, apparently, since I'm able to change virtual desktops -- which I only know, because the mouse pointer changes shape due to the type of window it's hovering on.

I can get things unstuck, by switching to a VT and issuing DISPLAY=:0 enlightenment-remote -restart -- after a while everything becomes fine -- apps are back and all is well.
Until the next such freeze.

deepfire created this task.Jul 12 2019, 4:28 AM
deepfire updated the task description. (Show Details)Jul 12 2019, 5:08 AM
ProhtMeyhet triaged this task as Pending on user input priority.Aug 7 2019, 2:54 AM
ProhtMeyhet added a subscriber: ProhtMeyhet.

this sounds like an out-of-memory situation, or generally high system load.

can you try to activate sysrq by sudo sh -c 'echo "1" > /proc/sys/kernel/sys' and use the 'F' key combination? 'F' will manually start the OOM Killer and you should be back with a working system. However it will kill the task which is using the most memory at the moment. Normally thats firefox... but it can be anything else. You can check easily if the kernel is overloaded by checking if the keyboards num lock key is reacting by pressing it repeatedly and seeing if it actually flashes. if it doesn't, of course the sysrq won't work either and you'll have to wait until it does.

Please check if you are using zram.

Also, the hardware bugs called spectre, meltdown and what not have severely dropped performance in the last two years, which affects my machine as well. you can try to turn them off with the kernel parameter "migitations=off". i don't recommend it, though...

this sounds like an out-of-memory situation, or generally high system load.

Far from it. Plenty of CPU/RAM free. No OOM in sight.

No zram used.

ProhtMeyhet added a project: enlightenment-git.

this sounds like an out-of-memory situation, or generally high system load.

Far from it. Plenty of CPU/RAM free. No OOM in sight.

No zram used.

hmm can you please upload a dmesg and a journalctl -b after that happens. please also state your hardware and distribution.

are you using X or wayland?

are you able to use gdb? i have this problem that the X server doesn't respond, which means enlightenment is just stuck waiting on X. you may find an explanation of how to gdb enlightenment here.

My apologies, I stopped using enlightenment.

Environment:

  • NixOS 19.09
  • Intel GPU

I can get things unstuck, by switching to a VT and issuing DISPLAY=:0 enlightenment-remote -restart -- after a while everything becomes fine -- apps are back and all is well.

BTW, this only worked until August -- since when enlightenment-remote started timing out on DBus, I think.

Also, I vaguely remember things in .xsession-errors -- a bunch of backtraces and something regarind surfaces being released or missing or something..

Sadly those files are gone.