PDA

View Full Version : Linux Mint e secondo monitor - Problemi all'avvio


MrO.
11-09-2007, 17:36
Ciao a tutti, forse ho combinato qualcosa..
Ho impostato il secondo schermo, dovendo collegare il mio Acer TravelMate ad un Sony Bravia via S-Video. Mi chiede il riavvio, eseguo, ma dopo il logo di Linux Mint, non compare più nulla.. schermata nera e nessun login. Che ho combinato? Grazie mille, ciao ciao

Gimli[2BV!2B]
11-09-2007, 21:49
Ma non vedi nulla ne dal monitor ne dall'S-video?

Senz'altro sei andato a modificare /etc/X11/xorg.conf, ma se hai usato un tool grafico\automatico chissà cos'è successo.

In ogni caso (salvo bug nella gestione del framebuffer come la mia dannata 6200go) premendo ctrl+alt+F1 potrai accedere al login testuale in console.
Loggati come root o esegui i comandi con sudo.
Quindi controlla se è stato creato un backup del tuo xorg.conf corretto:
cd /etc/X11/
ls -la

se sono presenti xorg.conf.bak o .backup o .save ecc.. controlla il più recente antecedente alla tua ultima problematica modifica e ripristinalo:
mv xorg.conf xorg.conf.provaSvideo
cp xorg.conf.estensioneDIquelloBACKUPPATO xorg.conf

Quindi controlliamo se tutto è tornato alla normalità:
reboot

(il ravvio è superfluo, ma è la cosa più veloce da spiegarti visto che non so se usi Kde o Gnome)


ALTRE OPZIONI IN CASO DI PROBLEMI

Se non c'è nessun backup:
cp xorg.conf xorg.conf.provaSvideo
dpkg-reconfigure xserver-xorg

Se non funziona il login testuale devi editare la voce di avvio in grub o avviare in modalità single user e poi tentare ciò che ho detto prima.


MA IL MONITOR S-VIDEO?

Ti ho fatto fare un backup del file attuale, in modo tale che potrai controllare le modifiche fatte dal programma, eventualmente documentati meglio on-line, non so darti dritte su cosa sia andato storto di preciso.

MrO.
12-09-2007, 09:07
Ok grazie, ora provo..

Comunque, ora non c'entra più l'S-video, perchè è proprio da notebook che non vedo più una cippa. Ero entrato in amministrazione>opzioni monitor (o simile) perchè collegando l'S-video non vedevo il secondo schermo. Difatti era disattivato, l'ho attivato e mi ha detto che era necessario riavviare il server-X. Dopo il reboot non ho più visto nulla che compaia dopo il logo.

MrO.
12-09-2007, 11:50
Mhh.. con un altro monitor scopro che posso vedere il login (forse ho capito cos'è successo, e che potrebbe non essere un problema), ma non quello grafico. Una volta inseriti utente e pass mi rimane quindi a linea di comando. Come passo da questo al login grafico? Non riconosce il comando kde..

Gimli[2BV!2B]
12-09-2007, 19:10
Se vuoi provare ad avviare la grafica usa startx o startkde o sudo /etc/init.d/kdm restart.

Se non funziona fai quel che t'ho detto prima:

Loggati come root o esegui i comandi con sudo.
Quindi controlla se è stato creato un backup del tuo xorg.conf corretto:
cd /etc/X11/
ls -la

se sono presenti xorg.conf.bak o .backup o .save ecc.. controlla il più recente antecedente alla tua ultima problematica modifica e ripristinalo:
mv xorg.conf xorg.conf.provaSvideo
cp xorg.conf.estensioneDIquelloBACKUPPATO xorg.conf

Quindi controlliamo se tutto è tornato alla normalità:
reboot

Se non c'è nessun backup:
cp xorg.conf xorg.conf.provaSvideo
dpkg-reconfigure xserver-xorg

Se dovrai riconfigurare xorg devi conoscere almeno la risoluzione del monitor e il modello della scheda video.

MrO.
17-09-2007, 08:43
Mi viene da ridere.. adesso vi racconto.

controlla se è stato creato un backup del tuo xorg.conf corretto
Purtroppo, non c'è niente..

Se non c'è nessun backup:
cp xorg.conf xorg.conf.provaSvideo
dpkg-reconfigure xserver-xorg

E ok, mi faccio tutta la trafila. Ah, specifico che sono ormai collegato tramite vga al secondo schermo perchè quello del portatile è morto (non fisicamente, a reinstallare il sistema torna tutto normale) mentre il secondo va. Dopo aver riconfigurato il server x mi funziona anche lo startx (prima mi diceva che aveva problemi nel trovare un monitor) e mi parte l'interfaccia grafica... solo sul secondo monitor. Se stacco il vga non ho nulla e anche in amministrazione è come se ora questo secondo monitor fosse il primo. Durante la configurazione mi ha parlato dei bus per la scheda video.. possibile che c'entrino quelli? Sono l'unica cosa, insieme ai driver (e questi perchè non mi hanno dato nessun problema), che ho lasciato settare totalmente a lui. Ciao, grazie mille

Gimli[2BV!2B]
17-09-2007, 23:27
Fa una cosa, prova a postare xorg.conf, o allegalo, così cerchiamo di capire cosa diavolo sta succedendo a questi monitor.

Purtroppo penso tu abbia capito che xorg.conf è uno dei files più odiati quando si comincia ad avere a che fare col pinguino e lo gnu... Ma per fortuna stanno cercando di renderlo un po' più amichevole.

MrO.
18-09-2007, 08:27
Grazie che mi stai dietro.. Dunque, ecco:

xorg.conf etc/X11/

# /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" "it"
Option "XkbOptions" "lv3:ralt_switch"
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"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
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 "Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
Driver "i810"
BusID "PCI:0:2:0"
Option "UseFBDev" "true"
EndSection

Section "Monitor"
Identifier "LG"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
Monitor "LG"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "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"
InputDevice "Synaptics Touchpad"
EndSection

Section "DRI"
Mode 0666
EndSection

[LG è il nome che ho dato al secondo monitor riconfigurando il server x]

xorg.conf usr/share/xresprobe/

# bare-bones XFree86 config to start the server in probe-only mode
Section "Files"
FontPath "/usr/share/X11/fonts/misc"
RgbPath "/etc/X11/rgb.txt"
EndSection
Section "ServerFlags"
Option "AllowMouseOpenFail"
EndSection
Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "extmod"
Load "freetype"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
EndSection
Section "Device"
Identifier "Generic Device"
Driver ":: DRIVER::"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Generic Device"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Generic Mouse"
EndSection

E' come se lui accettasse di gestire un nuovo monitor.. ma non contemporaneamente all'altro. Eppure, nella configurazione ho provato sia "Clone primary screen", che il "Dual screen", ma il risultato è lo stesso. Ciao, grazie ancora

Gimli[2BV!2B]
18-09-2007, 20:14
Non mi salta all'occhio nulla in particolare...
I driver i810 hanno una gestione dual-head che sembra abbastanza avanzata, ho provato ad imporre il Local Flat Panel come unico video presente (Option "MonitorLayout" "NONE,LFP"), vediamo se funziona...

Una cosa, che risoluzione ha il tuo monitor interno? 1024x768 era comune anni fa, ma non hai precisato il modello del pc, quindi non ho dati per impostare quella corretta.

In ogni caso ecco il file di uno che si è già districato un po' nel dual head della sua scheda video: Henrik xorg.conf (http://henrik.synth.no/xorg/xorg.conf).
Non pensare nemmeno di sostituirlo alla cieca, ma se non puoi rinunciare al doppio monitor puoi provare ad usarlo come riferimento.

# /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" "it"
Option "XkbOptions" "lv3:ralt_switch"
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"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection

Section "Device"
Identifier "Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
Driver "i810"
BusID "PCI:0:2:0"
Option "MonitorLayout" "NONE,LFP"
EndSection

Section "Monitor"
Identifier "Internal display"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
Monitor "Internal display"
DefaultDepth 24

SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

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

Section "DRI"
Mode 0666
EndSection