Xorg will sich zu nicht mehr als 640x480 überreden

rMarkus

Chuck The Plant
Hallo,

den ganzen Abend habe ich nun probiert.

Da "Xfree -configure" sich aufhängt, habe ich folgende xfree.conf geschrieben:
Code:
Section "ServerLayout"
        Identifier     "Layout0"
        Screen          0  "Screen0"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0" "CorePointer"
EndSection

Section "ServerFlags"
        Option "Xinerama" "1"
EndSection

Section "Files"
EndSection

Section "Module"
        Load  "freetype"
        Load  "extmod"
        Load  "glx"
#       Load  "dbe"
        Load  "record"
        Load  "xtrap"
        Load  "type1"
EndSection



Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "SysMouse"
        Option      "Device" "/dev/sysmouse"
        Option      "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "de"
        Option      "XkbVariant" "nodeadkeys"
        Option      "XkbVariant" "de_DE"
EndSection


Section "Device"
        Identifier  "Card0"
        Driver      "s3virge"
        Screen      0
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        Modeline "1024x768" 60.80  1024 1056 1128 1272   768  768  770  796
EndSection

Section "Screen"
        Identifier "Screen0"
        Device "Card0"
        Monitor    "Monitor0"
        DefaultDepth 16
        SubSection "Display"
                Viewport 0 0
                Depth 16
                Modes "1024x768"
        EndSubSection
EndSection

Beim Starten des X erzeugt er folgendes log:
Code:
X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: FreeBSD 5.4 i386 [ELF]
Current Operating System: FreeBSD rechner5.local 5.4-RELEASE-p8 FreeBSD 
[..]
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor="X.Org Foundation"
        compiled for 6.8.2, module version = 1.0.0
        ABI class: X.Org Video Driver, version 0.7
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Reloading /usr/X11R6/lib/modules/libddc.a
(II) S3VIRGE(0): VESA VBE DDC supported
(II) S3VIRGE(0): VESA VBE DDC Level 2
(II) S3VIRGE(0): VESA VBE DDC transfer in appr. 1 sec.
f000:a39e: 01 ILLEGAL EXTENDED X86 OPCODE!
(II) S3VIRGE(0): VESA VBE DDC invalid
(--) S3VIRGE(0): No DDC signal
(II) Loading sub module "i2c"
(II) LoadModule: "i2c"
(II) Loading /usr/X11R6/lib/modules/libi2c.a
(II) Module i2c: vendor="X.Org Foundation"
        compiled for 6.8.2, module version = 1.2.0
        ABI class: X.Org Video Driver, version 0.7
(II) S3VIRGE(0): I2C bus "I2C bus" initialized.
(II) S3VIRGE(0): I2C device "I2C bus:ddc2" registered at address 0xA0.
(II) S3VIRGE(0): I2C device "I2C bus:ddc2" removed.
(==) S3VIRGE(0): Using gamma correction (1.0, 1.0, 1.0)
(--) S3VIRGE(0): videoram:  4096k
(--) S3VIRGE(0): assuming RefCLK value of 28.636 MHz
(--) S3VIRGE(0): Detected current MCLK value of 88.056 MHz
(--) S3VIRGE(0): LCD size 1024x768, clock 68.988 MHz
(II) S3VIRGE(0): Monitor0: Using default hsync range of 28.00-33.00 kHz
(II) S3VIRGE(0): Monitor0: Using default vrefresh range of 43.00-72.00 Hz
(II) S3VIRGE(0): Clock range:  10.00 to 270.00 MHz
(II) S3VIRGE(0): Not using mode "1024x768" (hsync out of range)
(II) S3VIRGE(0): Not using default mode "640x350" (hsync out of range)
(II) S3VIRGE(0): Not using default mode "320x175" (hsync out of range)
[...]
(II) S3VIRGE(0): Not using default mode "2048x1536" (insufficient memory for mod
e)
(II) S3VIRGE(0): Not using mode "1024x768" (no mode of this name)
(--) S3VIRGE(0): Virtual size is 640x480 (pitch 640)
(**) S3VIRGE(0):  Default mode "640x480": 25.2 MHz, 31.5 kHz, 60.0 Hz
(II) S3VIRGE(0): Modeline "640x480"   25.20  640 656 752 800  480 490 492 525 -h
sync -vsync
(**) S3VIRGE(0):  Default mode "320x240": 12.6 MHz, 31.5 kHz, 60.1 Hz (D)
(II) S3VIRGE(0): Modeline "320x240"   12.60  320 328 376 400  240 245 246 262 do
ublescan -hsync -vsync
[..]

Ich komme nicht weiter, vielleicht könnt ihr mir helfen. :rolleyes:

Die xorg.conf müsste ihn eigentlich auf 1024x768x60Hz zwingen.
Die Wert sind so berechnet: [URL="http://www.dkfz-heidelberg.de/spec/linux/modeline/modeline.cgi" ]http://www.dkfz-heidelberg.de/spec/linux/modeline/modeline.cgi[/URL]
Anscheinend kann er sogar via DDC2 das Display erkennen und weiss es dann besser.

Es handelt sich um ein Toshiba Tecra 540CDT Notebook mit S3Virge/MX mit 4 MB RAM und TFT Display 1024x768.

Wie bekomme ich ihn auf 1024x768 ?

Dankeschön.
 
Nenn die modeline mal nicht wie eine Auflösung.

Modeline "1024x768@60Hz" oder so

Modes "1024x768@60Hz" "1024x768"

das mag helfen!
 
Danke, habe ich gemacht.
Jetzt kann man wenigstens die Fehlermeldungen besser interpretieren:
Code:
(II) Loading /usr/X11R6/lib/modules/libi2c.a
(II) Module i2c: vendor="X.Org Foundation"
        compiled for 6.8.2, module version = 1.2.0
        ABI class: X.Org Video Driver, version 0.7
(II) S3VIRGE(0): I2C bus "I2C bus" initialized.
(II) S3VIRGE(0): I2C device "I2C bus:ddc2" registered at address 0xA0.
(II) S3VIRGE(0): I2C device "I2C bus:ddc2" removed.
(==) S3VIRGE(0): Using gamma correction (1.0, 1.0, 1.0)
(--) S3VIRGE(0): videoram:  4096k
(--) S3VIRGE(0): assuming RefCLK value of 28.636 MHz
(--) S3VIRGE(0): Detected current MCLK value of 88.056 MHz
(--) S3VIRGE(0): LCD size 1024x768, clock 68.988 MHz
(II) S3VIRGE(0): Monitor0: Using default hsync range of 28.00-33.00 kHz
(II) S3VIRGE(0): Monitor0: Using default vrefresh range of 43.00-72.00 Hz
(II) S3VIRGE(0): Clock range:  10.00 to 270.00 MHz
(II) S3VIRGE(0): Not using mode "1024x768@60Hz" (hsync out of range)

Ist die Auflösung out-of-range des DAC?
 
Endlich nimmt er es, wenn ich ihn wie folgt zusätzlich zwinge:

Code:
Section "Monitor"
        Identifier   "Monitor0"
[B]        HorizSync 30.0 - 82.0
        VertRefresh 50.0 - 75.0
[/B]        Modeline "1024x768" 60.80  1024 1056 1128 1272   768  768  770  796
EndSection
 
Section "Monitor"
Identifier "TecraTFT"
HorizSync 25-64
VertRefresh 40-70
Option "DPMS"
EndSection
 
Danke, deine Werte scheinen aber besser auf das Display abgestimmt zu sein, ausserdem kann ich dann die Modeline wegnehmen.

DPMS ist auch eine gute Idee
 
Zurück
Oben