Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X.org frequency troubles [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
bheinze
n00b
n00b


Joined: 12 Apr 2005
Posts: 41

PostPosted: Tue Apr 19, 2005 9:59 pm    Post subject: X.org frequency troubles [solved] Reply with quote

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. :evil:

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
View user's profile Send private message
jdgill0
Veteran
Veteran


Joined: 25 Mar 2003
Posts: 1366
Location: Lexington, Ky -- USA

PostPosted: Tue Apr 19, 2005 10:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
bheinze
n00b
n00b


Joined: 12 Apr 2005
Posts: 41

PostPosted: Wed Apr 20, 2005 9:01 am    Post subject: Reply with quote

Yes, I used the specs given from the vendor.
Back to top
View user's profile Send private message
jdgill0
Veteran
Veteran


Joined: 25 Mar 2003
Posts: 1366
Location: Lexington, Ky -- USA

PostPosted: Wed Apr 20, 2005 1:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
bheinze
n00b
n00b


Joined: 12 Apr 2005
Posts: 41

PostPosted: Wed Apr 20, 2005 2:39 pm    Post subject: Re: X.org frequency troubles Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum