#StackBounty: #18.04 #nvidia #multiple-monitors #dell Ubuntu 20.04 external monitor disconnects after a short period

Bounty: 50

I’m running Ubuntu 20.04 on a Dell XPS 15 9570. I’ve been happily using external monitors on it with minimal issues until today, where it’s suddenly started to shut off the external display after a few minutes, and only recognises it again if I unplug the cable (running over USBC-HDMI)

Some digging earlier made me suspect this error from the syslog was possibly related:

kernel: [ 3012.555110] [drm:intel_dp_link_training_clock_recovery [i915]] *ERROR* failed to get link status

However the only info I could find on this suggested it had been fixed in later kernel versions so it was a bit of a dead end!

How can I go about diagnosing what the cause of the issue actually is, assuming nobody can guess at the cause from this admittedly brief description!

EDIT A bit more context from /var/log/syslog

Nov 13 17:10:56 linlapuk007 kernel: [ 3051.774697] pcieport 0000:00:1b.0: pciehp: Slot(20): Link Down
Nov 13 17:10:56 linlapuk007 kernel: [ 3051.774699] pcieport 0000:00:1b.0: pciehp: Slot(20): Card not present
Nov 13 17:10:56 linlapuk007 kernel: [ 3051.774725] pcieport 0000:02:00.0: Refused to change power state, currently in D3
Nov 13 17:10:56 linlapuk007 kernel: [ 3051.775195] pcieport 0000:03:02.0: Refused to change power state, currently in D3
Nov 13 17:10:56 linlapuk007 kernel: [ 3051.775283] xhci_hcd 0000:3a:00.0: Refused to change power state, currently in D3
Nov 13 17:10:56 linlapuk007 kernel: [ 3051.853014] xhci_hcd 0000:3a:00.0: Refused to change power state, currently in D3
Nov 13 17:10:56 linlapuk007 kernel: [ 3051.853038] xhci_hcd 0000:3a:00.0: Controller not ready at resume -19
Nov 13 17:10:56 linlapuk007 kernel: [ 3051.853039] xhci_hcd 0000:3a:00.0: PCI post-resume error -19!
Nov 13 17:10:56 linlapuk007 kernel: [ 3051.853042] xhci_hcd 0000:3a:00.0: HC died; cleaning up
Nov 13 17:10:56 linlapuk007 kernel: [ 3051.853055] xhci_hcd 0000:3a:00.0: remove, state 4
Nov 13 17:10:56 linlapuk007 kernel: [ 3051.853058] usb usb4: USB disconnect, device number 1
Nov 13 17:10:56 linlapuk007 kernel: [ 3051.853286] xhci_hcd 0000:3a:00.0: USB bus 4 deregistered
Nov 13 17:10:56 linlapuk007 kernel: [ 3051.853293] xhci_hcd 0000:3a:00.0: remove, state 4
Nov 13 17:10:56 linlapuk007 kernel: [ 3051.853295] usb usb3: USB disconnect, device number 1
Nov 13 17:10:56 linlapuk007 kernel: [ 3051.853503] xhci_hcd 0000:3a:00.0: Host halt failed, -19
Nov 13 17:10:56 linlapuk007 kernel: [ 3051.853509] xhci_hcd 0000:3a:00.0: Host not accessible, reset failed.
Nov 13 17:10:56 linlapuk007 kernel: [ 3051.853592] xhci_hcd 0000:3a:00.0: USB bus 3 deregistered
Nov 13 17:10:56 linlapuk007 kernel: [ 3051.853809] pcieport 0000:03:01.0: Refused to change power state, currently in D3
Nov 13 17:10:56 linlapuk007 kernel: [ 3051.853989] pcieport 0000:03:00.0: Refused to change power state, currently in D3
Nov 13 17:10:56 linlapuk007 kernel: [ 3051.854817] pci_bus 0000:04: busn_res: [bus 04] is released
Nov 13 17:10:56 linlapuk007 kernel: [ 3051.854896] pci_bus 0000:05: busn_res: [bus 05-39] is released
Nov 13 17:10:56 linlapuk007 kernel: [ 3051.855085] pci_bus 0000:3a: busn_res: [bus 3a] is released
Nov 13 17:10:56 linlapuk007 kernel: [ 3051.855142] pci_bus 0000:03: busn_res: [bus 03-3a] is released


Get this bounty!!!

#StackBounty: #multiple-monitors #workspaces #window How to toggle windows from one external monitor to another?

Bounty: 50

I’d like to map a keyboard shortcut (Alt + Space) to a series of actions and I’d love some help writing the script for it.

I have three monitors. The built-in laptop monitor, and two external monitors. When I’m coding I like to have code in one monitor, the browser in another, and a third item (Photoshop, or a file navigator) in the third monitor.

But, I find myself with a neck cramp looking to the left writing code, or looking right making changes in the browser.

The keyboard shortcut I’d like should shuffle windows across monitors. I the three monitors have code editor, browser, and nautilus in each of them in that order, then pressing Alt + Space once would change that to Nautilus, Code Editor, Browser. Pressing it again would change it to Browser, Nautilus, Code Editor, and pressing it a third time would restore the first setup.

How might I do this for any number of things that might be displayed on each monitor? Like if I happen to have three windows open in the first monitor, two terminal windows in the second, and five browser windows in the third, shuffling what’s on each screen? Maybe using workspaces and reordering them?

Some help would rock : )


Get this bounty!!!

#StackBounty: #nvidia #20.04 #multiple-monitors #kde #plasma Issues in 20.04 with KDE/Plasma and nvidia cards

Bounty: 100

I am running Ubuntu 20.04 LTS, all up to date, with KDE/Plasma and nvidia Quadro P620 card.
I have two monitor setup with two DELL U2717D monitors.
NVIDIA Driver is: 450.80.02

My computer is always on, locked during night.

At morning, when I come to work, it is a gamble what i will find:

  1. blocked computer – only restart helps
  2. dual monitor configuration gone (sometimes monitors are mirrored, sometimes second is disabled)
  3. screen is garbled with dot grid or similar stuff (sometimes Alt+F2 then Alt+F1 helps, sometimes not)

Tried to configure with system preferences, with nvidia X server setup app, saved setting so many times and everything works perfectly until first lock screen or after night.

This is happening all the time since I added this card to my computer, before that it was working good (with onboard chipset output).

I also think that it since the driver upgrade that situation is not better, like this happens more often that before with old driver.

Any idea or insights?

B.


Get this bounty!!!

#StackBounty: #display #multiple-monitors #gpu #nvidia-geforce DisplayPorts on GPU suddenly not working on certain monitors

Bounty: 100

I have no idea what is going on but after a morning of troubleshooting I am at a loss. I am running on Windows 10 Home latest (Microsoft Windows 10 Home, Version 10.0.18363 Build 18363).

I have a GeForce RTX 2080 Ti, it has 3 DisplayPorts and 1 HDMI input.

Up until this morning I had this setup:

  • Main: 4K 144hz DisplayPort Monitor.
  • Satellite: 144hz DisplayPort Monitor.
  • Satellite 2: 60hz HDMI Monitor.

The last DisplayPort I use for my Valve Index VR headset when I am playing.

This morning the main display would not work, I tried swapped cords around on different ports, I did a fresh uninstall and reinstall of the latest display driver. I used a HDMI (Monitor) to display port (PC) cable on my DisplayPort Satellite monitor to see if it was the cord since I did not have an extra DisplayPort cable and it then let my main and satellite to work, the HDMI is no longer working now but I have my 2 main ones.

I then ordered a new DisplayPort cable for my main monitor to see if it was an issue with the cable, but plugging it in immediately turns off my main display and my HDMI monitor comes back on, I am so baffled on what is happening.

I can actually get it to work in a very specific port configuration and if I unplug the HDMI from the 3rd satellite the main monitor stops working again, so I temporarily have a fix but I occasionally hook up my satellite monitor to a laptop and would like to still solve the root problem.

Thanks in advance for any help, here is my system info:

