Resolution often drops down to 1280x1024 instead of 1920x1080

I have a fairly new laptop, with Intel Iris Xe graphics. It has an HDMI port, and a Thunderbolt port. I have two monitors connected, a 2560x1440 monitor over HDMI which I’ve never had any issues with, and a 1920x1080 monitor connected with a Thunderbolt → DVI cable. Most of the time the 1920x1080 monitor is fine, but occasionally it drops down to 1280x1024, and Display Configuration no longer recognizes that the monitor supports 1920x1080. I have to unplug and plug in again the cable to get it to recognize the full resolution, and I always have to manually change the resolution from 1280x1024 to 1920x1080 in Display Configuration after plugging the cable back in.

There’s some information that might be relevant from dmesg:

[Jan 8 09:30] i915 0000:00:02.0: [drm] ERROR [ENCODER:253:DDI TC1/PHY TC1][LTTPR 1] Failed to enable link training
[Jan 8 10:08] usb 3-6: USB disconnect, device number 18
[ +7.337389] usb 3-6: new full-speed USB device number 19 using xhci_hcd
[ +0.154055] usb 3-6: not running at top speed; connect to a high speed hub
[ +0.005412] usb 3-6: New USB device found, idVendor=0bda, idProduct=2171, bcdDevice= 1.21
[ +0.000009] usb 3-6: New USB device strings: Mfr=17, Product=18, SerialNumber=19
[ +0.000006] usb 3-6: Product: BillBoard Device
[ +0.000004] usb 3-6: Manufacturer: Realtek
[ +0.000003] usb 3-6: SerialNumber: 123456789ABCDEFGH
[ +1.242663] i915 0000:00:02.0: [drm] ERROR [ENCODER:253:DDI TC1/PHY TC1][LTTPR 1] Failed to enable link training

The machine was locked at ~09:20. I’m guessing the line at 09:30 is when things went wrong. Line 2 at 10:08 is me unplugging the cable, and line 3 a few seconds later is me plugging the cable in again. Oddly, the error message appeared again after plugging the monitor in, even though it did detect resolutions correctly.

Looking back over dmesg, I think the same error message has occurred every time this problem has occurred.

At a guess it seems that USB might be powering down. Can you prevent this in BIOS, might help.

Stuart

Hmm, seems unlikely given it only happens occasionally, rather than reliably after a certain period of time, but I’ll look in the settings next time I reboot.

Does this happen if only the Thunderbolt → DVI connected monitor is connected?

I assume you mean while the monitor is connected, as opposed to at the point of plugging the monitor in? If so, yes; although a couple of times it has taken two unplug & replugs to fix the problem, so I supposed technically the problem did occur on that first replug on those occasions.

No.

What I asked was, does this problem occur if only the affected monitor is connected. That is, if you’re not trying to run a two-monitor setup, do you still have this problem?

Ah, gotcha! I have almost never run with just that monitor connected, so I don’t know. Given how sporadic it is (sometimes it happens a couple of times in one day, sometimes it’s fine for weeks), I would have to have run a single monitor configuration for several weeks to have confidence whether or not it occurs.

1 Like

What exactly precedes the dropdowns?

You haven’t mentioned your DE (or any hardware specifics, such as inxi -Gaz output), which typically is responsible for such things. Plasma in particular has a well earned reputation for producing problems using multiple displays part-time. KDE devs were recently focused on such trouble and announced via bug tracker that these troubles are “fixed” for the next release: 5.27.

If you are using Plasma, try disabling its screen mis-manager KScreen2 in background startup settings. If this isn’t enough, you may use arandr to create (only), or manually create, an xrandr script that will reconfigure display settings both at startup and via hotkey. Where to place it is up to the user or admin. I do those globally via custom file containing the script in /etc/X11/xinit/xinitrc.d/. They can be made per user, which I don’t do so won’t try to explain.

Even better is harder to configure but more reliable and should work regardless of your DE: creating a configuration for the #2 display in /etc/X11/xorg.conf or /etc/X11/xorg.conf.d/50-*.conf. (e.g. 50-1920x1080.conf).

Could be a bad cable. Try another one.

The resolution drops have always happened when I was away from my computer.

