Can't Change Resolution

Hi everybody!

I just installed openSUSE after a long time distro hopping. I have used a lot Linux distros, and I have heard that openSUSE was great, so I decided to try it. Anyway, I’ll get to the question.

I installed suse and when I booted up, the resolution was 800x600. I clicked on the “Configure Display Settings” thing on the taskbar. I try to change the resolution and the only options are like 600x450 (not totally sure, just a guess) and 800x600. My screen resolution is 1366x768. I went into YaST and changed that in the graphic card and display window, Ctrl-Alt-Backspace, and logged back in. No luck. So, any ideas?

Thanks, Alex

To start with, a little more information concerning your graphics card is required. The following command can help with this:

/usr/sbin/hwinfo --gfxcard

Post the output.

It might be that a basic video driver has been configured during installation. This can limit the resolutions (as well as other features) that are available. You may need to reconfigure manually. For ATI and NVIDIA chipsets, you can install proprietary drivers, which offer better performance.

08: PCI 02.0: 0300 VGA compatible controller (VGA)              
  [Created at pci.318]
  UDI: /org/freedesktop/Hal/devices/pci_8086_2a42
  Unique ID: _Znp.4ZD4tcy673C
  SysFS ID: /devices/pci0000:00/0000:00:02.0
  SysFS BusID: 0000:00:02.0
  Hardware Class: graphics card
  Model: "Mobile Intel® GM45 Express Chipset"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x2a42 "Mobile Intel® GM45 Express Chipset"
  SubVendor: pci 0x1025 "Acer Incorporated [ALI]"
  SubDevice: pci 0x0176 
  Revision: 0x07
  Memory Range: 0xf8000000-0xf83fffff (rw,non-prefetchable)
  Memory Range: 0xd0000000-0xdfffffff (rw,prefetchable)
  I/O Ports: 0x1800-0x1807 (rw)
  IRQ: 16 (61672 events)
  I/O Ports: 0x3c0-0x3df (rw)
  Module Alias: "pci:v00008086d00002A42sv00001025sd00000176bc03sc00i00"
  Driver Info #0:
    XFree86 v4 Server Module: intel
  Driver Info #1:
    XFree86 v4 Server Module: intel
    3D Support: yes
  Config Status: cfg=no, avail=yes, need=no, active=unknown

09: PCI 02.1: 0380 Display controller
  [Created at pci.318]
  UDI: /org/freedesktop/Hal/devices/pci_8086_2a43
  Unique ID: ruGf.b+aimSFnOg1
  SysFS ID: /devices/pci0000:00/0000:00:02.1
  SysFS BusID: 0000:00:02.1
  Hardware Class: graphics card
  Model: "Intel Mobile 4 Series Chipset Integrated Graphics Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x2a43 "Mobile 4 Series Chipset Integrated Graphics Controller"
  SubVendor: pci 0x1025 "Acer Incorporated [ALI]"
  SubDevice: pci 0x0176 
  Revision: 0x07
  Memory Range: 0xf8400000-0xf84fffff (rw,non-prefetchable)
  Module Alias: "pci:v00008086d00002A43sv00001025sd00000176bc03sc80i00"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

Primary display adapter: #8

Thanks!

Ok, so you have a Mobile Intel® GM45 Express Chipset using the intel driver. The sax2 utility used to configure the graphics system seems to have problems with some intel hardware. Anyway, before going any further, post the contents of your xorg.conf file:

cat /etc/X11/xorg.conf

This might need editing manually. This can be explained further if required.

