Hi Users,
We are still investigating this issue. Initial investigation shows some SBIOS related issue.
I think you all are using PRIME with nvidia and modeset driver. Can you please attached nvidia bug report on both cases where you see an issue with nvidia driver and in other cases where you have not seen this issue with the nouveau driver. Make sure you all have latest sbios. It would be good to test with latest kernel and distros too. Make sure to report the issue to your notebook vendor and distro provider because there are many things depend for the root cause of this issue like sbios/driver/acpi etc.
Some users said nouveau driver working fine for suspend/resume.
Is nouveau configured in prime config/mode for the cases mentioned in below? :
- User jonesjp :
Notebook : Asus R558U (930MX)
Prime on : It works fine with nvidia-prime setting (in Ubuntu/Mint) choosing Intel graphics (power saving mode).
H all,
I am facing the same problem. I had thought my issue was this related to this forum - https://devtalk.nvidia.com/default/topic/962231/linux/resume-from-suspend-freezes-system-gtx-970-arch-linux-kernel-4-4-4-7-nvidia-370-/1. I had made posts there, and then sandipt had said solution is on the way, but 381 came, and I still have the same problem.
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.
Hoping to get something done.
Jones
Link - https://drive.google.com/open?id=0B3aF7WUKvMO4TE5fVlFobXg3RzA
- User tbnorris :
NotebooK : Asus KU53 GeForce 940MX
Prime on.
@generix
I am currently running 18.04, I am willing to try and run the nouveau drivers, but it seems like I only have an option to uninstall the nvidia driver (which should default to nouveau) and use the Intel one (instead), or use the nvidia one with an option of using the prime-select command to switch to the Intel driver. Do you know how to actually make nouveau driver work?
a quick summery of what I have tried.
- Fresh install of Ubuntu 18.04 - I suspend and resume, everything works great This is the “nouveau” selection in Ubuntu’s Additional Drivers, but really using my Intel 620
- Enable NVIDIA 390 or now 396.24 and suspend happens, then you try and wake it and never returns.
You have to hold the power button to force the machine all the way off to get it to boot again.
- Enable NVIDIA 396.24 drivers and then prime-select intel drivers and suspend and resume without issues.
I also tried your list of steps and I cannot seem to kill the display manager in a way that I drop down to just a bash console, I am not sure if that is because things have changed, or if there is a problem with the instructions, but stopping display-manager does not seem to kill GNOME.
Attachments
- User mabawsa :
Notebook : ASUS zenbook ux310uq
I am having this issue on kubuntu 18.04 with nvidia-driver-396 on an ASUS zenbook ux310uq.
Using nouveau until this gets fixed.
One stupid question. Can I switch the nvidia card on and off and run it by passing the DRI_PRIME command using driver-396 (like Nouveau)?
- User dsd_endless :
Notebook : Asus X705UQ - GeForce 940MX
Prime on
Hi,
On GeForce 940MX found embedded in Asus X705UQ, the system appears to hang during resume after S3 suspend. Testing with driver version 387.34.
At this point the screen is black, but the computer is responsive over ssh.
There are no error messages shown in dmesg. Xorg is using 100% CPU. Backtrace at this point is:
#0 0x00007ff9d6029262 in ?? () from /usr/lib64/xorg/modules/drivers/nvidia_drv.so
#1 0x00007ff9d602ddf9 in ?? () from /usr/lib64/xorg/modules/drivers/nvidia_drv.so
#2 0x00007ff9d602d389 in ?? () from /usr/lib64/xorg/modules/drivers/nvidia_drv.so
#3 0x00007ff9d5fc2b21 in ?? () from /usr/lib64/xorg/modules/drivers/nvidia_drv.so
#4 0x00007ff9d5ffe230 in ?? () from /usr/lib64/xorg/modules/drivers/nvidia_drv.so
#5 0x00007ff9d5fcdba1 in ?? () from /usr/lib64/xorg/modules/drivers/nvidia_drv.so
#6 0x00007ff9d6536fd1 in ?? () from /usr/lib64/xorg/modules/drivers/nvidia_drv.so
#7 0x000000000265a070 in ?? ()
#8 0x0000000001e899f0 in ?? ()
#9 0x000000000272cdd0 in ?? ()
#10 0x000000000047f80e in CMapEnterVT ()
#11 0x000000000048a98c in xf86XVEnterVT ()
#12 0x0000000000477dd0 in xf86VTEnter ()
#13 0x000000000049cb98 in systemd_logind_vtenter ()
#14 0x000000000049ceb5 in message_filter ()
#15 0x00007ff9de1201ad in dbus_connection_dispatch () from /lib64/libdbus-1.so.3
#16 0x00007ff9de1205c8 in _dbus_connection_read_write_dispatch () from /lib64/libdbus-1.so.3
#17 0x0000000000496981 in socket_handler ()
#18 0x000000000059df41 in ospoll_wait ()
#19 0x0000000000596f9b in WaitForSomething ()
#20 0x0000000000435603 in Dispatch ()
#21 0x00000000004398a0 in dix_main ()
nvidia-bug-report output: nvidia-bug-report Asus X705UQ when "hung" during S3 resume · GitHub
(this was captured over ssh while the system was in this hung state)
Interestingly if I VT switch away from X before S3 suspend, I can suspend from there, and it will also resume fine to that state. However upon then changing VT back to X, the hang state occurs and I can’t recover.
Please let me know how I can help further.