我重启了电脑,在下次启动时,我注意到登录屏幕被放大了。当仅在桌面上时,我现在可以从左向右平移,这是我以前没有做过的事情,而且只需要进入桌面的各个部分即可。我尝试探索设置,发现它现在报告了内置显示器和“未知显示器”。这让我相信它没有识别我原来的笔记本电脑显示器,于是我运行了“xrandr --query”。
xrandr --query 的输出
Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 32767 x 32767
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-2 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm panning 3840x1080+0+0
1920x1080 144.00*+
None-1-1 connected (normal left inverted right x axis y axis)
1920x1080 60.00 +
显示有两个显示器:屏幕零和无-1-1。我的内置显示器是 1920x1080 144 刷新率,而不是 3840x1080 144 刷新率或 1920x1080 60 刷新率。
我查看了日志,看看是否有任何迹象表明发生了什么,并发现了多个条目
[drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership
我也发现了这些日志
2:38:38 PM kernel: nvidia-modeset: WARNING: GPU:0: BOE Technology Group Co., Ltd (DP-2): G-SYNC Compatible: EDID min refresh rate invalid, disabling G-SYNC Compatible.
2:38:38 PM Xorg: (II) NVIDIA(0): Setting mode "DFP-3:nvidia-auto-select"
2:38:38 PM acpid: 1 client rule loaded
2:38:38 PM Xorg: (II) NVIDIA: access.
2:38:38 PM Xorg: (II) NVIDIA: access.
2:38:38 PM Xorg: (II) NVIDIA: Reserving 24576.00 MB of virtual memory for indirect memory
2:38:38 PM Xorg: (WW) NVIDIA: '/var/run/nvidia-xdriver-0a8ed763' Permission denied
2:38:38 PM Xorg: (WW) NVIDIA: Failed to bind sideband socket to
2:38:38 PM Xorg: (II) Unloading vesa
2:38:38 PM Xorg: (II) UnloadModule: "vesa"
2:38:38 PM Xorg: (II) Unloading fbdevhw
2:38:38 PM Xorg: (II) UnloadSubModule: "fbdevhw"
2:38:38 PM Xorg: (II) Unloading fbdev
2:38:38 PM Xorg: (II) UnloadModule: "fbdev"
2:38:38 PM Xorg: (II) Module "fb" already built-in
2:38:38 PM Xorg: (II) LoadModule: "fb"
2:38:38 PM Xorg: (II) Loading sub module "fb"
2:38:38 PM Xorg: (==) modeset(G0): DPI set to (96, 96)
2:38:38 PM Xorg: (==) modeset(G0): Using gamma correction (1.0, 1.0, 1.0)
2:38:38 PM Xorg: (II) modeset(G0): Modeline "1920x1080"x60.0 124.42 1920 1920 1920 1920 1080 1080 1080 1080 (64.8 kHz eP)
2:38:38 PM Xorg: (II) modeset(G0): Printing probed modes for output None-1-1
2:38:38 PM Xorg: (II) modeset(G0): EDID for output None-1-1
2:38:38 PM Xorg: (II) modeset(G0): Output None-1-1 has no monitor section
2:38:38 PM Xorg: (II) modeset(G0): ShadowFB: preferred NO, enabled NO
2:38:38 PM Xorg: (II) modeset(G0): glamor initialization failed
2:38:38 PM Xorg: (II) modeset(G0): Refusing to try glamor on llvmpipe
2:38:38 PM Xorg: kmsro: driver missing
2:38:38 PM Xorg: MESA-LOADER: failed to open simpledrm: /usr/lib/dri/simpledrm_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
2:38:38 PM Xorg: ABI class: X.Org ANSI C Emulation, version 0.4
2:38:38 PM Xorg: compiled for 1.21.1.4, module version = 1.0.1
2:38:38 PM Xorg: (II) Module glamoregl: vendor="X.Org Foundation"
2:38:38 PM Xorg: (II) Loading /usr/lib/xorg/modules/libglamoregl.so
2:38:38 PM Xorg: (II) LoadModule: "glamoregl"
2:38:38 PM Xorg: (II) Loading sub module "glamoregl"
2:38:38 PM Xorg: (==) modeset(G0): Default visual is TrueColor
2:38:38 PM Xorg: (==) modeset(G0): RGB weight 888
2:38:38 PM Xorg: (==) modeset(G0): Depth 24, (==) framebuffer bpp 32
2:38:38 PM Xorg: (--) NVIDIA(0): option
2:38:38 PM Xorg: (--) NVIDIA(0): DPI set to (143, 144); computed from "UseEdidDpi" X config
2:38:38 PM Xorg: (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
2:38:38 PM Xorg: (II) NVIDIA(0): "DFP-3:nvidia-auto-select"
2:38:38 PM Xorg: (II) NVIDIA(0): Validated MetaModes:
2:38:38 PM Xorg: (==) NVIDIA(0):
2:38:38 PM Xorg: (==) NVIDIA(0): will be used as the requested mode.
2:38:38 PM Xorg: (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
2:38:38 PM Xorg: (==) NVIDIA(0):
2:38:38 PM Xorg: (--) NVIDIA(GPU-0):
2:38:38 PM Xorg: (--) NVIDIA(GPU-0): BOE Technology Group Co., Ltd (DFP-3): 2660.0 MHz maximum pixel clock
2:38:38 PM Xorg: (--) NVIDIA(GPU-0): BOE Technology Group Co., Ltd (DFP-3): Internal DisplayPort
2:38:38 PM Xorg: (--) NVIDIA(GPU-0): BOE Technology Group Co., Ltd (DFP-3): connected
2:38:38 PM Xorg: (--) NVIDIA(GPU-0):
2:38:38 PM Xorg: (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
2:38:38 PM Xorg: (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
2:38:38 PM Xorg: (--) NVIDIA(GPU-0): DFP-2: disconnected
2:38:38 PM Xorg: (--) NVIDIA(GPU-0):
2:38:38 PM kernel: nvidia-modeset: WARNING: GPU:0: BOE Technology Group Co., Ltd (DP-2): G-SYNC Compatible: EDID min refresh rate invalid, disabling G-SYNC Compatible.
2:38:38 PM Xorg: (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
我只是不确定这到底是怎么发生的,或者如何修复它。我确保我的系统是最新的。请帮忙!
更新
我了解到使用此命令
systemctl restart gdm
它重新启动了驱动程序并且分辨率得到纠正,但是在整个系统(打开和关闭)重新启动后,它又回到了问题。