pop-os / cosmic-comp

Compositor for the COSMIC desktop environment
GNU General Public License v3.0
489 stars 92 forks source link

NVIDIA desktop suspend/resume failure #694

Open jacobgkau opened 3 months ago

jacobgkau commented 3 months ago

On a Thelio Mira B4 with an RTX 4060 Ti, the system suspends, but hangs at a black screen on resume.

Log file: out.txt

Outtake of note:

Aug 07 19:50:54 pop-os cosmic-comp[2004]: Failed to destroy old mode property blob: No such file or directory (os error 2)
Aug 07 19:50:54 pop-os cosmic-comp[2004]: thread 'surface-HDMI-A-3' panicked at 'internal error: entered unreachable code': src/backend/kms/surface/mod.rs:726
                                             0: <unknown>
                                             1: <unknown>
                                             2: <unknown>
                                             3: <unknown>
                                             4: <unknown>
                                             5: <unknown>
                                             6: <unknown>
                                             7: <unknown>
                                             8: <unknown>
                                             9: <unknown>
                                            10: <unknown>
                                            11: <unknown>
                                            12: <unknown>
                                            13: <unknown>
                                            14: <unknown>
                                            15: <unknown>
atagen commented 3 months ago

I have the same issue (3060 on 555.58.02) - I have noticed output to the effect of NVIDIA: Failed to apply atomic modeset, error -22 in the console after terminating.

StayBlue commented 3 months ago

I believe this is an issue with Nvidia itself, not Cosmic. You can see the forum post I made on the Nvidia forum if you would like, although it doesn't provide any logs. Other people on the forum have reported similar issues with other desktop environments as well.