Xrandr 无法识别“-HSync”作为选项

Jom*_*nJi 6 fedora xrandr

这是我试图运行的命令

sudo xrandr --newmode Modeline "5120x2880_60.00"  1276.50  5120 5560 6128 7136  2880 2883 2888 2982 -hsync +vsync
Run Code Online (Sandbox Code Playgroud)

但是,无论我做什么,我总是得到这个输出

xrandr: unrecognized option '-hsync'                  
Try 'xrandr --help' for more information.
Run Code Online (Sandbox Code Playgroud)

所以我查看了帮助,结果发现 xrandr 需要 -HSync 和 -VSync 而不是 -hsync 和 -vsync。我尝试更换了这些,但仍然得到相同的结果。还尝试以 root 身份运行但没有运气。拱门论坛上有人遇到了类似的问题,他通过重启解决了。我也尝试过,但没有任何运气。

小智 7

删除“模型线”部分:

sudo xrandr --newmode "5120x2880_60.00"  1276.50  5120 5560 6128 7136  2880 2883 2888 2982 -hsync +vsync
Run Code Online (Sandbox Code Playgroud)