Unable to change the refresh rate to 60hz with xrandr











up vote
4
down vote

favorite












My monitor supports 1920×1080 @ 60hz (LG W2486L) and graphic card (GeForce 9400 GT)
using Ubuntu 12.04.



When I type xrandr -q I get this:




xrandr -q
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 0mm x 0mm
1920x1080 50.0*
1920x1080_59.90 59.9
1920x1080_60.00 60.0


Right now the refresh rate is on 50 and hurt my eyes real bad.
So I'm trying to change it to 60hz:



xrandr --output default --mode 1920x1080_60.00
xrandr: Failed to get size of gamma for output default


What I can do? I tried




gtf 1920 1080 60.0

# 1920x1080 @ 60.00 Hz (GTF) hsync: 67.08 kHz; pclk: 172.80 MHz
Modeline "1920x1080_60.00" 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync

xrandr --newmode "1920x1080_60.00" 172.51 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync
xrandr: Failed to get size of gamma for output default
X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 153 (RANDR)
Minor opcode of failed request: 16 (RRCreateMode)
Serial number of failed request: 19
Current serial number in output stream: 19

xrandr --output default --mode 1920x1080_60.00
xrandr: Failed to get size of gamma for output default


Someone have the solution for this? I can't work on the PC like that, 50Hz is very low and can't look at the screen more than 5 mins.



Thank you!










share|improve this question
























  • Any reason why you had clk 172.51 instead of 172.8 as was calculated from GTF in your xrandr command?
    – Takkat
    Mar 9 '13 at 19:10










  • i don't know...
    – Morti
    Mar 10 '13 at 2:33










  • Just a commnent... Don't understand why this EOL Ubuntu 12.04 abandoned question got bumped to the home page when OP hasn't signed on in 4+ years (2 days after this question was posted) and therefore unlikely to confirm or deny any answers posted. Who exactly is the community that bumped to home page 10 minutes ago?
    – WinEunuuchs2Unix
    Jul 29 '17 at 1:28










  • January 15, 2018 and this question from 2013 just got bumped by the robot again.
    – WinEunuuchs2Unix
    Jan 16 at 3:59















up vote
4
down vote

favorite












My monitor supports 1920×1080 @ 60hz (LG W2486L) and graphic card (GeForce 9400 GT)
using Ubuntu 12.04.



When I type xrandr -q I get this:




xrandr -q
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 0mm x 0mm
1920x1080 50.0*
1920x1080_59.90 59.9
1920x1080_60.00 60.0


Right now the refresh rate is on 50 and hurt my eyes real bad.
So I'm trying to change it to 60hz:



xrandr --output default --mode 1920x1080_60.00
xrandr: Failed to get size of gamma for output default


What I can do? I tried




gtf 1920 1080 60.0

# 1920x1080 @ 60.00 Hz (GTF) hsync: 67.08 kHz; pclk: 172.80 MHz
Modeline "1920x1080_60.00" 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync

xrandr --newmode "1920x1080_60.00" 172.51 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync
xrandr: Failed to get size of gamma for output default
X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 153 (RANDR)
Minor opcode of failed request: 16 (RRCreateMode)
Serial number of failed request: 19
Current serial number in output stream: 19

xrandr --output default --mode 1920x1080_60.00
xrandr: Failed to get size of gamma for output default


Someone have the solution for this? I can't work on the PC like that, 50Hz is very low and can't look at the screen more than 5 mins.



Thank you!










share|improve this question
























  • Any reason why you had clk 172.51 instead of 172.8 as was calculated from GTF in your xrandr command?
    – Takkat
    Mar 9 '13 at 19:10










  • i don't know...
    – Morti
    Mar 10 '13 at 2:33










  • Just a commnent... Don't understand why this EOL Ubuntu 12.04 abandoned question got bumped to the home page when OP hasn't signed on in 4+ years (2 days after this question was posted) and therefore unlikely to confirm or deny any answers posted. Who exactly is the community that bumped to home page 10 minutes ago?
    – WinEunuuchs2Unix
    Jul 29 '17 at 1:28










  • January 15, 2018 and this question from 2013 just got bumped by the robot again.
    – WinEunuuchs2Unix
    Jan 16 at 3:59













