#StackBounty: #windows #display #multiple-monitors #remote-desktop #freeze The screen freezes while moving files/apps across screens wi…

Bounty: 100

I have a Laptop(i7 and 2GB NVIDIA graphic card) with an extended monitor(27 inches). When working remotely, whenever I’m dragging some apps like file explorer/chrome to another screen, the screen seems to freeze and respond after ~20-30 seconds, which is a huge lag. When working locally, everything is just smooth.

For the system setup, I have a good stable internet connection ~100Mbps, and all other aspects of resources are pretty good. Anything I’m missing here? Something doesn’t fit right for my case?

What can be the suspect here as I already eliminated the obvious ones? Any hint/idea in the right direction will do!

Laptop details:

processor
11th Generation Intel® Core™ i7-1165G7 Processor (12MB Cache, up to 4.7 GHz)

Windows 10 Home Single Language, English

videocard
NVIDIA® GeForce® MX350 with 2GB GDDR5 graphics memory

memory
8GB, 1x8GB, DDR4, 3200MHz

harddrive
512GB M.2 PCIe NVMe Solid State Drive

FURTHER UPDATES FROM ME:

The problem statement reduces to the point that all dragging/moving is working fine, just the laptop screen is not reflecting the change at that exact moment, pressing Alt+Tab at that moment is the hack I found, pressing it is refreshing the screen all of a sudden, but it is a temporary solution as well as it is not very convenient to press it whenever I move/drag files across the screens


Get this bounty!!!

#StackBounty: #18.04 #multiple-monitors #hdmi #system-settings HDMI video output briefly goes dark each time System Settings is launche…

Bounty: 50

I am using Ubuntu 18.04.5 on a Dell XPS 13 9370 laptop, and I have an external HDMI screen. I have the issue that every time I launch System Settings the screen goes dark for few seconds. It also occur with some other applications – for example when launching SPSS.

To provide some more information, it seems to affect only the external screen. I normally work using only the external screen, however if I have both displays on (built-in and external via HDMI), only the external one goes dark when Settings is launched.

It is not a hugely disruptive as an issue, as after few seconds everything goes back to normal, however it is a bit annoying. I wonder if anyone has an idea about why this occurs, or how could I investigate this further? Thanks!


Edit: The screen is connected via an USB-c to HDMI adapter (don’t actually know the brand of the adaptor but I tried also with an original Dell one like this one and it gives the same issues). The monitor is an ASUS VP28UQGL, 28 Inch 4K.

Below are the output of the commands suggested in the comment. I realized that the issue occurs when xrandr is called, so it may be related to some randr configuration?
I pasted the output below.

Output of uname -a

Linux matteo-XPS13 5.4.0-65-generic #73~18.04.1-Ubuntu SMP Tue Jan 19 09:02:24 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Output of lspci -k | grep -EA3 'VGA|3D|Display'

00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
    Subsystem: Dell UHD Graphics 620
    Kernel driver in use: i915
    Kernel modules: i915

Output of xrandr

Screen 0: minimum 320 x 200, current 3840 x 2160, maximum 16384 x 16384
eDP-1 connected (normal left inverted right x axis y axis)
   3840x2160     60.00 +  59.98    59.97    48.00  
   3200x1800     59.96    59.94  
   2880x1620     59.96    59.97  
   2560x1600     59.99    59.97  
   2560x1440     59.99    59.99    59.96    59.95  
   2048x1536     60.00  
   1920x1440     60.00  
   1856x1392     60.01  
   1792x1344     60.01  
   2048x1152     59.99    59.98    59.90    59.91  
   1920x1200     59.88    59.95  
   1920x1080     60.01    59.97    59.96    59.93  
   1600x1200     60.00  
   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  
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 621mm x 341mm
   3840x2160     30.00*+  30.00    25.00    24.00    29.97    23.98  
   2560x1600     59.97  
   2560x1440     59.95  
   1920x1080     60.00    60.00    50.00    59.94  
   1680x1050     59.88  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1280x960      60.00  
   1280x800      59.91  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1440x576      50.00  
   1024x768      75.03    70.07    60.00  
   1440x480      60.00    59.94  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   720x480       60.00    59.94  
   640x480       75.00    72.81    66.67    60.00    59.94  
   720x400       70.08  
   640x350       70.07  


Get this bounty!!!

#StackBounty: #18.04 #multiple-monitors #hdmi #system-settings HDMI video output gores briefly dark each time System Settings is launch…

Bounty: 50

I am using Ubuntu 18.04.5 on a Dell XPS 13 9370 laptop, and I have an external HDMI screen. I have the issue that every time I launch System Settings the screen goes dark for few seconds. It also occur with some other applications – for example when launching SPSS.

To provide some more information, it seems to affect only the external screen. I normally work using only the external screen, however if I have both displays on (built-in and external via HDMI), only the external one goes dark when Settings is launched.

It is not a hugely disruptive as an issue, as after few seconds everything goes back to normal, however it is a bit annoying. I wonder if anyone has an idea about why this occurs, or how could I investigate this further? Thanks!


Get this bounty!!!

