Maximum possible resolution is not detected (in Gnome Wayland with i915 GPU)

Hi all,

My Lenovo S145 with a Intel Iris Plus Graphics G1 GPU is not detecting the maximum resolution (2560x1080) of an LG Ultrawide monitor 29WK500/50S in a Gnome/Wayland session, but works in a X11 (I can manually add and set with xrandr).

Strangely, the same SO/Gnome/Wayland/Kernel Driver and Monitor fully works even in Gnome/Wayland, when only the GPU is changed (even same driver). Maybe a driver issue with a particular hardware? If so, why the X11 works, since the EDID reading is the same?

  • I’d like to ask for help to correctly fix the resolution in a wayland session (only in X11 with xrandr)
  • and to track down the issue (for learning purposes).

Maybe it is a driver/hardware issue, but I am posting here since the Lenovo Ideapad or Intel Iris GPU is widely used, it may impact the experience of multiple users trying Fedora.

How reproducible:
May be specific to my hardware (Lenovo Ideapad S145 / Intel Iris Plus Graphics G1).
Not related to monitor or HDMI cable (works fine in a gnome X11 session)

Steps to Reproduce:

  1. Start gnome wayland session
  2. Start control-center, display settings
  3. Only presented resolution choice is maximum resolution of 1920x1080

Expected results:
Existing entry of 2560x1080@60 resolution and possibility to change.

Graphics adapter:
Intel Corporation Iris Plus Graphics G1 (Ice Lake) [8086:8a56] (rev 07)
Intel Core i5-1035G1
(desired resolution is supported by GPU / HDMI output - Intel Core i51035G1 Processor 6M Cache up to 3.60 GHz Product Specifications)

00:02.0 VGA compatible controller [0300]: Intel Corporation Iris Plus Graphics G1 (Ice Lake) [8086:8a56] (rev 07)
  Subsystem: Lenovo Device [17aa:3fdc]
  Kernel driver in use: i915
  Kernel modules: i915

OS:
Fedora 32 - 5.8.10-200.fc32.x86_64, up to date

Notebook:
Lenovo Ideapad S145

Monitor: LG Ultrawide 29WK500/50S (max res: 2560x1080)
Decoded edid reports the desired resolution:

    DTD 4:  2560x1080   74.991 Hz  64:27   83.915 kHz 228.250 MHz (798 mm x 334 mm)
                 Hfront   48 Hsync  32 Hback  80 Hpol P
                 Vfront    3 Vsync  10 Vback  26 Vpol N

Full logs:
https://drive.google.com/drive/folders/1bGTums4cASLzIQNgc6xB9bLyi6hKksli?usp=sharing

Strangely, the same OS, monitor, cable, gnome/wayland and even kernel driver works fine. When connected to another noteboot the 2560x1080 resolution is detected just fine by gnome/wayland.

00:02.0 VGA compatible controller [0300]: Intel Corporation Skylake GT2 [HD Graphics 520] [8086:1916] (rev 07)
  Subsystem: Acer Incorporated [ALI] Device [1025:100c]
  Kernel driver in use: i915
  Kernel modules: i915
  • EDID reading was exact the same in both notebooks (one works just fine).

Solutions already tried:
Boot parameters in grub (individually):

video=XWAYLAND1:2560x1080@60
video=HDMI-1:2560x1080@60
i915.enable_guc=-1
nomodeset i915.modeset=0

Multiple xrandr solutions, adding modes, etc – which are supposedly no to work anyway, since xrandr can’t control wayland (?).
When logging in gnome using a X11 session I can manually add the mode and set it using xrandr (but the goal is to fix the wayland session).

  • Issue also exist in newer Fedora 33 with gnome 3.38.

Possibly related issues:

https://discussion.fedoraproject.org/t/why-fedora-31-doesnt-support-higher-than-1024-768-resolution/4110/2

https://bugzilla.redhat.com/show_bug.cgi?id=1134885#c11

  • Any other hardware than the GPU, HDMI cable or monitor could have any influence?
    ie. some motherboard controller, BIOS/UEFI, etc… that could impact the correct detection?

Thank you in advance for any help,

Mario

PS:

It works on Gnome/X11, not only in Gnome/Waylad. So it doesn’t seem a hardware/driver issue.

I can login in a X11 session and correctly set the resolution to 2560x1080@60 using:

xrandr --newmode "2560x1080_60.00"  230.76  2560 2728 3000 3440  1080 1081 1084 1118  -HSync +Vsync
xrandr --addmode HDMI-1 2560x1080_60.00
xrandr --output HDMI-1 --mode "2560x1080_60.00" -v

How can I do the same for Wayland?
Using kernel args in grub didn’t work.

video=XWAYLAND0:2560x1080@60
video=XWAYLAND1:2560x1080@60
video=HDMI-1:2560x1080@60

Thanks

Hi Mario, any luck with this ?