Gnome Wayland limited to 1080p

Hi! I have Librem 15v3, and i use X11 on Debian and Wayland on Fedora. I get the same issue, which i get on Pure OS with wayland - i can’t set 1440p resolution.

On X11, i can easily generate modeline and write it in /usr/share/X11/xorg.conf.d/ , but i want to use wayland with lovely 2K 144hz screen.

I tried to generate edid


and this kernel parameter:
drm.edid_firmware=HDMI-A-1:edid/2560x1440.bin
but my external screen go off with new edid.

I tried video=HDMI-A-1:2560x1440MR@60 kernel parameter, but resolution changed only on tty and weston.

I tried to combine this options: tty shows picture, weston working well, gnome don’t see my external screen.

My screen working well on HD Graphics 520 on my friend Windows computer. I checked EDID and found that it contains 1080p@144, 1440p@60 modes (screen can provide 1440p@144hz through HDMI2.0 or DisplayPort), but i limited to 1080p and 60hz. No 144 hz even i use extremely low resolution.

This is EDID of my screen:
http://scaledteam.ru/private/2560x1440.bin
This is custom EDID, which contain only 2560x1440 mode:
https://github.com/akatrevorjay/edid-generator/raw/master/2560x1440.bin

I think that modesetting ignoring Detailed modes. But i can’t write non-detailed mode to EDID, because i can’t found my mode in specification.

Someone have success to get 1440p or 4K on Gnome wayland?

This edid-decode output.

Extracted contents:
header:          00 ff ff ff ff ff ff 00
serial number:   04 69 a8 27 cf 4b 02 00 27 19
version:         01 03
basic params:    80 3c 22 78 2a
chroma info:     a5 95 a6 56 50 a0 26 0d 50 54
established:     bf ef 00
standard:        71 4f 81 80 95 00 d1 c0 d1 e8 d1 fc 01 01 01 01
descriptor 1:    56 5e 00 a0 a0 a0 29 50 30 20 35 00 55 50 21 00 00 1a
descriptor 2:    02 3a 80 18 71 38 2d 40 58 2c 45 00 55 50 21 00 00 1e
descriptor 3:    00 00 00 fd 00 17 78 18 8a 1e 00 0a 20 20 20 20 20 20
descriptor 4:    00 00 00 fc 00 41 53 55 53 20 4d 47 32 37 38 0a 20 20
extensions:      01
checksum:        d7

Manufacturer: ACI Model 27a8 Serial Number 150479
Made week 39 of 2015
EDID version: 1.3
Digital display
Maximum image size: 60 cm x 34 cm
Gamma: 2.20
DPMS levels: Off
Supported color formats: RGB 4:4:4, YCrCb 4:4:4
First detailed timing is preferred timing
Established timings supported:
  720x400@70Hz
  640x480@60Hz
  640x480@67Hz
  640x480@72Hz
  640x480@75Hz
  800x600@56Hz
  800x600@60Hz
  800x600@72Hz
  800x600@75Hz
  832x624@75Hz
  1024x768@60Hz
  1024x768@70Hz
  1024x768@75Hz
  1280x1024@75Hz
Standard timings supported:
  1152x864@75Hz
  1280x1024@60Hz
  1440x900@60Hz
  1920x1080@60Hz
  1920x1080@100Hz
  1920x1080@120Hz
Detailed mode: Clock 241.500 MHz, 597 mm x 336 mm
               2560 2608 2640 2720 hborder 0
               1440 1443 1448 1481 vborder 0
               +hsync -vsync 
Detailed mode: Clock 148.500 MHz, 597 mm x 336 mm
               1920 2008 2052 2200 hborder 0
               1080 1084 1089 1125 vborder 0
               +hsync +vsync 
Monitor ranges (GTF): 23-120Hz V, 24-138kHz H, max dotclock 300MHz
Monitor name: ASUS
Has 1 extension blocks
Checksum: 0xd7 (valid)

CEA extension block
Extension version: 3
32 bytes of CEA data
  Video data block
    VIC   2 720x480@60Hz 
    VIC   3 720x480@60Hz 
    VIC  18 720x576@50Hz 
    VIC  19 1280x720@50Hz 
    VIC   4 1280x720@60Hz 
    VIC  14 1440x480@60Hz 
    VIC  15 1440x480@60Hz 
    VIC  29 1440x576@50Hz 
    VIC  30 1440x576@50Hz 
    VIC  31 1920x1080@50Hz 
    VIC  16 1920x1080@60Hz (native)
    VIC  32 1920x1080@24Hz 
    VIC  33 1920x1080@25Hz 
    VIC  34 1920x1080@30Hz 
    VIC  63 1920x1080@120Hz 
    VIC   5 1920x1080i@60Hz 
    VIC  20 1920x1080i@50Hz 
  Audio data block
    Linear PCM, max channels 2
    Supported sample rates (kHz): 96 48 44.1 32
    Supported sample sizes (bits): 24 20 16
  Speaker allocation data block
    Speaker map: FL/FR
  Vendor-specific data block, OUI 000c03 (HDMI)
    Source physical address 2.0.0.0
Basic audio support
Supports YCbCr 4:4:4
Supports YCbCr 4:2:2
1 native detailed modes
Detailed mode: Clock 241.500 MHz, 597 mm x 336 mm
               2560 2608 2640 2720 hborder 0
               1440 1443 1448 1481 vborder 0
               +hsync -vsync 
Detailed mode: Clock 27.000 MHz, 597 mm x 336 mm
                720  736  798  858 hborder 0
                480  489  495  525 vborder 0
               -hsync -vsync 
Detailed mode: Clock 74.250 MHz, 597 mm x 336 mm
               1280 1390 1430 1650 hborder 0
                720  725  730  750 vborder 0
               +hsync +vsync 
Detailed mode: Clock 85.500 MHz, 597 mm x 336 mm
               1366 1436 1579 1792 hborder 0
                768  771  774  798 vborder 0
               +hsync +vsync 
Detailed mode: Clock 27.000 MHz, 597 mm x 336 mm
                720  732  796  864 hborder 0
                576  581  586  625 vborder 0
               -hsync -vsync 
Checksum: 0x6c (valid)

EDID block does NOT conform to EDID 1.3!
	Detailed block string not properly terminated

Wayland scaling is fundamentally different from X and XWayland scaling. I think this guide might be useful: https://wiki.gnome.org/HowDoI/HiDpi

1 Like