# /.../
# SaX generated X11 config file
# Created on: 2009-08-21T02:29:39-0500.
#
# Version: 8.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (8.1)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "Files"
  FontPath     "/usr/share/fonts/misc:unscaled"
  FontPath     "/usr/share/fonts/local"
  FontPath     "/usr/share/fonts/75dpi:unscaled"
  FontPath     "/usr/share/fonts/100dpi:unscaled"
  FontPath     "/usr/share/fonts/Type1"
  FontPath     "/usr/share/fonts/URW"
  FontPath     "/usr/share/fonts/Speedo"
  FontPath     "/usr/share/fonts/PEX"
  FontPath     "/usr/share/fonts/cyrillic"
  FontPath     "/usr/share/fonts/latin2/misc:unscaled"
  FontPath     "/usr/share/fonts/latin2/75dpi:unscaled"
  FontPath     "/usr/share/fonts/latin2/100dpi:unscaled"
  FontPath     "/usr/share/fonts/latin2/Type1"
  FontPath     "/usr/share/fonts/latin7/75dpi:unscaled"
  FontPath     "/usr/share/fonts/baekmuk:unscaled"
  FontPath     "/usr/share/fonts/japanese:unscaled"
  FontPath     "/usr/share/fonts/kwintv"
  FontPath     "/usr/share/fonts/truetype"
  FontPath     "/usr/share/fonts/uni:unscaled"
  FontPath     "/usr/share/fonts/CID"
  FontPath     "/usr/share/fonts/ucs/misc:unscaled"
  FontPath     "/usr/share/fonts/ucs/75dpi:unscaled"
  FontPath     "/usr/share/fonts/ucs/100dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/misc:unscaled"
  FontPath     "/usr/share/fonts/hellas/75dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/100dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/Type1"
  FontPath     "/usr/share/fonts/misc/sgi:unscaled"
  FontPath     "/usr/share/fonts/xtest"
  FontPath     "/opt/kde3/share/fonts"
  InputDevices "/dev/gpmdata"
  InputDevices "/dev/input/mice"
EndSection

Section "ServerFlags"
  Option       "AIGLX" "on"
  Option       "AllowMouseOpenFail" "on"
  Option       "ZapWarning" "on"
EndSection

Section "Module"
  Load         "glx"
  Load         "dbe"
  Load         "extmod"
  Load         "freetype"
  Load         "dri"
EndSection

Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "us"
  Option       "XkbModel" "microsoftpro"
  Option       "XkbRules" "xfree86"
EndSection


Section "InputDevice"
  Driver       "evdev"
  Identifier   "Mouse[1]"
  Option       "InputFashion" "Mouse"
  Option       "Name" "Logitech Media Play Mouse"
  Option       "Pass" "3"
  Option       "Vendor" "Sysp"
  Option       "evBits" "+1-2"
  Option       "keyBits" "~272-287"
  Option       "relBits" "~0-2 ~6 ~8"
EndSection

Section "InputDevice"
  Driver       "synaptics"
  Identifier   "Mouse[3]"
  Option       "Buttons" "5"
  Option       "Device" "/dev/input/mice"
  Option       "Emulate3Buttons" "on"
  Option       "HorizScrollDelta" "0"
  Option       "InputFashion" "Mouse"
  Option       "Name" "Synaptics;Touchpad"
  Option       "Protocol" "explorerps/2"
  Option       "SHMConfig" "on"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[5]"
  Option       "Buttons" "5"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "ImPS/2 Generic Wheel Mouse"
  Option       "Protocol" "explorerps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
  DisplaySize  344 193
  HorizSync    30-40
  Identifier   "Monitor[0]"
  ModelName    "Unknown"
  Option       "DPMS"
  Option       "PreferredMode" "1366x768"
  VendorName   "Unknown"
  VertRefresh  50-75
  UseModes     "Modes[0]"
EndSection


Section "Modes"
  Identifier   "Modes[0]"
EndSection


Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1366x768" "1360x768" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480" 
    Virtual    3840 1200
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1366x768" "1360x768" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480" 
    Virtual    3840 1200
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1366x768" "1360x768" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480" 
    Virtual    3840 1200
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1366x768" "1360x768" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480" 
    Virtual    3840 1200
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection


Section "Device"
  BoardName    "Mobile Intel GM45 Express Chipset"
  Driver       "intel"
  Identifier   "Device[0]"
  Option       "monitor-LVDS" "Monitor[0]"
  Screen       0
  VendorName   "Intel"
EndSection



Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  InputDevice  "Mouse[3]" "SendCoreEvents"
  InputDevice  "Mouse[5]" "SendCoreEvents"
  Option       "Clone" "off"
  Option       "Xinerama" "off"
  Screen       "Screen[0]"
EndSection


Section "DRI"
    Group      "video"
    Mode       0660
EndSection

Section "Extensions"
  Option       "Composite" "on"
EndSection

It is possible you will need to coax the preferred mode with the addition of a modeline in your modes section. Now you can generate modelines from a CLI utility called gtf. For example, to get a modeline for 1366x768 @ 60Hz:

gtf 1366 768 60

1368x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 85.86 MHz

Modeline “1368x768_60.00” 85.86 1368 1440 1584 1800 768 769 772 795 -HSync +Vsync

