Xrandr: cannot change resolution

I have encountered an issue with xrandr.
When i try to change the resolution of my notebook display with xrandr, the screen goes black for about 1 second and then automatically resets to original resolution.

To change resolution i used the following commands:

  1. cvt 1920 1280 60 (get settings for desired resolution)
  2. sudo xrandr --newmode "FHD" 206.25 1920 2056 2256 2592 1280 1283 1293 1327 -hsync +vsync (add new mode, uses settings from (1.))
  3. sudo xrandr --addmode eDP1 FHD (add new mode to display)
  4. sudo xrandr --output eDP1 --mode FHD (set new mode for display)

After completing this steps, the resolution was unchanged.
When i opened gnome display settings, i could see the the new resolution, but selecting the new mode also doesn’t change screen resolution.

I would appreciate any help.

Here are my System specs:

  • Acer Swift 3 (2019)
  • CPU: Intel i7-1065G7 (8) @ 3.900GHz
  • GPU: Intel Iris Plus Graphics G7
  • kernel: 5.4.60-2-MANJARO
  • graphic driver: xf86-video-intel 1:2.99.917+908+g7181c5a4-1

What’s the current resolution? I suspect 1920x1080 will be the maximum supported (and native) resolution.

Hi!

You usually don’t need cvt nor to add a new resolution to change it. Please post the output of xrandr

We could also benefit from a bit more info, namely the output if inxi -Fazy. We’d alos like to know if you’re referring to the built-in screen or to an external monitor.

Hi, sorry for the missing information.
I try to change the resolution of my built-in screen.
The default resolution is 2256x1504.

Here is the output of inxi -Fazy:
System: Kernel: 5.4.60-2-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 parameters: BOOT_IMAGE=/boot/vmlinuz-5.4-x86_64 root=UUID=a2522394-1a28-4a62-aa6e-ba58840a21ec rw quiet apparmor=1 security=apparmor resume=UUID=1b51bb1a-2799-4c2d-97bb-210f199c1e70 udev.log_priority=3 Desktop: GNOME 3.36.5 tk: GTK 3.24.22 wm: gnome-shell dm: GDM 3.36.3 Distro: Manjaro Linux Machine: Type: Laptop System: Acer product: Swift SF313-52 v: V1.03 serial: <filter> Chassis: type: 10 serial: <filter> Mobo: IL model: Skol_IL v: V1.03 serial: <filter> UEFI: Insyde v: 1.03 date: 02/12/2020 Battery: ID-1: BAT0 charge: 12.6 Wh condition: 56.6/56.0 Wh (101%) volts: 14.6/15.4 model: SMP KT00407008 AP18C7M type: Li-ion serial: <filter> status: Discharging cycles: 23 CPU: Topology: Quad Core model: Intel Core i7-1065G7 bits: 64 type: MT MCP arch: Ice Lake family: 6 model-id: 7E (126) stepping: 5 microcode: 78 L2 cache: 8192 KiB flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 23968 Speed: 619 MHz min/max: 400/3900 MHz Core speeds (MHz): 1: 1114 2: 775 3: 1200 4: 712 5: 677 6: 772 7: 1202 8: 787 Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages 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 status: Not affected Type: tsx_async_abort status: Not affected Graphics: Device-1: Intel Iris Plus Graphics G7 vendor: Acer Incorporated ALI driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:8a52 Device-2: Chicony HD WebCam type: USB driver: uvcvideo bus ID: 3-6:3 chip ID: 04f2:b5c5 serial: <filter> Display: x11 server: X.org 1.20.8 compositor: gnome-shell driver: intel unloaded: modesetting alternate: fbdev,vesa resolution: <xdpyinfo missing> OpenGL: renderer: Mesa Intel Iris Plus Graphics (ICL GT2) v: 4.6 Mesa 20.1.6 direct render: Yes Audio: Device-1: Intel Smart Sound Audio vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel alternate: snd_sof_pci bus ID: 00:1f.3 chip ID: 8086:34c8 Sound Server: ALSA v: k5.4.60-2-MANJARO Network: Device-1: Intel Killer Wi-Fi 6 AX1650i 160MHz Wireless Network Adapter driver: iwlwifi v: kernel port: 3000 bus ID: 00:14.3 chip ID: 8086:34f0 IF: wlp0s20f3 state: up mac: <filter> IF-ID-1: docker0 state: down mac: <filter> Drives: Local Storage: total: 953.87 GiB used: 82.10 GiB (8.6%) SMART Message: Unable to run smartctl. Root privileges required. ID-1: /dev/nvme0n1 vendor: Intel model: SSDPEKNW010T8 size: 953.87 GiB block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 002C scheme: GPT Partition: ID-1: / raw size: 936.71 GiB size: 921.01 GiB (98.32%) used: 82.10 GiB (8.9%) fs: ext4 dev: /dev/nvme0n1p2 Swap: Kernel: swappiness: 60 (default) cache pressure: 100 (default) ID-1: swap-1 type: partition size: 16.86 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme0n1p3 Sensors: System Temperatures: cpu: 29.0 C mobo: N/A Fan Speeds (RPM): N/A Info: Processes: 265 Uptime: 3m Memory: 15.33 GiB used: 1.45 GiB (9.5%) Init: systemd v: 246 Compilers: gcc: 10.2.0 Packages: 1600 pacman: 1589 lib: 409 flatpak: 0 snap: 11 Shell: Bash v: 5.0.18 running in: gnome-terminal inxi: 3.1.05

