Jump to content

Screen Resolution issue with xrandr


ichase
 Share

Recommended Posts

Been knee deep in the Xrandr Arch Wiki and have tried a number of things to change my resolution from the current 1366x768 to 1600x1200. Reason I am doing this is because I want to have more info in my conky and it ain't happening with the current resolution.

I am running a Dell Latitude E5510 which is MORE than capable of handling a higher resolution.

xrandr output shows:

[ichase02@arch64 ~]$ xrandr
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
eDP1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
1366x768	 60.0*+
1024x768	 60.0
800x600	 60.3	 56.2
640x480	 59.9
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
1600x1200_60.00 59.9
HDMI2 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis) 

 

I have tried manually adding the resolution IAW the wiki but I get an error:

[ichase02@arch64 ~]$ cvt 1600 1200 60
# 1600x1200 59.87 Hz (CVT 1.92M3) hsync: 74.54 kHz; pclk: 161.00 MHz
Modeline "1600x1200_60.00"  161.00  1600 1712 1880 2160  1200 1203 1207 1245 -hsync +vsync
[ichase02@arch64 ~]$ xrandr --newmode "1600x1200_60.00"  161.00  1600 1712 1880 2160  1200 1203 1207 1245 -hsync +vsync
[ichase02@arch64 ~]$ xrandr --addmode eDP1 1600x1200_60.00
X Error of failed request:  BadMatch (invalid parameter attributes)
 Major opcode of failed request:  140 (RANDR)
 Minor opcode of failed request:  18 (RRAddOutputMode)
 Serial number of failed request:  33
 Current serial number in output stream:  34

 

I originally tried

[ichase02@arch64 ~]$ xrandr --output LVDS --mode 1024x768
warning: output LVDS not found; ignoring

To dynamically test some different resolutions but as you can see I am getting an LVDS not found.

 

So what do you think I am doing wrong here?

 

Thanks and hope everyone has a great weekend,

 

Ian

Edited by ichase
Link to comment
Share on other sites

securitybreach

Have you tried installing and running arandr? I had some issues with setting the resolution on one of my monitors but I was able to use arandr (which is just a frontend to xrandr) to set the correct values (graphically). Arandr basically lets you set up xrandr visually then you can save it as a script. Here is mine (for reference):

#!/bin/sh
xrandr --output DisplayPort-0 --mode 1920x1080 --pos 1600x0 --rotate normal --output DVI-1 --mode 1600x900 --pos 3520x180 --rotate normal --output DVI-0 --mode 1600x900 --pos 0x180 --rotate normal --output HDMI-0 --mode 1920x1080 --pos 1600x1080 --rotate normal

 

 

If it works, then just add the path to ~/.xinitrc:

sh randr.sh &

(replace randr.sh with the filename you chose)

 

Wait, I just noticed that DP1 shows 1600x1200. Are you sure you are choosing the right output?

][/b][ichase02@arch64 ~]$ xrandr

Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192

eDP1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 194mm

1366x768 60.0*+

1024x768 60.0

800x600 60.3 56.2

640x480 59.9

VGA1 disconnected (normal left inverted right x axis y axis)

HDMI1 disconnected (normal left inverted right x axis y axis)

DP1 disconnected (normal left inverted right x axis y axis)

1600x1200_60.00 59.9

HDMI2 disconnected (normal left inverted right x axis y axis)

DP2 disconnected (normal left inverted right x axis y axis)

Link to comment
Share on other sites

I installed the arandr package yesterday and only have 1366x768 to choose from.

No I am using eDP1. The reason you see a setting under DP1 is because I created it forgetting to add the "e" in front of it.

71ff42249970252.jpg

When I click "New" in arandr, nothing happens. I am guessing that is where you are talking about when setting up more elaborate settings.

Link to comment
Share on other sites

securitybreach

Try this:

gtf 1600 1200 60.00

 

xrandr --newmode "1600x1200_60.00"  161.00  1600 1712 1880 2160  1200 1203 1207 1245 -hsync +vsync

 

xrandr --addmode eDP1 1600x1200_60.00

 

xrandr --output eDP1 --mode 1600x1200_60.00

Link to comment
Share on other sites

When I get to addmode it fails:

[ichase02@arch64 ~]$ xrandr --addmode eDP1 1600x1200_60.00
X Error of failed request:  BadMatch (invalid parameter attributes)
 Major opcode of failed request:  140 (RANDR)
 Minor opcode of failed request:  18 (RRAddOutputMode)
 Serial number of failed request:  33
 Current serial number in output stream:  34

Link to comment
Share on other sites

No clue why I am showing the 1600x1200 twice under DP2? Note there is no longer anything showing under DP1??????? :huh:

 

[ichase02@arch64 ~]$ xrandr -q
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
eDP1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
  1366x768	   60.0*+
  1024x768	   60.0  
  800x600	    60.3	 56.2  
  640x480	    59.9  
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
 1600x1200_60:00 (0x12a)  161.0MHz
    h: width  1600 start 1712 end 1880 total 2160 skew    0 clock   74.5KHz
    v: height 1200 start 1203 end 1207 total 1245		   clock   59.9Hz
 1600x1200_60.00 (0x14d)  161.0MHz
    h: width  1600 start 1704 end 1880 total 2160 skew    0 clock   74.5KHz
    v: height 1200 start 1201 end 1204 total 1242		   clock   60.0Hz

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...