Can't choose correct resolution on second monitor

Hi. I have a laptop with FullHD. I bought a new monitor with 2k + 165Hz resolution and connected it to my laptop by HDMI. But the display settings prevent me from choosing 2k, max is 1920x1200 60Hz.

I have windows 10 as second OS and everything is fine on it.
My inxi -Fazy is:

System:
  Kernel: 5.10.61-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64 
  root=UUID=299e9fe8-41e6-46fb-9da6-fe70dbe3a01f rw quiet splash apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: GNOME 40.4 tk: GTK 3.24.30 wm: gnome-shell dm: GDM 40.1 
  Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Laptop System: Acer product: Swift SF314-58 v: V1.03 serial: <filter> 
  Mobo: CM model: Strongbow_CM v: V1.03 serial: <filter> UEFI: Insyde v: 1.03 
  date: 09/11/2019 
Battery:
  ID-1: BAT0 charge: 39.6 Wh (100.0%) condition: 39.6/47.8 Wh (82.9%) 
  volts: 12.2 min: 11.2 model: LGC KT0030G020 type: Li-ion serial: <filter> 
  status: Not charging 
CPU:
  Info: Quad Core model: Intel Core i5-10210U bits: 64 type: MT MCP 
  arch: Kaby Lake note: check family: 6 model-id: 8E (142) stepping: C (12) 
  microcode: EA cache: L2: 6 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 33615 
  Speed: 900 MHz min/max: 400/4200 MHz Core speeds (MHz): 1: 900 2: 900 3: 900 
  4: 900 5: 900 6: 900 7: 900 8: 900 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling 
  Type: srbds mitigation: TSX disabled 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel CometLake-U GT2 [UHD Graphics] vendor: Acer Incorporated ALI 
  driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:9b41 class-ID: 0300 
  Device-2: Chicony HD WebCam type: USB driver: uvcvideo bus-ID: 1-7:6 
  chip-ID: 04f2:b5c5 class-ID: 0e02 serial: <filter> 
  Display: wayland server: X.Org 1.21.1.2 compositor: gnome-shell driver: 
  loaded: modesetting alternate: fbdev,vesa display-ID: :0 screens: 1 
  Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x286mm (40.0x11.3") 
  s-diag: 1055mm (41.6") 
  Monitor-1: XWAYLAND0 res: 1920x1080 hz: 60 dpi: 157 
  size: 310x170mm (12.2x6.7") diag: 354mm (13.9") 
  Monitor-2: XWAYLAND1 res: 1920x1080 hz: 60 dpi: 81 
  size: 600x340mm (23.6x13.4") diag: 690mm (27.2") 
  OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 21.2.1 
  direct render: Yes 
Audio:
  Device-1: Intel Comet Lake PCH-LP cAVS vendor: Acer Incorporated ALI 
  driver: sof-audio-pci alternate: snd_hda_intel,snd_soc_skl,snd_sof_pci 
  bus-ID: 00:1f.3 chip-ID: 8086:02c8 class-ID: 0401 
  Sound Server-1: ALSA v: k5.10.61-1-MANJARO running: yes 
  Sound Server-2: JACK v: 1.9.19 running: no 
  Sound Server-3: PulseAudio v: 15.0 running: yes 
  Sound Server-4: PipeWire v: 0.3.34 running: no 
Network:
  Device-1: Intel Comet Lake PCH-LP CNVi WiFi driver: iwlwifi v: kernel 
  port: 5000 bus-ID: 00:14.3 chip-ID: 8086:02f0 class-ID: 0280 
  IF: wlp0s20f3 state: up mac: <filter> 
  IF-ID-1: br-09dd24c538f9 state: down mac: <filter> 
  IF-ID-2: br-dd491e6c3770 state: up speed: 10000 Mbps duplex: unknown 
  mac: <filter> 
  IF-ID-3: docker0 state: down mac: <filter> 
  IF-ID-4: vethffeaeb7 state: up speed: 10000 Mbps duplex: full mac: <filter> 
Bluetooth:
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8 
  bus-ID: 1-10:7 chip-ID: 8087:0026 class-ID: e001 
  Report: rfkill ID: hci0 rfk-id: 2 state: up address: see --recommends 
Drives:
  Local Storage: total: 238.47 GiB used: 40.44 GiB (17.0%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix model: HFM256GDJTNG-8310A 
  size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 15.8 Gb/s 
  lanes: 2 type: SSD serial: <filter> rev: 80002C00 temp: 28.9 C scheme: GPT 
Partition:
  ID-1: / raw-size: 100 GiB size: 97.87 GiB (97.87%) used: 40.39 GiB (41.3%) 
  fs: ext4 dev: /dev/nvme0n1p4 maj-min: 259:4 
  ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%) 
  used: 52.5 MiB (54.7%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 
Swap:
  Alert: No swap data was found. 
Sensors:
  System Temperatures: cpu: 41.0 C mobo: 30.0 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 287 Uptime: 37m wakeups: 1 Memory: 19.39 GiB 
  used: 3.33 GiB (17.2%) Init: systemd v: 248 tool: systemctl Compilers: 
  gcc: 11.1.0 clang: 12.0.1 Packages: 1226 pacman: 1222 lib: 309 flatpak: 0 
  snap: 4 Shell: Zsh v: 5.8 running-in: gnome-terminal inxi: 3.3.06

Anybody?

Output of xrandr?

Screen 0: minimum 16 x 16, current 3840 x 1080, maximum 32767 x 32767
XWAYLAND0 connected primary 1920x1080+1920+0 (normal left inverted right x axis y axis) 310mm x 170mm
   1920x1080     59.96*+
   1440x1080     59.99  
   1400x1050     59.98  
   1280x1024     59.89  
   1280x960      59.94  
   1152x864      59.96  
   1024x768      59.92  
   800x600       59.86  
   640x480       59.38  
   320x240       59.52  
   1680x1050     59.95  
   1440x900      60.03  
   1280x800      59.99  
   720x480       59.71  
   640x400       59.95  
   320x200       58.96  
   1600x900      59.95  
   1368x768      59.88  
   1280x720      59.86  
   1024x576      59.90  
   864x486       59.92  
   720x400       59.55  
   640x350       59.77  
XWAYLAND4 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
   1920x1080     59.88*+
   1440x1080     59.87  
   1400x1050     59.86  
   1280x1024     59.76  
   1280x960      59.79  
   1152x864      59.78  
   1024x768      59.68  
   800x600       59.86  
   640x480       59.38  
   320x240       59.52  
   1680x1050     59.85  
   1440x900      59.89  
   1280x800      59.81  
   720x480       59.71  
   640x400       59.20  
   320x200       58.96  
   1600x900      59.82  
   1368x768      59.88  
   1280x720      59.86  
   1024x576      59.90  
   864x486       59.45  
   720x400       59.55  
   640x350       59.77  

Can you try the same in the X11 session instead of Wayland?

How can i do this?

From the login screen.

@Erger What are the capabilities of your HDMI cable? If it’s an old cable it may not properly support over FullHD. Windows may be mitigating this by using a slower refresh rate which may not be supported automatically / in the same way by Manjaro. The monitor has multiple refresh rate options - what happens if you drop it to 30Hz?

If you have some spares it’s worth trying a few different cables or a DisplayPort connection to see if you have any better luck with those.

I may be barking up completely the wrong tree but, if you have spare cables, it’s easy to test. All HDMIs are far from equal.

@omano Is it correct?

echo $XDG_SESSION_TYPE
x11
xrandr
Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 16384 x 16384
eDP-1 connected primary 1920x1080+1920+0 (normal left inverted right x axis y axis) 309mm x 173mm
   1920x1080     60.05*+  60.01    59.97    59.96    59.93  
   1680x1050     59.95    59.88  
   1400x1050     59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     60.02  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1280x800      59.99    59.97    59.81    59.91  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   640x400       59.88    59.98  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
HDMI-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
   1920x1200     59.95  
   1920x1080     60.00    60.00    59.94* 
   1680x1050     59.88  
   1600x900      60.00  
   1280x1024     60.02  
   1440x900      59.90  
   1280x800      59.91  
   1280x720      60.00    59.94  
   1024x768      60.00  
   800x600       60.32  
   720x480       60.00    59.94  
   640x480       60.00    59.94  
   720x400       70.08  

I didn’t know about switch between X11 and Wayland. I edited my /etc/gdm/custom.conf and uncommented WaylandEnable=false. Then I could do add new mode with 30Hz of xrandr and it’s work for me.
Finally I created new file

/etc/X11/xorg.conf.d/10-monitors.conf

Section "Monitor"
### Monitor Identity - Typically HDMI-0 or DisplayPort-0
    Identifier    "eDP-1"

### Setting Resolution and Modes
## Modeline is usually not required, but you can force resolution with it
    Modeline "1920x1080" 172.80 1920 2040 2248 2576 1080 1081 1084 1118
    Option "PreferredMode" "1920x1080"
    Option        "TargetRefresh" "60"

### Positioning the Monitor
## Basic
    Option "Above" "HDMI-1"
## Advanced
    Option        "Position" "0 0"
EndSection

Section "Monitor"
### Monitor Identity - Typically HDMI-0 or DisplayPort-0
    Identifier    "HDMI-1"

### Setting Resolution and Modes
## Modeline is usually not required, but you can force resolution with it
Modeline "2560x1440_30.00"  146.25  2560 2680 2944 3328  1440 1443 1448 1468 -hsync +vsync
    Option "PreferredMode" "2560x1440_30.00"
    Option        "TargetRefresh" "30"

### Positioning the Monitor
## Basic
    Option "Below" "eDP-1"
## Advanced
    Option        "Position" "310 1080"
EndSection

and it work after restart system, but it hasn’t Refresh rate on display settings.
Is it right?

@tiefling I tried to change 4 different HDMI cables, but it didn’t help.

Can I change the refresh rate to 165 or 144Hz? Anyway thanks a lot guys.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.