linux增加分辨率addmode,设置分辨率xrandr --addmode

我无法使用virtualbox中的xrandr设置屏幕分辨率。这是一台运行Ubuntu 12.04的虚拟机,并且驱动程序支持该解决方案,因为来自同一个iso的VM在同一台计算机上运行它。为什么X错误的请求失败:BadMatch(无效的参数属性)发生?

步骤0

xrandr

Screen 0: minimum 64 x 64, current 1024 x 768, maximum 32000 x 32000

VBOX0 connected 1024x768+0+0 0mm x 0mm

1024x768 60.0*+

800x600 60.0

640x480 60.0步骤1

cvt 1920 1080

1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz

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 VBOX0 1920x1080_60.00

X Error of failed request: BadMatch (invalid parameter attributes)

Major opcode of failed request: 150 (RANDR)

Minor opcode of failed request: 18 (RRAddOutputMode)

Serial number of failed request: 20

Current serial number in output stream: 21

我无法使用virtualbox中的xrandr设置屏幕分辨率。这是一台运行Ubuntu 12.04的虚拟机,并且驱动程序支持该解决方案,因为来自同一个iso的VM在同一台计算机上运行它。为什么X错误的请求失败:BadMatch(无效的参数属性)发生? 步骤0 xrandr Screen 0: minimum 64 x 64, current 1024 x 768, maximum 32000 x 32000 VBOX0 connected 1024x768+0+0 0mm x 0mm 1024x768 60.0*+ 800x600 60.0 640x480 60.0步骤1 cvt 1920 1080 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz 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 VBOX0 1920x1080_60.00 X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 150 (RANDR) Minor opcode of failed request: 18 (RRAddOutputMode) Serial number of failed request: 20 Current serial number in output stream: 21
经验分享 程序员 微信小程序 职场和发展