[SOLVED] Not the correct refresh rate on external monitor.
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm using Arch Linux and I just bought a ViewSonic P227f CRT monitor for photo editing, and while it works pretty well after just plugging it in, it seems that the refresh rates are a bit off.
The monitor is supposed to be able to do 1920x1440 @ 84hz, but I can only select 75hz in Gnome's monitor settings. The monitor is also supposed to be able to display 2048x1536@74hz, but I can't even select that resolution. There's just a garbled image at that resolution. I'm using it on a laptop with an Intel X3100 GPU. Is that why I can't use the highest resolution? Or is it because of incorrect modelines?
The monitor is identified in Gnome's monitor settings as 'ViewSonic Corporation 20"', which is also wrong since it's a 21" monitor.
I was able to locate the correct HorizSync and VertRefresh values in this post on the Ubuntu forums.
HorizSync: 30-130
VertRefresh: 50-160
From what I gather the max pixel clock is 340mhz.
I tried making an xorg.conf that specified the hsync and vrefresh but it didn't make any difference. I also tried adding a new modeline to xrandr using a modeline calculator. But I couldn't really figure out how it worked. The calculator said that the "Dot clock" was over the max frequency and that I should use an interlacing mode.
Now, if there was a tool similar to Ubuntu's displayconf-gtk I imagine I could just set the correct model and be done with it. But since that is pretty much dead in favor of xrandr (i guess?) and doesn't exist for Arch anyway I think, is there a way to specify the correct model using xrandr?
Sorry if there's not enough info here. It's really the first time I had to use xrandr to actually do something so I don't know what info to include =/
Edit: I guess I can add this though: xorg.conf Xorg.0.log
Ignore the modeline in xorg.conf. It know it's probably not correct, but it didn't work without it either (still garbled image on that resolution).
Last edited by Synt4x_3rr0r; 06-17-2010 at 07:23 PM.
Thanks for your reply.
But I'm not sure what it is that you want me to find there.
I already have xorg set up and working, and I have tried adding the hsync and vrefresh to xorg.conf but without any luck, even though the log file seems to indicate that it is in fact using those values.
And the Intel page didn't seem to have any useful information for this problem either.
I guess I can live with 1920x1440@75hz though.
There's no flicker or anything like that. But it would be nice to be able to get the full 2048x1536@75hz that the monitor is supposed to be able to output.
Screen 0: minimum 320 x 200, current 3200 x 1440, maximum 8192 x 8192
VGA1 connected 1920x1440+1280+0 (normal left inverted right x axis y axis) 392mm x 294mm
1600x1200 85.0 + 75.0
2048x1536 75.0
1920x1440 75.0*
1792x1344 75.0
1280x1024 85.0 75.0
1152x864 75.0
1024x768 75.1 70.1 60.0
832x624 74.6
800x600 85.1 72.2 75.0 60.3
640x480 72.8 75.0 60.0
720x400 70.1
LVDS1 connected 1280x800+0+640 (normal left inverted right x axis y axis) 331mm x 207mm
1280x800 59.9*+
1024x768 60.0
800x600 60.3
640x480 59.9
TV1 disconnected (normal left inverted right x axis y axis)
Yes on lower resolutions 85hz works, just like it says in the xrandr output there.
But on the 2048x1536 and 1920x1440 line there it only states 75.0 in both cases. I know that the 2048x1536 resolution only goes up to 75hz like it says, but I only get a garbled image on that res. And I haven't been able to set 1920x1440 to 85hz either because gnome monitor settings only shows 75hz. I think I tried setting it through xrandr yesterday without any difference that I could tell.
Edit: On some of those resolutions the monitor is supposed to be able to handle over 100hz as well, and that doesn't seem to be the case if xrandr is to be believed.
Nothing happened when I did that. The screen didn't even blank or anything. And the xrandr output is still the same.
Edit: Could that mean that it is actually outputting 85hz and xrandr is reporting the wrong values?
It still doesn't explain why 2048x1536 doesn't work though.. But I guess that could be my laptop that isn't up to the task or something. I don't have another computer to try it with though =/
Last edited by Synt4x_3rr0r; 06-18-2010 at 12:39 PM.
I don't know what that mode would be named in a Modes line
"2048x1536" or "2048x1536@75.0" or "2048x1536@75" or what.
Quote:
From what I gather the max pixel clock is 340mhz.
Based on what source of info? And whose max pixel clock? Max for the monitor? Max for Intel GM965/GL960 chip? Max for the DVI or VGA connection of the laptop?
I think 340MHz would be plenty for 2048 pixels plus retrace at 120.2KHz. But I'm not convinced every component from your video chip through to your monitor really can handle 340MHz. Maybe 2048 pixels plus retrace at 120.2KHz is too fast for some component.
How important is 75Hz to you (vs. 2048x1536)?
I would construct a modeline for 2048x1536 at a lower refresh rate and see if it works well.
So now it starts up at 1920x1440@75Hz, and I get an option of 2048x1536@60 in the gnome settings. But when I select that, the screen goes black and doesn't come back on until the countdown has ended. Edit: Oh and the regular 2048x1536@75Hz is still garbled.
Edit again: Sorry I'm a little tired...
I got the info about the pixel clock at ViewSonic's website, though for a smaller monitor, but that seems to be the only difference. That's also where I got the 79Hz from. It seems viewsonic has removed all info about my monitor from their website for some reason. The other monitor's page is located here.
Last edited by Synt4x_3rr0r; 06-18-2010 at 02:49 PM.
I think the exact quoted name of the mode in the Modes line should match the exact quoted name in the Modeline.
Quote:
I get an option of 2048x1536@60 in the gnome settings. But when I select that, the screen goes black and doesn't come back on until the countdown has ended.
I guess that indicates something else wrong with that Modeline, but I don't know what.
At the end of the ddc modeline it says, -hsync +vsync
Usually that part is optional and matches the default. But maybe in this case it is required (so try adding it to the end of your Modeline.
Yep, that modeline did it. So the monitor is too good for my laptop i suppose.
I think I'll stick to 1920x1440 for now because a lot of sharpness is lost at 60hz, but in some cases it can be good to have.
Thanks for your help!
Do you think it's possible to get 1920x1440@85Hz or is it the same there? The modeline generator gives me a Dot Frequency of 499.03 so I guess not :P
Edit: I figured it might work in interlaced mode. so i'm gonna try that now..
Last edited by Synt4x_3rr0r; 06-18-2010 at 03:38 PM.
Hmm the modeline doesn't seem to be added for some reason. It doesn't show up in the xrandr output.
Oh well it doesn't really matter. I'm fine with 75hz.
Yep, that modeline did it. So the monitor is too good for my laptop i suppose.
I think I'll stick to 1920x1440 for now because a lot of sharpness is lost at 60hz
Maybe something above 60, but below 75 will be better for 2048x1536.
Quote:
Do you think it's possible to get 1920x1440@85Hz or is it the same there? The modeline generator gives me a Dot Frequency of 499.03 so I guess not
I think the modeline generator you're using is giving you bad modelines.
I think the modelines from DDC from your Xorg.0.log file are the best starting point, and any modeline you want should be constructed by tweaking one of those.
From one of those lines, you would want to modify just the speed. For example here is one of those lines with a few numbers in color to help me explain:
Say I want a 65Hz refresh version of that. I put 65 into a calculator, then multiply that by 2.832 and multiply the result by 1.603. I got those two numbers (that I multiplied by) by inserting a decimal point in the two numbers in the positions of the original line I indicated in color. The result in my calculator is 295.08. I replace the green number in the original line by 295.08 and I put @65 into the quoted name of the mode, resulting in:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.