Xwayland runs at 1360x768 instead of 1366x768
With GNOME Xorg my games detect the correct resolution to use (1366x768) but with GNOME Wayland it only detects 1360x768 so games look blurry
Important to say, i'm using a HDMI2VGA converter, it's native res is the common 1080p but my monitor can't display 1080p so i just use 1366x768 since it is the native one.
/sys/class/drm/card0/card0-HDMI-A-1/edid:
edid-decode (hex):
00 ff ff ff ff ff ff 00 1e 6d cb 5a 01 01 01 01
09 1b 01 03 80 29 17 78 ea d0 25 a2 58 55 9c 28
0f 50 54 a7 6a 00 31 4f 45 4f 61 4f 81 c0 01 01
01 01 01 01 01 01 66 21 56 aa 51 00 1e 30 46 8f
33 00 9a e6 10 00 00 1e 00 00 00 fd 00 38 4b 1e
3d 09 00 0a 20 20 20 20 20 20 00 00 00 fc 00 4c
47 20 48 44 0a 20 20 20 20 20 20 20 00 00 00 ff
00 0a 20 20 20 20 20 20 20 20 20 20 20 20 01 f6
02 03 1b 61 23 09 07 07 83 01 00 00 67 03 0c 00
20 00 80 2d 43 90 84 02 e2 00 0f 8c 0a d0 8a 20
e0 2d 10 10 3e 96 00 a0 5a 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 29
----------------
Block 0, Base EDID:
EDID Structure Version & Revision: 1.3
Vendor & Product Identification:
Manufacturer: GSM
Model: 23243
Serial Number: 16843009
Made in: week 9 of 2017
Basic Display Parameters & Features:
Digital display
Maximum image size: 41 cm x 23 cm
Gamma: 2.20
DPMS levels: Standby Suspend Off
RGB color display
First detailed timing is the preferred timing
Color Characteristics:
Red : 0.6357, 0.3447
Green: 0.3320, 0.6093
Blue : 0.1562, 0.0605
White: 0.3134, 0.3291
Established Timings I & II:
IBM : 720x400 70.081663 Hz 9:5 31.467 kHz 28.320000 MHz
DMT 0x04: 640x480 59.940476 Hz 4:3 31.469 kHz 25.175000 MHz
DMT 0x06: 640x480 75.000000 Hz 4:3 37.500 kHz 31.500000 MHz
DMT 0x08: 800x600 56.250000 Hz 4:3 35.156 kHz 36.000000 MHz
DMT 0x09: 800x600 60.316541 Hz 4:3 37.879 kHz 40.000000 MHz
DMT 0x0b: 800x600 75.000000 Hz 4:3 46.875 kHz 49.500000 MHz
Apple : 832x624 74.551266 Hz 4:3 49.726 kHz 57.284000 MHz
DMT 0x10: 1024x768 60.003840 Hz 4:3 48.363 kHz 65.000000 MHz
DMT 0x12: 1024x768 75.028582 Hz 4:3 60.023 kHz 78.750000 MHz
Standard Timings:
DMT 0x06: 640x480 75.000000 Hz 4:3 37.500 kHz 31.500000 MHz
DMT 0x0b: 800x600 75.000000 Hz 4:3 46.875 kHz 49.500000 MHz
DMT 0x12: 1024x768 75.028582 Hz 4:3 60.023 kHz 78.750000 MHz
DMT 0x55: 1280x720 60.000000 Hz 16:9 45.000 kHz 74.250000 MHz
Detailed Timing Descriptors:
DTD 1: 1366x768 59.789541 Hz 683:384 47.712 kHz 85.500000 MHz (410 mm x 230 mm)
Hfront 70 Hsync 143 Hback 213 Hpol P
Vfront 3 Vsync 3 Vback 24 Vpol P
Display Range Limits:
Monitor ranges (GTF): 56-75 Hz V, 30-61 kHz H, max dotclock 90 MHz
Display Product Name: 'LG HD'
Display Product Serial Number: ''
Extension blocks: 1
Checksum: 0xf6
----------------
Block 1, CTA-861 Extension Block:
Revision: 3
Basic audio support
Supports YCbCr 4:4:4
Native detailed modes: 1
Audio Data Block:
Linear PCM:
Max channels: 2
Supported sample rates (kHz): 48 44.1 32
Supported sample sizes (bits): 24 20 16
Speaker Allocation Data Block:
FL/FR - Front Left/Right
Vendor-Specific Data Block (HDMI), OUI 00-0C-03:
Source physical address: 2.0.0.0
Supports_AI
Maximum TMDS clock: 225 MHz
Video Data Block:
VIC 16: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz (native)
VIC 4: 1280x720 60.000000 Hz 16:9 45.000 kHz 74.250000 MHz (native)
VIC 2: 720x480 59.940060 Hz 4:3 31.469 kHz 27.000000 MHz
Video Capability Data Block:
YCbCr quantization: No Data
RGB quantization: No Data
PT scan behavior: No Data
IT scan behavior: Supports both over- and underscan
CE scan behavior: Supports both over- and underscan
Detailed Timing Descriptors:
DTD 2: 720x480 59.940060 Hz 3:2 31.469 kHz 27.000000 MHz (analog composite, sync-on-green, 160 mm x 90 mm)
Hfront 16 Hsync 62 Hback 60 Hpol N
Vfront 9 Vsync 6 Vback 30 Vpol N
Checksum: 0x29 Unused space in Extension Block: 82 bytes```
Edited by Kassin Dornelles