View previous topic :: View next topic |
Author |
Message |
bheinze n00b
Joined: 12 Apr 2005 Posts: 41
|
Posted: Tue Apr 19, 2005 9:59 pm Post subject: X.org frequency troubles [solved] |
|
|
Why is X such a bitch when it comes to configuring the video modes? It took me days to get Xfree on my redhat box to work right, and I haven't managed yet to get X.org running correctly on Gentoo.
What I want is: 1152x864@85Hz
I used Code: | Subsection "Display"
Depth 24
Modes "1152x864" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection |
Got me: 1152x864@75Hz
I used: Code: | Subsection "Display"
Depth 24
Modes "1152x864@85" "1024x768@85" "800x600@85" "640x480@85"
ViewPort 0 0
EndSubsection |
Got me: 1024x768@85
I used: Code: | Subsection "Display"
Depth 24
Modes "1152x864@85"
ViewPort 0 0
EndSubsection |
Got me: 19??x1???@75
Now I use: Code: | Section "Modes"
Identifier "Modes[0]"
Modeline "1152x864_85.00" 119.65 1152 1224 1352 1552 864 865 868 907 -HSync +Vsync
#got this from gtf
EndSection
...
Subsection "Display"
Depth 24
Modes "1152x864_85.00" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection |
Got me: 1024x768@85
Why does this [insert bad words here] X server give me all kinds of resolutions and frequencies but not the desired one?
Thanx for your help!
Last edited by bheinze on Wed Apr 20, 2005 2:42 pm; edited 1 time in total |
|
Back to top |
|
|
jdgill0 Veteran
Joined: 25 Mar 2003 Posts: 1366 Location: Lexington, Ky -- USA
|
Posted: Tue Apr 19, 2005 10:46 pm Post subject: |
|
|
Have you set/checked the HorizSync and VertRefresh in xorg.conf for your monitor? My monitor will not run at the appropriate frequency (as described by my monitor's specs) at the resolution I want unless I set the correct H/V Syncs to what my monitor's specs say they are.
[EDIT]
I seem to never have the best of luck with modelines, but I do with H/V sync and letting xorg pick the appropriate freq. _________________ Vim has excellent syntax highlighting for configuration files: emerge gentoo-syntax
Learn how to use Vim: vimtutor |
|
Back to top |
|
|
bheinze n00b
Joined: 12 Apr 2005 Posts: 41
|
Posted: Wed Apr 20, 2005 9:01 am Post subject: |
|
|
Yes, I used the specs given from the vendor. |
|
Back to top |
|
|
jdgill0 Veteran
Joined: 25 Mar 2003 Posts: 1366 Location: Lexington, Ky -- USA
|
Posted: Wed Apr 20, 2005 1:18 pm Post subject: |
|
|
What I was mostly driving at was trying xorg without the modeline stuff, i.e.
Code: | ....
Section "Monitor"
Identifier "Monitor0"
HorizSync 31-96
VertRefresh 55-160
Option "DPMS"
DisplaySize 356 267 # mm
EndSection
....
Section "Screen"
....
Subsection "Display"
Depth 24
Modes "1280x1024"
EndSubsection
EndSection
....
|
In the past, using modelines seemed to mess things up for me. Maybe I was using them incorrectly or whatever. But, after removing the modeline stuff and setting H/V Sync explicitly (which I know you said you did), my monitor ran at the correct freq for the desired resolution.
I do agree that getting X to work correctly is one of the biggest pain in the a......................................................s things about Linux _________________ Vim has excellent syntax highlighting for configuration files: emerge gentoo-syntax
Learn how to use Vim: vimtutor |
|
Back to top |
|
|
bheinze n00b
Joined: 12 Apr 2005 Posts: 41
|
Posted: Wed Apr 20, 2005 2:39 pm Post subject: Re: X.org frequency troubles |
|
|
Finally got it fixed.
When I use Code: | Section "Modes"
Identifier "Modes[0]"
Modeline "1152x864_85.00" 119.65 1152 1224 1352 1552 864 865 868 907 -HSync +Vsync
#got this from gtf
EndSection |
I have to add UseModes "Modes[0]" to the monitor section as well... |
|
Back to top |
|
|
|