Intel GMA3150 graphics chip resolution problem in Kubuntu

I recently purchased a small fanless system with an Intel D525MWV motherboard, an onboard atom cpu and an Intel GMA3150 graphics chip for a specific task. I installed Kubuntu on the system, only to find that it would not allow the screen size to be any larger than 1280×800 – a problem with my 1920×1080 screen.

I was eventually able to make the screen resolution higher by running  “cvt” on the command line:

$ cvt 1920 1080 60

which produced this output:

1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync

I then used the generated modeline in “xrandr”:

$ xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
$ xrandr --addmode VGA1 1920x1080_60.00

The new screen resolution was then available in “Systems Setting>>Display and Monitor” (KDE) and I was able to change the screen to this new resolution.

However, setting it this way means it is lost if the machine is ever rebooted. I created an xorg.conf file (below) and now it happily starts in 1920×1080 resolution.

Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   ModulePath   "/usr/lib/xorg/modules"
   FontPath     "/usr/share/fonts/X11/misc"
   FontPath     "/usr/share/fonts/X11/cyrillic"
   FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
   FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
   FontPath     "/usr/share/fonts/X11/Type1"
   FontPath     "/usr/share/fonts/X11/100dpi"
   FontPath     "/usr/share/fonts/X11/75dpi"
   FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
   FontPath     "built-ins"
EndSection

Section "Module"
   Load  "record"
   Load  "dbe"
   Load  "extmod"
   Load  "dri"
   Load  "dri2"
   Load  "glx"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option      "Protocol" "auto"
   Option      "Device" "/dev/input/mice"
   Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
   Modeline     "1920x1080_60.00" 173.00 1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
   Modeline     "1600x900_60.00"  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsyn
EndSection

Section "Monitor"
   Identifier   "Monitor1"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
   Modeline     "1920x1080_60.00" 173.00 1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
   Modeline     "1600x900_60.00"  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync
EndSection

Section "Device"
   ### Available Driver options are:-
   ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
   ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
   ### <percent>: "<f>%"
   ### [arg]: arg optional
   #Option     "DRI"                       # [<bool>]
   #Option     "ColorKey"                  # <i>
   #Option     "VideoKey"                  # <i>
   #Option     "FallbackDebug"             # [<bool>]
   #Option     "Tiling"                    # [<bool>]
   #Option     "LinearFramebuffer"         # [<bool>]
   #Option     "Shadow"                    # [<bool>]
   #Option     "SwapbuffersWait"           # [<bool>]
   #Option     "TripleBuffer"              # [<bool>]
   #Option     "XvMC"                      # [<bool>]
   #Option     "XvPreferOverlay"           # [<bool>]
   #Option     "DebugFlushBatches"         # [<bool>]
   #Option     "DebugFlushCaches"          # [<bool>]
   #Option     "DebugWait"                 # [<bool>]
   #Option     "HotPlug"                   # [<bool>]
   #Option     "RelaxedFencing"            # [<bool>]
   Identifier  "Card0"
   Driver      "intel"
   BusID       "PCI:0:2:0"
   Option      "Monitor-LVDS1" "Monitor1"
   Option      "Monitor-VGA1" "Monitor0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   SubSection "Display"
      Depth     8
      Modes     "1920x1080_60" "1600x900_60"
   EndSubSection

   SubSection "Display"
      Depth     15
      Modes     "1920x1080_60" "1600x900_60"
   EndSubSection

   SubSection "Display"
      Depth     16
      Modes     "1920x1080_60" "1600x900_60"
   EndSubSection

   SubSection "Display"
      Depth     24
      Modes     "1920x1080_60" "1600x900_60"
   EndSubSection
EndSection
This entry was posted in linux issues. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>