System Information report written at: 10/06/20 12:31:00
[System Summary]

Item    Value   
OS Name Microsoft Windows 10 Home   
Version 10.0.18363 Build 18363  
Other OS Description    Not Available   
OS Manufacturer Microsoft Corporation   
System Name GMAN-PC 
System Manufacturer Gigabyte Technology Co., Ltd.   
System Model    Z390 AORUS PRO WIFI 
System Type x64-based PC    
System SKU  Default string  
Processor   Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz, 3601 Mhz, 8 Core(s), 16 Logical Processor(s)  
BIOS Version/Date   American Megatrends Inc. F11, 10/15/2019    
SMBIOS Version  2.8 
Embedded Controller Version 255.255 
BIOS Mode   Legacy  
BaseBoard Manufacturer  Gigabyte Technology Co., Ltd.   
BaseBoard Product   Z390 AORUS PRO WIFI-CF  
BaseBoard Version   x.x 
Platform Role   Desktop 
Secure Boot State   Unsupported 
PCR7 Configuration  Binding Not Possible    
Windows Directory   C:Windows  
System Directory    C:Windowssystem32 
Boot Device DeviceHarddiskVolume11    
Locale  United States   
Hardware Abstraction Layer  Version = "10.0.18362.752"  
User Name   GMAN-PCGMan    
Time Zone   Central Daylight Time   
Installed Physical Memory (RAM) 32.0 GB 
Total Physical Memory   31.9 GB 
Available Physical Memory   17.0 GB 
Total Virtual Memory    41.9 GB 
Available Virtual Memory    18.6 GB 
Page File Space 10.0 GB 
Page File   C:pagefile.sys 
Kernel DMA Protection   Off 
Virtualization-based security   Not enabled 
Device Encryption Support   Reasons for failed automatic device encryption: TPM is not usable, PCR7 binding is not supported, Hardware Security Test Interface failed and device is not Modern Standby, Un-allowed DMA capable bus/device(s) detected, TPM is not usable    
Hyper-V - VM Monitor Mode Extensions    Yes 
Hyper-V - Second Level Address Translation Extensions   Yes 
Hyper-V - Virtualization Enabled in Firmware    Yes 
Hyper-V - Data Execution Protection Yes 

[Hardware Resources]



[Conflicts/Sharing]

Resource    Device  
Memory Address 0x55300000-0x55303FFF    Standard NVM Express Controller 
Memory Address 0x55300000-0x55303FFF    Intel(R) PCI Express Root Port #17 - A340   
        
I/O Port 0x000003C0-0x000003DF  Intel(R) PCIe Controller (x16) - 1901   
I/O Port 0x000003C0-0x000003DF  NVIDIA GeForce RTX 2080 Ti  
        
I/O Port 0x00000070-0x00000070  Motherboard resources   
I/O Port 0x00000070-0x00000070  System CMOS/real time clock 
        
IRQ 11  Intel(R) SMBus - A323   
IRQ 11  Intel(R) Thermal Subsystem - A379   
        
I/O Port 0x00003000-0x00003FFF  Intel(R) PCIe Controller (x16) - 1901   
I/O Port 0x00003000-0x00003FFF  NVIDIA GeForce RTX 2080 Ti  
        
Memory Address 0x52000000-0x550FFFFF    Intel(R) PCIe Controller (x16) - 1901   
Memory Address 0x52000000-0x550FFFFF    NVIDIA GeForce RTX 2080 Ti  
        
Memory Address 0x55200000-0x552FFFFF    Intel(R) PCI Express Root Port #9 - A330    
Memory Address 0x55200000-0x552FFFFF    Standard NVM Express Controller 
        
IRQ 16  High Definition Audio Controller    
IRQ 16  NVIDIA GeForce RTX 2080 Ti  
        
Memory Address 0x40000000-0xDFFFFFFF    PCI Express Root Complex    
Memory Address 0x40000000-0xDFFFFFFF    Intel(R) PCIe Controller (x16) - 1901   
Memory Address 0x40000000-0xDFFFFFFF    NVIDIA GeForce RTX 2080 Ti  
        
