Xorg xrandr/arandr RRSETSCERENSIZE和RRSetCrtcConfig错误

Xorg xrandr/arandr RRSETSCERENSIZE和RRSetCrtcConfig错误,xorg,xrandr,Xorg,Xrandr,我正试图让X使用我笔记本电脑上的3个外部监视器 TLDR;它在10%的时间内工作arandr显示一个浅灰色框,其中包含监视器(见图)。当显示器不能全部安装时,我会出错 X配置中的浅灰色背景框叫什么(见图)? 如何设置浅灰色框的大小? 这在10%的时间内有效: 1个笔记本电脑屏幕eDP1(1920x1080) 2个外部DVI-I-1和DVI-I-2(1920x1080)通孔 1个外部HDMI1(1680x900) 以下是arandr构建的脚本(为了可读性增加了换行符) 问题似乎在于HDMI显示

我正试图让X使用我笔记本电脑上的3个外部监视器

TLDR;它在10%的时间内工作
arandr
显示一个浅灰色框,其中包含监视器(见图)。当显示器不能全部安装时,我会出错

X配置中的浅灰色背景框叫什么(见图)? 如何设置浅灰色框的大小?

这在10%的时间内有效:

  • 1个笔记本电脑屏幕eDP1(1920x1080)
  • 2个外部DVI-I-1和DVI-I-2(1920x1080)通孔
  • 1个外部HDMI1(1680x900)
以下是arandr构建的脚本(为了可读性增加了换行符)

问题似乎在于HDMI显示器,它的分辨率为1600x900。当x尝试自动配置它时,它会使宽度为1920+1600,而不是1920+1920。见下图

脚本给出了错误

  • 如果HDMI未插入:

    xrandr:找不到模式1600x900

  • 如果HDMI已插入,但DVI-I-1在浅灰色背景框外

    XRandR失败: XRandR返回错误代码1:X请求失败的错误:BadValue(整数参数超出操作范围) 失败请求的主要操作码:140(RANDR) 失败请求的次要操作码:21(RRSetCrtcConfig) 失败请求中的值:0x780 失败请求的序列号:53 输出流中的当前序列号:53

  • 或下图中的错误(最常见)

这会在一段时间内工作一次,当所有东西都插上电源时,笔记本电脑会神奇地进行配置,或者

  • USB或HDMI显示器不工作或
  • 屏幕缓冲区损坏,我必须按ctrl-alt backspace或
  • 随机效果掷d20(镜像等)
  • arandr
    如下所示(请注意DVI-I-1如何位于浅灰色背景之外)。在反复使用它之后:

  • 当浅灰色背景不适合显示器时,它永远不起作用
  • 当浅灰色背景适合月色时,它总是起作用
  • 当我最后一次插入HDMI显示器时,它有时会工作,但不可靠
  • 如果我运行这个xrandr(没有HDMI),我会得到一个错误:

    ☀  ./3up.sh 
    X Error of failed request:  BadValue (integer parameter out of range for operation)
      Major opcode of failed request:  140 (RANDR)
      Minor opcode of failed request:  21 (RRSetCrtcConfig)
      Value in failed request:  0x780
      Serial number of failed request:  53
      Current serial number in output stream:  53
    
    michael@mc-desktop ~
    ☔  cat 3up.sh 
    #!/bin/sh
    xrandr --output VIRTUAL1 --off \
      --output eDP1 --primary --mode 1920x1080 --pos 0x1080 --rotate normal \
      --output VGA1 --off \
      --output DVI-I-1 --mode 1920x1080 --pos 1920x0 --rotate normal \
      --output DVI-I-2 --mode 1920x1080 --pos 0x0 --rotate normal \
      --output HDMI1 --off
    
    我在System76笔记本电脑上使用Linux Mint 18

    谢谢


    我发现这是一个英特尔芯片不正确地调整显示器尺寸的问题

    我升级到UbuntuGNOME16.04(从Mint14.04开始),它运行正常。我想它升级了英特尔的驱动程序。无论如何,它并不完美,但更稳定

    ☀  ./3up.sh 
    X Error of failed request:  BadValue (integer parameter out of range for operation)
      Major opcode of failed request:  140 (RANDR)
      Minor opcode of failed request:  21 (RRSetCrtcConfig)
      Value in failed request:  0x780
      Serial number of failed request:  53
      Current serial number in output stream:  53
    
    michael@mc-desktop ~
    ☔  cat 3up.sh 
    #!/bin/sh
    xrandr --output VIRTUAL1 --off \
      --output eDP1 --primary --mode 1920x1080 --pos 0x1080 --rotate normal \
      --output VGA1 --off \
      --output DVI-I-1 --mode 1920x1080 --pos 1920x0 --rotate normal \
      --output DVI-I-2 --mode 1920x1080 --pos 0x0 --rotate normal \
      --output HDMI1 --off