question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Random system shutdown when switching to Nvidia

See original GitHub issue

Describe the bug Trying both 0.7.1-1 and 0.8-2 versions of optimus-manager I encounter the same issue, after 2 or 3 switches from the system-tray my laptop completely shuts off when switching from Intel to Nvidia.

With the prior releases of optimus-manager I have not encountered this problem.

System info OS: Manjaro Linux x86_64 Host: 20217 Lenovo IdeaPad Y510P Kernel: 5.0.5-1-MANJARO Resolution: 1920x1080 DE: KDE 5.15.3-1 CPU: Intel i7-4700MQ (8) @ 3.400GHz GPU: Intel 4th Gen Core Processor GPU: NVIDIA GeForce GT 750M Memory: 1958MiB / 7892MiB

Logs I cannot, or I don’t know where I can find the logs because the laptop completely shuts down.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:20 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
Soctereancommented, May 10, 2019

I have tested the new modifications made and now the problem with sessions not closing is gone and in my testing the system didn’t shut down randomly anymore.

Still there remains the problem with sddm.conf in Manjaro because of DisplayCommand and DisplayStopCommand but I believe that this issue can be closed.

Thank you for your help!

0reactions
Soctereancommented, May 9, 2019

No I didn’t made any changes to sddm.conf

pacman -Qo /etc/sddm.conf outputs: error: No package owns /etc/sddm.conf

And yes, running loginctl gives me 2 sessions:

SESSION  UID USER      SEAT  TTY
      2 1000 socterean seat0    
      5 1000 socterean seat0    

2 sessions listed.

And journalctl -u systemd-logind -b0 --no-pager outputs:

-- Logs begin at Sat 2018-12-08 17:55:27 EET, end at Thu 2019-05-09 21:08:24 EEST. --
mai 09 20:55:32 soptereanc-pc systemd[1]: Starting Login Service...
mai 09 20:55:33 soptereanc-pc systemd-logind[714]: New seat seat0.
mai 09 20:55:33 soptereanc-pc systemd-logind[714]: Watching system buttons on /dev/input/event3 (Power Button)
mai 09 20:55:33 soptereanc-pc systemd-logind[714]: Watching system buttons on /dev/input/event0 (Power Button)
mai 09 20:55:33 soptereanc-pc systemd-logind[714]: Watching system buttons on /dev/input/event1 (Sleep Button)
mai 09 20:55:33 soptereanc-pc systemd-logind[714]: Watching system buttons on /dev/input/event2 (Lid Switch)
mai 09 20:55:33 soptereanc-pc systemd-logind[714]: Watching system buttons on /dev/input/event5 (Logitech USB Receiver)
mai 09 20:55:33 soptereanc-pc systemd-logind[714]: Watching system buttons on /dev/input/event7 (Logitech USB Receiver Consumer Control)
mai 09 20:55:33 soptereanc-pc systemd-logind[714]: Watching system buttons on /dev/input/event8 (Logitech USB Receiver System Control)
mai 09 20:55:34 soptereanc-pc systemd-logind[714]: Watching system buttons on /dev/input/event4 (AT Translated Set 2 keyboard)
mai 09 20:55:38 soptereanc-pc systemd[1]: Started Login Service.
mai 09 20:55:58 soptereanc-pc systemd-logind[714]: New session c1 of user sddm.
mai 09 20:56:22 soptereanc-pc systemd-logind[714]: New session 2 of user socterean.
mai 09 20:56:22 soptereanc-pc systemd-logind[714]: Session c1 logged out. Waiting for processes to exit.
mai 09 20:56:22 soptereanc-pc systemd-logind[714]: Removed session c1.
mai 09 21:07:22 soptereanc-pc systemd-logind[714]: Session 2 logged out. Waiting for processes to exit.
mai 09 21:07:26 soptereanc-pc systemd-logind[714]: New session c2 of user sddm.
mai 09 21:07:42 soptereanc-pc systemd-logind[714]: New session 5 of user socterean.
mai 09 21:07:42 soptereanc-pc systemd-logind[714]: Session c2 logged out. Waiting for processes to exit.
mai 09 21:07:42 soptereanc-pc systemd-logind[714]: Removed session c2.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Replaced GPU, had Random Shut Down - Linus Tech Tips
In your very first message, your computer shut down when you replaced your GPU. If you did not do anything to any other...
Read more >
Just installed new GPU, PSU and now pc shuts off randomly.
Reinstall the newest driver for that card. If it doesn't work, try your GPU to another computer if it's alive. If the same...
Read more >
Shutting down randomly? - Jetson Nano
During boot it randomly turns off, the power led turns off and the display output goes dark. My first instinct is that its...
Read more >
Computer shuts down after graphics card installation when ...
I built a computer 3 years ago, and a few months ago I installed a new graphics card (3060ti) It seemed to work...
Read more >
Computer randomly shuts down (seems related to my GPU)
Update for future readers: It turned out to be a GPU sag issue. I was able to solve it by putting something in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found