Debian9无法识别1920*1080显示器分辨率,因此需要手动添加,总结以下两个方法:
一、通过xrandr手动添加
1.通过cvt 1920 1080查看console输出内容,获取modeline后面的部分,我这里是:"1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
2.xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
3.xrandr --addmode Virtual1 "1920x1080_60.00",其中Virtual1是显示器,可以输入xrandr查看
但这种方法重启失效,可以写成脚本放在桌面开机手动启动:
#!/bin/bash
xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr --addmode Virtual1 "1920x1080_60.00"
xrandr --output Virtual1 --mode "1920x1080_60.00"
二、添加/etc/X11/xorg.conf
添加 /etc/X11/xorg.conf 文件,将此模式保存为默认分辨率。
$ sudo gedit /etc/X11/xorg.conf
粘贴以下内容:
Section "Monitor"
Identifier "Configured Monitor"
Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
Option "PreferredMode" "1920x1080_60.00"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection
Section "Device"
Identifier "Configured Video Device"
EndSection
保存重启
本文介绍了在Debian9系统中如何解决无法识别1920*1080分辨率的问题,提供了两种方法:一是通过xrandr命令手动添加并创建启动脚本;二是编辑/etc/X11/xorg.conf文件,保存默认分辨率。这两种方法可帮助用户成功设置自定义显示器分辨率。
1073

被折叠的 条评论
为什么被折叠?



