NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
16.53k stars 13.02k forks source link

LightDM GTK greeter doesn't switch to greeter VT #60651

Open davidak opened 5 years ago

davidak commented 5 years ago

Issue description

Setup: Thinkpad X230 with no external display

I'm not able to reactivate the screen to login.

I tried moving finger on touchpad, clicking touchpad, hitting many buttons on keyboard including power button...

You hopefully find hints in the log at around 17:30 to 18:00. Then i pressed the ALT key and screen went on.

syslog_today.txt

@worldofpeace

Steps to reproduce

  1. leave computer running and go away for some time
  2. session get's locked
  3. i'm not able to unlock. the screen remains dark but i can ping the system, so it seems running

Technical details

worldofpeace commented 5 years ago

I'm pretty sure this is https://github.com/the-cavalry/light-locker/issues/138 and we noticed it in https://github.com/NixOS/nixpkgs/issues/60082#issuecomment-485851550

The most helpful issue I've glanced at was https://github.com/the-cavalry/light-locker/issues/114 and details with using modesetting vs intel driver.

Also reports of slick-greeter somehow being immune to the issue.

worldofpeace commented 5 years ago
I'm available on matrix and freenode for suggestions that maybe you can try
worldofpeace commented 5 years ago

@jtojnar Do you have any idea how I should debug this, or who to take issue with?

In https://github.com/the-cavalry/light-locker/issues/114 it described the issue not being present when not using modesetting driver with intel hardware or using an older kernel.

@davidak and I could reproduce this issue going away when using linuxPackages_4_9 or services.xserver.videoDrivers = [ "intel" ];.

worldofpeace commented 5 years ago

Hopeful bugreport against the i915 component

It's speculated that's is a poor interaction related to lightdm-gtk-greeter specifically, so another possible workaround would be to not use it.

Edit: it does appear that only slick-greeter doesn't have this issue...

stale[bot] commented 4 years ago

Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse. 3. Ask on the #nixos channel on irc.freenode.net.
davidak commented 4 years ago

i don't had this problem in a long time, so should be fixed

worldofpeace commented 4 years ago

It actually still is an issue, I think, if you use lightdm gtk greeter and lightlocker. For Pantheon, we don't use lightdm gtk greeter anymore so we never hit that issue. And as of gala master, it has its own embed screenlocker in the compositor.

stale[bot] commented 3 years ago

I marked this as stale due to inactivity. → More info