Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3423

ACPI: no desktop after sleep with nvidia driver installed?

$
0
0
Hi,

I've installed the closed source nvidia drivers on my Bookworm/xfce system.

The proprietary driver seems to have solved all of the issues I was having with nouveau, and looks very nice, but there's one annoying problem.

If I lock the screen (eg, with xflock4) or switch to another virtual terminal and back (eg, with ctrl-alt-F4 ... ctrl-alt-F7) all I get is a blank (black) X server screen with a mouse pointer.

I see the following in /var/log/Xorg.0.log:

Code:

[   102.447] (II) NVIDIA(0): Setting mode ""DFP-1:nvidia-auto-select""[   102.491] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon[   102.491] (II) NVIDIA(0):     may not be running or the ""AcpidSocketPath"" X[   102.491] (II) NVIDIA(0):     configuration option may not be set correctly.  When the[   102.491] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will[   102.491] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For[   102.491] (II) NVIDIA(0):     details, please see the ""ConnectToAcpid"" and[   102.491] (II) NVIDIA(0):     ""AcpidSocketPath"" X configuration options in Appendix B: X[   102.491] (II) NVIDIA(0):     Config Options in the README.
The 'the ACPI event daemon' (acpid) isn't currently installed. I'm assuming the README referred to in the log is in the acpid package.

Anyway, I intend to install it and see whether it resolves this issue but, before I do, it would be good to hear from anyone with experience in this mechanism. Also, any info about the configuration used by the nvidia driver to listen for ACPI events would be great!

I may be forced to remove and reinstall the driver after installing acpid, just to get things working, but I'd prefer to configure it manually if possible.

Finally, when I get time, I intend to examine the system in the state where the desktop has failed to start, to see exactly what's running. Also, I need to track down the relevant window manager and desktop logs. Any info on those would be appreciated as well!

Rather than relying on the nvidia driver, maybe I can handle the ACPI wake event using acpi_listen, and prompt the window manager myself? It looks like the graphics driver needs to signal the xserver to start the window manager, but I don't know yet what processes stop and start during screen locking, so that's just a guess. Any info on this mechanism would also be great!

Cheers,
bitrat

Statistics: Posted by bitrat — 2024-04-21 21:44 — Replies 0 — Views 10



Viewing all articles
Browse latest Browse all 3423

Trending Articles