PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : 16:9 Notebooks und Linux?



X-Dimension
10.12.03, 09:04
Hi, da ich mit meinem neuen Sony Z1 überhaupt nicht zufrieden bin, möchte ich mir ein Toshiba M30 zulegen, allerdings hat das ein 16:9 TFT mit einer Auflösung von 1280x800!
Wie kann ich so eine Auflösung in Linux einstellen?

XD

Mooz
10.12.03, 10:35
Klar =)
in der XF86Config kannst einfach die Auflösung per Handreinschreiben zB.

GrafKoks
10.12.03, 13:33
Bei ner Testinstallation funzte hier ne Auflösung von 1280x600 bei Mandrake 9.0 out-of-the-box.
Sollte also keine Probleme geben.

X-Dimension
10.12.03, 16:51
Danke schonmal, ich habe das Toshiba M30 jetzt hier. Das Ganze läuft per Framebuffer in 1024er Auflösung, kann mir mal jemand sagen wie ich die XF86Config-4 ändern muss?

Hat zufällig auch jemand ein Kernel Modul parat mit dem man bei Toshiba Notebooks die Helligkeit regeln kann? das M30 ist standartmäßig verdammt dunkel...

XD

pi-cubiq
10.12.03, 18:31
Original geschrieben von X-Dimension
[BHat zufällig auch jemand ein Kernel Modul parat mit dem man bei Toshiba Notebooks die Helligkeit regeln kann? das M30 ist standartmäßig verdammt dunkel...
XD [/B]

das geht imho momentan nur über die command-line:

# echo brightness:7 > /proc/acpi/toshiba/lcd

X-Dimension
10.12.03, 20:13
Danke! Ich werde es mal testen!
Hast du sonst noch ein paar Tricks für Toshiba-Notebooks? Kann man auch den Lüfter etwas runter regeln?

Zurück zum Thema:

Ich bekomme es einfach nicht hin meine XF86Config so anzupassen das ich eine 1280x800er Auflösung habe. Dabei habe ich schon so einige HowTOs Versucht aber nichts klappt...

EDIT:
Das mit der Helligkeit geht nicht, es gibt bei mir unter /proc/acpi kein toshiba :(

XD

DaGrrr
10.12.03, 20:22
Das mit der Helligkeit geht nicht, es gibt bei mir unter /proc/acpi kein toshiba

Wenn du dir nen eigenen Kernel baust findest du im ACPI Bereich die "Toshiba extras".

Grüße
DaGrrr

pi-cubiq
10.12.03, 20:30
Original geschrieben von X-Dimension
Hast du sonst noch ein paar Tricks für Toshiba-Notebooks? Kann man auch den Lüfter etwas runter regeln?

du brauchst wie gesagt erst mal das /proc/acpi/toshiba verzeichnis. dann kannst du alle einstellungen in die jeweiligen dateien "pipen".

have phun!

pi

X-Dimension
10.12.03, 20:56
So hier noch mal zu meinem Wichtigsten Problem:

WIE BEKOMME ICH MEIN DISPLAY AUF 1280x800 eingestellt?

Meine XF86Config-4 sieht so aus:

# File generated by XFdrake.

# ************************************************** ********************
# Refer to the XF86Config man page for details about the format of
# this file.
# ************************************************** ********************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "de(nodeadkeys)"
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Generic"
ModelName "Flat Panel 1280x1024"
HorizSync 31.5-67
VertRefresh 50-75

# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection

Section "Device"
Identifier "device1"
Driver "nvidia"
Option "DPMS"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Virtual 1280 800
EndSubsection

Subsection "Display"
Depth 15
Virtual 1280 1024
EndSubsection

Subsection "Display"
Depth 16
Virtual 1280 1024
EndSubsection

Subsection "Display"
Depth 24
Virtual 1280 800
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
Screen "screen1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
EndSection
----------------------------------------------------------------------------------------

Ich habe in den How Tos überall gelesen, das ich eine neue Modline hinzufügen muss.
Allerdings waren die Modlines für die 1280x800er Displays überall anders.

Dann habe ich versucht mir eine zu generieren:

[root@localhost XD]# gtf 1280 800 -60 -x

# 1280x800 @ -60.00 Hz (GTF) hsync: -46.50 kHz; pclk: -93.74 MHz
Modeline "1280x800_-60.00" -93.74 1280 1488 1648 2016 800 801 804 775 -HSync +Vsync

Wenn ich die Modline eintrage, dann verabschiedet sich der X-Server immer mit der Meldung das irgendwas mit dem pclock oder so ähnlich falsch ist...

Muss ich ausser dieser Modline noch was anderes eintragen? Was hat die erste Zeile zu sagen, die mir ausgegeben wurde??

carni
10.12.03, 22:28
Hallo,

du musst nur die Modeline eintragen, allerdings ist die von dir eingtragene falsch. Bei 60 Hz und 1280x800 müsste das so aussehen:

Modeline "1280x800" 83.46 1280 1344 1480 1680 800 801 804 828 -HSync +Vsync

Die ist auch mit gtf erzeugt. Ich musste allerdings noch dieses hässliche "_60" entfernen.

Deine Modeline war übrigens für -60 Hz generiert. (Wie immer auch negative Frequenzen zustande kommen.)

X-Dimension
10.12.03, 22:45
Fehlermeldung:
ModeLine dotclock expected :confused:

XD

Mooz
11.12.03, 16:23
Ich hab beim nem Kumpel einfach alle vorkommen von 1280x1024 durch 1280x800 ersetzt =)

Mit Modlines hab ich mich garnet gequält!


Bei mir hats SuSE 9.0 das gleich auf 1400x1050 gemacht bei der Install.

;)

carni
11.12.03, 19:19
Oops, evtl. liegts daran, dass ich den Modes noch nen Identifier gegeben hab und in der Section Monitor noch ein UseModes gesetzt hab.
Ich häng mal meine XF86Config an.

X-Dimension
11.12.03, 20:24
Also ich habe meine XF86Config nach deiner Angepasst, allerdings startet der X-Server trotzdem nur in 1024er Auflösung :(

Habe ich was vergessen?

# File generated by XFdrake.

# ************************************************** ********************
# Refer to the XF86Config man page for details about the format of
# this file.
# ************************************************** ********************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "de(nodeadkeys)"
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
EndSection

Section "Modes"
Identifier "16:10"
# 1280x800 @ 60.00 Hz (GTF) hsync: 49.68 kHz; pclk: 83.46 MHz
Modeline "1280x800" 83.46 1280 1344 1480 1680 800 801 804 828 -HSync +Vsync
# 1024x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 64.11 MHz
Modeline "1024x768" 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync
# 800x600 @ 60.00 Hz (GTF) hsync: 37.32 kHz; pclk: 38.22 MHz
Modeline "800x600" 38.22 800 832 912 1024 600 601 604 622 -HSync +Vsync
# 640x480 @ 60.00 Hz (GTF) hsync: 29.82 kHz; pclk: 23.86 MHz
Modeline "640x480" 23.86 640 656 720 800 480 481 484 497 -HSync +Vsync
################################################## ############################
# Modeline "1280x800" 107.21 1280 1360 1496 1712 800 801 804 835
# Modeline "1280x800" 123.38 1280 1368 1504 1728 800 801 804 840
# Modeline "1280x800" 147.89 1280 1376 1512 1744 800 801 804 848
# Modeline "1680x1050" 147.14 1680 1784 1968 2256 1050 1051 1054 1087
# Modeline "1680x1050" 188.07 1680 1800 1984 2288 1050 1051 1054 1096
# Modeline "1680x1050" 214.51 1680 1800 1984 2288 1050 1051 1054 1103
# Modeline "1680x1050" 256.20 1680 1808 1992 2304 1050 1051 1054 1112
# #Modeline "1920x1200" 246.59 1920 2064 2272 2624 1200 1201 1204 1253
# #Modeline "1920x1200" 282.74 1920 2072 2280 2640 1200 1201 1204 1260
# #Modeline "1920x1200" 337.58 1920 2072 2288 2656 1200 1201 1204 1271
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Toshiba"
ModelName "FlatPanel 1280x800"
HorizSync 31.5 - 100
VertRefresh 30-90
UseModes "16:10"
Option "DPMS"
EndSection

Section "Device"
Identifier "device1"
Driver "nvidia"
Option "DPMS"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultDepth 24

Subsection "Display"
Depth 8
Modes "1280x800" "1024x768" "800x600" "640x480"
#Modes "1920x1200" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection

Subsection "Display"
Depth 16
Modes "1280x800" "1024x768" "800x600" "640x480"
#Modes "1920x1200" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection

Subsection "Display"

Depth 24
Modes "1280x800" "1024x768" "800x600" "640x480"
#Modes "1920x1200" "1024x768" "800x600"
ViewPort 0 0
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection

Willi
13.12.03, 23:33
Ich habe das gleiche Notebook. (Von dem schreibe ich auch gerade)
Bei mir startet auch kdm in 1280x800. Ich benutze zur Zeit suse 9.0. bei wunsch habe ich auch noch eine version für debian. (ist allerdings noch ohne nvidia treiber in diesem falle.)
Hier meine leicht geänderte SUSE-Fassung.....

# /.../
# SaX generated XFree86 config file
# Created on: 2003-12-05T09:28:11+0100.
#
# Version: 4.7
# Contact: Marcus Schaefer <sax@suse.de>, 2002
#
# Automatically generated by [ISaX] (4.7)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "Files"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/local"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/URW"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/PEX"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/kwintv"
FontPath "/usr/X11R6/lib/X11/fonts/truetype"
FontPath "/usr/X11R6/lib/X11/fonts/uni:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/CID"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/xtest"
InputDevices "/dev/ttyS0"
InputDevices "/dev/ttyS1"
InputDevices "/dev/ttyS2"
InputDevices "/dev/ttyS3"
InputDevices "/dev/ttyS4"
InputDevices "/dev/ttyS5"
InputDevices "/dev/ttyS6"
InputDevices "/dev/ttyS7"
InputDevices "/dev/ttyS8"
InputDevices "/dev/psaux"
InputDevices "/dev/logibm"
InputDevices "/dev/sunmouse"
InputDevices "/dev/atibm"
InputDevices "/dev/amigamouse"
InputDevices "/dev/atarimouse"
InputDevices "/dev/inportbm"
InputDevices "/dev/gpmdata"
InputDevices "/dev/mouse"
InputDevices "/dev/usbmouse"
InputDevices "/dev/adbmouse"
InputDevices "/dev/input/mice"
InputDevices "/dev/input/event0"
InputDevices "/dev/pointer0"
InputDevices "/dev/pointer1"
InputDevices "/dev/pointer2"
InputDevices "/dev/pointer3"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail"
Option "RandR" "on"
EndSection

Section "Module"
Load "v4l"
Load "glx"
Load "dbe"
Load "extmod"
Load "speedo"
Load "type1"
Load "freetype"
EndSection

Section "InputDevice"
Driver "Keyboard"
Identifier "Keyboard[0]"
Option "Protocol" "Standard"
Option "XkbLayout" "de"
Option "XkbModel" "pc105"
Option "XkbRules" "xfree86"
Option "XkbVariant" "nodeadkeys"
EndSection


Section "InputDevice"
Driver "mouse"
Identifier "Mouse[1]"
Option "ButtonNumber" "4"
Option "Device" "/dev/mouse"
Option "Name" "Autodetection"
Option "Protocol" "imps/2"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
Option "CalcAlgorithm" "CheckDesktopGeometry"
DisplaySize 320 240
HorizSync 31-60
Identifier "Monitor[0]"
ModelName "1024X768@60HZ"
Option "DPMS"
VendorName "--> LCD"
VertRefresh 40-60
UseModes "Modes[0]"
EndSection


Section "Modes"
Identifier "Modes[0]"
Modeline "1024x768" 65.00 1024 1048 1184 1344 768 771 777 806
Modeline "1280x800" 80.58 1280 1344 1480 1680 800 801 804 827
Modeline "1024x768" 65.00 1024 1048 1184 1344 768 771 777 806
EndSection


Section "Screen"
DefaultDepth 16
SubSection "Display"
Depth 15
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x800" "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 32
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection


Section "Device"
BoardName "GeForce FX Go5200"
Driver "nvidia"
Identifier "Device[0]"
Screen 0
Option "Rotate" "off"
VendorName "NVidia"
EndSection


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

Section "DRI"
Group "video"
Mode 0660
EndSection



Viel Erfolg!

Willi

X-Dimension
14.12.03, 12:28
Hi! Kannst du mal die von Debian posten? Ich habe die Erfahrung gemacht, das die Debian und Mandrake Konfigs immer sehr ähnlich sind!
Die von Suse beinhaltet viel mehr text als die meiner Mandrake Config!

BTW. Kannst du die Display-Helligkeit einstellen? Wenn ja wäre ich dankbar für ein kleines How To! Mir ist das ganze standartmäßig zu Dunkel!

XD

Willi
14.12.03, 14:28
ich habe gerade nachgeschaut und festgestellt, daß ich einfach die SUSE XF86Config übernommen habe.
Es sollte also so klappen. (Sofern Du das NVIDIA Modul benutzt.)

Bei mir läuft es unter unstable auf nem 2.6test11 Kernel unter Debian.

Willi

X-Dimension
14.12.03, 16:53
Suuuuper! Es geht jetzt!
Ich habe nur die Sektion Files entfernt, sonst habe ich es 1:1 übernommen.

Gut jetzt müsste ich nur noch das Bild heller bekommen, dann ist alles perfekt!

XD