Ubuntu Suomen keskustelualueet
Ubuntun käyttö => Laitealue => Aiheen aloitti: Astireloth - 11.08.07 - klo:21.33
-
Olen tsekannut kaikki virkistystaajuus aiheet läpi Hakua käyttäen, mutta mikään kokeilu ei ole tuottanut haluamaa tulosta. Ongelmana on siis se, että Ubuntu ei anna kuin 2 virkistystaajuutta; 50Hz ja 59Hz. Eli nuo ovat aivan liian pienet.
Näyttöni on HP A4033A putkinäyttö ja xorg.conf tiedostoni näyttää tältä:
# /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 xorg.conf(5) manual page.
# (Type "man 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/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/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 "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "fi"
Option "XkbVariant" "nodeadkeys"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Device"
Identifier "NVIDIA GeForce FX 5900 XT"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection
Section "Monitor"
Identifier "HP A4033A"
Option "DPMS" "true"
HorizSync 30-80
VertRefresh 50-120
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA GeForce FX 5900 XT"
Monitor "HP A4033A"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024_75" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024_75" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024_75" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024_75" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024_75" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024_75" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "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"
EndSection
Section "DRI"
Mode 0666
EndSection
-
1. Tarkista todellinen virkistystaajuus monitorin omasta valikosta. Oletan että käytät Gnomea. Se Järjestelmä->Asetukset->Näytön tarkkuus - valikosta löytyvä ohjelma (gnome-display-properties) on ainakin mulla näyttänyt omituisia taajuuksia.
2. xorg.confiin pitää lisätä sopiva modeline Monitor-kohtaan ja kutsua sitä Screen-kohdassa. Modelinen voi luoda esim. gtf-ohjelmalla.
Tuossa alla olevat rivit pitäisi sopia sun monitorille. Korvaa xorg.confin vastaavat kohdat.
Section "Monitor"
Identifier "HP A4033A"
Option "DPMS" "true"
HorizSync 30-80
VertRefresh 50-120
# 1280x1024 @ 72.00 Hz (GTF) hsync: 76.82 kHz; pclk: 132.75 MHz
Modeline "1280x1024_72.00" 132.75 1280 1368 1504 1728 1024 1025 1028 1067 -HSync +Vsync
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA GeForce FX 5900 XT"
Monitor "HP A4033A"
DefaultDepth 24
SubSection "Display"
Depth 16
Modes "1280x1024_72.00" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024_72.00" "1280x960" "1280x854" "1280x800" "1280x768" "1200x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
3. Et varmaan tarvitse 16-bit pienempiä värisyvyyksiä (alle 65k väriä), joten ne voi jättää conffista pois. Laitoin 72 Hz modelinen, koska 75 Hz:ssä meni hsync-luku vähän (80.17kHz) yli sinun monitorissasi sallitusta 80:stä. Kokeile itse, jos kantti kestää katsoa kestääkö ruutu. :) gtf taitaa tulla Ubuntun perusasennuksen mukana.
-
Jokin virhe pääsi xorg.confiin, ei sen vakavampaa. En kylläkään itse huomaa, että noissa ehdottamissani muutoksissa olisi mitään vikaa. Ehkä joku tarkkasilmäisempi / tietävämpi sen keksii. Mutta kannattaa varmaan vielä kokeilla noita uudelleen, kunhan ensin olet saanut X:n päälle.
Kirjoitinkohan tarpeeksi selvästi, että piti muokata vain Section "Monitor" ja Section "Screen" kohtia ja antaa kaiken muun olla ennallaan.
Jos et ole saanut X:ää kuntoon jo, niin sehän tapahtuu yksinkertaisimmin virtuaalipäätteen puolella (ctrl+alt+F1). Palauta toimiva xorg.conf varmuuskopiosta (tuossa yllä, jossei muualla :) ) tai vaihtoehtoisesti saat X:n korjattua asetusohjelmalla:
sudo dpkg-reconfigure -phigh xserver-xorg
Sitten X:n käynnistys:
sudo /etc/init.d/gdm start
-
No minulta on kyllä konstit lopussa. Katso löytyykö epäonnistuneen X:n käynnistyksen jälkeen logista joku selkeä virheilmoitus.
tail -n 100 /var/log/Xorg.0.log
Ja kuten sanottu tsekkaa ne hertsit myös monitorista tai Nvidian säätöohjelmasta, jos on asennettuna, koska mulla ainakin geforce 6200:n kanssa Gnomen työkalu näytti vääriä lukuja.