[amdgpu] HDMI connected TV wakeup problems

Bug #1892427 reported by Nicholas Strauss
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

The setup here is critical to understanding the problem. A laptop is connected via HDMI to a TV monitor. Two displays are thus available to the OS. Everything works great both in mirror display and regular display. At the end of day, I lock the user account and the display manager (DM) tells the monitors to blank (sleep?). When I touch the DM and login the laptop display livens up and looks good. However, the TV display often doesn't and I need to wake up the TV with the TV control stick. This works OK, and the second display comes back. And all the windows associated with that display return from sleep OK. *HOWEVER*, all the geometry for those windows (term windows is one example) are lost. I can see the windows in the term overview, but I cant get to them on the second display.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: xorg 1:7.7+13ubuntu3
ProcVersionSignature: Ubuntu 4.15.0-112.113~16.04.1-generic 4.15.18
Uname: Linux 4.15.0-112-generic x86_64
.tmp.unity_support_test.0:

ApportVersion: 2.20.1-0ubuntu2.24
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
CurrentDesktop: Unity
Date: Thu Aug 20 17:00:58 2020
DistUpgraded: Fresh install
DistroCodename: xenial
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
GraphicsCard:
 Advanced Micro Devices, Inc. [AMD/ATI] Carrizo [1002:9874] (rev c8) (prog-if 00 [VGA controller])
   Subsystem: Hewlett-Packard Company Carrizo [103c:8348]
InstallationDate: Installed on 2018-04-20 (853 days ago)
InstallationMedia: Ubuntu 16.04.4 LTS "Xenial Xerus" - Release amd64 (20180228)
MachineType: HP HP Laptop 17-ak0xx
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-112-generic root=UUID=79cc5ed4-f740-450d-9a89-c5b4f899d10e ro quiet splash vt.handoff=7
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/02/2017
dmi.bios.vendor: Insyde
dmi.bios.version: F.06
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: 8348
dmi.board.vendor: HP
dmi.board.version: 42.20
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: HP
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnInsyde:bvrF.06:bd11/02/2017:svnHP:pnHPLaptop17-ak0xx:pvrType1ProductConfigId:rvnHP:rn8348:rvr42.20:cvnHP:ct10:cvrChassisVersion:
dmi.product.family: 103C_5335KV HP Notebook
dmi.product.name: HP Laptop 17-ak0xx
dmi.product.version: Type1ProductConfigId
dmi.sys.vendor: HP
version.compiz: compiz 1:0.9.12.3+16.04.20171116-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.91-2~16.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri 18.0.5-0ubuntu0~16.04.1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 18.0.5-0ubuntu0~16.04.1
version.xserver-xorg-core: xserver-xorg-core N/A
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati N/A
version.xserver-xorg-video-intel: xserver-xorg-video-intel N/A
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau N/A
xserver.bootTime: Wed Aug 5 16:27:12 2020
xserver.configfile: default
xserver.errors:

xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.19.6-1ubuntu4.1~16.04.2
xserver.video_driver: amdgpu

Revision history for this message
Nicholas Strauss (straussn) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

This sounds like two separate issues:

1. Needing to wake the TV with the remote. I would hazard a guess that's a feature/bug of the TV firmware. TVs generally don't expect to be used as monitors and may not implement power mode switching reliably like a proper monitor. Most likely it's designed to respond to the remote only. I don't think this is a software bug in Ubuntu, but probably in the TV itself...

2. Windows get moved and resized. This should only happen if the monitor (TV) is seen to be unplugged. But indeed sometimes power saving modes do get confused for the monitor being unplugged. I wonder though if this is also a problem with the TV failing to sleep correctly and instead disconnecting from the computer... Can you test a (non-TV) monitor on the same HDMI port?

affects: xorg (Ubuntu) → xorg-server (Ubuntu)
Changed in xorg-server (Ubuntu):
status: New → Incomplete
summary: - HDMI connected monitor wakeup problems
+ HDMI connected TV wakeup problems
summary: - HDMI connected TV wakeup problems
+ [amdgpu] HDMI connected TV wakeup problems
affects: xorg-server (Ubuntu) → xserver-xorg-video-amdgpu (Ubuntu)
tags: added: amdgpu
tags: added: multimonitor
Revision history for this message
Nicholas Strauss (straussn) wrote :

> I wonder though if this is also a problem with the TV failing to sleep correctly
> and instead disconnecting from the computer... "

I tried turning the TV off with the remote, then turning the TV back on.

Looks like the same (or similar) condition.

All the windows on the second display lost their geometry. I can see them in the launcher view, but they are gone somewhere. Perhaps their coordinates have traveled off-screen?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

That's expected and not a bug. Once a display is removed from the current configuration (or just turned off), the shell tries to help you by moving all windows to the remaining monitor. So you don't lose them.

This is however a bug if it happens when you try to sleep the whole system.

affects: xserver-xorg-video-amdgpu (Ubuntu) → compiz (Ubuntu)
Revision history for this message
Nicholas Strauss (straussn) wrote :

then I locked, and then suspended.. After a brief while, both displays went dark. Later, the TV reported that the cable had been disconnected. The next day, I woke the display, the TV was powered off, and I had to power it back on. I logged back in and both displays were up, with all the original geometry. I am not sure what I did differently, it might have been doing the suspend.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please also note you're using an old and poorly supported desktop environment. We recommend using Ubuntu 20.04 instead (which comes with Gnome Shell):

https://releases.ubuntu.com/20.04/

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for compiz (Ubuntu) because there has been no activity for 60 days.]

Changed in compiz (Ubuntu):
status: Incomplete → Expired
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.