Here is the output of xrandr --verbose:

Screen 0: minimum 8 x 8, current 2256 x 1504, maximum 32767 x 32767
eDP1 connected primary 2256x1504+0+0 (0x49) normal (normal left inverted right x axis y axis) 280mm x 190mm
Identifier: 0x43
Timestamp: 13553
Subpixel: unknown
Gamma: 1.0:1.0:1.0
Brightness: 1.0
Clones:
CRTC: 0
CRTCs: 0 1 2
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
EDID:
00ffffffffffff0009e5bc0800000000
171d0104a51c137803de50a3544c9926
0f505400000001010101010101010101
010101010101115cd01881e02d503020
36001dbe1000001aa749d01881e02d50
302036001dbe1000001a000000fe0042
4f452043510a202020202020000000fe
004e4531333546424d2d4e34310a009f
BACKLIGHT: 19200
range: (0, 19200)
Backlight: 19200
range: (0, 19200)
scaling mode: Full aspect
supported: Full, Center, Full aspect
max bpc: 12
range: (6, 12)
Broadcast RGB: Automatic
supported: Automatic, Full, Limited 16:235
link-status: Good
supported: Good, Bad
non-desktop: 0
range: (0, 1)
2256x1504 (0x49) 235.690MHz +HSync -VSync *current +preferred
h: width 2256 start 2304 end 2336 total 2536 skew 0 clock 92.94KHz
v: height 1504 start 1507 end 1513 total 1549 clock 60.00Hz
2256x1504 (0x17b) 188.550MHz +HSync -VSync
h: width 2256 start 2304 end 2336 total 2536 skew 0 clock 74.35KHz
v: height 1504 start 1507 end 1513 total 1549 clock 48.00Hz
DP1 disconnected (normal left inverted right x axis y axis)
Identifier: 0x44
Timestamp: 13553
Subpixel: unknown
Clones:
CRTCs: 0 1 2
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
HDCP Content Type: HDCP Type0
supported: HDCP Type0, HDCP Type1
Content Protection: Undesired
supported: Undesired, Desired, Enabled
max bpc: 12
range: (6, 12)
Broadcast RGB: Automatic
supported: Automatic, Full, Limited 16:235
audio: auto
supported: force-dvi, off, auto, on
link-status: Good
supported: Good, Bad
non-desktop: 0
range: (0, 1)
DP2 disconnected (normal left inverted right x axis y axis)
Identifier: 0x45
Timestamp: 13553
Subpixel: unknown
Clones:
CRTCs: 0 1 2
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
HDCP Content Type: HDCP Type0
supported: HDCP Type0, HDCP Type1
Content Protection: Undesired
supported: Undesired, Desired, Enabled
max bpc: 12
range: (6, 12)
Broadcast RGB: Automatic
supported: Automatic, Full, Limited 16:235
audio: auto
supported: force-dvi, off, auto, on
link-status: Good
supported: Good, Bad
non-desktop: 0
range: (0, 1)
HDMI1 disconnected (normal left inverted right x axis y axis)
Identifier: 0x46
Timestamp: 13553
Subpixel: unknown
Clones:
CRTCs: 0 1 2
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
HDCP Content Type: HDCP Type0
supported: HDCP Type0, HDCP Type1
Content Protection: Undesired
supported: Undesired, Desired, Enabled
max bpc: 12
range: (8, 12)
content type: No Data
supported: No Data, Graphics, Photo, Cinema, Game
Colorspace: Default
supported: Default, SMPTE_170M_YCC, BT709_YCC, XVYCC_601, XVYCC_709, SYCC_601, opYCC_601, opRGB, BT2020_CYCC, BT2020_RGB, BT2020_YCC, DCI-P3_RGB_D65, DCI-P3_RGB_Theater
aspect ratio: Automatic
supported: Automatic, 4:3, 16:9
Broadcast RGB: Automatic
supported: Automatic, Full, Limited 16:235
audio: auto
supported: force-dvi, off, auto, on
link-status: Good
supported: Good, Bad
non-desktop: 0
range: (0, 1)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
Identifier: 0x47
Timestamp: 13553
Subpixel: no subpixels
Clones:
CRTCs: 3
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
non-desktop: 0
supported: 0, 1

Many thanks in advance for your support :slight_smile: