![桌面锁定后冻结约 2 分钟](https://linux22.com/image/1031844/%E6%A1%8C%E9%9D%A2%E9%94%81%E5%AE%9A%E5%90%8E%E5%86%BB%E7%BB%93%E7%BA%A6%202%20%E5%88%86%E9%92%9F.png)
我运行的是 Ubuntu 22.04.3,有一台全新的 PC,配备 Nvidia 4070。我可以说,nouveau 驱动程序运行良好,在 Windows 10 启动时,它运行 100% 正常。我甚至对 gpu 进行了压力测试,它很好。
我遇到的问题是,当我解锁系统时,屏幕顶部的菜单栏和系统的其他部分都被锁定了。大约需要 2 分钟,然后它才能正常工作。我正在使用 gnome-session-flashback,多年来没有出现过问题。
如果我按下顶部菜单栏上的图标,什么都不会发生,直到冻结过去,然后应用程序才会打开我点击的次数。
我尝试过将 nouveau 列入黑名单,并安装驱动程序 nvidia-driver-535、525 和 520 以及 530(我想)。几乎都试过了。都是同样的问题。
我试图摆脱所有的睡眠,比如
sudo systemctl mask sleep.target
sudo systemctl mask suspend.target
sudo systemctl mask hibernate.target
sudo systemctl mask hybrid-sleep.target
我甚至
sudo systemctl disable nvidia-{suspend,resume,hibernate}
以确保它没有睡觉。
无论我做什么,电脑在锁定后唤醒时都会冻结。我输入密码没问题,然后电脑冻结了 1-2 分钟。
谢谢您,如能得到任何帮助我将非常感激。
以下是sudo journalctl --since="-4 minutes"
Dec 02 00:37:13 burri /usr/libexec/gdm-x-session[3046]: (II) event10 - Logitech Gaming Mouse G402: SYN_DROPPED event - some input events have been lost.
Dec 02 00:37:13 burri audit[1728]: USER_AVC pid=1728 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal" bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="P>
exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
Dec 02 00:37:13 burri kernel: audit: type=1107 audit(17015433.897:2690): pid=1728 uid=102 auid=42967295 ses=42947295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal" bus="system" path="/org/freedesktop/login1" interface="org.freedes>
exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
Dec 02 00:37:19 burri gnome-flashback[3239]: gkr-pam: unlocked login keyring
Dec 02 00:37:26 burri dbus-daemon[2876]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/Mutter/IdleMonitor/Core" interface="org.gnome.Mutter.IdleMonitor" member="GetIdletime" mask="send" name=":1.58" pid=34975 label="snap>
Dec 02 00:37:27 burri dbus-daemon[2876]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/Mutter/IdleMonitor/Core" interface="org.gnome.Mutter.IdleMonitor" member="GetIdletime" mask="send" name=":1.58" pid=34975 label="snap>
Dec 02 00:37:28 burri dbus-daemon[2876]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/Mutter/IdleMonitor/Core" interface="org.gnome.Mutter.IdleMonitor" member="GetIdletime" mask="send" name=":1.58" pid=34975 label="snap>
Dec 02 00:37:29 burri dbus-daemon[2876]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/Mutter/IdleMonitor/Core" interface="org.gnome.Mutter.IdleMonitor" member="GetIdletime" mask="send" name=":1.58" pid=34975 label="snap>
Dec 02 00:37:30 burri dbus-daemon[2876]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/Mutter/IdleMonitor/Core" interface="org.gnome.Mutter.IdleMonitor" member="GetIdletime" mask="send" name=":1.58" pid=34975 label="snap>
Dec 02 00:37:31 burri dbus-daemon[2876]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/Mutter/IdleMonitor/Core" interface="org.gnome.Mutter.IdleMonitor" member="GetIdletime" mask="send" name=":1.58" pid=34975 label="snap>
Dec 02 00:37:31 burri dbus-daemon[2876]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/Mutter/IdleMonitor/Core" interface="org.gnome.Mutter.IdleMonitor" member="GetIdletime" mask="send" name=":1.58" pid=34975 label="snap>
Dec 02 00:37:32 burri dbus-daemon[2876]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/Mutter/IdleMonitor/Core" interface="org.gnome.Mutter.IdleMonitor" member="GetIdletime" mask="send" name=":1.58" pid=34975 label="snap>
Dec 02 00:37:32 burri dbus-daemon[2876]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/Mutter/IdleMonitor/Core" interface="org.gnome.Mutter.IdleMonitor" member="GetIdletime" mask="send" name=":1.58" pid=34975 label="snap>
Dec 02 00:37:36 burri dbus-daemon[2876]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/Mutter/IdleMonitor/Core" interface="org.gnome.Mutter.IdleMonitor" member="GetIdletime" mask="send" name=":1.58" pid=34975 label="snap>
Dec 02 00:37:38 burri rtkit-daemon[2329]: Supervising 8 threads of 4 processes of 1 users.
Dec 02 00:37:38 burri rtkit-daemon[2329]: Successfully made thread 62862 of process 2865 owned by '1000' RT at priority 5.
Dec 02 00:37:38 burri rtkit-daemon[2329]: Supervising 9 threads of 4 processes of 1 users.
Dec 02 00:37:38 burri dbus-daemon[2876]: [session uid=1000 pid=2876] Activating via systemd: service name='org.gnome.Terminal' unit='gnome-terminal-server.service' requested by ':1.874' (uid=1000 pid=62866 comm="/usr/bin/gnome-terminal.real " label="unc>
Dec 02 00:37:38 burri systemd[2856]: Starting GNOME Terminal Server...
Dec 02 00:37:39 burri dbus-daemon[2876]: [session uid=1000 pid=2876] Successfully activated service 'org.gnome.Terminal'
Dec 02 00:37:39 burri systemd[2856]: Started GNOME Terminal Server.
Dec 02 00:37:39 burri systemd[2856]: Started VTE child process 62900 launched by gnome-terminal-server process 62869.
Dec 02 00:37:41 burri dbus-daemon[2876]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/Mutter/IdleMonitor/Core" interface="org.gnome.Mutter.IdleMonitor" member="GetIdletime" mask="send" name=":1.58" pid=34975 label="snap>
Dec 02 00:37:43 burri dbus-daemon[2876]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/gnome/Mutter/IdleMonitor/Core" interface="org.gnome.Mutter.IdleMonitor" member="GetIdletime" mask="send" name=":1.58" pid=34975 label="snap>
Dec 02 00:37:44 burri sudo[62942]: bob : TTY=pts/0 ; PWD=/home/bob ; USER=root ; COMMAND=/usr/bin/journalctl '--since=-4 minutes'
Dec 02 00:37:44 burri sudo[62942]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
pid 34975 是 Firefox。