AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-489692

user36196's questions

Martin Hope
user36196
Asked: 2023-11-19 07:35:15 +0800 CST

登录时停止实时补丁通知

  • 4

每次我远程登录我的笔记本电脑时,我都会收到一条消息,告诉我立即重新启动,因为 Livepatch 已经修补了漏洞:

Welcome to Ubuntu 22.04.3 LTS (GNU/Linux 5.15.0-84-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

Expanded Security Maintenance for Applications is enabled.

0 updates can be applied immediately.

*** Livepatch has fixed kernel vulnerabilities. System restart recommended on the closest maintenance window ***

这是我重新启动机器后的情况。

如何防止每次登录时出现此消息?

我已按照此处给出的响应进行操作,以确保所有软件包均已更新:Livepatch Behaviour 并在 中重新启动,但仍会在远程登录时收到消息。

我没有运行最新版本的内核,因为它会导致图形问题:Ubuntu 22.04.3 LTS GUI 不适用于 5.15.0-88-generic

编辑:我每次登录 GUI 时都会收到“Livepatch:刚刚应用更新”的通知。

编辑:我检查了 中的脚本/etc/update-motd.d,并有以下内容:

.@.:/etc/update-motd.d$ sudo /snap/bin/canonical-livepatch  refresh
[sudo] password for .:
checking for patches
nothing to apply
kernel: 5.15.0-84.93-generic
patch state: ✓ all applicable livepatch modules inserted
patch version: 99.1
.@.:/etc/update-motd.d$ sudo /snap/bin/canonical-livepatch status
last check: 8 seconds ago
kernel: 5.15.0-84.93-generic
server check-in: succeeded
kernel state: ✓ kernel series 5.15 is covered by Livepatch
patch state: ✓ all applicable livepatch modules inserted
patch version: 99.1
tier: updates (Free usage; This machine beta tests new patches.)
machine id: 
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
canonical-livepatch
  • 1 个回答
  • 57 Views
Martin Hope
user36196
Asked: 2022-06-14 12:30:07 +0800 CST

连接断开后激活网络连接失败

  • 0

类似于这个问题:Activation of network connection failed,但我有以下问题。机器启动并在启动时连接到 wifi,但如果连接断开(出于任何原因),则连接不会重新启动并给出错误消息“网络连接激活失败”。我必须重新启动机器才能重新连接。如果我在第一次连接后尝试连接到不同的网络,也会发生这种情况。

我没有尝试解决这个问题,要么手动尝试连接到 wifi 网络,要么通过 systemctl 停止/重新启动网络管理器。

还有什么我可以尝试解决这个问题的,所以我不需要在每次它下降时重新启动?

我正在运行 Ubuntu 20.04,内核版本为 5.8.0-63-generic,因为我有一个 Realtek RTL8723DE wifi 适配器,并且没有更新的驱动程序(来自这里:https ://github.com/lwfinger/rtw88 )可用于更高的内核版本(请参阅我之前的问题:Realtek wifi driver for RTL8723DE for linux kernel version 5.11.0-26-generic (ubuntu 20.04))

请注意,我无法访问路由器进行有线连接,因此 wifi 是我唯一的连接选择。

编辑:按照下面的评论,我已将输出添加sudo journalctl -b 0 -u NetworkManager到https://pastebin.ubuntu.com/p/WgTt6KGyyj/,显示网络第一次连接,然后在我关闭 wifi 后无法连接重新开始,通过一个循环,如:

Jun 14 21:07:40 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237260.5736] sup-iface[0x56336ea5ba10,wlo1]: supports 5 scan SSIDs
Jun 14 21:07:40 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237260.5778] device (wlo1): supplicant interface state: starting -> ready
Jun 14 21:07:40 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237260.5780] device (p2p-dev-wlo1): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
Jun 14 21:07:40 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237260.5828] device (wlo1): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
Jun 14 21:07:42 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237262.3582] policy: auto-activating connection 'Top Flat' (6a3647ab-a928-4d36-b895-e6a53f857391)
Jun 14 21:07:42 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237262.3595] device (wlo1): Activation: starting connection 'Top Flat' (6a3647ab-a928-4d36-b895-e6a53f857391)
Jun 14 21:07:42 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237262.3599] device (wlo1): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Jun 14 21:07:42 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237262.3610] manager: NetworkManager state is now CONNECTING
Jun 14 21:07:42 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237262.6724] device (wlo1): set-hw-addr: reset MAC address to A4:FC:77:7C:A3:0D (preserve)
Jun 14 21:07:42 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237262.6727] device (wlo1): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Jun 14 21:07:42 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237262.6731] device (wlo1): Activation: (wifi) access point 'Top Flat' has security, but secrets are required.
Jun 14 21:07:42 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237262.6731] device (wlo1): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
Jun 14 21:07:42 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237262.7303] device (wlo1): supplicant interface state: ready -> disconnected
Jun 14 21:07:42 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237262.7303] device (p2p-dev-wlo1): supplicant management interface state: ready -> disconnected
Jun 14 21:07:42 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237262.7304] device (wlo1): supplicant interface state: disconnected -> inactive
Jun 14 21:07:42 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237262.7305] device (p2p-dev-wlo1): supplicant management interface state: disconnected -> inactive
Jun 14 21:07:42 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237262.7327] device (wlo1): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
Jun 14 21:07:42 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237262.7334] device (wlo1): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Jun 14 21:07:42 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237262.7339] device (wlo1): Activation: (wifi) connection 'Top Flat' has security, and secrets exist.  No new secrets needed.
Jun 14 21:07:42 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237262.7340] Config: added 'ssid' value 'Top Flat'
Jun 14 21:07:42 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237262.7340] Config: added 'scan_ssid' value '1'
Jun 14 21:07:42 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237262.7341] Config: added 'bgscan' value 'simple:30:-65:300'
Jun 14 21:07:42 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237262.7341] Config: added 'key_mgmt' value 'WPA-PSK WPA-PSK-SHA256 FT-PSK'
Jun 14 21:07:42 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237262.7341] Config: added 'psk' value '<hidden>'
Jun 14 21:07:42 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237262.7644] device (wlo1): supplicant interface state: inactive -> scanning
Jun 14 21:07:42 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237262.7645] device (p2p-dev-wlo1): supplicant management interface state: inactive -> scanning
Jun 14 21:07:44 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237264.4815] device (wlo1): supplicant interface state: scanning -> disconnected
Jun 14 21:07:44 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237264.4823] device (p2p-dev-wlo1): supplicant management interface state: scanning -> disconnected
Jun 14 21:07:44 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237264.5860] device (wlo1): supplicant interface state: disconnected -> scanning
Jun 14 21:07:44 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237264.5862] device (p2p-dev-wlo1): supplicant management interface state: disconnected -> scanning
Jun 14 21:07:45 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237265.9966] device (wlo1): supplicant interface state: scanning -> disconnected
Jun 14 21:07:45 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237265.9966] device (p2p-dev-wlo1): supplicant management interface state: scanning -> disconnected
Jun 14 21:07:46 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237266.0819] device (wlo1): supplicant interface state: disconnected -> scanning
Jun 14 21:07:46 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237266.0821] device (p2p-dev-wlo1): supplicant management interface state: disconnected -> scanning
Jun 14 21:07:47 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237267.4902] device (wlo1): supplicant interface state: scanning -> disconnected
Jun 14 21:07:47 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237267.4910] device (p2p-dev-wlo1): supplicant management interface state: scanning -> disconnected
Jun 14 21:07:47 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237267.9780] device (wlo1): supplicant interface state: disconnected -> scanning
Jun 14 21:07:47 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237267.9782] device (p2p-dev-wlo1): supplicant management interface state: disconnected -> scanning
Jun 14 21:07:49 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237269.3960] device (wlo1): supplicant interface state: scanning -> disconnected
Jun 14 21:07:49 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237269.3961] device (p2p-dev-wlo1): supplicant management interface state: scanning -> disconnected
Jun 14 21:07:49 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237269.8740] device (wlo1): supplicant interface state: disconnected -> scanning
Jun 14 21:07:49 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237269.8742] device (p2p-dev-wlo1): supplicant management interface state: disconnected -> scanning
Jun 14 21:07:51 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237271.2798] device (wlo1): supplicant interface state: scanning -> disconnected
Jun 14 21:07:51 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237271.2798] device (p2p-dev-wlo1): supplicant management interface state: scanning -> disconnected
Jun 14 21:07:52 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237272.2704] device (wlo1): supplicant interface state: disconnected -> scanning
Jun 14 21:07:52 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237272.2705] device (p2p-dev-wlo1): supplicant management interface state: disconnected -> scanning
Jun 14 21:07:53 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237273.6836] device (wlo1): supplicant interface state: scanning -> disconnected
Jun 14 21:07:53 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237273.6843] device (p2p-dev-wlo1): supplicant management interface state: scanning -> disconnected
Jun 14 21:07:54 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237274.6710] device (wlo1): supplicant interface state: disconnected -> scanning
Jun 14 21:07:54 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237274.6712] device (p2p-dev-wlo1): supplicant management interface state: disconnected -> scanning
Jun 14 21:07:56 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237276.0713] device (wlo1): supplicant interface state: scanning -> disconnected
Jun 14 21:07:56 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237276.0713] device (p2p-dev-wlo1): supplicant management interface state: scanning -> disconnected
Jun 14 21:08:01 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237281.3994] device (wlo1): supplicant interface state: disconnected -> scanning
Jun 14 21:08:01 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237281.3995] device (p2p-dev-wlo1): supplicant management interface state: disconnected -> scanning
Jun 14 21:08:06 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237286.1046] device (wlo1): supplicant interface state: scanning -> disconnected
Jun 14 21:08:06 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237286.1046] device (p2p-dev-wlo1): supplicant management interface state: scanning -> disconnected
Jun 14 21:08:07 HP-Laptop-15-db0598sa NetworkManager[642]: <warn>  [1655237287.6290] device (wlo1): Activation: (wifi) association took too long, failing activation
Jun 14 21:08:07 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237287.6291] device (wlo1): state change: config -> failed (reason 'ssid-not-found', sys-iface-state: 'managed')
Jun 14 21:08:07 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237287.6302] manager: NetworkManager state is now DISCONNECTED
Jun 14 21:08:07 HP-Laptop-15-db0598sa NetworkManager[642]: <warn>  [1655237287.6390] device (wlo1): Activation: failed for connection 'Top Flat'
Jun 14 21:08:07 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237287.6494] device (wlo1): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Jun 14 21:08:07 HP-Laptop-15-db0598sa NetworkManager[642]: <info>  [1655237287.6666] device (wlo1): set-hw-addr: set MAC address to 4A:D0:E7:0C:83:44 (scanning)

