Portál AbcLinuxu, 23. prosince 2025 06:47
SubSection "Display" Depth 24 Modes "1152x864" EndSubSectionTo by ti mělo pomoct s rozlišením.
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "PS/2 Mouse" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection
Section "Module"
Load "extmod"
Load "dbe"
Load "record"
Load "xtrap"
Load "dri"
Load "glx"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "cz"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: [i]: integer, [f]: float, [bool]: "True"/"False",
### [string]: "String", [freq]: "[f] Hz/kHz/MHz"
### [arg]: arg optional
#Option "ShadowFB" # [[bool]]
#Option "DefaultRefresh" # [[bool]]
#Option "ModeSetClearScreen" # [[bool]]
Identifier "Card0"
Driver "vesa"
VendorName "ATI Technologies Inc"
BoardName "3D Rage Pro AGP 1X/2X"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
SubSection "Display"
Depth 24
Modes "1152x864"
EndSection
takze to bude vypadat takto:
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 30.0 - 97.0
VertRefresh 50.0 - 150.0
EndSection
jo pozor misto tech hodnot co tam mam ja tam jdej svoje napriklad pro vertrefresh nastav 50-75 a pro horizsync 30-79
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
SubSection "Display"
Depth 24
Modes "1152x864"
EndSection
takto:
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
SubSection "Display"
Depth 24
Modes "1152x864"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
Modes "1152x864" "1024x768" "800x600"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
Modes "1152x864" "1024x768" "800x600"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1152x864" "1024x768" "800x600"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
Modes "1152x864" "1024x768" "800x600"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1152x864" "1024x768" "800x600"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1152x864" "1024x768" "800x600"
EndSubSection
EndSection
DefaultDepth v sekci Screen + správná subsekce Display, jak už bylo řečeno.
Jak nastavit frekvenci nevím, možná ze zájmu zkuste (pokud máte DISPLAY :0)
Takhle vidí možnosti monitoru váš driver (ati?). Máte tam to vaše rozlišení? Třetí chlíveček je pcfgrep Modeline /var/log/Xorg.0.lognebosed -n -e "s/.*\(Modeline.*\)$/\1/p" /var/log/Xorg.0.log
Obnovovací frekvence = pcf * 1000000/(1152 * 864) [Hz]
http://en.wikipedia.org/wiki/XFree86_Modeline
Nevím přesně, jak to funguje, patrně díky autodetekci nemá smysl Modeline dávat do xorg.conf->[Monitor], no ale alespoň uvidíte, co vám driver detekoval. Možná by tam šlo vnutit vlastní Modeline, pokud byste si jí byl jist :) Nevím.
Možná jste v předchozím Ubuntu měl jiný driver? Mně např. fglrx vyjede 5x víc kombinací (Modelines) než třeba radeon.
HIH. A.
. Chtěl bych, aby se mi to tak nastavilo právě hned při startu X. Jaký jsem měl driver v Ubuntu nevím, měl jsem si určitě zazálohovat celý konfigurák a teď bych neměl žádný problém... možná to nakonec vyřeším tak, že si nainstaluju Ubuntu na prázdnou část disku a vezmu si ten konfigurák odtamtuď
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.