X11 (xorg) 无法设置/更改分辨率 (linux x86)

问题描述

我正在尝试将 10 英寸触摸显示器(原始分辨率:1280x800)切换到 1024x768,但我尝试的所有内容要么被忽略,要么导致错误。据报道,显示支持该分辨率,但 { "editor.formatOnSave": true,"[javascript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" },"window.zoomLevel": 1,"[html]": { "editor.defaultFormatter": "esbenp.prettier-vscode" },"[typescript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" },"workbench.sideBar.location": "right","javascript.updateImportsOnFileMove.enabled": "always","files.autoSave": "afterDelay" } 报告(我使用的是认的 VESA 驱动程序):

xrandr --verbose

如果我尝试通过 xrandr: Failed to get size of gamma for output default Screen 0: minimum 640 x 480,current 640 x 480,maximum 1280 x 800 default connected 640x480+0+0 (0x180) normal (normal) 0mm x 0mm Identifier: 0x17d Timestamp: 635022581 Subpixel: horizontal rgb Clones: CRTC: 0 CRTCs: 0 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: 1280x800 (0x17e) 0.0MHz h: width 1280 start 0 end 0 total 1280 skew 0 clock 0.0KHz v: height 800 start 0 end 0 total 800 clock 0.0Hz 800x600 (0x17f) 0.0MHz h: width 800 start 0 end 0 total 800 skew 0 clock 0.0KHz v: height 600 start 0 end 0 total 600 clock 0.0Hz 640x480 (0x180) 0.0MHz *current h: width 640 start 0 end 0 total 640 skew 0 clock 0.0KHz v: height 480 start 0 end 0 total 480 clock 0.0Hz 1024x768 (0x181) 0.0MHz h: width 1024 start 0 end 0 total 1024 skew 0 clock 0.0KHz v: height 768 start 0 end 0 total 768 clock 0.0Hz 更改分辨率,我只会得到:

xrandr --output default --mode 1027x768

据我所知,只有第二行与我的问题有关;我不知道为什么 xrandr: Failed to get size of gamma for output default xrandr: Configure crtc 0 Failed 要配置 xrandr,不过,我只连接了触摸屏。

失败了,我尝试使用以下 crtc 0 直接配置模式:

xorg.conf

不幸的是,这不起作用,Section "InputClass" Identifier "calibration" MatchProduct "DIALOGUE INC PenMount USB" Option "Calibration" "95 911 93 919" Option "Swapaxes" "0" EndSection Section "Monitor" Identifier "disp0" Modeline "1024x768_60.00" 63.50 1024 1072 1176 1328 768 771 775 798 -hsync +vsync Option "PreferredMode" "1024x768_60.00" EndSection Section "Device" Identifier "card0" Driver "vesa" EndSection Section "Screen" Identifier "src0" Device "card0" Monitor "disp0" SubSection "display" Modes "1024x768_60.00" "1024x768" EndSubSection EndSection 显示以下内容

Xorg.log

为什么这不起作用?还有什么办法可以让显示器切换到 1024x768?

我已将完整的日志文件上传Pastebin

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)