Memory Address 0xA0000-0xBFFFF  PCI Express Root Complex    
Memory Address 0xA0000-0xBFFFF  Intel(R) PCIe Controller (x16) - 1901   
Memory Address 0xA0000-0xBFFFF  NVIDIA GeForce RTX 2080 Ti  
        
I/O Port 0x000003B0-0x000003BB  Intel(R) PCIe Controller (x16) - 1901   
I/O Port 0x000003B0-0x000003BB  NVIDIA GeForce RTX 2080 Ti  


Get this bounty!!!

#StackBounty: #windows-10 #graphics-card #display #multiple-monitors Cannot change "Active Signal Resolution"

Bounty: 100

I have a (First 301 GD Live) monitor with a 2560×1600 native resolution that intermittently fails to identify itself properly to windows. I have just moved to a new office and when trying to get started again the monitor is just not being recognized. Windows just says it’s a "DVI" monitor. Windows now shows that the "recommended" resolution is 1280×800. If I go to advanced display settings and list all modes and then select 2560×1600/60Hz then the "desktop resolution" becomes 2560×1600 but the Active Signal Resolution remains at 1280×800 and the picture is horrid – like an upscaled low resolution image.

I tried setting the resolution via the NVIDIA Control Panel to 2560×1600 but the Active Signal Resolution remains at 1280×800 and so the picture is still awful.

I also tried power cycling the monitor itself several times to no avail (this had helped in the past).

My graphics card is a GeForce GTX 1650 Super.

Is it possible to instruct the graphics card to send out a 2560×1600 signal that you specify, regardless of whatever monitor the computer thinks is at the other end of the cable?


Get this bounty!!!

#StackBounty: #display #multiple-monitors #gpu #nvidia-geforce GPU not working on certain monitors

Bounty: 100

Running on Windows 10 Home latest.
I have no idea what is going on but after a morning of troubleshooting I am at a loss.

My issue is as follows, I have a 2080ti, it has 3 DP and 1 HDMI input.
Up until this morning I had 1 4K 144hz DP Monitor (Main), 1 144hz DP Monitor (Satellite) and 1 60hz HDMI monitor (Satellite 2). The last DP port I use for my Valve Index when I am playing.
This morning the Main display would not work, I tried swapped cords around on diff ports, I did a fresh uninstalled and reinstall of the latest display driver. I used a HDMI(Mon) to DP(PC) cord on my DP Satellite monitor to see if it was the cord since I did not have an extra DP cord and it then let my main and satellite to work, the HDMI is no longer working now but I have my 2 main ones.
I then same dayed a new DP cord for my main monitor to see if it was the cord, but plugging it in immediately turns off my main display and my hdmi monitor comes back on, I am so baffled on what is happening.

Thanks in advance for any help, here is my sysinfo https://gist.github.com/ggoodwin/309bdee7af1f083d6b59477e9e4fafb0

I can actually get it to work in a very specific port configuration and if I unplug the HDMI from the 3rd satellite the main monitor stops working again, so I temporarily have a fix but I occasionally hook up my satellite monitor to a laptop and would like to still solve the root problem.


Get this bounty!!!

#StackBounty: #multiple-monitors #display #thunderbolt External Monitiors via TB3 Only Occasionally Work, Ubuntu 18.04

Bounty: 50

My work computer setup was recently upgraded with a Thunder Bolt 3 docking station. I’m running Ubuntu 18.04. It connects via a USB-C port on my computer. When I plug it in, the external keyboard and mouse always works, but 80% of the time the external monitors do not work. My computer detects them via the TB3 but the monitors just say no signal detected. At the moment, to get it working I spend 5 minutes turning the monitors on and off and re plugging in the USB-C cable from the TB3. It eventually works but I’m wasting a lot of time every day because I have to repeat it every time I return to my office. Any ideas?

The graphics card is an Intel UHD Graphics. My xrandr input is the same whether the monitors detect my computer or not and is here

