Issue reproduction steps are not much clear. In log there is not any error related to nvidia. Can you please share video recording showing this issue? Also you should report this issue for Canonical also as this is PRIME setup with modeset driver.
Is it possible for you are do remote ssh to you linux system and generate nvidia bug report as soon as issue hit. I want to see logs when you see black screen on desktop. Are you able to switch to VT/console when seen black screen. If yes, you can run nvida bug report from there as well. *** /var/log/Xorg.1.log showing X fail to start with below error :
[ 1073.394] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[ 1073.394] (EE) NVIDIA: system's kernel log for additional error messages and
[ 1073.394] (EE) NVIDIA: consult the NVIDIA README for details.
[ 1073.395] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[ 1073.395] (EE) NVIDIA: system's kernel log for additional error messages and
[ 1073.395] (EE) NVIDIA: consult the NVIDIA README for details.
[ 1073.395] (WW) Falling back to old probe method for modesetting
[ 1073.395] (EE) No devices detected
.
From *** /etc/X11/xorg.conf looks like you are using default “modesetting” driver with nvidia driver for PRIME to work. Can you release “modesetting” driver with “Intel” and then test by starting X. I think you need XOrg intel driver package to do it.
Hello, I am experienceing this issue as well on an ASUS UX560U.
I tried going to nvidia-settings and using the Intel PRIME setting. I tried to log out and log in as suggested by nvidia-settings but that didn’t work (login screen loop). A reboot worked and I checked nvidia-settings which said I’m on the Intel profile. A suspend and resume worked with this settings.
However, switching back to the NVIDIA PRIME profile, logging out, not being able to log in properly, rebooting and making sure nvidia-settings reports NVIDIA PRIME - waking up from suspend did not work.
This made my suspect the problem is indeed an NVIDIA problem and not kernel related as my other research suggested. BTW, what is a PRIME profile? And if using the NVIDIA one the driver switches depending on graphics usage to preserve battery?
I do not use hibernation so I’m not checking it.
As per the link @mounir posted - I tried updating the initramfs and adding the boot options in grub (grub edit mode, not permanent) but that did not work. I did not try the policy-kit steps as they seemed irrelevant. Maybe this is not for the scope of this post and I should reply on mounir’s?
I hope I can get this working soon.
And also, I grepped up all of the Xorg.*.log files for NVIDIA or EE relating to that so I might find something such as the snippet @sandipt posted. There were none! That’s strange, so I also ask if this means that my problem is not NVIDIA related after all or maybe something else is fishy about the logs?
Now I’m sure I am facing the same problem as this particular thread talks about as -
Laptop is Asus R558U (930MX)
Tried Ubuntu 17.04, 16.04, Mint 18.1, 18.2, Solus, Fedora 26. Everywhere the same issue is there.
Sleep-Resume works with no problems with nouveau. It works fine with nvidia-prime setting (in Ubuntu/Mint) choosing Intel graphics (power saving mode).
It does not work when ONLY when the system runs on nvidia graphics.
I tried with many kernel versions (stable, unstable, everything) from 4.8 onwards.
Tried latest BIOS update as well.
From this much it is clear that this is an nvidia issue and not something else entirely.
Hi Sandipt,
Please look into this matter asap, and reply whatever diagnostics you need. I had given syslogs before in the other thread. I’m including it below as well. Also included is the nvidia-bug-report. (Also included is a video taken in June when I was trying with Kubuntu, I had posted this video in the other thread as per your suggestion).
I’m hoping to resolve this issue which is affecting me since I bought this laptop 6 months back. I am not expecting replies 2-3 days spaced which keep asking to try out minor things. That is not how support works. I am also an engineer and I’ve worked support too. Take this seriously, it is clear that so far the nvidia support for Linux is pathetic. To say the least.
Hi Jones,
wondering if you solved this issue… I’m experiencing the same problem in my ASUS laptop and haven’t been able to find a solution. It’s very annoying not being able to Suspend/Hibernate when wanted or needed and brute force a restart.
Thanks for any help you may give me.
Cheers,
Boris
Same here, very annoying. Asus ZenBook UX530UX with GeForce GTX 950M running dual boot Ubuntu 16.04 alongside windows. As one may expect, on windows side I have no problem putting the computer to sleep (no cuda / nvidia drivers installed on the windows partition). But can’t sleep or hibernate the computer from the Linux side (has cuda / nvidia drivers) - must shutdown everytime, very very annoying.
same here.every time i suspend my laptop, i get a black screen after opening the lid and thats it. MSI cx62 nvidia geforce940mx, ubuntu 16.04 dual boot with windows