EDIT2:我还在 NetworkManager 中禁用了随机 MAC 切换,这也没有解决问题

EDIT3:我已经使用脚本为这个问题拍摄了 wifi 配置的快照:我的无线/WiFi 连接不起作用。诊断问题需要哪些信息?wifi何时启动,何时未启动(并且无法重新连接)

工作/连接:https ://pastebin.ubuntu.com/p/dTFptYhv8N/

不工作/不连接:https ://pastebin.ubuntu.com/p/PPhHZNWcfd/

EDIT4:我已经启动并重新启动到 5.13.0-48,它似乎更稳定,所以注意这个空间!

networking
  • 2 个回答
  • 277 Views
Martin Hope
user36196
Asked: 2020-06-01 06:14:47 +0800 CST

Lubuntu 20.04 wifi间歇性问题

  • 2

我安装了 lubuntu 20.04 的 HP 15-db0598sa 中的 wifi 存在问题。

Ping google.com 给出了以下形式的典型输出:

64 bytes from lhr25s26-in-f14.1e100.net (172.217.169.14): icmp_seq=171 ttl=53 time=12.3 ms
64 bytes from lhr25s26-in-f14.1e100.net (172.217.169.14): icmp_seq=172 ttl=53 time=96.4 ms
64 bytes from lhr25s26-in-f14.1e100.net (172.217.169.14): icmp_seq=175 ttl=53 time=1026 ms
64 bytes from lhr25s26-in-f14.1e100.net (172.217.169.14): icmp_seq=176 ttl=53 time=11.2 ms
64 bytes from lhr25s26-in-f14.1e100.net (172.217.169.14): icmp_seq=177 ttl=53 time=11.4 ms
64 bytes from lhr25s26-in-f14.1e100.net (172.217.169.14): icmp_seq=178 ttl=53 time=10.3 ms
64 bytes from lhr25s26-in-f14.1e100.net (172.217.169.14): icmp_seq=179 ttl=53 time=10.5 ms
64 bytes from lhr25s26-in-f14.1e100.net (172.217.169.14): icmp_seq=181 ttl=53 time=1035 ms
64 bytes from lhr25s26-in-f14.1e100.net (172.217.169.14): icmp_seq=182 ttl=53 time=22.9 ms

其中 ping 从 ~10 毫秒(在我的其他机器上)到 > 1000 毫秒不等,奇数 ping(大约 24% 的数据包丢失)被丢弃(例如在上面的 172 和 175 以及 179 和 181 之间)。

的输出lspci -knn | grep Net -A3如下:

03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723DE 802.11b/g/n PCIe Adapter [10ec:d723]
        DeviceName: WLAN
        Subsystem: Hewlett-Packard Company RTL8723DE 802.11b/g/n PCIe Adapter [103c:8319]
        Kernel driver in use: rtw_pci

我已经在 dhcp 上禁用了 IPv6,如下所示:https ://askubuntu.com/a/1180403/489692

为了促进 DESGUA 的回答,我更改了 /etc/dhcp/dhclient.conf。更具体地说,我删除了第 18 行:

dhcp6.name-servers, dhcp6.domain-search, dhcp6.fqdn, dhcp6.sntp-servers,

我最终断开了wifi并重新连接。

这改善了一些问题,但 ping 仍然间歇性地 ~ 10 毫秒和 > 1000 毫秒。

是否有任何其他配置设置可以用来提高连接的稳定性(除了使用有线网络 - 这台笔记本电脑将与路由器位于不同的房间,所以这是可能的,但我更喜欢使用无线)。

补充:我在同一位置有一台使用 Ubuntu 18.04 的旧机器,那里的 ping 很好:

64 bytes from ams16s21-in-f14.1e100.net (216.58.212.206): icmp_seq=4 ttl=53 time=12.8 ms
64 bytes from ams16s21-in-f14.1e100.net (216.58.212.206): icmp_seq=5 ttl=53 time=11.6 ms
64 bytes from ams16s21-in-f14.1e100.net (216.58.212.206): icmp_seq=6 ttl=53 time=12.1 ms
64 bytes from ams16s21-in-f14.1e100.net (216.58.212.206): icmp_seq=7 ttl=53 time=11.0 ms
64 bytes from ams16s21-in-f14.1e100.net (216.58.212.206): icmp_seq=8 ttl=53 time=11.0 ms
64 bytes from ams16s21-in-f14.1e100.net (216.58.212.206): icmp_seq=9 ttl=53 time=21.8 ms
64 bytes from ams16s21-in-f14.1e100.net (216.58.212.206): icmp_seq=10 ttl=53 time=11.3 ms
64 bytes from ams16s21-in-f14.1e100.net (216.58.212.206): icmp_seq=11 ttl=53 time=11.5 ms
64 bytes from ams16s21-in-f14.1e100.net (216.58.212.206): icmp_seq=12 ttl=53 time=12.3 ms
64 bytes from ams16s21-in-f14.1e100.net (216.58.212.206): icmp_seq=13 ttl=53 time=13.2 ms
64 bytes from ams16s21-in-f14.1e100.net (216.58.212.206): icmp_seq=14 ttl=53 time=11.6 ms
64 bytes from ams16s21-in-f14.1e100.net (216.58.212.206): icmp_seq=15 ttl=53 time=11.5 ms

编辑:我已尝试在此处安装驱动程序(用于 RTL8723DE)https://github.com/lwfinger/rtlwifi_new/tree/extended 和lspci -knn | grep Net -A3仍然的输出:

03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723DE 802.11b/g/n PCIe Adapter [10ec:d723]
        DeviceName: WLAN
        Subsystem: Hewlett-Packard Company RTL8723DE 802.11b/g/n PCIe Adapter [103c:8319]
        Kernel driver in use: rtw_pci

所以看起来新驱动器尚未安装。我现在完全不知所措

networking wireless drivers lubuntu 20.04
  • 1 个回答
  • 620 Views
Martin Hope
user36196
Asked: 2018-05-13 16:26:30 +0800 CST

Ubuntu 18.04 systemd-udevd 使用高 CPU,与 nvidia 显卡冲突 [重复]

  • 12
这个问题在这里已经有了答案:
从 Ubuntu 16 升级到 18.04 后,systemd-udevd 使用 100% CPU (2 个答案)
3年前关闭。

就像在Ubuntu 18.04 systemd-udevd 使用高 CPU,与 wifi 冲突一样,我也遇到了 systemd-udevd 的 CPU 使用增加的问题,这只能通过 (sudo) 杀死特定进程来临时解决。但是,我的问题不在于 wifi,而在于 NVIDIA 显卡:

