wertarbyte / autorandr

Auto-detect the connect display hardware and load the appropiate X11 setup using xrandr or disper
648 stars 63 forks source link

X Error of failed request: BadValue #39

Open negativeOne1 opened 8 years ago

negativeOne1 commented 8 years ago

Hi, I'm having troubles using autorandr with my XPS13. I'm trying to run 2 external monitors using a Dell D3100 Docking station and the Laptop Monitor all together. What I did was setting up the monitors using xrandr, than I saved the settings using autorandr --save work and the I restarted. But now I'm having problems activating the work-profile. I tried to run autorandr -l work, the two external Monitors are configured properly but the eDP1(Laptop Monitor) stays black and I get:

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:  7 (RRSetScreenSize)
  Value in failed request:  0x0
  Serial number of failed request:  54
  Current serial number in output stream:  55
Failed to apply profile 'work' (line 610):
  Command failed: xrandr --output DVI-I-1 --gamma 1.0:1.0:1.0 --mode 1920x1080 --panning 0x0 --pos 0x0 --rate 60.00 --reflect normal --rotate normal --output DVI-I-2 --gamma 1.0:1.0:1.0 --mode 1920x1080 --panning 0x0 --pos 1920x0 --rate 60.00 --reflect normal --rotate normal (line 610)
This appears to be a bug. Please help improving autorandr by reporting it upstream.
Please attach the output of `xrandr --verbose` to your bug report if appropriate.

my ~/.config/autorandr/work/setup looks like:

DVI-I-1 00ffffffffffff0010ac9aa05354453224190104a5351e783aa0a5a656529d270f5054a54b00714f8180a9c0d1c00101010101010101023a801871382d40582c45000f292100001e000000ff003336574a58353931324554530a000000fc0044454c4c205032343134480a20000000fd00384c1e5311000a2020202020200060
DVI-I-2 00ffffffffffff0010ac9ba0534a44322419010380351e78eaa0a5a656529d270f5054a54b00714f8180a9c0d1c00101010101010101023a801871382d40582c45000f292100001e000000ff003336574a5835393132444a530a000000fc0044454c4c205032343134480a20000000fd00384c1e5311000a20202020202000eb
eDP1 00ffffffffffff004d1020140000000002190104a51d11780ede50a3544c99260f5054000000010101010101010101010101010101011a3680a070381f403020350026a510000018000000100000000000000000000000000000000000fe005634464a34814c513133334d31000000000002410328001200000b010a202000b5

and the ~/.config/autorandr/work/config

output DP1
off
output DP2
off
output HDMI1
off
output HDMI2
off
output VIRTUAL1
off
output DVI-I-1
mode 1920x1080
pos 0x0
rate 60.00
output DVI-I-2
mode 1920x1080
pos 1920x0
rate 60.00
output eDP1
mode 1920x1080
pos 0x1080
rate 59.93

I'm running archlinux with autorandr-git r209.a997298-1, xorg-xrandr 1.5.0-1

phillipberndt commented 8 years ago

autorandr-git is based on a fork of this repository. Please post your bug report in https://github.com/phillipberndt/autorandr/issues. (Please add the output you get when changing profiles using --debug and --dry-run, respectively, as well.)