Find the answer to your Linux question:
Results 1 to 9 of 9
I've been dealing with this problem for awhile, but now I've had enough. I want to be able to run my monitor at 1280x1024. What part of the Xorg.conf do ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    kbk
    kbk is offline
    Linux User kbk's Avatar
    Join Date
    Jun 2005
    Location
    Ohio, USA
    Posts
    361

    Different resolutions


    I've been dealing with this problem for awhile, but now I've had enough. I want to be able to run my monitor at 1280x1024. What part of the Xorg.conf do I edit? I've done this once before but I completely forget now... Thanks.

  2. #2
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    It's not too difficult -
    Code:
    Section "Screen"
        Identifier     "Screen[0]"
        Device         "Device[0]"
        Monitor        "Monitor[0]"
        DefaultDepth    24
        SubSection     "Display"
            Depth       15
            Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
        EndSubSection
        SubSection     "Display"
            Depth       16
            Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
        EndSubSection
        SubSection     "Display"
            Depth       24
            Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
        EndSubSection
        SubSection     "Display"
            Depth       32
            Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
        EndSubSection
        SubSection     "Display"
            Depth       8
            Modes      "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
        EndSubSection
    EndSection
    This is from my automatically generated xorg.conf. You need to edit your Screen section so that the resolution is present at the colour depth you want. Generally that is 24bit. I'm not even sure why it has 32bit in my file - 24 is the maximum or so I'm led to believe. Also set your default colour depth appropriately.

  3. #3
    kbk
    kbk is offline
    Linux User kbk's Avatar
    Join Date
    Jun 2005
    Location
    Ohio, USA
    Posts
    361
    Thanks alot man. I wasn't quite sure which section to edit because there were a few sections with things like that in it..

  4. #4
    kbk
    kbk is offline
    Linux User kbk's Avatar
    Join Date
    Jun 2005
    Location
    Ohio, USA
    Posts
    361
    Didn't work! I changed it in nano before starting kdm and it didn't work. When I started kdm the bottom of the screen flickered and that was all. What could the problem be? I know this monitor will work with 1280x1024 because it did when I had Gentoo..

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    post Monitor and Screen section of xorg. which distro are you using?




    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #6
    kbk
    kbk is offline
    Linux User kbk's Avatar
    Join Date
    Jun 2005
    Location
    Ohio, USA
    Posts
    361
    I'm using Mepis 3.6 and here is the screen/monitor section of xorg.conf. Note that I removed the 1280x1024 from 24 and 16 because it didn't work..

    Code:
     Section "Monitor"
      Identifier "Monitor0"
      VendorName "unknown"
      ModelName "unknown"
     #Option "DPMS" "true"
      HorizSync    30.0 - 82.0 # Warning: This may fry old Monitors
      VertRefresh  50.0 - 70.0 # Very conservative. May flicker.
      Modeline "640x480"     25.175 640  664  760  800   480  491  493  525 #60Hz
      Modeline "800x600"     40.12  800  848  968 1056   600  601  605  628 #60Hz
      Modeline "1024x768"    75    1024 1048 1184 1328   768  771  777  806 -hsync -vsync
      Modeline "1024x768"    85    1024 1056 1152 1360   768  784  787  823
      ModeLine "1152x864"    65    1152 1168 1384 1480   864  865  875  985 Interlace
      Modeline "1152x864"    92    1152 1208 1368 1474   864  865  875  895
      Modeline "1152x864"   110    1152 1240 1324 1552   864  864  876  908
      Modeline "1152x864"   135    1152 1464 1592 1776   864  864  876  908
      Modeline "1152x864"   137.65 1152 1184 1312 1536   864  866  885  902 -HSync -VSync
      Modeline "1280x768"    80.14 1280 1344 1480 1680   768  769  772  795
      ModeLine "1280x800"    80.58 1280 1344 1480 1680   800  801  804  827 -HSync -VSync
      Modeline "1280x1024"   80    1280 1296 1512 1568  1024 1025 1037 1165 Interlace
      Modeline "1280x1024"  110    1280 1328 1512 1712  1024 1025 1028 1054
      Modeline "1280x1024"  126.5  1280 1312 1472 1696  1024 1032 1040 1068 -HSync -VSync
      Modeline "1280x1024"  135    1280 1312 1456 1712  1024 1027 1030 1064
      Modeline "1280x1024"  135    1280 1312 1416 1664  1024 1027 1030 1064
      Modeline "1280x1024"  157.5  1280 1344 1504 1728  1024 1025 1028 1072 +HSync +VSync
      Modeline "1280x1024"  181.75 1280 1312 1440 1696  1024 1031 1046 1072 -HSync -VSync
      Modeline "1440x900"   106.47 1440 1520 1672 1904   900  901  904  932 +HSync +VSync
      Modeline "1400x1050"  129    1400 1464 1656 1960  1050 1051 1054 1100 +HSync +VSync
      Modeline "1600x1200"  162    1600 1664 1856 2160  1200 1201 1204 1250 +HSync +VSync
      Modeline "1600x1200"  189    1600 1664 1856 2160  1200 1201 1204 1250 -HSync -VSync
      Modeline "1600x1200"  202.5  1600 1664 1856 2160  1200 1201 1204 1250 +HSync +VSync
      Modeline "1600x1200"  220    1600 1616 1808 2080  1200 1204 1207 1244 +HSync +VSync
      Modeline "1680x1050"  147.14 1680 1784 1968 2256  1050 1051 1054 1087
      ModeLine "1800x1440"  230    1800 1896 2088 2392  1440 1441 1444 1490 +HSync +VSync
      ModeLine "1800x1440"  250    1800 1896 2088 2392  1440 1441 1444 1490 +HSync +VSync
      Modeline "1920x1200"  230    1920 1936 2096 2528  1200 1201 1204 1250 +HSync +VSync
    EndSection
    
    Section "Monitor"
      Identifier  "ATIMonitor"
      VendorName "unknown"
      ModelName "unknown"
     #Option "DPMS" "true"
      HorizSync    30.0 - 82.0 # Warning: This may fry old Monitors
      VertRefresh  50.0 - 70.0 # Very conservative. May flicker.
    EndSection
    Code:
     
    Section "Screen"
      Identifier "Screen0"
      Device "Card0"
      Monitor "Monitor0"
      DefaultColorDepth 24
      
      SubSection "Display"
      Depth 8
      Modes "1024x768"
      EndSubSection
      SubSection "Display"
      Depth 15
      Modes "1024x768"
      EndSubSection
      SubSection "Display"
      Depth 16
      Modes "1024x768"
      EndSubSection
      SubSection "Display"
      Depth 24
      Modes "1024x768"
      EndSubSection
      SubSection "Display"
      Depth 32
      Modes "1280x1024" "1024x768"
      EndSubSection

  7. #7
    kbk
    kbk is offline
    Linux User kbk's Avatar
    Join Date
    Jun 2005
    Location
    Ohio, USA
    Posts
    361
    Any idea what I could do to fix this problem?

  8. #8
    Linux Engineer Thrillhouse's Avatar
    Join Date
    Jun 2006
    Location
    Arlington, VA, USA
    Posts
    1,377
    Your default depth is set at 24 so you should add the 1280x1024 resolution to that mode, not the 32 mode.
    Code:
     SubSection "Display"
      Depth 24
      Modes "1280x1024" "1024x768"
      EndSubSection
    Try that.

  9. #9
    kbk
    kbk is offline
    Linux User kbk's Avatar
    Join Date
    Jun 2005
    Location
    Ohio, USA
    Posts
    361
    I did before, and I guess I just forgot to remove it from 32 when I undid it so things would work again..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •