Scaled display resolution is not detected correctly

Bug #1681040 reported by Markus Paaso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity-control-center (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Environment:
Ubuntu 16.04.2 LTS
nvidia-375

I have a laptop screen with resolution 3840x2160 and external display with resolution 3440x1440.
I am scaling laptop display to resolution 1920x1080 with
command nvidia-settings --attach CurrentMetaMode="DPY-0: nvidia-auto-select @3440x1440 +1920+0 {ViewPortIn=3440x1440, ViewPortOut=3440x1440+0+0}, DPY-3: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=3840x2160+0+0}"

Bug: Display manager is not detecting scaled resolution correctly. Please see the attachment.
Caused effect: When focus is on laptop display and pressing Alt + Tab the application switcher is not shown in center of laptop display but partly in external display.

$ apt-cache policy lightdm
lightdm:
  Installed: 1.18.3-0ubuntu1.1
  Candidate: 1.18.3-0ubuntu1.1
---
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: markus 3264 F.... pulseaudio
 /dev/snd/controlC0: markus 3264 F.... pulseaudio
CurrentDesktop: Unity
DistroRelease: Ubuntu 16.04
EcryptfsInUse: Yes
InstallationDate: Installed on 2017-04-07 (2 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 8087:0a2b Intel Corp.
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: HP HP ZBook Studio G3
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
Package: linux (not installed)
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.8.0-46-generic.efi.signed root=UUID=2b78b572-05a1-4c01-b97d-9c1fea406faf ro quiet splash nomodeset pnpacpi=off vt.handoff=7
ProcVersionSignature: Ubuntu 4.8.0-46.49~16.04.1-generic 4.8.17
RelatedPackageVersions:
 linux-restricted-modules-4.8.0-46-generic N/A
 linux-backports-modules-4.8.0-46-generic N/A
 linux-firmware 1.157.8
Tags: xenial
Uname: Linux 4.8.0-46-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 11/02/2016
dmi.bios.vendor: HP
dmi.bios.version: N82 Ver. 01.15
dmi.board.name: 80D4
dmi.board.vendor: HP
dmi.board.version: KBC Version 11.67
dmi.chassis.type: 10
dmi.chassis.vendor: HP
dmi.modalias: dmi:bvnHP:bvrN82Ver.01.15:bd11/02/2016:svnHP:pnHPZBookStudioG3:pvr:rvnHP:rn80D4:rvrKBCVersion11.67:cvnHP:ct10:cvr:
dmi.product.name: HP ZBook Studio G3
dmi.sys.vendor: HP

Revision history for this message
Markus Paaso (markus-paaso) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1681040

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Markus Paaso (markus-paaso) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected xenial
description: updated
Revision history for this message
Markus Paaso (markus-paaso) wrote : CRDA.txt

apport information

Revision history for this message
Markus Paaso (markus-paaso) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Markus Paaso (markus-paaso) wrote : IwConfig.txt

apport information

Revision history for this message
Markus Paaso (markus-paaso) wrote : JournalErrors.txt

apport information

Revision history for this message
Markus Paaso (markus-paaso) wrote : Lspci.txt

apport information

Revision history for this message
Markus Paaso (markus-paaso) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Markus Paaso (markus-paaso) wrote : ProcEnviron.txt

apport information

Revision history for this message
Markus Paaso (markus-paaso) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Markus Paaso (markus-paaso) wrote : ProcModules.txt

apport information

Revision history for this message
Markus Paaso (markus-paaso) wrote : PulseList.txt

apport information

Revision history for this message
Markus Paaso (markus-paaso) wrote : RfKill.txt

apport information

Revision history for this message
Markus Paaso (markus-paaso) wrote : UdevDb.txt

apport information

Revision history for this message
Markus Paaso (markus-paaso) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
affects: linux (Ubuntu) → lightdm (Ubuntu)
Revision history for this message
Markus Paaso (markus-paaso) wrote : Re: Scaled display resolution is not detected correctly in lightdm display manager

Another effect is that indicator panel icons like network manager are not shown on the screen.

affects: lightdm (Ubuntu) → xorg-server (Ubuntu)
affects: xorg-server (Ubuntu) → unity-control-center (Ubuntu)
summary: - Scaled display resolution is not detected correctly in lightdm display
- manager
+ Scaled display resolution is not detected correctly
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.