#StackBounty: #multiple-monitors #display Font scaling in dual monitor setup

Bounty: 50

Just installed Ubuntu 20.04 on a ThinkPad W451 where the screen resolution on the laptop is 2880×1620 and attached a second monitor with resolution 1920×1080. Sadly there seems Ubuntu either shows tiny fonts on the laptop monitor, or if the fonts on the laptop monitor are OK, the windows and fonts on the second monitor are huge.

In the Displays settings, there is a scale selection for either monitor, but the scale cannot be independently set: if I set it on one, it affects the other.

Is there a way to use dual monitors so that the font sizes would just adapt to the actual DPI for each monitor? I cannot believe that such a fundamental thing is still not solved in 2020: for each monitor, if we know the DPI, we should be able to draw things with the intended size.
I tried this with the default window manager, xfce4 and Mate, and all of them get it wrong.


Get this bounty!!!

#StackBounty: #linux #multiple-monitors #x-windows X Windows, GPUs, and multiple monitors

Bounty: 50

So I have two boxes. A Linux box, and a Windows box. I run a bunch of applications on Linux, accessed via X Windows on the windows box.

My Windows box has a pretty powerful set of GPUs – I’m running 4 monitors, and I of course put different X Windows windows on each.

I’m about to change the Linux box, and it occurred to me I’m not quite sure the impact to my setup of the GPU on it changing.

In the above configuration, does the GPU on the Linux box make any difference to performance? Presumably it just needs enough VRAM to power all the windows, but that’s all there is to consider, and the fact that they’re on multiple monitors on the Windows side is irrelevant?


Get this bounty!!!

#StackBounty: #20.04 #multiple-monitors Using Two Monitors in Ubuntu 20.04

Bounty: 100

Until two days ago, using two monitors in Ubuntu 20.04 was no problem. However, since yesterday, this is not possible anymore, even though I did not change the cable setup or anything. Also, when I go to "Settings"–>"Displays", it shows me "Unknown Display" whereas previously it had showed me the two connected monitors. I have an Nvidia GPU built in, any help would be appreciated.

Edit: Interesting, this problem does not occur under Windows where I can use my two monitors without any problems.


Get this bounty!!!

#StackBounty: #multiple-monitors #xorg #xorg.conf No way to create second X screen assigned to second graphics card

Bounty: 50

It seems that the X server only allows one X screen on this PC, A second Section "Screen" Identifier "Screen1" does nothing but the GPU-1 and its connected monitors get to be recognized even though they can’t be activated.
I’m using the following setup:

  1. RTX3090 on PCI:1:0:0 (GPU-0)
    • DP-2: Samsung LC49G95T
  2. RTX3090 on PCI:78:0:0 (GPU-1)
    • HDMI-1-2: ASUS VG27AQL1A
    • HDMI-1-1: ASUS XG17A
  • Monitor setup should be like this: (after running the arandr script obviously throws XRandR failed error message: XRandR failed: XRandR returned error code 1: b'xrandr: Configure crtc 4 failedn')

arandr

  • Using nvidia-settings‘s configuration file after reboot it is still no use