Before we go any further, you will need to edit your /etc/X11/xorg.conf file as root. I prefer to use a terminal-based editor like nano or pico, but there are several others for you to choose from. Make sure you backup your current xorg.conf first, so that you can reinstate it if you make a typo, or delete something accidentally. You can do this with something like:

cp /etc/X11/xorg.conf /etc/X11/xorg.working

Now you can add that modeline to your modes section:

Section “Modes”
Identifier “Modes[0]”
Modeline “1368x768” 85.86 1368 1440 1584 1800 768 769 772 795 -HSync +Vsync
EndSection

Note: I edited the “1368x768” label to match exactly with your preferred mode in monitor section.

These days, modelines are normally derived automatically using the EDID info from your display device. It doesn’t always work properly with some hardware, hence the need to add modelines. In addition to this, it is often necessary to force Xorg to use the modeline by adding a line to ignore EDID in the device section like this:

Section “Device”

Option “IgnoreEDID” “True”
EndSection

Another option that can also be used is

Option “NoDDC” “TRUE”

However, I’m not sure if they are both necessary. (Try adding it if the above isn’t enough).

I also note you have a large virtual screen size configured in your screen section.

SubSection “Display”
Depth 24
Modes “1366x768” “1360x768” “1280x768” “1280x720” “1024x768” “1280x600” “1024x600” “800x600” “768x576” “640x480”
Virtual 3840 1200

If this is not intended or required, then I would remove the ‘Virtual 3840 1200’ entry.

Hi, I have recently installed latest version of SuSE from a live-cd, and have been experiencing similar problems. Even tho my old Toshiba Portege R100 can manage 1024x768 (which has worked with other versions of SUSE before) now I am pretty much stuck with 800x600 which is very annoying. I have checked a couple of threads and tried out the tips given there but no success so far.

Here are some info:
hwinfo --gfxcard

linux-7fkz:/home/etc/X11 # hwinfo --gfxcard
18: PCI(AGP) 100.0: 0300 VGA compatible controller (VGA)        
  [Created at pci.318]
  UDI: /org/freedesktop/Hal/devices/pci_1023_2100
  Unique ID: VCu0.8ME1yiWXrg3
  Parent ID: vSkL.1o+Z33xgwU4
  SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0
  SysFS BusID: 0000:01:00.0
  Hardware Class: graphics card
  Model: "Trident Microsystems CyberBlade XP4m32"
  Vendor: pci 0x1023 "Trident Microsystems Inc."
  Device: pci 0x2100 "CyberBlade XP4m32"
  SubVendor: pci 0x1179 "Toshiba America Info Systems"
  SubDevice: pci 0x0002 
  Revision: 0x91
  Memory Range: 0xf0000000-0xf7ffffff (rw,non-prefetchable)
  Memory Range: 0xefc00000-0xefffffff (rw,non-prefetchable)
  Memory Range: 0xe0000000-0xe7ffffff (rw,non-prefetchable)
  Memory Range: 0xdfff8000-0xdfffffff (rw,non-prefetchable)
  Memory Range: 0x34000000-0x3403ffff (ro,prefetchable,disabled)
  IRQ: 11 (124432 events)
  I/O Ports: 0x3c0-0x3df (rw)
  Module Alias: "pci:v00001023d00002100sv00001179sd00000002bc03sc00i00"
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #9 (PCI bridge)

Primary display adapter: #18

xrandr

linux-7fkz:/home/etc/X11 # exit
uki@linux-7fkz:/home/etc/X11> xrandr
Screen 0: minimum 320 x 240, current 800 x 600, maximum 800 x 600
default connected 800x600+0+0 0mm x 0mm
   800x600        60.0*    56.0  
   640x480        60.0  
   400x300        60.0     56.0  
   320x240        60.0 

Interesting enough, 1024x768 is not even listed there even tho it looks like the preferred resolution in xorg.conf… More interesting, xorg.conf file is located in /home/etc/X11 instead of /etc/X11, and there are three different version of it, with different endings (like .Trident… )
I look through xorg.conf (without any addition suffixes) and it appears as if the file is generated by Puppy Linux (which is installed on another partition) and not by SuSE…

Furthermore, there is no Graphics and Display tab within YAST so I cant run SaX2 either…

Any tips?

ukirik wrote:
> Furthermore, there is no Graphics and Display tab within YAST so I cant
> run SaX2 either…

You could try in the console:
su
sax2

-G-

thnx! i ran SaX2 via terminal as suggested and defined the monitor as VESA 1024x768@60Hz seems to work! :wink:

Thnaks again,