Manjaro日常开发使用经常死机(已解决)

最近华为magicbook 搭载了deepin的操作系统,我将自己的windows系统版安装了manjaro,使用至此近一个月时间,主要用作日常开发使用,经常在运行程序时莫名其妙的死机,按键不管用,tty也进不了,只能强制关机再开,如果有此解决方案,请联系我,谢谢

  1. 先檢查系統是否最新:sudo pacman -Syyu
  2. inxi -Fxzc0 的輸出貼上來
  3. 死機後的下次開機,運行 sudo journalctl -b -1 -p 4,把輸出貼上來
  4. 你如何開發?用的什麼IDE?內存夠用嗎?
  5. 多常死機?

好的,下次我发下,昨天升级又升出来一堆问题

System:
Host: manjaro-pc Kernel: 4.19.78-1-MANJARO x86_64 bits: 64 compiler: gcc
v: 9.2.0 Desktop: Gnome 3.34.1 Distro: Manjaro Linux
Machine:
Type: Laptop System: HUAWEI product: KPL-W0X v: M1B serial:
Mobo: HUAWEI model: KPL-W0X-PCB v: M1B serial: UEFI: HUAWEI
v: 1.19 date: 01/11/2019
Battery:
ID-1: BAT1 charge: 51.5 Wh condition: 54.6/56.3 Wh (97%)
model: DYNAPACK HB4593R1ECW status: Charging
CPU:
Topology: Quad Core model: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
bits: 64 type: MT MCP arch: Zen L2 cache: 2048 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
bogomips: 31952
Speed: 1977 MHz min/max: 1600/2000 MHz Core speeds (MHz): 1: 2313 2: 1510
3: 1397 4: 1531 5: 1396 6: 1395 7: 2696 8: 2793
Graphics:
Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
vendor: Huawei driver: amdgpu v: kernel bus ID: 02:00.0
Display: x11 server: X.org 1.20.5 driver: amdgpu
resolution:
OpenGL: renderer: AMD RAVEN (DRM 3.27.0 4.19.78-1-MANJARO LLVM 8.0.1)
v: 4.5 Mesa 19.2.1 direct render: Yes
Audio:
Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio vendor: Huawei
driver: snd_hda_intel v: kernel bus ID: 02:00.1
Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor
vendor: Huawei driver: N/A bus ID: 02:00.5
Device-3: AMD Family 17h HD Audio vendor: Huawei driver: snd_hda_intel
v: kernel bus ID: 02:00.6
Sound Server: ALSA v: k4.19.78-1-MANJARO
Network:
Device-1: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel
bus ID: 01:00.0
IF: wlp1s0 state: up mac:
IF-ID-1: vmnet1 state: unknown speed: N/A duplex: N/A mac:
IF-ID-2: vmnet8 state: unknown speed: N/A duplex: N/A mac:
Drives:
Local Storage: total: 238.47 GiB used: 121.94 GiB (51.1%)
ID-1: /dev/sda vendor: LITE-ON model: CV8-8E256 size: 238.47 GiB
Partition:
ID-1: / size: 78.24 GiB used: 37.40 GiB (47.8%) fs: ext4 dev: /dev/sda3
ID-2: swap-1 size: 3.75 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda2
Sensors:
System Temperatures: cpu: 53.0 C mobo: N/A gpu: amdgpu temp: 53 C
Fan Speeds (RPM): N/A
Info:
Processes: 258 Uptime: 12h 21m Memory: 6.77 GiB used: 3.08 GiB (45.4%)
Init: systemd Compilers: gcc: 9.2.0 Shell: bash v: 5.0.11 inxi: 3.0.36

之所以用4.19内核是因为其他版本的浏览网页屏幕撕裂严重,执行 sudo pacman -Syyu 后,deepin-wechat 再也不能输入中文了

-- Logs begin at Fri 2019-09-27 22:36:42 CST, end at Sat 2019-10-12 09:45:40 CST. --
10月 11 20:59:43 manjaro-pc kernel: [Firmware Bug]: AMD-Vi: IOAPIC[4] not in IVRS table
10月 11 20:59:43 manjaro-pc kernel: [Firmware Bug]: AMD-Vi: IOAPIC[5] not in IVRS table
10月 11 20:59:43 manjaro-pc kernel: [Firmware Bug]: AMD-Vi: No southbridge IOAPIC found
10月 11 20:59:43 manjaro-pc kernel: AMD-Vi: Disabling interrupt remapping
10月 11 20:59:43 manjaro-pc kernel: AMD-Vi: Unable to write to IOMMU perf counter.
10月 11 20:59:43 manjaro-pc kernel: pci 0000:00:00.2: can't derive routing for PCI INT A
10月 11 20:59:43 manjaro-pc kernel: pci 0000:00:00.2: PCI INT A: not connected
10月 11 20:59:43 manjaro-pc kernel: PPR NX GT IA GA PC GA_vAPIC
10月 11 20:59:43 manjaro-pc kernel: vmmon: loading out-of-tree module taints kernel.
10月 11 20:59:44 manjaro-pc kernel: i2c_hid i2c-ELAN2203:00: i2c-ELAN2203:00 supply vdd not found, using dummy regulator
10月 11 20:59:44 manjaro-pc kernel: i2c_hid i2c-ELAN2203:00: i2c-ELAN2203:00 supply vddl not found, using dummy regulator
10月 11 20:59:44 manjaro-pc kernel: sp5100-tco sp5100-tco: Watchdog hardware is disabled
10月 11 20:59:44 manjaro-pc systemd-vconsole-setup[374]: /usr/bin/loadkeys failed with exit status 1.
10月 11 20:59:44 manjaro-pc systemd-vconsole-setup[374]: KD_FONT_OP_GET failed while trying to get the font metadata: Function not implemented
10月 11 20:59:44 manjaro-pc systemd-vconsole-setup[374]: Fonts will not be copied to remaining consoles
10月 11 20:59:44 manjaro-pc kernel: uvcvideo 3-1:1.0: Entity type for entity Extension 4 was not initialized!
10月 11 20:59:44 manjaro-pc kernel: uvcvideo 3-1:1.0: Entity type for entity Extension 3 was not initialized!
10月 11 20:59:44 manjaro-pc kernel: uvcvideo 3-1:1.0: Entity type for entity Processing 2 was not initialized!
10月 11 20:59:44 manjaro-pc kernel: uvcvideo 3-1:1.0: Entity type for entity Camera 1 was not initialized!
10月 11 20:59:44 manjaro-pc kernel: thermal thermal_zone0: failed to read out thermal zone (-61)
10月 11 20:59:45 manjaro-pc kernel: kfd kfd: Failed to resume IOMMU for device 1002:15dd
10月 11 20:59:45 manjaro-pc kernel: kfd kfd: device 1002:15dd NOT added due to errors
10月 11 20:59:45 manjaro-pc systemd-backlight[811]: Failed to get backlight or LED device 'backlight:acpi_video1': No such device
10月 11 20:59:45 manjaro-pc systemd[1]: systemd-backlight@backlight:acpi_video1.service: Failed with result 'exit-code'.
10月 11 20:59:45 manjaro-pc systemd[1]: Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video1.
10月 11 20:59:45 manjaro-pc systemd-vconsole-setup[812]: /usr/bin/loadkeys failed with exit status 1.
10月 11 20:59:45 manjaro-pc gdm-autologin][823]: gkr-pam: no password is available for user
10月 11 20:59:45 manjaro-pc kernel: iwlwifi 0000:01:00.0: FW already configured (0) - re-configuring
10月 11 20:59:45 manjaro-pc kernel: iwlwifi 0000:01:00.0: FW already configured (0) - re-configuring
10月 11 20:59:45 manjaro-pc NetworkManager[640]: [1570798785.8963] sup-iface: failed to cancel p2p connect: P2P cancel failed
10月 11 20:59:46 manjaro-pc /usr/lib/gdm-x-session[854]: (--) Log file renamed from "/home/jackli/.local/share/xorg/Xorg.pid-856.log" to "/home/jackli/.local/share/xorg/Xorg.0.log"
10月 11 20:59:46 manjaro-pc /usr/lib/gdm-x-session[854]: (WW) Failed to open protocol names file lib/xorg/protocol.txt
10月 11 20:59:46 manjaro-pc /usr/lib/gdm-x-session[854]: X.Org X Server 1.20.5
10月 11 20:59:46 manjaro-pc /usr/lib/gdm-x-session[854]: X Protocol Version 11, Revision 0
10月 11 20:59:46 manjaro-pc /usr/lib/gdm-x-session[854]: Build Operating System: Linux Arch Linux
10月 11 20:59:46 manjaro-pc /usr/lib/gdm-x-session[854]: Current Operating System: Linux manjaro-pc 4.19.78-1-MANJARO #1 SMP PREEMPT Mon Oct 7 20:24:34 UTC 2019 x86_64
10月 11 20:59:46 manjaro-pc /usr/lib/gdm-x-session[854]: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.19-x86_64 root=UUID=6bfbd7cd-0178-4d25-8480-3ac105c962fc rw quiet apparmor=1 security=apparmor resume=UUI>
10月 11 20:59:46 manjaro-pc /usr/lib/gdm-x-session[854]: Build Date: 14 August 2019 10:50:56PM
10月 11 20:59:46 manjaro-pc /usr/lib/gdm-x-session[854]:
10月 11 20:59:46 manjaro-pc /usr/lib/gdm-x-session[854]: Current version of pixman: 0.38.4
10月 11 20:59:46 manjaro-pc /usr/lib/gdm-x-session[854]: Before reporting problems, check http://wiki.x.org
10月 11 20:59:46 manjaro-pc /usr/lib/gdm-x-session[854]: to make sure that you have the latest version.
10月 11 20:59:46 manjaro-pc /usr/lib/gdm-x-session[854]: Markers: (--) probed, (**) from config file, (==) default setting,
10月 11 20:59:46 manjaro-pc /usr/lib/gdm-x-session[854]: (++) from command line, (!!) notice, (II) informational,
10月 11 20:59:46 manjaro-pc /usr/lib/gdm-x-session[854]: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
10月 11 20:59:46 manjaro-pc /usr/lib/gdm-x-session[854]: (==) Log file: "/home/jackli/.local/share/xorg/Xorg.0.log", Time: Fri Oct 11 20:59:46 2019

我是一名java程序猿,日常使用开发工具idea firefox postman sublime等,昨天死机4次,机器配置8G内存 交换空间 4G ,感谢您的回复

-- Logs begin at Fri 2019-09-27 22:36:42 CST, end at Sat 2019-10-12 10:19:47 CST. --
10月 11 21:18:59 manjaro-pc kernel: [Firmware Bug]: AMD-Vi: IOAPIC[4] not in IVRS table
10月 11 21:18:59 manjaro-pc kernel: [Firmware Bug]: AMD-Vi: IOAPIC[5] not in IVRS table
10月 11 21:18:59 manjaro-pc kernel: [Firmware Bug]: AMD-Vi: No southbridge IOAPIC found
10月 11 21:18:59 manjaro-pc kernel: AMD-Vi: Disabling interrupt remapping
10月 11 21:18:59 manjaro-pc kernel: AMD-Vi: Unable to write to IOMMU perf counter.
10月 11 21:18:59 manjaro-pc kernel: pci 0000:00:00.2: can't derive routing for PCI INT A
10月 11 21:18:59 manjaro-pc kernel: pci 0000:00:00.2: PCI INT A: not connected
10月 11 21:18:59 manjaro-pc kernel: PPR NX GT IA GA PC GA_vAPIC
10月 11 21:18:59 manjaro-pc kernel: vmmon: loading out-of-tree module taints kernel.
10月 11 21:19:00 manjaro-pc kernel: i2c_hid i2c-ELAN2203:00: i2c-ELAN2203:00 supply vdd not found, using dummy regulator
10月 11 21:19:00 manjaro-pc kernel: i2c_hid i2c-ELAN2203:00: i2c-ELAN2203:00 supply vddl not found, using dummy regulator
10月 11 21:19:00 manjaro-pc kernel: sp5100-tco sp5100-tco: Watchdog hardware is disabled
10月 11 21:19:00 manjaro-pc systemd-vconsole-setup[376]: /usr/bin/loadkeys failed with exit status 1.
10月 11 21:19:00 manjaro-pc systemd-vconsole-setup[376]: KD_FONT_OP_GET failed while trying to get the font metadata: Function not implemented
10月 11 21:19:00 manjaro-pc systemd-vconsole-setup[376]: Fonts will not be copied to remaining consoles
10月 11 21:19:00 manjaro-pc kernel: uvcvideo 3-1:1.0: Entity type for entity Extension 4 was not initialized!
10月 11 21:19:00 manjaro-pc kernel: uvcvideo 3-1:1.0: Entity type for entity Extension 3 was not initialized!
10月 11 21:19:00 manjaro-pc kernel: uvcvideo 3-1:1.0: Entity type for entity Processing 2 was not initialized!
10月 11 21:19:00 manjaro-pc kernel: uvcvideo 3-1:1.0: Entity type for entity Camera 1 was not initialized!
10月 11 21:19:00 manjaro-pc kernel: thermal thermal_zone0: failed to read out thermal zone (-61)
10月 11 21:19:00 manjaro-pc kernel: kfd kfd: Failed to resume IOMMU for device 1002:15dd
10月 11 21:19:00 manjaro-pc kernel: kfd kfd: device 1002:15dd NOT added due to errors
10月 11 21:19:01 manjaro-pc systemd-backlight[806]: Failed to get backlight or LED device 'backlight:acpi_video1': No such device
10月 11 21:19:01 manjaro-pc systemd[1]: systemd-backlight@backlight:acpi_video1.service: Failed with result 'exit-code'.
10月 11 21:19:01 manjaro-pc systemd[1]: Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video1.
10月 11 21:19:01 manjaro-pc systemd-vconsole-setup[807]: /usr/bin/loadkeys failed with exit status 1.
10月 11 21:19:01 manjaro-pc kernel: iwlwifi 0000:01:00.0: FW already configured (0) - re-configuring
10月 11 21:19:01 manjaro-pc gdm-autologin][819]: gkr-pam: no password is available for user
10月 11 21:19:01 manjaro-pc kernel: iwlwifi 0000:01:00.0: FW already configured (0) - re-configuring
10月 11 21:19:01 manjaro-pc NetworkManager[526]: [1570799941.6464] sup-iface: failed to cancel p2p connect: P2P cancel failed
10月 11 21:19:02 manjaro-pc /usr/lib/gdm-x-session[864]: (--) Log file renamed from "/home/jackli/.local/share/xorg/Xorg.pid-876.log" to "/home/jackli/.local/share/xorg/Xorg.0.log"
10月 11 21:19:02 manjaro-pc /usr/lib/gdm-x-session[864]: (WW) Failed to open protocol names file lib/xorg/protocol.txt
10月 11 21:19:02 manjaro-pc /usr/lib/gdm-x-session[864]: X.Org X Server 1.20.5
10月 11 21:19:02 manjaro-pc /usr/lib/gdm-x-session[864]: X Protocol Version 11, Revision 0
10月 11 21:19:02 manjaro-pc /usr/lib/gdm-x-session[864]: Build Operating System: Linux Arch Linux
10月 11 21:19:02 manjaro-pc /usr/lib/gdm-x-session[864]: Current Operating System: Linux manjaro-pc 4.19.78-1-MANJARO #1 SMP PREEMPT Mon Oct 7 20:24:34 UTC 2019 x86_64
10月 11 21:19:02 manjaro-pc /usr/lib/gdm-x-session[864]: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.19-x86_64 root=UUID=6bfbd7cd-0178-4d25-8480-3ac105c962fc rw quiet apparmor=1 security=apparmor resume=UUI>
10月 11 21:19:02 manjaro-pc /usr/lib/gdm-x-session[864]: Build Date: 14 August 2019 10:50:56PM
10月 11 21:19:02 manjaro-pc /usr/lib/gdm-x-session[864]:
10月 11 21:19:02 manjaro-pc /usr/lib/gdm-x-session[864]: Current version of pixman: 0.38.4
10月 11 21:19:02 manjaro-pc /usr/lib/gdm-x-session[864]: Before reporting problems, check http://wiki.x.org
10月 11 21:19:02 manjaro-pc /usr/lib/gdm-x-session[864]: to make sure that you have the latest version.
10月 11 21:19:02 manjaro-pc /usr/lib/gdm-x-session[864]: Markers: (--) probed, () from config file, (==) default setting,
10月 11 21:19:02 manjaro-pc /usr/lib/gdm-x-session[864]: (++) from command line, (!!) notice, (II) informational,
10月 11 21:19:02 manjaro-pc /usr/lib/gdm-x-session[864]: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
10月 11 21:19:02 manjaro-pc /usr/lib/gdm-x-session[864]: (==) Log file: "/home/jackli/.local/share/xorg/Xorg.0.log", Time: Fri Oct 11 21:19:02 2019
10月 11 21:19:02 manjaro-pc /usr/lib/gdm-x-session[864]: (==) Using config directory: "/etc/X11/xorg.conf.d"
10月 11 21:19:02 manjaro-pc /usr/lib/gdm-x-session[864]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
10月 11 21:19:02 manjaro-pc /usr/lib/gdm-x-session[864]: (==) No Layout section. Using the first Screen section.
10月 11 21:19:02 manjaro-pc /usr/lib/gdm-x-session[864]: (==) No screen section available. Using defaults.
10月 11 21:19:02 manjaro-pc /usr/lib/gdm-x-session[864]: (
) |-->Screen "Default Screen Section" (0)

2019-10-12 10:21:00 刚刚死机重启的日志

Ryzen 5 2500U 這顆 cpu 似乎很多人都遇到死機的問題。你可以試試這篇教程的方法

感谢您的回复

這個問題是wine 4.17 的bug 已確認,但是北京地區無法降級...知道是個坑就完事了

Forum kindly sponsored by