#StackBounty: #multiple-monitors TTY console on one monitor, X/Wayland on another

Bounty: 100

Using Ubuntu 20.04 Focal, with a dual monitor configuration, is it possible for X (or Wayland) to be configured only to use one monitor, and the other one to be pure TTY (as in, not a terminal emulator, just default boot-style TTY, unknown/unused by any GUI).

The reason I’d like this is because I have a very high resolution 5k x 2k monitor as primary, and my secondary one is much lower DPI. I don’t like the idea that X-scaling "uses more resources" because this suggests some on-the-fly interpolation scheme which, apart from introduced latency, will almost certainly not play nice with sub-pixel font rendering, and will probably screw up integer scaling on graphical programs. Wayland by contrast just doesn’t work with this configuration – multiple problems and basically crashes. So essentially I’d like to code in a terminal on the low-res TTY monitor, and have the main high DPI monitor run X (or wayland) with 100% scaling, no screwing around, though I’d probably raise the DPI setting.

Is this possible on one video card (Radeon VII). If not, would it be possible if running a secondary video card at the same time?

If it is possible, how would I switch focus of the keyboard between TTY monitor and GUI(Gnome) monitor? Run some kind of bash script to toggle focus maybe?


Get this bounty!!!

#StackBounty: #multiple-monitors Ubuntu 20.04 on AMD Ryzen 5 pro 4650u + Integrated Graphics w/ Dual Monitor Setup

Bounty: 50

I believe this is a recurrent question, but I couldn’t find an answer that was both up-to-date and satisfactory, so I will still ask it.

I just bought an HP Elitebook 845 G7 with AMD Ryzen 5 pro 4650u + Integrated Graphics and I installed Ubuntu 20.04 on it. Before switching back to Linux, I have used Windows 10 for almost a decade and I had a double Eizo 24" setup, which worked flawlessly thanks to a high-end docking station I had from work.

I have been trying to reproduce the setup with the new notebook, albeit unsuccessfully since the docking station is apparently only compatible with Windows 10. I have tried to use one HDMI port and one HDMI-to-USB-C dongle for the second monitor and it also didn’t work. I had another VGA-to-USB-A dongle, but it didn’t help either.

What is the state-of-the-art in dual monitor connectivity with Linux on AMD? Does AMD require a different approach than Intel? (That was the second major change in my workflow).


Get this bounty!!!

#StackBounty: #xorg #multiple-monitors #vnc video-dummy – The Fake display with/without monitor connected at the same time

Bounty: 100

I have installed the xserver-xorg-video-dummy-hwe-18.04 to let I use the VNC without needs to connect HDMI cable to my ubuntu machine.

I followed the Topic here, and successfully able to use VNC connect to Ubuntu machine without plugged-in monitor.

However, there are side effect is that, if I connect the HDMI cable to the ubuntu machine, it will display _ (black screen with cursor blinking at the top) and not show lightdm login screen as expected.

If I remove /etc/X11/xorg.conf from directory, reboot, I can now back using the monitor plugged-in.

Question

Are there possible to able to use video-dummy with/without monitor at the same time? may be like secondary mirroring display mode. How to config /etc/X11/xorg.conf properly?

So that I can use the desktop no matter real monitor has connected to HDMI port or not.


Get this bounty!!!

#StackBounty: #nvidia #multiple-monitors #display #hdmi Secondary Dell Display with Ubuntu on Acer Predator Helios 300

Bounty: 50

I have never used a secondary display with Ubuntu before.

For the record, my hardware is Acer Predator Helios 300 laptop. Here is the About page in settings

enter image description here

I have a Dell 27" external monitor that I am connecting with a HDMI cable.

Here’s how my settings screen looks like

enter image description here

So, it seems that the system is detecting the monitor, but my monitor says it does not read any signal from HDMI and goes to sleep after a few minutes.

As I was not the first person to come across this problem, my search turned out several of the previous questions.

  • From this question , I figured out I needed to install nvidia drivers, and so I did following this guide . (Not sure how I lived without this before. My video resolution is much better now)
  • From this question and this question , I realized I could use xrandr to troubleshoot the display, so, I installed it.

Here’s some related outputs from this

xrandr | grep connected
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 382mm x 215mm
DP-1-0 disconnected
DP-1-1 disconnected
HDMI-1-0 connected 1920x1080+0+0 600mm x 340mm

and

xrandr | grep "*"
   1920x1080    144.03*+  60.02    60.01    59.97    59.96    59.93  
   1920x1080     60.00*   59.94    50.00  

I also have to say at the time of running the above commands, the Display Mode is set to Mirror instead of Join Displays. I am unable to Apply Join Display mode because the confirmation modal dialogue appears in the second screen which is not getting the signal.

From the outputs, it seems both displays have the same resolution of 1920x1080, but have a different frame rate. I am not sure if that is the problem and how to proceed from here. I appreciate any responses.

I tried running

xrandr --output HDMI-1-0 --mode 1920x1080 --rate 144.03

but it did not help. I don’t think it was supposed to, but I tried it anyway.


Get this bounty!!!

#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!!!