nvidia-settings

  • X screen 0 must contain DP-2 and X screen 1, HDMI-1-1 with HDMI-1-2
  • /etc/X11/xorg.conf.d/* has nothing but 00-keyboard.conf and 30-touchpad.conf, both containing InputClass sections
  • Have tried moving the xorg.conf file to xorg.conf.d but the bad effect still remains, both HDMI monitors can’t be activated.
  • I want to use the nfancurve script to control both GPU’s fan speed, hence "Coolbits" "4"
  • Surprisingly, connecting the three monitors into one GPU makes them available, and activating them is achievable.
  • Also, replacing the identifiers "Device0" to "Device1" and vice versa makes HDMI-1 and HDMI-2 monitors being able to activate, but DP-1-2 only being recognized but can’t be activated. As if this machine won’t allow me to use some GPU-1
  • I suspect my xorg.conf lacks something (maybe EDID off?) and after some googling, there is a user that had the same "no X screen 1" problem, but after upgrading video-nvidia drivers could achieve X server to recognize a second X screen. Still, I’m not willing to upgrade (or downgrade) to a ‘beta’ driver for manjaro, also, not sure how to do that.

/etc/X11/xorg.conf:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 465.31

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" 5120 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Samsung"
    ModelName      "Samsung LC49G95T"
    HorizSync       357.0 - 357.0
    VertRefresh     60.0 - 240.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Asus ROG"
    ModelName      "AUS ASUS XG17A"
    HorizSync       30.0 - 255.0
    VertRefresh     48.0 - 240.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Screen          0
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "NVIDIA GeForce RTX 3090"
    BusID          "PCI:1:0:0"
#    Option         "UseDisplayDevice" "DP-2"
#    Option         "ConnectedMonitor" "DP-2"
    Option         "Coolbits" "4"
EndSection

Section "Device"
    Identifier     "Device1"
    Screen          1
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "NVIDIA GeForce RTX 3090"
    BusID          "PCI:78:0:0"
#    Option         "UseDisplayDevice" "HDMI-1-2"
#    Option         "ConnectedMonitor" "HDMI-1-2, HDMI-1-1"
    Option         "Coolbits" "4"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "nvidiaXineramaInfoOrder" "DFP-5"
    Option         "Stereo" "0"
    Option         "metamodes" "5120x1440_120 +0+0 {AllowGSYNC=Off}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "HDMI-1-2: nvidia-auto-select +0+0 {AllowGSYNC=Off}, HDMI-1-1: nvidia-auto-select +1440+0 {rotation=left}"
    #    Option         "metamodes" "HDMI-1-1: 1920x1080_240 +2560+960 {rotation=left}, HDMI-1-2: 2560x1440_144 +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

~/.local/share/xorg/Xorg.1.log:
https://pastebin.com/PQZV0Hiq


Get this bounty!!!

#StackBounty: #windows-10 #multiple-monitors #thinkpad #usb-c #lg-monitor Connect LG 27UL850-W monitor through USB-C to ThinkPad X1 Yog…

Bounty: 50

I’m using a LG 27UL850-W with a ThinkPad X1 Yoga Gen.2 on Windows 10.
I need to get the monitor working through USB-C but I’m only getting "No signal detected".

What I tried:

  • Installing the driver ("LG HDR 4K Win 10 Driver LG_HDR_4K.zip") failed because the monitor is not detected.
  • HDMI works, so the monitor works (but no 4K)
  • Different USB-C ports
  • Different USB-C cables, inkl. the one shipped with the monitor


Get this bounty!!!

#StackBounty: #drivers #sound #usb #multiple-monitors #hdmi screen not displaying with Startech hdmi to usb adapter

Bounty: 50

I bought a startech hdmi to usb adapter a few weeks ago.

I’ve installed the driver for my ubuntu, display was doing fine.

However, a few weeks later, the screen is now, not displaying any images.

Funny part is that the star tech adapter is recognized when I plugged it in and the strange thing is that the sound channel is using the startech adapter.

Not sure, what is wrong.

When I type xrandr, no additional HDMI plugin is seen.

This is the plugin I’m talking about.

I’ve done all the required updates through apt update.

If you have any ideas, I’m more than glad to hear them.

PS: I was thinking to have a look at the BIOS but not sure, what I should be looking for.


Get this bounty!!!

#StackBounty: #nvidia #20.04 #multiple-monitors #xorg #display saving a X config file for nvidia setting disables my PRIME internal dis…

Bounty: 50

I’m on ubuntu 20.04. I’m using an external monitor with a laptop as shown in nvidia-settings here:
enter image description here

nominally this works. But, to get rid of tearing on the external display, I need to select "Force Composition Pipeline" under Advanced. This is fine, but when I try to save the X config file, a restart would remove my PRIME display completely. Only my external monitor works.

I would have to delete /etc/X11/xorg.conf to get the display back.

Is there a way to save this config and keep the prime display?


Get this bounty!!!

#StackBounty: #nvidia #multiple-monitors #display #suspend How to get external monitor to reconnect after sleep or power off

Bounty: 50

Problem:
On an Ubuntu based laptop, when I sleep or disconnect power to my external monitor then power up the system or reconnect the monitor again, the display doesn’t come on.

Poor man’s solution:
The only way I’ve found to get the external display to work (aside from reboot) is to switch from Joined Display to Mirror Display. As soon as the monitor comes alive I can simply cancel the change to Mirror Displays, monitor settings revert, and the external monitor works as usual.

Grievance:
Unfortunately this causes windows that were on my external monitor to be misarranged across desktop workspaces (PopOS here, Ubuntu 20.10). It’s a fair bit of effort to re-arrange workspaces after the mirror/cancel process.

Hopeful question:
Are there any command line utilities that might force the external monitor to reset without the need to change from Joined Display to Mirror?


Get this bounty!!!

#StackBounty: #xubuntu #multiple-monitors #xfce #display-resolution #xrandr Running xrandr –output eDP1 –scale 0.75×0.75 blacks out m…

Bounty: 50

The DPI of my primary monitor is unreasonably large, so at boot I run xrandr --output eDP1 --scale 0.75x0.75. This is done automatically due to a ~/.config/autostart/xrandr.desktop file that I have containing this command on my Xubuntu 20.04 machine. However, only if my secondary monitor is plugged in, this blacks out the screen on my primary monitor, such that I can only see the mouse. This also makes the secondary monitor a bit glitchy, with extreme screen flickering. This issue can be prevented by waiting to plug in the secondary monitor until the command has already been run, but if the issue has occurred, I believe that the only fix is to log out, unplug the secondary monitor, and log back in.

Where can I begin diagnosing the cause of this issue? Is it a known bug?


Get this bounty!!!