up vote
4
down vote

favorite









up vote
4
down vote

favorite











My monitor supports 1920×1080 @ 60hz (LG W2486L) and graphic card (GeForce 9400 GT)
using Ubuntu 12.04.



When I type xrandr -q I get this:




xrandr -q
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 0mm x 0mm
1920x1080 50.0*
1920x1080_59.90 59.9
1920x1080_60.00 60.0


Right now the refresh rate is on 50 and hurt my eyes real bad.
So I'm trying to change it to 60hz:



xrandr --output default --mode 1920x1080_60.00
xrandr: Failed to get size of gamma for output default


What I can do? I tried




gtf 1920 1080 60.0

# 1920x1080 @ 60.00 Hz (GTF) hsync: 67.08 kHz; pclk: 172.80 MHz
Modeline "1920x1080_60.00" 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync

xrandr --newmode "1920x1080_60.00" 172.51 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync
xrandr: Failed to get size of gamma for output default
X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 153 (RANDR)
Minor opcode of failed request: 16 (RRCreateMode)
Serial number of failed request: 19
Current serial number in output stream: 19

xrandr --output default --mode 1920x1080_60.00
xrandr: Failed to get size of gamma for output default


Someone have the solution for this? I can't work on the PC like that, 50Hz is very low and can't look at the screen more than 5 mins.



Thank you!










share|improve this question















My monitor supports 1920×1080 @ 60hz (LG W2486L) and graphic card (GeForce 9400 GT)
using Ubuntu 12.04.



When I type xrandr -q I get this:




xrandr -q
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 0mm x 0mm
1920x1080 50.0*
1920x1080_59.90 59.9
1920x1080_60.00 60.0


Right now the refresh rate is on 50 and hurt my eyes real bad.
So I'm trying to change it to 60hz:



xrandr --output default --mode 1920x1080_60.00
xrandr: Failed to get size of gamma for output default


What I can do? I tried




gtf 1920 1080 60.0

# 1920x1080 @ 60.00 Hz (GTF) hsync: 67.08 kHz; pclk: 172.80 MHz
Modeline "1920x1080_60.00" 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync

xrandr --newmode "1920x1080_60.00" 172.51 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync
xrandr: Failed to get size of gamma for output default
X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 153 (RANDR)
Minor opcode of failed request: 16 (RRCreateMode)
Serial number of failed request: 19
Current serial number in output stream: 19

xrandr --output default --mode 1920x1080_60.00
xrandr: Failed to get size of gamma for output default


Someone have the solution for this? I can't work on the PC like that, 50Hz is very low and can't look at the screen more than 5 mins.



Thank you!







12.04 nvidia xorg xrandr






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 9 '13 at 19:42









Kevin Bowen

14.2k145969




14.2k145969










asked Mar 9 '13 at 17:38









Morti

2112




2112












  • Any reason why you had clk 172.51 instead of 172.8 as was calculated from GTF in your xrandr command?
    – Takkat
    Mar 9 '13 at 19:10










  • i don't know...
    – Morti
    Mar 10 '13 at 2:33










  • Just a commnent... Don't understand why this EOL Ubuntu 12.04 abandoned question got bumped to the home page when OP hasn't signed on in 4+ years (2 days after this question was posted) and therefore unlikely to confirm or deny any answers posted. Who exactly is the community that bumped to home page 10 minutes ago?
    – WinEunuuchs2Unix
    Jul 29 '17 at 1:28










  • January 15, 2018 and this question from 2013 just got bumped by the robot again.
    – WinEunuuchs2Unix
    Jan 16 at 3:59


















  • Any reason why you had clk 172.51 instead of 172.8 as was calculated from GTF in your xrandr command?
    – Takkat
    Mar 9 '13 at 19:10










  • i don't know...
    – Morti
    Mar 10 '13 at 2:33










  • Just a commnent... Don't understand why this EOL Ubuntu 12.04 abandoned question got bumped to the home page when OP hasn't signed on in 4+ years (2 days after this question was posted) and therefore unlikely to confirm or deny any answers posted. Who exactly is the community that bumped to home page 10 minutes ago?
    – WinEunuuchs2Unix
    Jul 29 '17 at 1:28










  • January 15, 2018 and this question from 2013 just got bumped by the robot again.
    – WinEunuuchs2Unix
    Jan 16 at 3:59
