I am using KDE/Plasma 5.26.5-1.1. Output from inxi -Gaz --edid:

Graphics:
  Device-1: Intel Alder Lake-P Integrated Graphics vendor: CLEVO/KAPOK
    driver: i915 v: kernel arch: Gen-12.2 process: Intel 10nm built: 2021-22+
    ports: active: DP-1,HDMI-A-1 off: eDP-1 empty: DP-2,DP-3,DP-4
    bus-ID: 00:02.0 chip-ID: 8086:46a6 class-ID: 0300
  Device-2: Logitech Webcam C930e type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 3-1.2:4 chip-ID: 046d:0843 class-ID: 0102 serial: <filter>
  Device-3: Chicony USB2.0 Camera type: USB driver: uvcvideo bus-ID: 3-7:8
    chip-ID: 04f2:b6f9 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.6 with: Xwayland v: 22.1.7
    compositor: kwin_x11 driver: X: loaded: modesetting unloaded: fbdev,vesa
    alternate: intel dri: iris gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 4480x1440 s-dpi: 96 s-size: 1185x381mm (46.65x15.00")
    s-diag: 1245mm (49.01")
  Monitor-1: DP-1 pos: primary,right model: Dell ST2210 serial: <filter>
    built: 2010 res: 1920x1080 hz: 60 dpi: 102 gamma: 1.2 chroma: red: x: 0.639
    y: 0.329 green: x: 0.298 y: 0.600 blue: x: 0.149 y: 0.059 white: x: 0.314
    y: 0.329 size: 477x268mm (18.78x10.55") diag: 547mm (21.5") ratio: 16:9
    modes: 1920x1080, 1280x1024, 1152x864, 1024x768, 800x600, 640x480,
    720x400
  Monitor-2: HDMI-A-1 mapped: HDMI-1 pos: left model: Dell P2418D
    serial: <filter> built: 2018 res: 2560x1440 hz: 60 dpi: 124 gamma: 1.2
    chroma: red: x: 0.663 y: 0.329 green: x: 0.302 y: 0.616 blue: x: 0.149
    y: 0.059 white: x: 0.314 y: 0.329 size: 526x296mm (20.71x11.65")
    diag: 604mm (23.8") ratio: 16:9 modes: 2560x1440, 1920x1200, 2048x1080,
    1920x1080, 1920x1080i, 1600x1200, 1680x1050, 1280x1024, 1280x800,
    1152x864, 1280x720, 1024x768, 800x600, 720x576, 720x576i, 720x480,
    720x480i, 640x480, 720x400
  Monitor-3: eDP-1 note: disabled model: AU Optronics 0x429d built: 2018
    res: 2560x1440 dpi: 128 gamma: 1.2 chroma: red: x: 0.639 y: 0.337 green:
    x: 0.322 y: 0.612 blue: x: 0.153 y: 0.047 white: x: 0.314 y: 0.329
    size: 382x215mm (15.04x8.46") diag: 438mm (17.3") ratio: 16:9
    modes: 1920x1080
  API: OpenGL v: 4.6 Mesa 22.3.2 renderer: Mesa Intel Graphics (ADL GT2)
    direct render: Yes

It will be interesting to see what the output is if I run this after the resolution has dropped. I had not come across that command before, that is useful!

By part-time, do you mean regularly switching between single monitor and multi monitor? At home, I use my laptop like a desktop, it sits with exactly the same things plugging in the whole time. The problem has only occurred when sitting with a static monitor configuration.

I have now done this. If in a month I haven’t encountered the issue, I’ll assume this fixed it :smile:

That was my first thought. If I had another cable, I would do so. But I wanted to rule out software issues before buying another cable.

Turns out I didn’t have to wait that long. The problem occurred again overnight. Having KScreen2 disabled meant I just got a black screen on the monitor that glitched, rather than the resolution dropping. Oddly, I still got a cursor on that screen, but nothing else. After the unplug & replug, I had to open Display Settings, and disable and renable that monitor to get it usable again. Before the unplug & replug, I ran inxi -Gaz --edid with these results:

Graphics:
  Device-1: Intel Alder Lake-P Integrated Graphics vendor: CLEVO/KAPOK driver: i915 v: kernel
    arch: Gen-12.2 process: Intel 10nm built: 2021-22+ ports: active: DP-1,HDMI-A-1,eDP-1
    empty: DP-2,DP-3,DP-4 bus-ID: 00:02.0 chip-ID: 8086:46a6 class-ID: 0300
  Device-2: Logitech Webcam C930e type: USB driver: snd-usb-audio,uvcvideo bus-ID: 3-1.2:4
    chip-ID: 046d:0843 class-ID: 0102 serial: <filter>
  Device-3: Chicony USB2.0 Camera type: USB driver: uvcvideo bus-ID: 3-7:8 chip-ID: 04f2:b6f9
    class-ID: 0e02 serial: <filter>
  Display: x11 server: X.org v: 1.21.1.6 with: Xwayland v: 22.1.7 compositor: kwin_x11 driver:
    X: loaded: modesetting unloaded: fbdev,vesa alternate: intel dri: iris gpu: i915 tty: 240x67
  Monitor-1: DP-1 model: Dell ST2210 serial: <filter> built: 2010 res: 1920x1080 dpi: 102
    gamma: 1.2 chroma: red: x: 0.639 y: 0.329 green: x: 0.298 y: 0.600 blue: x: 0.149 y: 0.059
    white: x: 0.314 y: 0.329 size: 477x268mm (18.78x10.55") diag: 547mm (21.5") ratio: 16:9
    modes: 1280x1024, 1152x864, 1024x768, 800x600, 640x480, 720x400
  Monitor-2: HDMI-A-1 model: Dell P2418D serial: <filter> built: 2018 res: 2560x1440 dpi: 124
    gamma: 1.2 chroma: red: x: 0.663 y: 0.329 green: x: 0.302 y: 0.616 blue: x: 0.149 y: 0.059
    white: x: 0.314 y: 0.329 size: 526x296mm (20.71x11.65") diag: 604mm (23.8") ratio: 16:9
    modes: 2560x1440, 1920x1200, 2048x1080, 1920x1080, 1920x1080i, 1600x1200, 1680x1050,
    1280x1024, 1280x800, 1152x864, 1280x720, 1024x768, 800x600, 720x576, 720x576i, 720x480,
    720x480i, 640x480, 720x400
  Monitor-3: eDP-1 model: AU Optronics 0x429d built: 2018 res: 1920x1080 dpi: 128 gamma: 1.2
    chroma: red: x: 0.639 y: 0.337 green: x: 0.322 y: 0.612 blue: x: 0.153 y: 0.047 white: x: 0.314
    y: 0.329 size: 382x215mm (15.04x8.46") diag: 438mm (17.3") ratio: 16:9 modes: 1920x1080
  API: OpenGL Message: GL data unavailable in console. Try -G --display

The 1920x1080 mode has indeed disappeared from that monitor.

I suspect, given inxi doesn’t list the mode, that solutions involving arandr/xrandr or xorg.conf are unlikely to work? Still, I will try xrandr next time this happens. I have re-enabled KScreen2 as disabling it didn’t stop the problem, and created another problem.

Wrong. They absolutely should, done appropriately, but almost certainly will get interference from KScreen2 if it’s enabled.

Do you get the same output from xrandr --listproviders right after it happened as you get when all is as expected?

When next it happens, try xrandr --output DP-1 --auto before anything more specific. If it doesn’t help with KScreen2 enabled, try again without it.

So, the problem has occurred a few times since my last post, and on previous occasions I’ve tried various things with and without KScreen2 enabled, changing things with xrandr and via the Display Settings, and generally not doing something repeatable or testable. Oops. But this time, with KScreen2 disabled since boot, I’m was in the state that:

  • HDMI monitor is still at 2560x1440, but is blank except for the mouse cursor when I move it to that screen
  • DP-1/DVI monitor is still 1920x1080, and working correctly, BUT when I looked in Display Settings, that thought it was 1280x1024. Except I just opened it again to take a screenshot, and it seems to have caught up with reality and is showing it as 1920x1080.

Output of xrandr --listproviders:

Providers: number : 1
Provider 0: id: 0x48; cap: 0xf (Source Output, Sink Output, Source Offload, Sink Offload); crtcs: 4; outputs: 6; associated providers: 0; name: modesetting
    output eDP-1
    output HDMI-1
    output DP-1
    output DP-2
    output DP-3
    output DP-4

Output of xrandr --listmonitors:

Monitors: 2
 0: +*DP-1 1920/477x1080/268+2560+180  DP-1
 1: +HDMI-1 2560/526x1440/296+0+0  HDMI-1

Output of xrandr:

Screen 0: minimum 320 x 200, current 4480 x 1440, maximum 16384 x 16384
eDP-1 connected (normal left inverted right x axis y axis)
   1920x1080     60.05 +  60.01    59.97    59.96    59.93  
   (various other lower resolutions listed)
HDMI-1 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 526mm x 296mm
   2560x1440     59.95*+
   (various other lower resolutions listed)
DP-1 connected primary 1920x1080+2560+180 (normal left inverted right x axis y axis) 477mm x 268mm
   1920x1080     60.00*+
   (various other lower resolutions listed)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)

Interestingly, when I did a Print Screen, the screenshot showed contents on the HDMI monitor, even though it was just showing black (apart from the mouse cursor).

Running xrandr --output DP-1 --auto and xrandr --output HDMI-1 --auto had no effect. I then tried xrandr --output HDMI-1 --mode 2560x1440 --pos 0x0, which also had no effect.

Figuring that this might be due to it deciding to not do anything since I hadn’t actually changed anything, I tried xrandr --output HDMI-1 --mode 2560x1440 --pos 0x1, at which point things went horribly wrong. The HDMI monitor stayed as it was (black except for mouse cursor), and the DVI monitor got disconnected, which meant I then had no output at all. I ran xrandr --output HDMI-1 --mode 2560x1440 --pos 0x0 again (by pressing Up, Up, Enter, assuming that the terminal still had focus), but that didn’t help. I then did Ctrl+Alt+F1 to switch to the terminal display, which showed up on all 3 monitors (HDMI, DVI, and laptop’s internal screen). I then immeditely did Ctrl+Alt+F7 to get back to the X display, at which point the HDMI display was working correctly, and the DVI display still disconnected. Running xrandr --output DP-1 --auto then reconnected the DVI display, but only at 1280x1024. After all that:
Output of xrandr --listproviders:

Providers: number : 1
Provider 0: id: 0x48; cap: 0xf (Source Output, Sink Output, Source Offload, Sink Offload); crtcs: 4; outputs: 6; associated providers: 0; name: modesetting
    output eDP-1
    output HDMI-1
    output DP-1
    output DP-2
    output DP-3
    output DP-4

Output of xrandr --listmonitors:

Monitors: 2
 0: +*DP-1 1280/477x1024/268+2560+179  DP-1
 1: +HDMI-1 2560/526x1440/296+0+0  HDMI-1

Output of xrandr:

Screen 0: minimum 320 x 200, current 3840 x 1440, maximum 16384 x 16384
eDP-1 connected (normal left inverted right x axis y axis)
   1920x1080     60.05 +  60.01    59.97    59.96    59.93  
   (various other lower resolutions listed)
HDMI-1 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 526mm x 296mm
   2560x1440     59.95*+
   (various other lower resolutions listed)
DP-1 connected primary 1280x1024+2560+179 (normal left inverted right x axis y axis) 477mm x 268mm
   1280x1024     75.02*   60.02  
   (various other lower resolutions listed)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)

After this, running

xrandr --addmode DP-1 1920x1080
xrandr --output DP-1 --mode 1920x1080 --pos 2560x180

restored the DVI monitor to its correct configuration.

I agree. Same device here.

Agreed. I’ve ordered an Anker cable this time, rather than an unknown brand, I’ll see if that’s any better.

HDMI here I found out doesn’t play well reading the correct edid with nvidia rtx. I was stocked to booting with grub on a low resolution. My monitor has no DP port so I bought a DP to HDMI and I got the high resolution grub boot screen the way I want it to be. Monitor screen using xfce and a minimal kde session works well also on two monitors. If you have a DP port on your machine try getting a DP to HDMI cable. Much better if your monitor has a DP port then use DP for both.

Edit:
I see you have a DP then use it.