You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running into an issue when applying a configuration if the current configuration has an output outside the framebuffer of the target configuration. I'll illustrate with ARandR screenshots and show the offending commands afterwards:
Screenshots
Initial configuration:
Target configuration:
The first xrandr command autorandr attempts to run targets only the two upper to screens, but already resizes the framebuffer to the final size even though this will leave the lower screen outside the framebuffer like this:
XRandR commands
A --dry-run shows me that autorandr wants to run these three xrandr commands:
xrandr: specified screen 6560x2560 not large enough for output DP-4 (2560x1600+0+2560)
xrandr: Configure crtc 1 failed
Possible solution
I think the value --fb argument should not be the size of the target configuration, but should be large enough to include all outputs that will be adjusted in later xrandr calls, but have not yet been adjusted. In my case, everything works fine, if I replace the --fb 6560x2560 in the first command with --fb 4000x4160 which is just large enough to hold every output.
I'm guessing that the single-pass option referenced in #88 would also work, but if it doesn't work for many drivers, that's probably not the best solution.
The text was updated successfully, but these errors were encountered:
# Starting here, fix the frame buffer size# Do not do this earlier, as disabling scaling might temporarily make the framebuffer# dimensions larger than they will finally be.base_argv+=fb_args
# Adjust the frame buffer to match (see #319)iffb_args:
argv=base_argvifcall_and_retry(argv, dry_run=dry_run) !=0:
raiseAutorandrException("Command failed: %s"%" ".join(map(shlex.quote, argv)))
Given the initial comment that failing to obtain the frame-buffer size doesn't matter as xrandr will choose for us, would it be possible to only set the frame-buffer size at the very end with the last command and keep it flexible in the meantime? That would look like this: #408
I'm running into an issue when applying a configuration if the current configuration has an output outside the framebuffer of the target configuration. I'll illustrate with ARandR screenshots and show the offending commands afterwards:
Screenshots
Initial configuration:
Target configuration:
The first xrandr command autorandr attempts to run targets only the two upper to screens, but already resizes the framebuffer to the final size even though this will leave the lower screen outside the framebuffer like this:
XRandR commands
A
--dry-run
shows me that autorandr wants to run these three xrandr commands:The first one fails with this error:
Possible solution
I think the value
--fb
argument should not be the size of the target configuration, but should be large enough to include all outputs that will be adjusted in later xrandr calls, but have not yet been adjusted. In my case, everything works fine, if I replace the--fb 6560x2560
in the first command with--fb 4000x4160
which is just large enough to hold every output.I'm guessing that the
single-pass
option referenced in #88 would also work, but if it doesn't work for many drivers, that's probably not the best solution.The text was updated successfully, but these errors were encountered: