在“设备”部分下。不幸的是,我没有这样的文件
尝试创建您自己的 xorg.conf 文件,将其放在此位置后将覆盖您的 X 设置重新启动X https://askubuntu.com/questions/1220/how-to-restart-x-window-server-from-command-line或者只需重新启动计算机即可。
mkdir -p /etc/X11/xorg.conf.d/
cp /etc/X11/xorg.conf.d/xorg.conf /etc/X11/xorg.conf.d/xorg.conf.bk # in case it exists
cp /usr/share/X11/xorg.conf.d/10-monitor.conf /etc/X11/xorg.conf.d/xorg.conf
/etc/X11/xorg.conf.d/xorg.conf 的内容如下所示(添加您的选项):
Section "Monitor"
Identifier "Monitor0"
Modeline "1920x1080_60.00" 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync
EndSection
Section "Device"
Identifier "LVSD"
Driver "fglrx" #Choose the driver used for this monitor
Option "Videoram" "65536"
Option "Cachelines" "1980"
EndSection
Section "Screen"
Identifier "Screen0"
Device "LVDS"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080_60.00" "1366x768"
EndSubSection
EndSection
这也可能与您使用的驱动程序有关,还有其他常见的驱动程序可用,例如
Driver "fbdev"
Driver "vesa"
Driver "fglrx"
fbdev 驱动程序支持所有具有帧缓冲区驱动程序的硬件。
vesa 驱动程序支持大多数 VESA 兼容视频卡。有一些已知的例外情况,应在此处列出。
fglrx 是基于 ATI (Mobility(TM)) RADEON® 和 (Mobility(TM)) FireGL(TM) 显卡的 X.org(7x) 驱动程序。该驱动程序为 3D 图形和视频播放提供硬件加速。它包括对双显示器、电视输出的支持,并且从版本 8.21.7 开始还支持 OpenGL 2.0 (GLSL)。
根据您选择的驱动程序,某些选项/功能/兼容性将启用或不启用,您可以更改驱动程序并使用您所说的可用选项进行测试。
最后,你有这里有数百个选项 https://www.x.org/archive//X11R6.7.0/doc/xorg.conf.5.html和X11一起玩。