Drivers
未知顯示導致螢幕截圖拉長
我在顯示器方面遇到了一些問題。我以前有這個,但我不記得我是如何解決它的……好吧,事情就是這樣: 登錄螢幕 - 行為不端
- https://askubuntu.com/questions/398903/unknown-display-besides-laptop-built-in-display-old-question-but-with-no-answer
- https://askubuntu.com/questions/362081/two-monitors-when-only-having-one-in-13-10
- https://askubuntu.com/questions/283018/ubuntu-detects-2-monitors-when-i-only-have-one
查看
/sys/class/drm
您的電腦輸出列表。我的被標記為“card0-VGA-1”。只需刪除“card0-”,這就是相關輸出的名稱。這是什麼意思…重命名文件…?或刪除以此類名稱開頭的文件…?
一些重要的輸出:
$ lspci | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) 01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 525M] (rev a1)
$ ls /sys/class/drm
card0 card0-DP-1 card0-HDMI-A-1 card0-LVDS-1 card0-VGA-1 card1 card1-HDMI-A-2 card1-VGA-2 renderD128 renderD129 version
$ xrandr | grep " connected " | awk '{ print$1 }'
VGA-0 LVDS-1-1
$ xrandr -q
Screen 0: minimum 8 x 8, current 2390 x 768, maximum 16384 x 16384 VGA-0 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm 1024x768 60.00*+ 1600x900 59.82 1400x900 59.88 ... HDMI-0 disconnected (normal left inverted right x axis y axis) LVDS-1-1 connected primary 1366x768+1024+0 (normal left inverted right x axis y axis) 344mm x 194mm 1366x768 59.64*+ 1360x768 59.80 59.96 1280x720 60.00 59.99 59.86 59.74 1024x768 60.04 60.00 ... VGA-1-1 disconnected (normal left inverted right x axis y axis) HDMI-1-1 disconnected (normal left inverted right x axis y axis) DP-1-1 disconnected (normal left inverted right x axis y axis) 1360x768 (0x47) 84.750MHz -HSync +VSync h: width 1360 start 1432 end 1568 total 1776 skew 0 clock 47.72KHz v: height 768 start 771 end 781 total 798 clock 59.80H
$ cat /etc/default/grub
... GRUB_DEFAULT="0" GRUB_TIMEOUT_STYLE="hidden" GRUB_TIMEOUT="-1" GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`" GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX="video=VGA-1:d" ...
什麼暫時有效…
- 鏡像顯示是目前的解決方法。但是如果我註銷(不是鎖定),它仍然會影響登錄螢幕
xrandr --auto && xrandr --output VGA-0 --off
也可以,但不是永久的解決方案有什麼關係……?
我在 tty1 中反複收到這些消息:
... [ 342.959335] NVRM: Xid (PCI:0000:01:00): 16, Head 00000000 Count 00000ffc [ 351.146800] NVRM: Xid (PCI:0000:01:00): 16, Head 00000000 Count 00000ffd [ 359.334410] NVRM: Xid (PCI:0000:01:00): 16, Head 00000000 Count 00000ffe ...
GPU 溫度高達 65°C。我應該擔心嗎?
這是我的系統資訊:eeeeeeeeeeeeeeeee joe@eOS eeeeeeeeeeeeeeeeeeeeeee ------- eeeee eeeeeeeeeeee eeeee OS: elementary OS 5.1 Hera x86_64 eeee eeeee eee eeee Host: Dell System XPS L502X eeee eeee eee eeee Kernel: 5.0.0-37-generic eee eee eee eee Uptime: 34 mins eee eee eee eee Packages: 2369 ee eee eeee eeee Shell: bash 4.4.20 ee eee eeeee eeeeee Resolution: 1360x768 ee eee eeeee eeeee ee DE: Pantheon eee eeee eeeeee eeeee eee WM: Mutter(Gala) eee eeeeeeeeee eeeeee eee Terminal: io.elementary.t eeeeeeeeeeeeeeeeeeeeeeee eeeee CPU: Intel i5-2410M (4) @ 2.900GHz eeeeeeee eeeeeeeeeeee eeee GPU: NVIDIA GeForce GT 525M eeeee eeeee GPU: Intel 2nd Generation Core Processor Family eeeeeee eeeeeee Memory: 2448MiB / 11899MiB eeeeeeeeeeeeeeeee
誰能幫我這個?是怎麼
VGA-0
出現的?我怎樣才能擺脫它?
我完全重新安裝了基本作業系統。然後立即安裝 Ubuntu 驅動程序
$ sudo apt update $ sudo apt upgrade $ sudo ubuntu-drivers install
它安裝了最準確的 NVIDIA 驅動程序,直到現在我還沒有遇到過這個問題。