You are not logged in.

#1 2015-03-21 15:47:20

caoimhin
Member
Registered: 2015-02-09
Posts: 4

Can't set screen resolution

I have a Lenovo Yoga 2 Pro.  The native resolution is 3200x1800.  On archlinux (running latest Gnome3), I don't have the option to set the resolution to 1080p (1920x1080).  However, I do have this option on Ubuntu and it works perfectly.

I have read https://wiki.archlinux.org/index.php/xr … esolutions and did what it says.  Here's my script to change the resolution:

xrandr --newmode 1080p  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
xrandr --addmode eDP1 1080p
xrandr --output eDP1 --mode 1080p
gsettings set org.gnome.desktop.interface text-scaling-factor 1.0

It worked for a while, but a few months ago, it stopped working.  When I run this script, the screen would blink twice, and go back to 3200x1800.  I ran the script with `journalctl -f` on, and here's what's in my logs:

Mar 21 11:45:42 sargas gdm-Xorg-:0[303]: (II) intel(0): resizing framebuffer to 1920x1080
Mar 21 11:45:42 sargas gdm-Xorg-:0[303]: (II) intel(0): switch to mode 1920x1080@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
Mar 21 11:45:43 sargas gdm-Xorg-:0[303]: (II) intel(0): resizing framebuffer to 3200x1800
Mar 21 11:45:43 sargas gdm-Xorg-:0[303]: (II) intel(0): switch to mode 3200x1800@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none

You can see it switched right back to 3200x1800.  I don't see any information in other logs such as the X logs.  Any idea how I go about debugging it?  I know it's a supported resolution since I can change to it under Ubuntu and it used to work under Arch.


Thanks in advance!

Offline

Board footer

Powered by FluxBB