Using nouveau driver for graphics card prevents suspend

Bug #1946691 reported by Devin Luu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-hwe-5.11 (Ubuntu)
New
Undecided
Unassigned

Bug Description

ubuntu 20.04.3 LTS

Not sure what package this belongs to, but this has to do with trying to suspend the computer.

What I expect:
selecting power off->suspend suspends my computer e.g. turns off screen, turns off fans, etc.

What happens:
In "Software & Updates" Additional Drivers tab, for my GeForce GT 745M, if I select the "Using X.Org X server" open source driver and then I try to suspend, the computer will log off, and the screen will turn black except for blinking cursor in the top left corner. The computer will never power down.

The workaround:
I work around this by selecting "Using NVIDIA driver metapackage" from nvidia-driver-470 (proprietary, tested)
After this, my computer properly suspends.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1946691/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → xorg (Ubuntu)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks for the bug report.

While the broken Xorg driver is installed and the problem is happening again, please run:

  lspci -kv > lspci.txt
  journalctl -b0 > journal.txt

and attach the resulting text files here.

To save time in future, please report graphical bugs by running:

  ubuntu-bug xorg

affects: xorg (Ubuntu) → xorg-server (Ubuntu)
tags: added: nouveau
Changed in xorg-server (Ubuntu):
status: New → Incomplete
Changed in xserver-xorg-video-nouveau (Ubuntu):
status: New → Incomplete
Revision history for this message
Devin Luu (dluu13) wrote :

Files are attached in the zip.

This is the explanation of the filenames:
filename_nvidia: output before I installed xorg driver
filename_xorg1: output immediately after I installed xorg driver (no reboot)
filename_xorg2: output after failed suspend and power cycle

Hope this helps.
Thanks!

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks. This is probably an issue with the default 'nouveau' kernel driver. That causes so many bugs that I would always recommend installing the Nvidia 470 driver instead, as you have.

I would not expect a fix for 'nouveau' any time soon as it is not well supported. But if you are using the Nvidia proprietary driver then that won't affect you.

summary: - using xorg driver for graphics card prevents suspend
+ Using nouveau driver for graphics card prevents suspend
affects: xorg-server (Ubuntu) → linux-hwe-5.11 (Ubuntu)
Changed in linux-hwe-5.11 (Ubuntu):
status: Incomplete → New
no longer affects: xserver-xorg-video-nouveau (Ubuntu)
tags: added: focal
Revision history for this message
Devin Luu (dluu13) wrote :

Thank you for the info. In that case I will continue to use the Nvidia driver.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.