阅读udevadm monitor给出了重复的行,例如:

KERNEL[408.860342] remove   /module/nvidia (module)
KERNEL[408.901437] add      /module/nvidia (module)
KERNEL[408.916478] remove   /module/nvidia (module)
UDEV  [408.944573] add      /module/nvidia (module)
UDEV  [408.969459] remove   /module/nvidia (module)
KERNEL[409.039276] add      /module/nvidia (module)
KERNEL[409.060769] remove   /module/nvidia (module)

并检查less /var/log/syslog给出的重复版本:

May 13 00:09:28 Lenovo-ideapad-100-15IBY kernel: [28462.698688] nvidia-nvlink: Nvlink Core is being initialized, major device number 240
May 13 00:09:28 Lenovo-ideapad-100-15IBY kernel: [28462.699064] NVRM: No NVIDIA graphics adapter found!
May 13 00:09:28 Lenovo-ideapad-100-15IBY kernel: [28462.699186] nvidia-nvlink: Unregistered the Nvlink Core, major device number 240
May 13 00:09:28 Lenovo-ideapad-100-15IBY systemd-udevd[17923]: Process '/sbin/modprobe nvidia-modeset' failed with exit code 1.
May 13 00:09:28 Lenovo-ideapad-100-15IBY kernel: [28462.776222] nvidia-nvlink: Nvlink Core is being initialized, major device number 240
May 13 00:09:28 Lenovo-ideapad-100-15IBY kernel: [28462.776574] NVRM: No NVIDIA graphics adapter found!
May 13 00:09:28 Lenovo-ideapad-100-15IBY kernel: [28462.776690] nvidia-nvlink: Unregistered the Nvlink Core, major device number 240
May 13 00:09:28 Lenovo-ideapad-100-15IBY systemd-udevd[17923]: Process '/sbin/modprobe nvidia-drm' failed with exit code 1.
May 13 00:09:28 Lenovo-ideapad-100-15IBY systemd-udevd[17923]: Process '/sbin/modprobe nvidia-uvm' failed with exit code 1.
May 13 00:09:28 Lenovo-ideapad-100-15IBY systemd-udevd[17923]: Process '/usr/bin/nvidia-smi' failed with exit code 12.
May 13 00:09:28 Lenovo-ideapad-100-15IBY systemd[1]: nvidia-persistenced.service: Start request repeated too quickly.
May 13 00:09:28 Lenovo-ideapad-100-15IBY systemd[1]: nvidia-persistenced.service: Failed with result 'exit-code'.
May 13 00:09:28 Lenovo-ideapad-100-15IBY systemd[1]: Failed to start NVIDIA Persistence Daemon.

驱动程序是最新的,笔记本电脑上的所有其他软件都已(今天)升级到最新版本,所以我不确定是什么导致了这个问题。我的图形没有任何问题(除了由于这个过程导致 CPU 使用率变高时出现延迟),所以我很茫然。

我怎样才能停止这种重复,从而吞噬 CPU?

nvidia cpu-load systemd 18.04
  • 3 个回答
  • 9936 Views
Martin Hope
user36196
Asked: 2018-04-11 11:53:27 +0800 CST

32 位 Ubuntu 发布升级到 18.04

  • 2

只是一个非常快速的问题:是否可以使用 do-release-upgrade 在 32 位机器上从 17.10 升级到 18.04 LTS?

我很感激不会有官方的 iso 映像,但可以通过软件更新程序或命令行完成吗?

我问是因为 gnome-shell (3.26.2) 在 17.10 中存在内存问题,因此需要每隔一段时间重新启动一次,而迁移到 LTS 可以解决这个问题。

do-release-upgrade 18.04
  • 2 个回答
  • 2044 Views
Martin Hope
user36196
Asked: 2017-11-11 16:26:43 +0800 CST

gnome-shell 20-30%+ CPU 使用率永久(v.3.26.1 on 17.10)

  • 10

正如这个问题:Ubuntu 17.10: high CPU usage by gnome-shell 3.26.1和这个问题gnome-shell 3.26.1 不断使用 20-30% CPU,我也有一个问题,gnome-shell 一直高于 20% CPU,即使除了终端打开之外什么都没有:

$ top
....
 8029 xxxxxx    20  10 1714052 601696  54568 R  46.1 15.0   1179:08 gnome-shell
....

$ lspci | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation Atom Processor 
Z36xxx/Z37xxx Series Graphics & Display (rev 0e)

$ glxinfo | grep -i render
direct rendering: Yes
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: Mesa DRI Intel(R) Bay Trail x86/MMX/SSE2
    GL_ARB_compute_shader, GL_ARB_conditional_render_inverted, 
    GL_MESA_texture_signed_rgba, GL_NV_conditional_render, GL_NV_depth_clamp, 
    GL_ARB_compute_shader, GL_ARB_conditional_render_inverted, 
    GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_light_max_exponent, 
    GL_OES_element_index_uint, GL_OES_fbo_render_mipmap, 

我安装了 gnome-tweak-tool,但没有运行扩展(我已通过菜单禁用它们)。

有没有办法将后台 gnome-shell CPU 使用率降低到合理的水平?目前,我无法打开浏览器、打开终端和同步 Dropbox,但平均负载没有达到 6+,这让一切都变慢了。

编辑:我已经通过登录 Unity 而不是使用 Wayland 的 GNOME 或使用 xorg 的 GNOME 来避免这个问题,但这不是一个长期的解决方案,因为 Unity 正在逐步淘汰。

17.10
  • 2 个回答
  • 3059 Views
Martin Hope
user36196
Asked: 2017-10-23 12:59:20 +0800 CST

升级到 17.10 后无法上网

  • 4

我今天下午/晚上将我的笔记本电脑升级到了新的 Ubuntu 发行版 17.10,从那时起我就无法连接到互联网。

我尝试了有线和无线连接,但无论我尝试过哪种方法,状态栏中的图标都会在连接图标上显示一个问号。我原本以为是无线问题(这是Realtek RTL8833EE卡)所以尝试通过以太网连接以下载最新的驱动程序,但发现我也无法连接有线。

上周我在 17.04 遇到了类似的问题,我以某种方式解决了这个问题,但我找不到我做了什么。

请我对我应该尝试解决的问题提出一些建议。

编辑:我在这里尝试了这个问题(和答案):

将 17.04 升级到 17.10 后 DNS 无法正常工作

通过添加一行

[main]
dns=dnsmasq

在 /etc/NetworkManager/NetworkManager.conf 下,并通过检查 resolvconf.service

$ systemctl status resolvconf

这没有显示错误

resolvconf[623]: /etc/resolvconf/update.d/libc: Warning: /etc/resolv.conf is not a symbolic link to /run/resolvconf/resolv.conf

我已经确认 /etc/resolv.conf 是指向 /run/resolvconf/resolv.conf 的符号链接

networking
  • 1 个回答
  • 6213 Views
Martin Hope
user36196
Asked: 2017-02-23 01:48:50 +0800 CST

DisplayPort 窗口渲染问题

  • 0

我在使用 DisplayPort(Ubuntu 14.04.5 LTS)的戴尔显示器上渲染一些窗口时遇到了一个奇怪的问题。我经常看到多达 13 行像素似乎是循环移动的(见图),因此窗口的边缘从左侧移入,窗口左侧的像素从右侧获取- 如您所见,这会使文本行难以阅读。如果窗口不断更新,例如使用动画,移动的线条会在显示窗口周围跳跃。我已经通过更改电缆和 PC 上的输出端口检查了这是否是硬件问题,但这没有任何区别。

像素移位窗口示例

编辑:它不仅是 google-chrome,尽管这是问题最明显的地方。

display
  • 1 个回答
  • 144 Views
Martin Hope
user36196
Asked: 2016-01-06 15:59:49 +0800 CST

降低流媒体视频性能(Google Chrome 和 15.10)

  • 1

我目前正在运行 Ubuntu 15.10 和 Google Chrome 48.0.2564.48 的最新测试版,每当我尝试通过 Chrome 流式传输视频时,性能都会迅速下降。我可以开始播放视频,但几分钟后它会卡住,最终停止。

在另一个窗口中查看“顶部”显示负载平均值上升(当性能开始下降时增加 4-5)并且当达到 c。10、电脑完全停止响应。这似乎显示了很多 chrome 进程,即使在没有扩展活动的隐身模式下运行也是如此。

我认为这可能是一个 Adob​​e Flash 问题,所以我卸载了它,现在正在运行一个开源 Flash 播放器,但性能仍然不稳定(甚至对于 Html5 视频)。

这可能是什么原因造成的?这是 Ubuntu 问题还是 Chrome 问题?

video
  • 1 个回答
  • 164 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve