DarkForge Forum

Forum principali => Software => Linux, Open Source e compilazione => Topic started by: Philip J. Fry on Tue 27 November 2007, 19:44

Title: [HELP][LINUX] Schermo "Fuori campo" all'avvio
Post by: Philip J. Fry on Tue 27 November 2007, 19:44
Ho dovuto re-installare da 0 gutsy, e già mentre usavo la Live il monitor mi dava un "Fuori campo" in continuazione...finita l'installazione, la situazione si è risolta una volta avviato il sistema, con l'installazione dei driver, ma all'avvio, nel caricamento di ubuntu e allo spegnimento mi da ancora Fuori campo, e l'immagine del logo e della barra è rimpicciolita e distorta.

Come posso fare?Compiz va benone...

Penso ci sia qualcosa che non va nello xorg.conf, o sbaglio?

Quote
# 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 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"
EndSection

Section "InputDevice"
   Identifier   "Generic Keyboard"
   Driver      "kbd"
   Option      "CoreKeyboard"
   Option      "XkbRules"   "xorg"
   Option      "XkbModel"   "pc105"
   Option      "XkbLayout"   "it"
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   "Generic Video Card"
   Driver      "nvidia"
   BusID      "PCI:1:0:0"
EndSection

Section "Monitor"
   Identifier   "Generic Monitor"
   Option      "DPMS"
   HorizSync   30-70
   VertRefresh   50-160
EndSection

Section "Screen"
   Identifier   "Default Screen"
   Device      "Generic Video Card"
   Monitor      "Generic Monitor"
   DefaultDepth   24
Option      "AddARGBGLXVisuals"   "True"
EndSection

Section "ServerLayout"
   Identifier   "Default Layout"
   Screen      "Default Screen"
   InputDevice   "Generic Keyboard"
   InputDevice   "Configured Mouse"

# Uncomment if you have a wacom tablet
#   InputDevice     "stylus"   "SendCoreEvents"
#   InputDevice     "cursor"   "SendCoreEvents"
#   InputDevice     "eraser"   "SendCoreEvents"
EndSection

Section "Extensions"
   Option      "Composite"   "Enable"
EndSection
Title: Re: [HELP][LINUX] Schermo "Fuori campo" all'avvio
Post by: MsZ on Wed 28 November 2007, 11:42
Prima di andare a vedere in xorg.conf, si deve sempre andare a vedere il log di Xorg... /var/log/Xorg.0.log

A parte questo, non ho visto la sottosezione "Display" in "Screen".

Quote
Section "Screen"
    Identifier  "Screen 1"
#    Device      "VESA Framebuffer"
    Device      "nVidia Linux Driver"
    Monitor     "My Monitor"
    DefaultDepth 24

    Subsection "Display"
        Depth       24
        Modes "1440x900" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1440x900" "1024x768" "800x600" "640x480"
    EndSubsection

EndSection

Sicuro che HorizSync e VertRefresh siano corretti?

Prova ad andare a vedere in Xorg.0.log. Se hai un gruppo di linee con scitto "Modeline", guarda subito sotto, ci dovrebbero essere due linee con il nome che hai dato al monitor, e con scritto "Using hsync range of" e "Using vrefresh of".
Di solito xorg -e il modulo della scheda, se c'è- riescono a probbare i valori esatti. Dovrebbero essere in Xorg.0.log, devi solo andarli a cercare.

Per il mio ASUS PW191 ho un hsync di 30-80 e un vrefresh di 55-75.
Title: Re: [HELP][LINUX] Schermo "Fuori campo" all'avvio
Post by: Philip J. Fry on Wed 28 November 2007, 13:37
La sezione Display proprio non c'è....

questo è il log, te lo allego...
Title: Re: [HELP][LINUX] Schermo "Fuori campo" all'avvio
Post by: Philip J. Fry on Wed 28 November 2007, 14:14
Ho modificato i valori, prendendoli dal manuale del monitor, ma non è cambiato nulla...

Quote
...
Section "Monitor"
   Identifier   "Generic Monitor"
   Option      "DPMS"
   HorizSync   31-60
   VertRefresh   56-75
EndSection
...
Title: Re: [HELP][LINUX] Schermo "Fuori campo" all'avvio
Post by: MsZ on Wed 28 November 2007, 14:22
Che monitor hai?
Title: Re: [HELP][LINUX] Schermo "Fuori campo" all'avvio
Post by: Philip J. Fry on Wed 28 November 2007, 14:26
Un LCD della NEC, il modello è LCD1511M, di qualche anno fa, 15pollici...
Title: Re: [HELP][LINUX] Schermo "Fuori campo" all'avvio
Post by: MsZ on Wed 28 November 2007, 17:47
Allora dovrebbe reggere fino a 1024x768.

