Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xorg ignores screen resolution
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
d0wn_under
Guru
Guru


Joined: 13 Mar 2003
Posts: 300
Location: Sheffield, England

PostPosted: Sun Jun 06, 2004 11:07 pm    Post subject: xorg ignores screen resolution Reply with quote

I am trying to get my Tosh tecra 8100 to run in 1024x768. I know that it can as I have had it running in that in windows 98 and I have read other people comments about it.

My problem is that I can only get it to 720 x 576.

Here is a snippet of my xorg.conf file:
Code:

Section "Screen"
    Identifier  "Screen 1"
    Device      "** S3 Savage (generic)                [savage]"
    Monitor     "lap"
    DefaultDepth 16

    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection

EndSection

And "Screen 1" is referenced in my ServerLayout section.

when I start x (using startx) I get:

Code:

(==) Using config file: "/etc/X11/xorg.conf"

Using vt 7
    [10e] 320 x 200, 70Hz
    [111] 640 x 480, 60Hz, 72Hz, 75Hz, 85Hz, 100Hz
    [114] 800 x 600, 60Hz, 72Hz, 75Hz, 85Hz, 100Hz
    [117] 1024 x 768, 60Hz, 70Hz, 75Hz, 85Hz, 43Hz, 100Hz
    [11a] 1280 x 1024, 60Hz, 75Hz, 85Hz, 43Hz
    [11d] 640 x 400, 70Hz
    [122] 1600 x 1200, 48Hz, 60Hz, 75Hz, 85Hz
    [133] 320 x 240, 72Hz
    [143] 400 x 300, 72Hz
    [153] 512 x 384, 70Hz
    [173] 720 x 480, 75Hz
    [178] 720 x 576, 75Hz


which I assume is X running through all possible resolutions till it finds one it is happy with.

Could it be a problem with the driver? The card uses 86C270-294 Savage/MX-MV which isn't in xorg's driver database so I selected the default savage driver.

How can I get it to use the one I want it to?
Back to top
View user's profile Send private message
Riftwing
Apprentice
Apprentice


Joined: 06 Oct 2002
Posts: 293

PostPosted: Sun Jun 06, 2004 11:33 pm    Post subject: Reply with quote

Make sure your horizontal sync and vert refresh are correct.
_________________
Good, bad, I'm the guy with the gun. - Ash, Army of Darkness
Back to top
View user's profile Send private message
Gorski
n00b
n00b


Joined: 16 May 2004
Posts: 11

PostPosted: Mon Jun 07, 2004 7:49 am    Post subject: Reply with quote

Following is what I had to add to get 1024x768 on my laptop LCD with the Savage driver:
Code:
Section "Monitor"
   ...
   HorizSync   48.4
   VertRefresh   60
EndSection


Range 43.5-48.5 for HorizSync and 50-62 for VertRefresh also work
:wink:
Greetings,
Back to top
View user's profile Send private message
d0wn_under
Guru
Guru


Joined: 13 Mar 2003
Posts: 300
Location: Sheffield, England

PostPosted: Mon Jun 07, 2004 9:11 am    Post subject: Reply with quote

ok, I'll try that when I get home.

What about the driver I am using? Is there a better one to use than the generic when the chipset is 86C270-294?

Tried it and it worked like a treat! :-)

It had a range before, any ideas why it didn't use the figures you gave even though they were in that range?
Back to top
View user's profile Send private message
-Craig-
Guru
Guru


Joined: 03 Jun 2004
Posts: 333

PostPosted: Tue Apr 05, 2005 4:02 pm    Post subject: Reply with quote

@Gorski:

Thank you for posting this!
Works fine :)
Back to top
View user's profile Send private message
alex6z
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jul 2005
Posts: 119

PostPosted: Sun Dec 04, 2005 11:38 pm    Post subject: Reply with quote

I've been having such a hard time with this too. Xorg seems to ignore the modes I tell it. In the Xorg.log.0 it keeps telling me that either the Hsync or Vsync is out of range. For example, it will get stuck in 1600x1200 and refuse to go into 640x480. The thing is, if I give a narrower range for Hsync, like just 31.5, it will get stuck in 640x480. I think what's happening is Xorg is choosing the highest possible Hsync or refreash rate and then tring to find all the refreash rates(or Hsyncs if it's going by maximum refreash rate) that go along with that. I guess I could use modelines, that's what RedHat did. Do I have a config issue or is Xorg just being dumb about it? I'll paste "$ grep -v '#' xorg.conf" .

Section "Module"

SubSection "extmod"
EndSubSection

Load "type1"
Load "freetype"
Load "glx"
Load "dri"

EndSection


Section "Files"

RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/local/"

EndSection
Section "ServerFlags"

Option "AllowDeactivateGrabs" "1"
Option "AllowClosedownGrabs" "1"

EndSection

Section "InputDevice"

Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc102"
Option "XkbLayout" "us"

EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/input/mice"

EndSection


Section "Monitor"

Identifier "v6e"
HorizSync 31.5
VertRefresh 40-75

EndSection

Section "Monitor"
Identifier "sam17"
Option "DPMS"
EndSection

Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
Driver "vga"

EndSection

Section "Device"
Identifier "3drage"
Driver "ati"
Option "ForcePCIMode" "True"
Option "dpms"
EndSection

Section "Screen"
Identifier "Screen 1"
Device "3drage"
Monitor "v6e"
DefaultDepth 16

Subsection "Display"
Depth 8
Modes "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024 1024x768 800x600 640x480 640x400 320x240 320x200"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "640x480"
ViewPort 0 0
EndSubsection
EndSection

Section "ServerLayout"

Identifier "Simple Layout"
Screen "Screen 1
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "DRI"
Mode 0666
EndSection
Back to top
View user's profile Send private message
alex6z
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jul 2005
Posts: 119

PostPosted: Sun Dec 04, 2005 11:42 pm    Post subject: Reply with quote

Oh, I don't have a HorizSync or VertRefreash because I seem to have seen in a post that Xorg will use DDC to figure it out from the monitor. Like this is't stuck in 640x480. If I put the specs of the monitor in it will go into 1600x1200 ignoring the 1280x1024 I have it set to go into.
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