Zooms image on TV horizontally so that the bottom part of framebuffer does not fit in display

Bug #1541247 reported by Jarno Suni on 2016-02-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
x11-xserver-utils (Ubuntu)
Undecided
Unassigned
xserver-xorg-video-intel (Ubuntu)
Undecided
Unassigned

Bug Description

$ xrandr --verbose --fb 1067x600 --output TV1 --set mode PAL --mode 800x600 --rate 50.00 --scale-from 1067x600 --output LVDS1 --mode 640x480 --pos 0x0 --panning 1067x600
scaling TV1 by 1.333750x1.000000
scaling TV1 by 1.333750x1.000000
crtc 0: disable
crtc 0: 800x600 50.00 +0+0 "TV1"
crtc 1: 640x480 59.94 +0+0 "LVDS1

Expected result: the whole framebuffer fits on TV1.
Actual result: Image is zoomed vertically, and, low part of framebuffer is cut. Horizontally ok.
Reproduceable: sometimes

However, sometimes this works fine. The "crtc 0: disable" line does not appear always. And then the following workaround does not work. Also the image in TV may be sometimes offset so that there is black area on top and left. All in all setting graphics works unreliably. Even reboot may not help.

Workaround:

$ xrandr --verbose --fb 1067x600 --output TV1 --set mode PAL --mode 800x600 --rate 50.00 --scale-from 1067x720 --output LVDS1 --mode 640x480 --pos 0x0 --panning 1067x600
scaling TV1 by 1.333750x1.200000
scaling TV1 by 1.333750x1.200000
xrandr: specified screen 1067x600 not large enough for output TV1 (1067x720+0+0)
crtc 0: 800x600 50.00 +0+0 "TV1"
crtc 1: 640x480 59.94 +0+0 "LVDS1

However, then e.g. VLC full screen playback cuts lower part of video.

$ lspci -v|grep -A 15 VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
 Subsystem: Lenovo Device 3801
 Flags: bus master, fast devsel, latency 0, IRQ 16
 Memory at d0200000 (32-bit, non-prefetchable) [size=512K]
 I/O ports at 1800 [size=8]
 Memory at c0000000 (32-bit, prefetchable) [size=256M]
 Memory at d0300000 (32-bit, non-prefetchable) [size=256K]
 Expansion ROM at <unassigned> [disabled]
 Capabilities: <access denied>
 Kernel driver in use: i915

00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
 Subsystem: Lenovo Device 3801
 Flags: bus master, fast devsel, latency 0
 Memory at d0280000 (32-bit, non-prefetchable) [size=512K]
 Capabilities: <access denied>

Physical aspect ratio of TV is 16:9.

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: x11-xserver-utils 7.7+4ubuntu1
ProcVersionSignature: Ubuntu 4.2.0-27.32-generic 4.2.8-ckt1
Uname: Linux 4.2.0-27-generic x86_64
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
CurrentDesktop: XFCE
Date: Wed Feb 3 09:46:28 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-01-24 (9 days ago)
InstallationMedia: Xubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
SourcePackage: x11-xserver-utils
UpgradeStatus: No upgrade log present (probably fresh install)

Jarno Suni (jarnos) wrote :
Jarno Suni (jarnos) on 2016-02-03
description: updated
Jarno Suni (jarnos) on 2016-02-03
description: updated
Jarno Suni (jarnos) on 2016-02-03
description: updated
Jarno Suni (jarnos) on 2016-02-03
description: updated
Jarno Suni (jarnos) on 2016-02-08
description: updated
Jarno Suni (jarnos) on 2016-02-21
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers