最近,我的 18.04 机器在无人看管一段时间后一直挂起。鼠标可以移动,但其他一切都没有响应,需要强制关机。/var/log/syslog 充满了这样的信息,每隔一分钟左右重复一次:
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): EDID vendor "SAM", prod id 3148
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Using hsync ranges from config file
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Using vrefresh ranges from config file
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Printing DDC gathered Modelines:
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Modeline "3840x2160"x0.0 594.00 3840 4016 4104 4400 2160 2168 2178 2250 +hsync +vsync (135.0 kHz eP)
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Modeline "1920x1080"x0.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz e)
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Modeline "1920x1080"x0.0 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Modeline "1280x720"x0.0 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (45.0 kHz e)
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Modeline "2560x1440"x0.0 241.50 2560 2608 2640 2720 1440 1443 1448 1481 +hsync -vsync (88.8 kHz e)
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Modeline "720x576"x0.0 27.00 720 732 796 864 576 581 586 625 -hsync -vsync (31.2 kHz e)
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Modeline "720x480"x0.0 27.00 720 736 798 858 480 489 495 525 -hsync -vsync (31.5 kHz e)
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Modeline "1280x720"x0.0 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync (37.5 kHz e)
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Modeline "1920x1080"x0.0 74.25 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync (27.0 kHz e)
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Modeline "1920x1080"x0.0 74.25 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (33.8 kHz e)
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e)
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Modeline "800x600"x0.0 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz e)
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Modeline "640x480"x0.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz e)
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Modeline "640x480"x0.0 31.50 640 664 704 832 480 489 492 520 -hsync -vsync (37.9 kHz e)
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Modeline "640x480"x0.0 30.24 640 704 768 864 480 483 486 525 -hsync -vsync (35.0 kHz e)
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Modeline "640x480"x0.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz e)
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Modeline "720x400"x0.0 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz e)
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Modeline "1280x1024"x0.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Modeline "1024x768"x0.0 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.0 kHz e)
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Modeline "1024x768"x0.0 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync (56.5 kHz e)
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Modeline "832x624"x0.0 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync (49.7 kHz e)
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Modeline "800x600"x0.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz e)
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Modeline "800x600"x0.0 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync (48.1 kHz e)
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Modeline "1152x864"x0.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz e)
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Modeline "1280x800"x0.0 71.00 1280 1328 1360 1440 800 803 809 823 +hsync -vsync (49.3 kHz e)
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Modeline "1280x1024"x0.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Modeline "1440x900"x0.0 88.75 1440 1488 1520 1600 900 903 909 926 +hsync -vsync (55.5 kHz e)
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Modeline "1600x900"x60.0 119.00 1600 1696 1864 2128 900 901 904 932 -hsync +vsync (55.9 kHz e)
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (II) modeset(0): Modeline "1680x1050"x0.0 119.00 1680 1728 1760 1840 1050 1053 1059 1080 +hsync -vsync (64.7 kHz e)
Jul 14 01:25:16 dev01 /usr/lib/gdm3/gdm-x-session[1403]: (--) modeset(0): HDMI max TMDS frequency 300000KHz
Jul 14 01:25:16 dev01 gsd-color[1161]: failed to set screen _ICC_PROFILE: Failed to open file “/home/pieter/.local/share/icc/edid-ba82e4a836c294b5db9fe75f7f5dcd3b.icc”: Permission denied
答案1
我发现这是由 read-edid 软件包导致的。卸载后就没问题了。