← Back to team overview

desktop-packages team mailing list archive

[Bug 1541247] Re: Zooms image on TV horizontally so that the bottom part of framebuffer does not fit in display

 

** Description changed:

  $ 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+0+0/1067x600+0+0
  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.
  
  However, sometimes this works fine, at least, if I set
- --set 'top margin' 15 --set 'left margin' 40 --set 'bottom margin' 25 --set 'right margin' 40 
- for output TV1. And then the following workaround does not work.
+ --set 'top margin' 15 --set 'left margin' 40 --set 'bottom margin' 25 --set 'right margin' 40
+ for output TV1. And then the following workaround does not work. Also the image in TV may be sometimes offset so that there is black are on top and left. All in all setting graphics works unreliably.
  
  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+0+0/1067x600+0+0
  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
  
  $ 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)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to x11-xserver-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1541247

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

Status in x11-xserver-utils package in Ubuntu:
  New

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+0+0/1067x600+0+0
  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.

  However, sometimes this works fine, at least, if I set
  --set 'top margin' 15 --set 'left margin' 40 --set 'bottom margin' 25 --set 'right margin' 40
  for output TV1. 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.

  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+0+0/1067x600+0+0
  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

  $ 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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/x11-xserver-utils/+bug/1541247/+subscriptions


References