Any reason why you had clk 172.51 instead of 172.8 as was calculated from GTF in your xrandr command?
– Takkat
Mar 9 '13 at 19:10




Any reason why you had clk 172.51 instead of 172.8 as was calculated from GTF in your xrandr command?
– Takkat
Mar 9 '13 at 19:10












i don't know...
– Morti
Mar 10 '13 at 2:33




i don't know...
– Morti
Mar 10 '13 at 2:33












Just a commnent... Don't understand why this EOL Ubuntu 12.04 abandoned question got bumped to the home page when OP hasn't signed on in 4+ years (2 days after this question was posted) and therefore unlikely to confirm or deny any answers posted. Who exactly is the community that bumped to home page 10 minutes ago?
– WinEunuuchs2Unix
Jul 29 '17 at 1:28




Just a commnent... Don't understand why this EOL Ubuntu 12.04 abandoned question got bumped to the home page when OP hasn't signed on in 4+ years (2 days after this question was posted) and therefore unlikely to confirm or deny any answers posted. Who exactly is the community that bumped to home page 10 minutes ago?
– WinEunuuchs2Unix
Jul 29 '17 at 1:28












January 15, 2018 and this question from 2013 just got bumped by the robot again.
– WinEunuuchs2Unix
Jan 16 at 3:59




January 15, 2018 and this question from 2013 just got bumped by the robot again.
– WinEunuuchs2Unix
Jan 16 at 3:59










1 Answer
1






active

oldest

votes

















up vote
0
down vote













Your xrandr -q output shows that you have 1920x1080_59.90 resolution available



You can use this to set the new resolution



xrandr --output default --mode 1920x1080_59.90 


Also, if you are creating newmode using



xrandr --newmode "1920x1080_59.90"  172.51  1920 2040 2248 2576  1080 1081 1084 1118  -HSync +Vsync


You also need to add this mode using



xrandr --addmode default 1920x1080_59.90


And then set the new resolution using



xrandr --output default --mode 1920x1080_59.90





share|improve this answer























  • well after i reboot the pc, xrandr -q results change to: 1920x1080 50.0* 1680x1050 51.0 52.0 1600x1024 53.0 1440x900 54.0 and it make no sense, i should have 1920x1080 with 60hz
    – Morti
    Mar 10 '13 at 2:35












  • you have to write scripts to make it persistent on reboot
    – s.m
    Mar 10 '13 at 6:24










  • how can i do it?
    – Morti
    Mar 11 '13 at 16:22










  • put all the codes given above in a file and create a script, For example :Create xrandr.sh #!/bin/bash xrandr --newmode "1920x1080_59.90" 172.51 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync xrandr --addmode default 1920x1080_59.90 xrandr --output default --mode 1920x1080_59.90 Then make this script to autorun on startup
    – s.m
    Mar 12 '13 at 7:34












  • You can even add this line Modeline "1920x1080_59.90" 172.51 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync in the Monitor section of xorg.conf file in /etc/X11
    – s.m
    Mar 30 '13 at 14:23













Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f265939%2funable-to-change-the-refresh-rate-to-60hz-with-xrandr%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













Your xrandr -q output shows that you have 1920x1080_59.90 resolution available



You can use this to set the new resolution



xrandr --output default --mode 1920x1080_59.90 


Also, if you are creating newmode using



xrandr --newmode "1920x1080_59.90"  172.51  1920 2040 2248 2576  1080 1081 1084 1118  -HSync +Vsync


You also need to add this mode using



