Ubuntu Suomen keskustelualueet
Ubuntun käyttö => Asentaminen ja käyttöönotto => Aiheen aloitti: selorant - 13.03.07 - klo:17.19
-
Aika paljon on nvidian näytönohjaimista keskustelua, mutta en kuitenkaan löytänyt vielä ratkaisua tai sitten en osannut etsiä oikeata asiaa, mutta mikäköhän mahtaa olla vikana seuraavassa asiassa.
Asentelen Edgy muutaman vuoden vanhaan HP:n koneeseen jossa GeForce FX 5500 näytönohjain. Näyttönä ViewSonicin 22" tuumainen VX2235wm, joka ilmoittaa aina välillä ruudulla että paras kuva saadaan 1680x1050 resoluutiolla. Windowsista tutulla tapaa lähdin etsimään ajureita Nvidian sivustolta http://www.nvidia.com/object/linux_display_ia32_1.0-9755.html . Kun ajan pakettia niin tuli seuraava virhe:
You appear to be running an X server; please exit X before installing. For further details, please see the section INSTALLING THE NVIDIA DRIVER in the README available on the Linux driver download page at www.nvidia.com.
Etsiessäni ohjetta miten X-saadaan kumoon, niin törmäsin ohjeisiin, että kannattaa käyttää pakettivarastoista löytyviä ajureita eli sitten ajoin seuraavat komennot mitkä löysin jostain aiheesta:
sudo apt-get install nvidia-glx nvidia-kernel-common
sudo nvidia-xconfig
Mutta resoluutiot ei tainnu olla vielä sittenkään kohdallaan. Eli ajoin:
sudo dpkg-reconfigure xserver-xorg
jonka jälkeen
sudo gedit /etc/X11/xorg.conf
näyttää tältä:
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"
FontPath "/usr/share/fonts/X11/misc"
# 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" "fi"
Option "XkbOptions" "lv3:ralt_switch"
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"
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 "NVIDIA Corporation NV34 [GeForce FX 5500]"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 30-90
VertRefresh 50-60
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV34 [GeForce FX 5500]"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1680x1050" "1440x900" "1280x800"
EndSubSection
SubSection "Display"
Depth 4
Modes "1680x1050" "1440x900" "1280x800"
EndSubSection
SubSection "Display"
Depth 8
Modes "1680x1050" "1440x900" "1280x800"
EndSubSection
SubSection "Display"
Depth 15
Modes "1680x1050" "1440x900" "1280x800"
EndSubSection
SubSection "Display"
Depth 16
Modes "1680x1050" "1440x900" "1280x800"
EndSubSection
SubSection "Display"
Depth 24
Modes "1680x1050" "1440x900" "1280x800"
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
En tiedä mikä mahtaa olla vialle, että resoluutio 1680x1050 ei toimi eikä ole edes vaihtoehtona asetuksissa josta voi säätää näytön tarkkuutta??? Suurimpana resoluutiona toimii 1440x900.
-
Valmistajan sivuilta kun käy kurkkaamassa ( http://www.viewsonic.com/products/desktopdisplays/lcddisplays/xseries/vx2235wm/ ) :
Frequency Fh: 30~82kHz, Fv: 50~85Hz
Eli jos tuon "Section Monitorin" muuttaisi tuon mukaiseksi:
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 30-82
VertRefresh 50-85
EndSection
-
Kommentoi myös pois kaikki DRI:hin liittyvä eli
Load "dri"
....
Section "DRI"
Mode 0666
EndSection
-
Ei auttanut vaikka vaikka muutin arvot seuraavasti
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 30-82
VertRefresh 50-85
EndSection
Ei myöskään tapahtunut mitään muutosta vaikka kommentoisin nuo DRI:hin liittyvät.
Näytön tarkkuuden asetuksissa virkistystaajuus on 60 Hz, voiko tällä olla merkistystä? miten siihen saa enemmän vaihtoehtoja jos sillä on merkitystä???
-
Ei auttanut vaikka vaikka muutin arvot seuraavasti
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 30-82
VertRefresh 50-85
EndSection
Ei myöskään tapahtunut mitään muutosta vaikka kommentoisin nuo DRI:hin liittyvät.
Näytön tarkkuuden asetuksissa virkistystaajuus on 60 Hz, voiko tällä olla merkistystä? miten siihen saa enemmän vaihtoehtoja jos sillä on merkitystä???
Noita horisync ja vertrefresh arvoja ei oteta käyttöön jos näyttö kertoo ajurille EDID arvot. Eli jos niitä haluat käyttää on lisättävä device kohtaan seuraavaa:
Section "Device"
Identifier "NVIDIA Corporation NV34 [GeForce FX 5500]"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "UseEdidFreqs" "false"
EndSection
-
Voisit koittaa vaihtaa kohtaan "DefaultDepth" 24:n tilalle 16.
-
Ei vieläkään alkanut toimimaan, vaikka tuohon "deviceen" ton option kohdan lisäsin. Eikä muutosta vaikka DefaultDepth arvo 24 tai 16.
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"
FontPath "/usr/share/fonts/X11/misc"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "bitmap"
Load "ddc"
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" "fi"
Option "XkbOptions" "lv3:ralt_switch"
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"
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 "NVIDIA Corporation NV34 [GeForce FX 5500]"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "UseEdidFreqs" "false"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 30-82
VertRefresh 50-85
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV34 [GeForce FX 5500]"
Monitor "Generic Monitor"
DefaultDepth 16
SubSection "Display"
Depth 1
Modes "1680x1050" "1440x900" "1280x800"
EndSubSection
SubSection "Display"
Depth 4
Modes "1680x1050" "1440x900" "1280x800"
EndSubSection
SubSection "Display"
Depth 8
Modes "1680x1050" "1440x900" "1280x800"
EndSubSection
SubSection "Display"
Depth 15
Modes "1680x1050" "1440x900" "1280x800"
EndSubSection
SubSection "Display"
Depth 16
Modes "1680x1050" "1440x900" "1280x800"
EndSubSection
SubSection "Display"
Depth 24
Modes "1680x1050" "1440x900" "1280x800"
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
Pitäisiköhän sitä harkita, että asentaisi ne nvidian omat ajurit?
-
Section "Device"
Identifier "NVIDIA Corporation NV34 [GeForce FX 5500]"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "UseEdidFreqs" "false"
EndSection
Pitäisiköhän sitä harkita, että asentaisi ne nvidian omat ajurit?
Ei pitäisi vaikuttaa, sillä Driver "nvidia" nimenomaan tarkoittaa Ubuntu-jakeluun konfigurointua
Nvidia-ajuria. Vapaa-ajuri olisi "nv", joka on täysin toimiva valinta ilman 3D-omituisuuksia.
Ihan rauta-aiheinen kysymys: mihin pistukkaan näyttösi on kytketty?
Toimivatko muut tarjollaolevat resoluutiot kuten 1440x900?
-
Koneessa sekä näytössä on digitaaliliittimessä (DVI). Itsekkin miettisin aluksi, että jos pitäisi koittaa vanhemmalla kaapelilla, mutta voiko tällä olla merkitystä?
1440x900 toimii moitteettomasto ja kyllähän tämä tälläkin ihan siedettävä, mutta olisi se mukava saada toimimaan kun on sellainen ominaisuus!
-
Koneessa sekä näytössä on digitaaliliittimessä (DVI). Itsekkin miettisin aluksi, että jos pitäisi koittaa vanhemmalla kaapelilla, mutta voiko tällä olla merkitystä?
On tuolla merkitystä. vga-sub pystyy parempiin resoluutioihin kuin DVI-liitäntä.
1440x900 toimii moitteettomasto ja kyllähän tämä tälläkin ihan siedettävä, mutta olisi se mukava saada toimimaan kun on sellainen ominaisuus!
Koitapa ihmeessa vga-sub:ia, jos se olisi ratkaisu ongelmaasi. Eipä tuon kokeilun pitäisi mitään maksaa - kuin vaivan.
-
Näköjään oli sitten johdosta kiinni, eli tuolla vga-sub johdolla toimii 1680 x 1050 resoluutio. Tuntuu kuitenkin että tuolla digitaalisella oli hiukan parempi parempi kuva, vaikka resoluutio hiukan jäikin... täytyy ehkä tutkiskella kumpi on loppujen lopuksi se parempi silmälle.
Tässä nyt sitten toimivat xorg.conf asetukset:
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection
Section "Files"
# path to defoma fonts
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"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
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" "fi"
Option "XkbOptions" "lv3:ralt_switch"
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"
# /dev/input/event
# for USB
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Monitor"
Identifier "Generic Monitor"
HorizSync 30.0-82.0
VertRefresh 50.0-85.0
#HorizSync 28.0 - 84.0
#VertRefresh 43.0 - 60.0
Option "DPMS"
EndSection
Section "Device"
Identifier "NVIDIA Corporation NV34 [GeForce FX 5500]"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV34 [GeForce FX 5500]"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1680x1050" "1440x900" "1280x800"
EndSubSection
SubSection "Display"
Depth 4
Modes "1680x1050" "1440x900" "1280x800"
EndSubSection
SubSection "Display"
Depth 8
Modes "1680x1050" "1440x900" "1280x800"
EndSubSection
SubSection "Display"
Depth 15
Modes "1680x1050" "1440x900" "1280x800"
EndSubSection
SubSection "Display"
Depth 16
Modes "1680x1050" "1440x900" "1280x800"
EndSubSection
SubSection "Display"
Depth 24
Modes "1680x1050" "1440x900" "1280x800"
EndSubSection
EndSection
Saattaa olla hiukan muuttuneet edellisistä kun ajoin nvidia configin uudemman kerran...
-
Palaaminen samaan aiheeseen... Eli Synaptic latasi uuden kernelin (2.6.17-11) vanhan (2.6.17-10) tilalle, niin graafisen käyttöliittymän lataamis vaiheessa tuli sekainen virheilmoitus, jossa sanottiin ettei ikkunointia voida käynnistää. Recovery tilassa muutin xorg.conf tiedostosta "Device" kohdan Driverin nvidiasta nv:ksi.
Tämän jälkeen x käynnistyy... mutta kuvan ylä ja alapuolella on mustat palkit. Näitä ei näy kun käytän analogista piuhaa, mutta haluaisin käyttää digitaalista, koska jotenkin miellän kuva paremmaksi sen avulla.
Tässä tämän hetkinen xorg.conf tiedosto
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"
FontPath "/usr/share/fonts/X11/misc"
# 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" "fi"
Option "XkbOptions" "lv3:ralt_switch"
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"
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 "NVIDIA Corporation NV34 [GeForce FX 5500]"
Driver "nv"
BusID "PCI:1:0:0"
Option "UseEdidFreqs" "false"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 30-82
VertRefresh 50-85
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV34 [GeForce FX 5500]"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1680x1050" "1440x900" "1280x800" "1024x768"
EndSubSection
SubSection "Display"
Depth 4
Modes "1680x1050" "1440x900" "1280x800" "1024x768"
EndSubSection
SubSection "Display"
Depth 8
Modes "1680x1050" "1440x900" "1280x800" "1024x768"
EndSubSection
SubSection "Display"
Depth 15
Modes "1680x1050" "1440x900" "1280x800" "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "1680x1050" "1440x900" "1280x800" "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1680x1050" "1440x900" "1280x800" "1024x768"
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
-
Eli tuossa äskeisessä mainitsemani sekainen virhe ilmoitus on seuraavanlainen:
X-palvelimen (Graafisen käyttöliittymän) näyttäminen ei onnistunut... halutako tarkastella tietoja...
ja tulosteesta sain poimittua seuraavan tekstin:
Failed to load the NVIDIA kernel module