Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: Kan scherm resolutie niet aanpassen  (gelezen 2973 keer)

AJ

  • Gast
Kan scherm resolutie niet aanpassen
« Gepost op: 2006/06/07, 21:19:05 »
Om te beginnen, ik ben compleet n00b op gebied van Linux / Ubuntu.

Dus, nieuwe installatie naast Windows XP pro op een Acer Travelmate 4101WMLi laptop.

Probleem:
Schermresolutie geeft max 1024x768 aan, terwijl dit normaal 1280x800 moet zijn. Ik wil dit natuurlijk aanpassen.

Grafische kaart is een onboard Intel 82915GM Graphics Controller.
met 128MB dedicated geheugen...

Driver info uit SPM:

xserver-xorg-driver-i810
X.Org X server -- Intel i8xx, i9xx display driver

/usr/share
/usr/share/doc
/usr/share/doc/xserver-xorg-driver-i810
/usr/share/doc/xserver-xorg-driver-i810/copyright
/usr/share/doc/xserver-xorg-driver-i810/changelog.Debian.gz
/usr/share/man
/usr/share/man/man4
/usr/share/man/man4/i810.4.gz
/usr/lib
/usr/lib/xorg
/usr/lib/xorg/modules
/usr/lib/xorg/modules/drivers
/usr/lib/xorg/modules/drivers/i810_drv.so
/usr/lib/libI810XvMC.so.1.0.0
/usr/lib/libI810XvMC.so
/usr/lib/libI810XvMC.so.1


Op een ander forum wisten ze mij te vertellen dat dit klopt. Voor de i915 chipset zou de i815 driver de goede keuze zijn.

Drivers vanop de Intel site boden geen oplossing (blijkbaar allemaal voor Suse)

Wat ik verder deed (veel vloeken) en dit:

sudo dpkg-reconfigure xserver-xorg

en daarna manueel alle setting ingeven... (ik had een copie van het origineel openstaan om te helpen)
Daarna kreeg ik deze versie van 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"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
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" "be"
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 i815/i915"
Driver "i810"
BusID "PCI:0:2:0"
VideoRam 131072
Option "UseFBDev" "true"
EndSection

Section "Monitor"
Identifier "N154I1-L09"
Option "DPMS"
HorizSync 28-64
VertRefresh 43-60
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Intel i815/i915"
Monitor "N154I1-L09"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x800" "1024x768" "800x600" "640x480"
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
Zoals je ziet staat de correcte resolutie erbij (maar dat was voor de aanpassing eigelijk ookal...)

Nuja... ik weet nie meer wat te doen.

Weten jullie raad? Ik wil die resolutie omhoog, want zo is het geen zicht.

Alvast bedankt voor enige info...

Gelieve evt code duidelijk in stapjes te vermelden, ik ben een redelijk proff. windows gebruiker en ken veel van hardware... Maar code is niet echt mijn ding.

tnx!!

Offline bartek

  • Lid
    • http://bartek.blogsome.com
Kan scherm resolutie niet aanpassen
« Reactie #1 Gepost op: 2006/06/07, 21:42:58 »
Citaat van: ramana
Omdat ik na een nieuwe installatie de resolutie wil aanpassen installeer ik eerst het programma configure-debian. Daarmee is het configureren van bijna alle belangrijke onderdelen van het systeem een fluitje van een cent.
@ Aj: Ik weet niet of je hier iets mee bent maar dat heb ik gevonden op dit forum in deze topic:
http://forum.ubuntu-nl.org/topic/536
| Deliberando saepe perit occasio |

"Car la vie est un bien perdu quand on n'a pas vécu comme on l'aurait voulu"

AJ

  • Gast
Kan scherm resolutie niet aanpassen
« Reactie #2 Gepost op: 2006/06/07, 21:54:25 »
TNX!!

ik vond net de deze:
http://ubuntuforums.org/showpost.php?p=129379&postcount=21

Die ga ik eens bekijken en uitproberen...

Da's wel even een "harde" kennismaking met Linux, maar zo leer je het wel zeker :)

Kan scherm resolutie niet aanpassen
« Reactie #3 Gepost op: 2006/06/07, 22:53:22 »
Je kunt proberen om simpelweg de ongewenste resoluties uit xorg.conf te verwijderen. org dat je wel wat terminalkennis hebt zodat je een eventuele backup kunt terugzetten als dit misgaat.

AJ

  • Gast
Kan scherm resolutie niet aanpassen
« Reactie #4 Gepost op: 2006/06/08, 09:08:28 »
Mijn terminal kennis is nog beperkt, maar ik leer graag bij.

Ik moet nu werken (onderwijs), straks ga ik de bovenstaande linken eens verder bekijken en het uitproberen.

Ik heb een back-up van de originele Xorg-file

Ik hou jullie op de hoogte als het lukt (het moet gvd lukken) Na al die jaren Windows ben ik tegenvallers en problemen al wel gewoon ;)

AJ

  • Gast
Kan scherm resolutie niet aanpassen
« Reactie #5 Gepost op: 2006/06/08, 12:32:36 »
Deze lijkt me mss een goede oplossing:

This problem appears sometimes for laptops with "non-standard"-screen resolution in combination with certain Intel graphic-chips. Background: It seems that the Video Bios (vBios) has to deliver the right resolution for the lcd-screen to enable the autoconfiguration to set this resolution. However sometimes the right resolution is not delivered and consequently the right resolution can not be implemented. You can fix the problem by overwriting the vBios setting in the RAM by using a program called 855resolution.

Here is the description of the 855resolution developer: "855resolution is a software to change the resolution of an available vbios mode for the 855 / 865 / 915 Intel graphic chipset" To install 855-resolution on Ubuntu 5.10 make sure that you have included the "universe" repository and type:

sudo apt-get install 855resolution

Once the program is installed you can use the program to list all available vBios modes:

sudo 855resolution -l

The result should look similar to:

855resolution version 0.4, by Alain Poirier

Chipset: Unknown (id=0x25908086)
VBIOS type: 2
VBIOS Version: 3412

Mode 30 : 640x480, 8 bits/pixel
Mode 32 : 800x600, 8 bits/pixel
Mode 34 : 1024x768, 8 bits/pixel
Mode 38 : 1280x1024, 8 bits/pixel
Mode 3a : 1600x1200, 8 bits/pixel
Mode 3c : 1400x1050, 8 bits/pixel
Mode 41 : 640x480, 16 bits/pixel
Mode 43 : 800x600, 16 bits/pixel
Mode 45 : 1024x768, 16 bits/pixel
Mode 49 : 1280x1024, 16 bits/pixel
Mode 4b : 1600x1200, 16 bits/pixel
Mode 4d : 1400x1050, 16 bits/pixel
Mode 50 : 640x480, 32 bits/pixel
Mode 52 : 800x600, 32 bits/pixel
Mode 54 : 1024x768, 32 bits/pixel
Mode 58 : 1280x1024, 32 bits/pixel
Mode 5a : 1600x1200, 32 bits/pixel
Mode 5c : 1400x1050, 32 bits/pixel

If the resolution of your sceen is not present then you can permanently overwrite a unused mode by the value of you screen. For example if you want to overwrite the mode 41 by the resolution 2400x1600 edit the file /etc/default/855resolution

sudo gedit /etc/default/855resolution

Your file should look similar to:
}
#
# 855resolution default
#
# find free modes by  /usr/sbin/855resolution -l
# and set it to MODE
#
MODE=41
#
# and set resolutions for the mode.
XRESO=2400
YRESO=1600

This will ensure that the vBios mode 41 is overwritten in the RAM at boot-time, before initializing the X-windows. Since the resolution is now available in the vBios your system should automatically be able to set the right resolution after rebooting.


Straks thuis eens proberen...

:)

Gast

  • Gast
Kan scherm resolutie niet aanpassen
« Reactie #6 Gepost op: 2006/06/08, 21:21:10 »