Newsgroup: it.comp.os.linux.iniziare
Titolo: Ubuntu e monitor sconosciuto

Dopo l'installazione di ubuntu 9.04 il monitor non
viene riconosciuto. E' un LG modello W1943SB.
Il problema e' che mi fa settare solo le risoluzioni 1024x768, 800x600 e 
640x480.
Non potendo settare la risoluzione nativa 1366x768 il monitor si vede 
malissimo.
Ho provato ad istallare i driver della scheda video Geforce 6600LE tramite 
ma al successivo
riavvio il monitor resta nero. Allora ho formattato e reistallato ubuntu e 
ho provato a
modificare solo il file xorg.conf ma non succede nulla. Come se non avessi 
fatto nessuna modifica.
Posto il file in questione:
# xorg.conf (X.Org 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 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.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# 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 "Device"
 Identifier "Configured Video Device"
EndSection
Section "Monitor"
 Identifier "Configured Monitor"
 VendorName "LG"
 ModelName  "W1943SB"
 HorizSync 30.0 - 83.0
 VertRefresh 56.0 - 75.0
EndSection
Section "Screen"
 Identifier "Default Screen"
 Monitor  "Configured Monitor"
 Device  "Configured Video Device"
        DefaultDepth     16
 SubSection "Display"
  Depth     24
  Modes    "1366x768" "1024x768"   "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth     16
  Modes    "1366x768" "1024x768"   "800x600" "640x480"
 EndSubSection
EndSection

 fatto nessuna modifica.
Ma hai riavviato X dopo? Sicuro che stia usando quel file xorg ?
Suggerimento: configurati il sistema per avviarsi in modalita' testo,
cosi' puoi provare e smanettare con il file di configurazione ed
essere sicuro che legge quello giusto.
Davide

 fatto nessuna modifica.
]zac[
Dopo le modifiche l'X server va riavviato, poi bisogna controllare
in /var/log (o altro posto) gli errori/avvisi di X in fase di avvio.
Per esempio potrebbe essere, per vari motivi, che X si rifiuti di utilizzare
alcune risoluzione perché non sono gestite dal modulo della scheda video o
del monitor, e quindi finisce per utilizzare risoluzioni più basse di
quelle volute.
Se lo schermo resta nero potrebbe essere che la risoluzione o la frequenza
di aggiornamento impostata sia troppo alta o sbagliata per il monitor.
In ogni caso non serve riformattare, ma basta andare in console testuale e
usare i comandi di riconfigurazione della scheda video e del monitor (il
metodo varia da distribuzione a distribuzione).

 riavvio il monitor resta nero.
Bene. Attiva una consolle con CTRL-ALT-F2 e vai a vedere in /var/log/
Xorg.log che cosa ti dice.
Innanzitutto ti ringrazio moltissimo per l'aiuto.
Allora, quello che faccio e' cosi.
Da Applicazioni -> Add/Remove installo i pacchetti:
Nvidia X server Setting
Driver binari Nvidia per X.org 173
Alla fine dell'istallazione lancio Nvidia X server setting e mi esce un 
errore:
"Sembra che non stai usando Nvidia X driver, esegui nvidia-conf da root e 
restarta X"
Lo faccio, eseguo il file e restarto X con:
sudo /etc/init.d/gdm stop
sudo startx
A questo punto lo schermo resta completamente nero.
Dal file di log purtroppo non ci capisco nulla. Eccolo qua:
-------------------------------------------------------------
X.Org X Server 1.6.0
Release Date: 2009-2-25
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-23-server i686 Ubuntu
Current Operating System: Linux cam-desktop 2.6.28-16-generic #55-Ubuntu SMP 
Tue Oct 20 19:48:24 UTC 2009 i686
Build Date: 09 April 2009  02:10:02AM
xorg-server 2:1.6.0-0ubuntu14 (bui...@rothera.buildd)
 Before reporting problems, check 
http://wiki.x.org
 to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Oct 25 16:27:54 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) No Layout section.  Using the first Screen section.
(**) |-->Screen "Default Screen" (0)
(**) |   |-->Monitor "Configured Monitor"
(**) |   |-->Device "Configured Video Device"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
 Entry deleted from font path.
(==) FontPath set to:
 /usr/share/fonts/X11/misc,
 /usr/share/fonts/X11/100dpi/:unscaled,
 /usr/share/fonts/X11/75dpi/:unscaled,
 /usr/share/fonts/X11/Type1,
 /usr/share/fonts/X11/100dpi,
 /usr/share/fonts/X11/75dpi,
 /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
 built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) Cannot locate a core pointer device.
(II) Cannot locate a core keyboard device.
(II) The server relies on HAL to provide the list of input devices.
 If no devices become available, reconfigure HAL or disable AllowEmptyInput.
(II) Loader magic: 0x3bc0
(II) Module ABI versions:
 X.Org ANSI C Emulation: 0.4
 X.Org Video Driver: 5.0
 X.Org XInput driver : 4.0
 X.Org Server Extension : 2.0
(II) Loader running on linux
(--) using VT number 7
(--) PCI:*(0@1:0:0) nVidia Corporation NV43 [GeForce 6600] rev 162, Mem @ 
0xde000000/16777216, 0xe0000000/268435456, 0xdd000000/16777216, BIOS @ 
0x????????/131072
(II) Open ACPI successful (/var/run/acpid.socket)
(II) System resource ranges:
 [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
 [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
 [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
 [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
 [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
 [5] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
 compiled for 1.6.0, module version = 1.0.0
 Module class: X.Org Server Extension
 ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
 compiled for 1.6.0, module version = 1.0.0
 Module class: X.Org Server Extension
 ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
 compiled for 4.0.2, module version = 1.0.0
 Module class: X.Org Server Extension
(II) NVIDIA GLX Module  173.14.16  Sat Jan 24 20:08:33 PST 2009
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
 compiled for 1.6.0, module version = 1.13.0
 Module class: X.Org Server Extension
 ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
 compiled for 1.6.0, module version = 1.0.0
 ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions//libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
 compiled for 1.6.0, module version = 1.0.0
 ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/modules/drivers//nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
 compiled for 4.0.2, module version = 1.0.0
 Module class: X.Org Video Driver
(II) NVIDIA dlloader X Driver  173.14.16  Sat Jan 24 19:48:05 PST 2009
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 01@00:00:0
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules//libfb.so
(II) Module fb: vendor="X.Org Foundation"
 compiled for 1.6.0, module version = 1.0.0
 ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "wfb"
(II) LoadModule: "wfb"
(II) Loading /usr/lib/xorg/modules//libwfb.so
(II) Module wfb: vendor="X.Org Foundation"
 compiled for 1.6.0, module version = 1.0.0
 ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(II) resource ranges after probing:
 [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
 [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
 [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
 [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
 [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
 [5] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Enabling RENDER acceleration
(II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions 
is
(II) NVIDIA(0):     enabled.
(II) NVIDIA(0): NVIDIA GPU GeForce 6600 (NV43) at PCI:1:0:0 (GPU-0)
(--) NVIDIA(0): Memory: 131072 kBytes
(--) NVIDIA(0): VideoBIOS: 05.43.02.64.00
(II) NVIDIA(0): Detected AGP rate: 4X
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(--) NVIDIA(0): Connected display device(s) on GeForce 6600 at PCI:1:0:0:
(--) NVIDIA(0):     LG W1943 (CRT-0)
(--) NVIDIA(0): LG W1943 (CRT-0): 400.0 MHz maximum pixel clock
(II) NVIDIA(0): Assigned Display Device: CRT-0
(WW) NVIDIA(0): No valid modes for "1366x768"; removing.
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0):     "1024x768"
(II) NVIDIA(0):     "800x600"
(II) NVIDIA(0):     "640x480"
(II) NVIDIA(0): Virtual screen size determined to be 1024 x 768
(--) NVIDIA(0): DPI set to (63, 84); computed from "UseEdidDpi" X config
(--) NVIDIA(0):     option
(==) NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
 [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]
 [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
 [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
 [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
 [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
 [5] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]
(II) NVIDIA(0): Initialized AGP GART.
(II) NVIDIA(0): Initialized AGP GART.
(II) NVIDIA(0): Initialized AGP GART.
(II) NVIDIA(0): Initialized AGP GART.
(II) NVIDIA(0): Initialized AGP GART.
(II) NVIDIA(0): Initialized AGP GART.
(II) NVIDIA(0): Initialized AGP GART.
(II) NVIDIA(0): Initialized AGP GART.
(II) NVIDIA(0): Initialized AGP GART.
(EE) NVIDIA(0): Error recovery failed.
(EE) NVIDIA(0):  *** Aborting ***
(II) NVIDIA(0): Setting mode "1024x768"
(II) NVIDIA(0): Initialized AGP GART.
(II) NVIDIA(0): Initialized AGP GART.
(II) NVIDIA(0): Initialized AGP GART.
(II) NVIDIA(0): Initialized AGP GART.
(II) NVIDIA(0): Initialized AGP GART.
(II) NVIDIA(0): Initialized AGP GART.
(II) NVIDIA(0): Initialized AGP GART.
(WW) NVIDIA(0): The NVIDIA X driver has encountered too many errors. 
Falling
(WW) NVIDIA(0):     back to legacy PCI mode.
(II) NVIDIA(0): Initialized AGP GART.
(II) Loading extension NV-GLX
(II) NVIDIA(0): Initialized AGP GART.
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(II) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(==) RandR enabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing extension GLX
(II) config/hal: Adding input device AT Translated Set 2 keyboard
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input//evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
 compiled for 1.6.0, module version = 2.1.1
 Module class: X.Org XInput Driver
 ABI class: X.Org XInput driver, version 4.0
(**) AT Translated Set 2 keyboard: always reports core events
(**) AT Translated Set 2 keyboard: Device: "/dev/input/event3"
(II) AT Translated Set 2 keyboard: Found keys
(II) AT Translated Set 2 keyboard: Configuring as keyboard
(II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" 
(type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) AT Translated Set 2 keyboard: xkb_rules: "evdev"
(**) Option "xkb_model" "pc105"
(**) AT Translated Set 2 keyboard: xkb_model: "pc105"
(**) Option "xkb_layout" "it"
(**) AT Translated Set 2 keyboard: xkb_layout: "it"
(II) config/hal: Adding input device Macintosh mouse button emulation
(**) Macintosh mouse button emulation: always reports core events
(**) Macintosh mouse button emulation: Device: "/dev/input/event2"
(II) Macintosh mouse button emulation: Found 3 mouse buttons
(II) Macintosh mouse button emulation: Found x and y relative axes
(II) Macintosh mouse button emulation: Configuring as mouse
(**) Macintosh mouse button emulation: YAxisMapping: buttons 4 and 5
(**) Macintosh mouse button emulation: EmulateWheelButton: 4, 
EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Macintosh mouse button emulation" 
(type: MOUSE)
(**) Macintosh mouse button emulation: (accel) keeping acceleration scheme 1
(**) Macintosh mouse button emulation: (accel) filter chain progression: 
2.00
(**) Macintosh mouse button emulation: (accel) filter stage 0: 20.00 ms
(**) Macintosh mouse button emulation: (accel) set acceleration profile 0
(II) config/hal: Adding input device B16_b_02 USB-PS/2 Optical Mouse
(**) B16_b_02 USB-PS/2 Optical Mouse: always reports core events
(**) B16_b_02 USB-PS/2 Optical Mouse: Device: "/dev/input/event4"
(II) B16_b_02 USB-PS/2 Optical Mouse: Found 8 mouse buttons
(II) B16_b_02 USB-PS/2 Optical Mouse: Found x and y relative axes
(II) B16_b_02 USB-PS/2 Optical Mouse: Configuring as mouse
(**) B16_b_02 USB-PS/2 Optical Mouse: YAxisMapping: buttons 4 and 5
(**) B16_b_02 USB-PS/2 Optical Mouse: EmulateWheelButton: 4, 
EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "B16_b_02 USB-PS/2 Optical Mouse" 
(type: MOUSE)
(**) B16_b_02 USB-PS/2 Optical Mouse: (accel) keeping acceleration scheme 1
(**) B16_b_02 USB-PS/2 Optical Mouse: (accel) filter chain progression: 2.00
(**) B16_b_02 USB-PS/2 Optical Mouse: (accel) filter stage 0: 20.00 ms
(**) B16_b_02 USB-PS/2 Optical Mouse: (accel) set acceleration profile 0
(II) B16_b_02 USB-PS/2 Optical Mouse: Close
(II) UnloadModule: "evdev"
(II) Macintosh mouse button emulation: Close
(II) UnloadModule: "evdev"
(II) AT Translated Set 2 keyboard: Close
(II) UnloadModule: "evdev"
 ddxSigGiveUp: Closing log

 (II) NVIDIA(0): Initialized AGP GART.
]zac[
Potrebbe essere il modulo della scheda video buggatto o non del
tipo/versione giusto, o problemi con la scheda madre (bios, kernel, ecc.).
Potresti provare ad utilizzare il modulo svga o simile invece del modulo
della nvidia, tanto per vedere se cambia qualcosa (non ha accelerazione 3D
e altre cose simili).

 Ho provato ad istallare i driver della scheda video Geforce 6600LE tramite 
Installa i driver da riga di comando (facendogli modificare il file 
xorg.conf)
Poi modifica la sezione di xorg.conf cosi:
Section "Device"
     Identifier     "Nvidia 6600"
     Driver         "nvidia"
     Option         "NoLogo" "true"
     Option         "RandRRotation" "true"
     Option         "UseEDID" "false"
EndSection
E nella sezione "Screen", alla voce "Device", mettici "Nvidia 6600"
E setta per il tuo monitor i valori corretti in questa sezione (questi 
sono i miei):
Section "Monitor"
     Identifier     "Benq FP931"
     HorizSync       57.6 - 82.0
     VertRefresh     60.0 - 77.0
     Option         "DPMS"
EndSection
A me lo faceva perché l'EDID 
(
http://en.wikipedia.org/wiki/Extended_display_identification_data
) del 
mio monitor non veniva visto correttamente dalla mia Nvidia 6200.
-- 
GenTLe ...di Varese, provincia.
La mia HP: 
http://digilander.iol.it/thegentle/index.htm
La vita è fatta anche di ardue scelte, tipo: "Un cuba... O una birra 
media???"

 tipo/versione giusto, o problemi con la scheda madre (bios, kernel, ecc.).
Mi pare che il modulo venga caricato ok, trova la scheda e tutto, ma
si lamenta che nessuna modalita' di quelle che lui conosce si adatta
con la risoluzione che tu gli hai dato. Forse devi aggiungere dei
modeline per quel monitor. Provato a cercare con google?
Davide

 fatto nessuna modifica. 
col nuovo X sembra non basti creare semplicemente lo xorg.conf, devi 
esplicitamente disattivare l'impicciamento di udev o quel che è, prova a 
leggere qui:
http://www.slacky.eu/wikislack/index.php?title=Consigli_e_problemi_noti_della_13.0
r
-- 
Abruzzo 2009: dopo 162 giorni consegnati 47 chalet per 200 persone.
Irpinia 1981: dopo 122 giorni consegnati 150 chalet per 450 persone.
Un Minuto Per Favore:
Home Page, The Pentangle, I Salon di Baudelaire: 
http://www.umpf.net

> (II) NVIDIA(0): Initialized AGP GART.
]zac[
Questi errori mi sembrano sospetti, e mi fanno supporre qualche problema di
funzionamento del modulo della scheda video.