Bug 102101 - intel-virtual-output doesn't work with xrandr --scale
Summary: intel-virtual-output doesn't work with xrandr --scale
Status: NEW
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium enhancement
Assignee: Chris Wilson
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-08 03:04 UTC by zcarterc
Modified: 2017-10-10 13:38 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zcarterc 2017-08-08 03:04:45 UTC
Using intel-virtual-output with xrandr --scale doesn't display the whole output.

If both monitors are set with xrandr --scale, it displays only the upper left corner with the rest black. If just the virtual output's scale is set, it displays the upper left of the virtual display. If just the nvidia output's scale is set, is displays the whole virtual output in the upper left corner. 

See https://devtalk.nvidia.com/default/topic/1009039/linux/external-monitor-only-shows-a-quarter-when-scaling-2x2-on-bumblebee-setup-intel-nvidia-quadro-m20-/ for an image.
Comment 1 Chris Wilson 2017-08-08 08:46:34 UTC
That's a job for after some coffee, trying to keep the matrices in order. We have a choice of setting a similar transformation on the nvidia crtc and copying the unscaled framebuffer across, but the better answer will probably be applying the scale as we readback and copying the scaled image across. (To be even more complicated, whichever makes the copy smaller, downscale on host, upscale on target.)
Comment 2 mckean 2017-09-26 11:03:59 UTC
Hello, thanks for raising this issue. I'm the OP of the thread on devtalk.nvidia.com
I'd be really grateful for having this sorted out, so if I can be of any assistance please let me know.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct.