Can't Get 1680x1050 on Intel 945GM

Everything about X, Gnome, KDE, ... and everything running on it

Can't Get 1680x1050 on Intel 945GM

Postby aaron.axvig » 2009-02-18 18:03


I would like to get the native resolution of 1680x1050 running, but am currently stuck on 1024x768. 1680x1050 is in xorg.conf. I would like to just force this resolution; I don't need the option to switch to anything else as this is going to be for kiosk-type usage. If it ever drops out of 1680x1050 it will be considered broken, so I can't have that.

This is Debian Etch 4.0R6, fresh install. Using GNOME for now, but eventually when I'm done programming what I need on it I will be attempting to ditch GNOME and just use X and only run the program (fullscreen). Does this sound feasible? If I get 1680x1050 going in GNOME right now, will I be back to square one later when I ditch GNOME? I'm guessing that xorg.conf applies to X in general?

Anyways, that's a lot of questions; thanks for answering any that you can. You will probably see me around here a lot in the next few months. :) Here is my xorg.conf:

Code: Select all
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
   FontPath   "/usr/share/fonts/X11/misc"
   FontPath   "/usr/X11R6/lib/X11/fonts/misc"
   FontPath   "/usr/share/fonts/X11/cyrillic"
   FontPath   "/usr/X11R6/lib/X11/fonts/cyrillic"
   FontPath   "/usr/share/fonts/X11/100dpi/:unscaled"
   FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
   FontPath   "/usr/share/fonts/X11/75dpi/:unscaled"
   FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
   FontPath   "/usr/share/fonts/X11/Type1"
   FontPath   "/usr/X11R6/lib/X11/fonts/Type1"
   FontPath   "/usr/share/fonts/X11/100dpi"
   FontPath   "/usr/X11R6/lib/X11/fonts/100dpi"
   FontPath   "/usr/share/fonts/X11/75dpi"
   FontPath   "/usr/X11R6/lib/X11/fonts/75dpi"
   # path to defoma fonts
   FontPath   "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"

Section "Module"
   Load   "bitmap"
   Load   "ddc"
   Load   "dri"
   Load   "extmod"
   Load   "freetype"
   Load   "glx"
   Load   "int10"
   Load   "vbe"

Section "InputDevice"
   Identifier   "Generic Keyboard"
   Driver      "kbd"
   Option      "CoreKeyboard"
   Option      "XkbRules"   "xorg"
   Option      "XkbModel"   "pc104"
   Option      "XkbLayout"   "us"

Section "InputDevice"
   Identifier   "Configured Mouse"
   Driver      "mouse"
   Option      "CorePointer"
   Option      "Device"      "/dev/input/mice"
   Option      "Protocol"      "ImPS/2"
   Option      "Emulate3Buttons"   "true"

Section "Device"
   Identifier   "Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
   Driver      "i810"
   BusID      "PCI:0:2:0"

Section "Monitor"
   Identifier   "Generic Monitor"
   Option      "DPMS"
   HorizSync   30-75
   VertRefresh   56-75

Section "Screen"
   Identifier   "Default Screen"
   Device      "Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
   Monitor      "Generic Monitor"
   DefaultDepth   24
   SubSection "Display"
      Depth      1
      Modes      "1680x1050" "1024x768" "800x600" "640x480"
   SubSection "Display"
      Depth      4
      Modes      "1680x1050" "1024x768" "800x600" "640x480"
   SubSection "Display"
      Depth      8
      Modes      "1680x1050" "1024x768" "800x600" "640x480"
   SubSection "Display"
      Depth      15
      Modes      "1680x1050" "1024x768" "800x600" "640x480"
   SubSection "Display"
      Depth      16
      Modes      "1680x1050" "1024x768" "800x600" "640x480"
   SubSection "Display"
      Depth      24
      Modes      "1680x1050" "1024x768" "800x600" "640x480"

Section "ServerLayout"
   Identifier   "Default Layout"
   Screen      "Default Screen"
   InputDevice   "Generic Keyboard"
   InputDevice   "Configured Mouse"

Section "DRI"
   Mode   0666
Posts: 5
Joined: 2009-02-18 17:01

Postby aaron.axvig » 2009-02-20 00:02

Nevermind, just found out that 5.0 went stable so will be using that. Which worked from the start at 1680x1050. Updated drivers I'm guessing.
Posts: 5
Joined: 2009-02-18 17:01

Postby zeiz » 2009-02-23 21:11

Otherwise you could try to put following line in your Monitor section:
ModeLine "1680x1050" 146.2 1680 1784 1960 2240 1050 1053 1059 1089
Or try to calculate your own ModeLine for your monitor with gtf utility
$ gtf 1680 1050 60 #would give you approximate values for ModeLine @60Hz of VertRefresh (common for LCD).
Or google for 'ModeLine calculators'
Please note that pixel clock (146.2 in my ModeLine) cannot be more than your monitor is capable of. Check it in your monitor's manual.
Posts: 4
Joined: 2009-02-23 18:57
Location: Canada

Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 8 guests