Aggiungi 'ste righe alla sezione "Screen" in xorg.conf:

Code: [Select]
Subsection "Display"
      Depth    24
      Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
       Depth       32
       Modes "1024x768" "800x600" "640x480"
EndSubsection

Per problemi, /var/log/Xorg.0.log.
Title: Re: [HELP][LINUX] Schermo "Fuori campo" all'avvio
Post by: Philip J. Fry on Wed 28 November 2007, 21:46
Aggiunte, ma nessun cambiamento...ora è cosi:

Quote
# 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 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"
EndSection

Section "InputDevice"
   Identifier   "Generic Keyboard"
   Driver      "kbd"
   Option      "CoreKeyboard"
   Option      "XkbRules"   "xorg"
   Option      "XkbModel"   "pc105"
   Option      "XkbLayout"   "it"
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   "Generic Video Card"
   Driver      "nvidia"
   BusID      "PCI:1:0:0"
EndSection

Section "Monitor"
   Identifier   "Generic Monitor"
   Option      "DPMS"
   HorizSync   31-60
   VertRefresh   56-75
EndSection

Section "Screen"
   Identifier   "Default Screen"
   Device      "Generic Video Card"
   Monitor      "Generic Monitor"
   DefaultDepth   24
   Option      "AddARGBGLXVisuals"   "True"
Subsection "Display"
      Depth    24
      Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
       Depth       32
       Modes "1024x768" "800x600" "640x480"
EndSubsection
EndSection

Section "ServerLayout"
   Identifier   "Default Layout"
   Screen      "Default Screen"
   InputDevice   "Generic Keyboard"
   InputDevice   "Configured Mouse"

# Uncomment if you have a wacom tablet
#   InputDevice     "stylus"   "SendCoreEvents"
#   InputDevice     "cursor"   "SendCoreEvents"
#   InputDevice     "eraser"   "SendCoreEvents"
EndSection

Section "Extensions"
   Option      "Composite"   "Enable"
EndSection
Title: Re: [HELP][LINUX] Schermo "Fuori campo" all'avvio
Post by: MsZ on Thu 29 November 2007, 13:41
Provato a riconfigurare Xorg?
Code: [Select]
sudo dpkg-reconfigure -phigh xserver-xorg
Title: Re: [HELP][LINUX] Schermo "Fuori campo" all'avvio
Post by: Philip J. Fry on Fri 30 November 2007, 13:33
Provato, l'X non andava più e all'avvio avevo righe di colore in movimento sullo schermo e non riuscivo a fare il login perchè non si vedeva nulla....


Ora è così, ma continua a dare quel problema

Quote
Section "Monitor"
   Identifier   "Monitor Generico"
   Option      "DPMS"
   HorizSync   31-60
   VertRefresh   56-75
EndSection

Section "Screen"
   Identifier   "Default Screen"
   Device      "nVidia Corporation NV43 [GeForce 6600 GT]"
   Monitor      "Monitor Generico"
   DefaultDepth   24
   SubSection "Display"
      Modes      "1024x768"
   EndSubSection
   Option      "AddARGBGLXVisuals"   "True"
EndSection
Title: Re: [HELP][LINUX] Schermo "Fuori campo" all'avvio
Post by: MsZ on Fri 30 November 2007, 17:01
Comunque è meglio che tu faccia dei backup di xorg.conf prima di modificarlo.

Prova a cambiare driver allora: al posto di "nvidia" metti "nv" nella sezione "Device" alla voce "Driver", e commenta l'opzione "AddARGBGLXVisuals".
Se funziona ma poi hai dei problemi in X simili a quelli documentati qui (http://ubuntuforums.org/archive/index.php/t-392734.html), metti l'opzione nella sezione "Device", e aggiungi la riga
Code: [Select]
Option "DisableGLXRootClipping" "True"Oppure rifai la configurazione di nvidia facendo
Code: [Select]
sudo nvidia-xconfig --add-argb-glx-visualsse hai nvidia-xconfig. Non conosco questo aspetto, quindi ti sto indicando le cose un po' "alla cieca". :P

Potresti anche provare ad aggiungere l'opzione
Code: [Select]
Option "XAANoOffscreenPixmaps" "true"alla sezione "Device".

L'avevi sempre messa? Ti dava problemi anche prima?

Hai anche provato a controllare la risoluzione con control-alt-più o control-alt-meno?