External monitor stopped working after upgrading tumbleweed

I upgraded tumbleweed this morning, and after a restart, my laptop no longer connects to my external monitor. My laptop was able to connect to the monitor before using mini display port connection.

I looked at the thread here: https://forums.opensuse.org/showthread.php/539833-tumbleweed-doesn-t-work-with-me-external-monitor. This thread does not seem to apply to me because i do not have INVIDIA GPU.

Here are some info about my system:

husain@localhost:~$ uname -a
Linux localhost.localdomain 5.16.0-1-default #1 SMP PREEMPT Mon Jan 10 07:30:39 UTC 2022 (487d6b3) x86_64 x86_64 x86_64 GNU/Linux

husain@localhost:~$ xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x49; cap: 0xb (Source Output, Sink Output, Sink Offload); crtcs: 4; outputs: 7; associated providers: 0; name: Intel
    output eDP1
    output DP1
    output DP2
    output HDMI1
    output HDMI2
    output VGA1
    output VIRTUAL1


husain@localhost:~$ susepaste -n kayvank .local/share/xorg/Xorg.0.log
Pasted as:
   https://susepaste.org/99135198
   https://paste.opensuse.org/99135198
Link is also in your clipboard.

husain@localhost:~$ sudo lspci -nnk | grep -iA4 -e 'VGA' -e 'graphic'
00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06)
    Subsystem: Lenovo Device [17aa:2210]
    Kernel driver in use: i915
    Kernel modules: i915
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)

husain@localhost:~$ inxi -Gxx
Graphics:  Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Lenovo driver: i915 v: kernel bus-ID: 00:02.0
           chip-ID: 8086:0416
           Device-2: Acer Integrated Camera type: USB driver: uvcvideo bus-ID: 3-12:6 chip-ID: 5986:026a
           Device-3: AVerMedia Live Streamer CAM 313 type: USB driver: snd-usb-audio,uvcvideo bus-ID: 3-3.2:5
           chip-ID: 07ca:313a
           Display: x11 server: X.Org 1.21.1.3 compositor: gnome-shell driver: loaded: intel unloaded: fbdev,modesetting,vesa
           resolution: 1366x768~60Hz s-dpi: 96
           OpenGL: renderer: Mesa DRI Intel HD Graphics 4600 (HSW GT2) v: 4.5 Mesa 21.3.3 compat-v: 3.0 direct render: Yes

husain@localhost:~$ sudo hwinfo --gfxcard | grep Model
  Model: "Intel 4th Gen Core Processor Integrated Graphics Controller"

Any hints on how to solve this problem is appreciated. I am not an expert on linux so please take it easy on me.

Does the problem remain if you boot the prior kernel?

Have a look here, then try switching to the modesetting display driver to see if it makes any difference.

I have two Haswells, neither a laptop. On neither have I installed a 5.16 kernel yet. This is from the GT1, which is primarily used only for testing:

# inxi -CSyz
System:
  **Kernel: 5.15.12**-1-default x86_64 bits: 64 Desktop: Trinity R14.0.11
    Distro: openSUSE Tumbleweed 20220114
CPU:
  Info: dual core model: Intel Pentium G3220 bits: 64 type: MCP cache:
    L2: 512 KiB
  Speed (MHz): avg: 2395 min/max: 800/3000 cores: 1: 2395 2: 2395
# inxi -Gayz
Graphics:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics
    vendor: ASUSTeK driver: i915 v: kernel bus-ID: 00:02.0 **chip-ID: 8086:0402**
    class-ID: 0300
  Display: x11 server: X.Org 1.21.1.3 driver: loaded: modesetting
    unloaded: fbdev,vesa alternate: intel display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x2520 s-dpi: 120 s-size: 541x533mm (21.3x21.0")
    s-diag: 759mm (29.9")
  Monitor-1: DP-1 res: 2560x1440 hz: 60 dpi: 109
    size: 598x336mm (23.5x13.2") diag: 686mm (27")
  Monitor-2: HDMI-3 res: 2560x1080 hz: 60 dpi: 97
    size: 673x284mm (26.5x11.2") diag: 730mm (28.8")
  OpenGL: renderer: Mesa DRI Intel HD Graphics (**HSW GT1**) v: 4.5 Mesa 21.3.3
    compat-v: 3.0 direct render: Yes
#

I created this reply mostly to show a Haswell can currently run two displays on TW.

My Haswell GT2 is the PC I’m typing this on, booted to 15.3. I only boot TW on it when urgently needed, which I might do later if it looks like it could help solve this OP’s problem.

I booted up the system with the old version (5.15.12-1-default) and it has the same behavior: my external monitor does not work with it.

I did follow the link you sent (xorg-x11-driver-video and xf86-video-*) and I still have the same issue.

Do you have another HDMI cable to try? IME, too many HDMI cables go bad. Is HDMI what you’re using for the external display? Are you using any kind of adapter to connect the external display?

Now that you’ve switched from the intel DDX to modesetting DIX display driver, Xorg.0.log will report connectors. The intel is the only DDX I’m aware of that doesn’t. Does it show the external display is connected?:

grep onnec /var/log/Xorg.0.log

or

grep onnec ~/.local/share/xorg/Xorg.0.log

Alternatively:

xrandr | egrep 'onnect|creen|\*' | grep -v disconn | sort -r

will show what X thinks is connected. Your Xorg.0.log isn’t showing the volume of EDID info I’m used to seeing, and it’s only coming from apparently the laptop display.

I suppose this could be a Gnome issue, so try opening some other session instead to see if same problem there, e.g. IceWM is normally installed as a convenient option. If that has the same problem, report a bug and include a link to this thread. I think it best to try another display cable first though.

The problem is resolved.

I got a new DisplayPort cable, but that did not solve the problem.

In a very strange way, the problem was resolved when I logged out and logged in in LXDE twice. Then all of the sudden the external monitor worked. I did that twice with GNOME, and now the monitor works.

I am not sure if there is a way to check if I am running in modsetting driver or not. Here is the output after using my monitor after turning off my laptop screen.

husain@localhost:~$ grep onnec ~/.local/share/xorg/Xorg.0.log
    56.151] (II) modeset(0): Output eDP-1 connected
    56.151] (II) modeset(0): Output VGA-1 disconnected
    56.151] (II) modeset(0): Output DP-1 connected
    56.151] (II) modeset(0): Output HDMI-1 disconnected
    56.151] (II) modeset(0): Output DP-2 disconnected
    56.151] (II) modeset(0): Output HDMI-2 disconnected



and

husain@localhost:~$ xrandr | egrep 'onnect|creen|\*' | grep -v disconn | sort -r
Screen 0: minimum 320 x 200, current 3440 x 1440, maximum 16384 x 16384
eDP-1 connected (normal left inverted right x axis y axis)
DP-1 connected primary 3440x1440+0+0 (normal left inverted right x axis y axis) 797mm x 333mm
   3440x1440     59.97*+  49.99  

All those modeset(0) lines are the modesetting driver reporting things it finds, does or tries to do. inxi -G reports both the kernel driver in use and the display driver in use.