915resolution howto

Gabriel Dragffy dragffy at yandex.ru
Thu Dec 14 11:04:46 UTC 2006


I removed 915reslution (purge) and did what you said. But my xorg.conf
alread looked OK to me, after a reboot the screen came up 1024x768 res
again. Have attached my xorg.conf which I hope could help you.

Thank you

Gabe

On Wed, 2006-12-13 at 18:12 -0800, Matthew Kuiken wrote:
> Gabriel Dragffy wrote:
> > Hi,
> > 
> > I have a Sony laptop, it uses 1280x800 screen res from an intel 915gm
> > onboard graphics.
> > 
> > I have always used 915resoution like this:
> > # 915resolution 38 1280 800 24
> > 
> > Then edit /etc/init.d/bootmisc.sh and add the line:
> > /usr/sbin/915resolution 38 1280 800 24
> > 
> > Then I can ctrl+alt+backspace to restart x-server and get the new
> > resolution. Question is, this doesn't seem the right approach 'cause the
> > 915res website says you need to edit xorg.conf and I have no idea
> > how...?
> > 
> > Also when the computer resumes from hibernate the screen res is not
> > correct but a standar 640x480. Have been living with this prob for a
> > year now, just install Edgy and would love to finally solve it :)
> > 
> 
> I have a Sony laptop with an i915 card, and I have not needed 
> 915resolution since Breezy.  You may want to uninstall 915 resolution, 
> and get this working directly with the xorg.conf.
> 
> I have attached my current xorg.conf for reference.  I do remember that 
> I had to mess with it a bit in Dapper to get everything working 
> properly, and so I can probably help a bit to try to figure out what is 
> going on with yours, too.  As you can see from my xorg.conf, my laptop 
> screen is 1366x768.
> 
> The first place that I started looking is in /var/log/Xorg.0.log.  It 
> had informational messages in there that told me why it wasn't selecting 
> the resolution I wanted.  It may have to do with sync ranges configured 
> for the monitor, or other issues, but we should be able to figure this 
> out.  Let me know if you would like to pursue this further.
> 
> -Matt
> 
> 
> 
> 
> plain text document attachment (xorg.conf)
> # /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/X11/fonts/misc"
> 	FontPath	"/usr/share/X11/fonts/cyrillic"
> 	FontPath	"/usr/share/X11/fonts/100dpi/:unscaled"
> 	FontPath	"/usr/share/X11/fonts/75dpi/:unscaled"
> 	FontPath	"/usr/share/X11/fonts/Type1"
> 	FontPath	"/usr/share/X11/fonts/100dpi"
> 	FontPath	"/usr/share/X11/fonts/75dpi"
> 	FontPath	"/usr/share/fonts/X11/misc"
> 	# path to defoma fonts
> 	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
> EndSection
> 
> Section "Module"
> 	Load	"i2c"
> 	Load	"bitmap"
> 	Load	"ddc"
> 	Load	"dri"
> 	Load	"extmod"
> 	Load	"freetype"
> 	Load	"glx"
> 	Load	"int10"
> 	Load	"type1"
> 	Load	"vbe"
> EndSection
> 
> Section "InputDevice"
> 	Identifier	"Generic Keyboard"
> 	Driver		"kbd"
> 	Option		"CoreKeyboard"
> 	Option		"XkbRules"	"xorg"
> 	Option		"XkbModel"	"pc105"
> 	Option		"XkbLayout"	"us"
> 	Option		"XkbOptions"	"lv3:ralt_switch"
> EndSection
> 
> Section "InputDevice"
> 	Identifier	"Configured Mouse"
> 	Driver		"mouse"
> 	Option		"CorePointer"
> 	Option		"Device"		"/dev/input/mice"
> 	Option		"Protocol"		"ExplorerPS/2"
> 	Option		"ZAxisMapping"		"4 5"
> 	Option		"Emulate3Buttons"	"true"
> EndSection
> 
> Section "InputDevice"
> 	Identifier	"Synaptics Touchpad"
> 	Driver		"synaptics"
> 	Option		"SendCoreEvents"	"true"
> 	Option		"Device"		"/dev/psaux"
> 	Option		"Protocol"		"auto-dev"
> 	Option		"HorizScrollDelta"	"0"
> EndSection
> 
> Section "InputDevice"
>   Driver        "wacom"
>   Identifier    "stylus"
>   Option        "Device"        "/dev/wacom"          # Change to 
>                                                       # /dev/input/event
>                                                       # for USB
>   Option        "Type"          "stylus"
>   Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
> EndSection
> 
> Section "InputDevice"
>   Driver        "wacom"
>   Identifier    "eraser"
>   Option        "Device"        "/dev/wacom"          # Change to 
>                                                       # /dev/input/event
>                                                       # for USB
>   Option        "Type"          "eraser"
>   Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
> EndSection
> 
> Section "InputDevice"
>   Driver        "wacom"
>   Identifier    "cursor"
>   Option        "Device"        "/dev/wacom"          # Change to 
>                                                       # /dev/input/event
>                                                       # for USB
>   Option        "Type"          "cursor"
>   Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
> EndSection
> 
> Section "Device"
> 	Identifier	"Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
> 	Driver		"i810"
> 	BusID		"PCI:0:2:0"
> EndSection
> 
> Section "Monitor"
> 	Identifier	"Generic Monitor"
> 	Option		"DPMS"
> EndSection
> 
> Section "Screen"
> 	Identifier	"Default Screen"
> 	Device		"Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
> 	Monitor		"Generic Monitor"
> 	DefaultDepth	24
> 	SubSection "Display"
> 		Depth		1
> 		Modes		"1366x768"
> 	EndSubSection
> 	SubSection "Display"
> 		Depth		4
> 		Modes		"1366x768"
> 	EndSubSection
> 	SubSection "Display"
> 		Depth		8
> 		Modes		"1366x768"
> 	EndSubSection
> 	SubSection "Display"
> 		Depth		15
> 		Modes		"1366x768"
> 	EndSubSection
> 	SubSection "Display"
> 		Depth		16
> 		Modes		"1366x768"
> 	EndSubSection
> 	SubSection "Display"
> 		Depth		24
> 		Modes		"1366x768"
> 	EndSubSection
> EndSection
> 
> Section "ServerLayout"
> 	Identifier	"Default Layout"
> 	Screen		"Default Screen"
> 	InputDevice	"Generic Keyboard"
> 	InputDevice	"Configured Mouse"
> 	InputDevice     "stylus" "SendCoreEvents"
> 	InputDevice     "cursor" "SendCoreEvents"
> 	InputDevice     "eraser" "SendCoreEvents"
> 	InputDevice	"Synaptics Touchpad"
> EndSection
> 
> Section "DRI"
> 	Mode	0666
> EndSection
-------------- next part --------------
# /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/X11/fonts/misc"
	FontPath	"/usr/share/X11/fonts/cyrillic"
	FontPath	"/usr/share/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/Type1"
	FontPath	"/usr/share/X11/fonts/100dpi"
	FontPath	"/usr/share/X11/fonts/75dpi"
	FontPath	"/usr/share/fonts/X11/misc"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

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

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"gb"
	Option		"XkbOptions"	"lv3:ralt_switch"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ExplorerPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"auto-dev"
	Option		"HorizScrollDelta"	"0"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "stylus"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "eraser"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "cursor"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "Device"
	Identifier	"Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
	Driver		"i810"
	BusID		"PCI:0:2:0"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1280x800"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x800"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x800"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x800"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x800"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x800"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice     "stylus" "SendCoreEvents"
	InputDevice     "cursor" "SendCoreEvents"
	InputDevice     "eraser" "SendCoreEvents"
	InputDevice	"Synaptics Touchpad"
EndSection

Section "DRI"
	Mode	0666
EndSection


More information about the ubuntu-users mailing list