xrandr --addmode default 1920x1080_59.90


And then set the new resolution using



xrandr --output default --mode 1920x1080_59.90





share|improve this answer























  • well after i reboot the pc, xrandr -q results change to: 1920x1080 50.0* 1680x1050 51.0 52.0 1600x1024 53.0 1440x900 54.0 and it make no sense, i should have 1920x1080 with 60hz
    – Morti
    Mar 10 '13 at 2:35












  • you have to write scripts to make it persistent on reboot
    – s.m
    Mar 10 '13 at 6:24










  • how can i do it?
    – Morti
    Mar 11 '13 at 16:22










  • put all the codes given above in a file and create a script, For example :Create xrandr.sh #!/bin/bash xrandr --newmode "1920x1080_59.90" 172.51 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync xrandr --addmode default 1920x1080_59.90 xrandr --output default --mode 1920x1080_59.90 Then make this script to autorun on startup
    – s.m
    Mar 12 '13 at 7:34












  • You can even add this line Modeline "1920x1080_59.90" 172.51 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync in the Monitor section of xorg.conf file in /etc/X11
    – s.m
    Mar 30 '13 at 14:23

















up vote
0
down vote













Your xrandr -q output shows that you have 1920x1080_59.90 resolution available



You can use this to set the new resolution



xrandr --output default --mode 1920x1080_59.90 


Also, if you are creating newmode using



xrandr --newmode "1920x1080_59.90"  172.51  1920 2040 2248 2576  1080 1081 1084 1118  -HSync +Vsync


You also need to add this mode using



xrandr --addmode default 1920x1080_59.90


And then set the new resolution using



xrandr --output default --mode 1920x1080_59.90





share|improve this answer























  • well after i reboot the pc, xrandr -q results change to: 1920x1080 50.0* 1680x1050 51.0 52.0 1600x1024 53.0 1440x900 54.0 and it make no sense, i should have 1920x1080 with 60hz
    – Morti
    Mar 10 '13 at 2:35












  • you have to write scripts to make it persistent on reboot
    – s.m
    Mar 10 '13 at 6:24










  • how can i do it?
    – Morti
    Mar 11 '13 at 16:22










  • put all the codes given above in a file and create a script, For example :Create xrandr.sh #!/bin/bash xrandr --newmode "1920x1080_59.90" 172.51 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync xrandr --addmode default 1920x1080_59.90 xrandr --output default --mode 1920x1080_59.90 Then make this script to autorun on startup
    – s.m
    Mar 12 '13 at 7:34












  • You can even add this line Modeline "1920x1080_59.90" 172.51 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync in the Monitor section of xorg.conf file in /etc/X11
    – s.m
    Mar 30 '13 at 14:23















up vote
0
down vote










up vote
0
down vote









Your xrandr -q output shows that you have 1920x1080_59.90 resolution available



You can use this to set the new resolution



xrandr --output default --mode 1920x1080_59.90 


Also, if you are creating newmode using



xrandr --newmode "1920x1080_59.90"  172.51  1920 2040 2248 2576  1080 1081 1084 1118  -HSync +Vsync


You also need to add this mode using



xrandr --addmode default 1920x1080_59.90


And then set the new resolution using



xrandr --output default --mode 1920x1080_59.90





share|improve this answer














Your xrandr -q output shows that you have 1920x1080_59.90 resolution available



You can use this to set the new resolution



xrandr --output default --mode 1920x1080_59.90 


Also, if you are creating newmode using



xrandr --newmode "1920x1080_59.90"  172.51  1920 2040 2248 2576  1080 1081 1084 1118  -HSync +Vsync


You also need to add this mode using



xrandr --addmode default 1920x1080_59.90


And then set the new resolution using



xrandr --output default --mode 1920x1080_59.90






share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 9 '13 at 18:35

























answered Mar 9 '13 at 18:23









s.m

1,3342913