eDP-1 connected primary 1920x1080+3968+0 (normal left inverted right x axis y axis) 309mm x 174mm
   1920x1080     59.99*+  59.97    59.96    48.01    59.93  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     60.02  
   1440x900      59.89  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1360x768      59.80    59.96  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      60.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   800x512       60.17  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   720x450       59.89  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   680x384       59.80    59.96  
   640x400       59.88    59.98  
   576x432       60.06  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
DP-1-1 connected 1920x1080+2048+0 (normal left inverted right x axis y axis) 598mm x 336mm
   1920x1080     60.00*+
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1152x864      75.00  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   640x480       75.00    59.94  
   720x400       70.08  
DP-1-2 disconnected (normal left inverted right x axis y axis)
DP-1-3 connected 2048x1152+0+0 (normal left inverted right x axis y axis) 255mm x 255mm
   2048x1152     60.00*+
   3840x2160     29.56  
   2560x1440     59.95  
   2048x1280     59.92  
   1920x1200     59.88  
   1920x1080     60.00    60.00    50.00    59.94    24.00    23.98  
   1600x1200     60.00  
   1680x1050     59.95  
   1280x1024     75.02    60.02  
   1280x800      59.81  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  

Any ideas? Thank you for your time. Since it works occasionally it seems like there must be something I can do


Get this bounty!!!

#StackBounty: #windows-10 #multiple-monitors Automatic shut down of inactive monitors in a multi-monitor environment

Bounty: 50

I have really special needs for my multi-monitor setup on Windows 10. Depending on what I’m doing, I use 2 to 3 monitors.

When I’m working I mostly use 2 monitors – one for coding and the other for displaying the results. This means I focus on only one monitor at a time. So I would like to completely shut down (as when you disabled it from system settings or unplug it) the one which is not focused – which doesn’t contain the working and focused window. W + P doesn’t work, as it is really annoying to use because: 1) it migrates all windows to one monitor, usually making a mess of your setup; 2) it can have trouble when dealing with different resolutions, which is my case (I have a monitor constrained to 1600×1200).

When I develop in my free time, I often have 3 monitors. One is set to some kind of video (be it a tutorial I’m following or Netflix if I’m doing something really repetitive) while I work on the other ones, which should behave like described above. In this way I will have 2 active monitors – one reproducing a video and one focused – and one completely shut down.

Is there an app that allows to do this? If not, I have programming skill in C/C++ and, to a lesser extent, in Java and Phyton and a basic understanding of OS, so can you point me in the right direction to write something that would solve the problem?


Get this bounty!!!

#StackBounty: #multiple-monitors #dell #gnome-shell #displaylink #night-light Night Light not working on external monitor (through Disp…

Bounty: 50

I have a 2019 Dell XPS 13 2-in-1 7390 connected to Dell D6000 docking station and using Dell SE2719HR secondary monitor. The dock uses DisplayLink technology, for all it matters. My Ubuntu version is 20.04.

When I enable Night Light, it is only displayed on the laptop’s built-in monitor. Even when I close the lid (which turns off the built-in monitor), Night Light still isn’t displayed in the external monitor.

I’ve tried mirroring displays, extending displays, setting external display as only one active, nothing helped. I went through this topic here and all suggested solutions, none helped either.

Is this a bug of some sort, or am I doing something wrong?


Get this bounty!!!

#StackBounty: #windows-10 #multiple-monitors #batch-file #display-settings Shortcut to switch main display

Bounty: 200

I have my TV hooked up to my PC, which also has its own monitors. I have a controller and wireless keyboard attached to the PC with Bluetooth when I control the PC from my couch, and a wired keyboard and mouse when I am at my desk. This set up woks great, except for the settings for the main monitor.

When I am on the couch and want to launch a program, it will launch on the main monitor (which is set to the monitor on my desk). That is not ideal, so I would want to be able to easily and seamlessly switch between main monitors. I am sure that there must be a command for this, in which case I can just add shortcuts to my desktop which, when clicked, switches the main monitor. I am looking for a bat, cmd, powershell kinda approach and would like to avoid third party software.

Can anyone help me out with that? Thanks


Get this bounty!!!