1,3342913












  • well after i reboot the pc, xrandr -q results change to: 1920x1080 50.0* 1680x1050 51.0 52.0 1600x1024 53.0 1440x900 54.0 and it make no sense, i should have 1920x1080 with 60hz
    – Morti
    Mar 10 '13 at 2:35












  • you have to write scripts to make it persistent on reboot
    – s.m
    Mar 10 '13 at 6:24










  • how can i do it?
    – Morti
    Mar 11 '13 at 16:22










  • put all the codes given above in a file and create a script, For example :Create xrandr.sh #!/bin/bash xrandr --newmode "1920x1080_59.90" 172.51 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync xrandr --addmode default 1920x1080_59.90 xrandr --output default --mode 1920x1080_59.90 Then make this script to autorun on startup
    – s.m
    Mar 12 '13 at 7:34












  • You can even add this line Modeline "1920x1080_59.90" 172.51 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync in the Monitor section of xorg.conf file in /etc/X11
    – s.m
    Mar 30 '13 at 14:23




















  • well after i reboot the pc, xrandr -q results change to: 1920x1080 50.0* 1680x1050 51.0 52.0 1600x1024 53.0 1440x900 54.0 and it make no sense, i should have 1920x1080 with 60hz
    – Morti
    Mar 10 '13 at 2:35












  • you have to write scripts to make it persistent on reboot
    – s.m
    Mar 10 '13 at 6:24










  • how can i do it?
    – Morti
    Mar 11 '13 at 16:22










  • put all the codes given above in a file and create a script, For example :Create xrandr.sh #!/bin/bash xrandr --newmode "1920x1080_59.90" 172.51 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync xrandr --addmode default 1920x1080_59.90 xrandr --output default --mode 1920x1080_59.90 Then make this script to autorun on startup
    – s.m
    Mar 12 '13 at 7:34












  • You can even add this line Modeline "1920x1080_59.90" 172.51 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync in the Monitor section of xorg.conf file in /etc/X11
    – s.m
    Mar 30 '13 at 14:23


















well after i reboot the pc, xrandr -q results change to: 1920x1080 50.0* 1680x1050 51.0 52.0 1600x1024 53.0 1440x900 54.0 and it make no sense, i should have 1920x1080 with 60hz
– Morti
Mar 10 '13 at 2:35






well after i reboot the pc, xrandr -q results change to: 1920x1080 50.0* 1680x1050 51.0 52.0 1600x1024 53.0 1440x900 54.0 and it make no sense, i should have 1920x1080 with 60hz
– Morti
Mar 10 '13 at 2:35














you have to write scripts to make it persistent on reboot
– s.m
Mar 10 '13 at 6:24




you have to write scripts to make it persistent on reboot
– s.m
Mar 10 '13 at 6:24












how can i do it?
– Morti
Mar 11 '13 at 16:22




how can i do it?
– Morti
Mar 11 '13 at 16:22












put all the codes given above in a file and create a script, For example :Create xrandr.sh #!/bin/bash xrandr --newmode "1920x1080_59.90" 172.51 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync xrandr --addmode default 1920x1080_59.90 xrandr --output default --mode 1920x1080_59.90 Then make this script to autorun on startup
– s.m
Mar 12 '13 at 7:34






put all the codes given above in a file and create a script, For example :Create xrandr.sh #!/bin/bash xrandr --newmode "1920x1080_59.90" 172.51 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync xrandr --addmode default 1920x1080_59.90 xrandr --output default --mode 1920x1080_59.90 Then make this script to autorun on startup
– s.m
Mar 12 '13 at 7:34














You can even add this line Modeline "1920x1080_59.90" 172.51 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync in the Monitor section of xorg.conf file in /etc/X11
– s.m
Mar 30 '13 at 14:23






You can even add this line Modeline "1920x1080_59.90" 172.51 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync in the Monitor section of xorg.conf file in /etc/X11
– s.m
Mar 30 '13 at 14:23




















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f265939%2funable-to-change-the-refresh-rate-to-60hz-with-xrandr%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

數位音樂下載

格利澤436b

When can things happen in Etherscan, such as the picture below?