Problema fglrx e dual screen che non se ne va

2 risposte [Ultimo messaggio]
Ritratto di willytax
willytax
(Newbie)
Offline
Newbie
Iscritto: 29/08/2008
Messaggi: 4

Salve a tutti, ho un problema che definirei demoniaco.
Ho un portatile acer aspire 5024 con scheda video ati mobility x700.
Ieri ho provato a configurare con sax2 la modalità dualhead, ma siccome avevo modificato manualmente il file xorg.conf la procedura non è andata a buon fine.
Ho provato con aticonfig e il nuovo file xorg. conf non funzionava.
Allora ripristino il vecchio xorg che diligentemente avevo messo da parte, riavvio e cosa succede? Praticamente che il monitor esterno sia collegato o meno mi ritrovo con gdm (uso gnome) che parte in modalità 2560x800 invece che 1280x800. Una volta loggato mi tocca cliccare sull'icona della risoluzione nel system tray e selezionare 1280x800.

Adesso vi posto il mio xorg.conf:

<br /># /.../ <br /># SaX generated X11 config file <br /># Created on: 2008-08-28T21:39:50+0200. # <br /># Version: 8.1 <br /># Contact: Marcus Schaefer &lt;sax@suse.de&gt;, 2005 <br /># Contact: SaX-User list &lt;https://lists.berlios.de/mailman/listinfo/sax-users&gt; # <br /># Automatically generated by [ISaX] (8.1) <br /># PLEASE DO NOT EDIT THIS FILE! #  <br />Section &quot;Files&quot;   <br />FontPath     &quot;/usr/share/fonts/misc:unscaled&quot;   <br />FontPath     &quot;/usr/share/fonts/local&quot;  <br />FontPath     &quot;/usr/share/fonts/75dpi:unscaled&quot;   <br />FontPath     &quot;/usr/share/fonts/100dpi:unscaled&quot;   <br />FontPath     &quot;/usr/share/fonts/Type1&quot;   <br />FontPath     &quot;/usr/share/fonts/URW&quot;   <br />FontPath     &quot;/usr/share/fonts/Speedo&quot;   <br />FontPath     &quot;/usr/share/fonts/PEX&quot;   <br />FontPath     &quot;/usr/share/fonts/cyrillic&quot;   <br />FontPath     &quot;/usr/share/fonts/latin2/misc:unscaled&quot;   <br />FontPath     &quot;/usr/share/fonts/latin2/75dpi:unscaled&quot;   <br />FontPath     &quot;/usr/share/fonts/latin2/100dpi:unscaled&quot;   <br />FontPath     &quot;/usr/share/fonts/latin2/Type1&quot;   <br />FontPath     &quot;/usr/share/fonts/latin7/75dpi:unscaled&quot;   <br />FontPath     &quot;/usr/share/fonts/baekmuk:unscaled&quot;   <br />FontPath     &quot;/usr/share/fonts/japanese:unscaled&quot;   <br />FontPath     &quot;/usr/share/fonts/kwintv&quot;   <br />FontPath     &quot;/usr/share/fonts/truetype&quot;  <br />FontPath     &quot;/usr/share/fonts/uni:unscaled&quot;   <br />FontPath     &quot;/usr/share/fonts/CID&quot;   <br />FontPath     &quot;/usr/share/fonts/ucs/misc:unscaled&quot;   <br />FontPath     &quot;/usr/share/fonts/ucs/75dpi:unscaled&quot;   <br />FontPath     &quot;/usr/share/fonts/ucs/100dpi:unscaled&quot;   <br />FontPath     &quot;/usr/share/fonts/hellas/misc:unscaled&quot;   <br />FontPath     &quot;/usr/share/fonts/hellas/75dpi:unscaled&quot;   <br />FontPath     &quot;/usr/share/fonts/hellas/100dpi:unscaled&quot;   <br />FontPath     &quot;/usr/share/fonts/hellas/Type1&quot;   <br />FontPath     &quot;/usr/share/fonts/misc/sgi:unscaled&quot;   <br />FontPath     &quot;/usr/share/fonts/xtest&quot;   <br />FontPath     &quot;/opt/kde3/share/fonts&quot;   <br />InputDevices &quot;/dev/gpmdata&quot;   <br />InputDevices &quot;/dev/input/mice&quot; <br />EndSection  Section <br />&quot;ServerFlags&quot;   <br />Option       &quot;AIGLX&quot; &quot;on&quot;   <br />Option       &quot;AllowMouseOpenFail&quot; &quot;on&quot;   <br />Option       &quot;IgnoreABI&quot; &quot;on&quot;   <br />Option       &quot;ZapWarning&quot; &quot;on&quot; EndSection  <br />Section &quot;Module&quot;   Load         &quot;dbe&quot;   <br />Load         &quot;type1&quot;   <br />Load         &quot;freetype&quot;   <br />Load         &quot;extmod&quot;   <br />Load         &quot;glx&quot;   <br />Load         &quot;dri&quot; <br />EndSection  <br />Section &quot;InputDevice&quot;   <br />Driver       &quot;kbd&quot;   <br />Identifier   &quot;Keyboard[0]&quot;   <br />Option       &quot;Protocol&quot; &quot;Standard&quot;   <br />Option       &quot;XkbLayout&quot; &quot;it&quot;   <br />Option       &quot;XkbModel&quot; &quot;pc102&quot;   <br />Option       &quot;XkbRules&quot; &quot;xfree86&quot; <br />EndSection   <br />Section &quot;InputDevice&quot;   <br />Driver       &quot;evdev&quot;   <br />Identifier   &quot;Mouse[1]&quot;   <br />Option       &quot;InputFashion&quot; &quot;Mouse&quot;   <br />Option       &quot;Name&quot; &quot;Logitech Media Play Mouse&quot;   <br />Option       &quot;Pass&quot; &quot;3&quot;   <br />Option       &quot;Vendor&quot; &quot;Sysp&quot;   <br />Option       &quot;evBits&quot; &quot;+1-2&quot;   <br />Option       &quot;keyBits&quot; &quot;~272-287&quot;   <br />Option       &quot;relBits&quot; &quot;~0-2 ~6 ~8&quot; <br />EndSection  <br />Section &quot;InputDevice&quot;   <br />Driver       &quot;synaptics&quot;   Identifier   &quot;Mouse[3]&quot;   <br />Option       &quot;Buttons&quot; &quot;5&quot;   <br />Option       &quot;Device&quot; &quot;/dev/input/mice&quot;   <br />Option       &quot;Emulate3Buttons&quot; &quot;on&quot;   <br />Option       &quot;HorizScrollDelta&quot; &quot;0&quot;   <br />Option       &quot;InputFashion&quot; &quot;Mouse&quot;   <br />Option       &quot;Name&quot; &quot;Synaptics;Touchpad&quot;   <br />Option       &quot;Protocol&quot; &quot;explorerps/2&quot;   <br />Option       &quot;SHMConfig&quot; &quot;on&quot;   <br />Option       &quot;Vendor&quot; &quot;Sysp&quot;   <br />Option       &quot;ZAxisMapping&quot; &quot;4 5&quot; <br />EndSection  <br />Section &quot;InputDevice&quot;   <br />Driver       &quot;mouse&quot;   Identifier   &quot;Mouse[5]&quot;   <br />Option       &quot;Buttons&quot; &quot;5&quot;   <br />Option       &quot;Device&quot; &quot;/dev/input/mice&quot;   <br />Option       &quot;Name&quot; &quot;ImPS/2 Generic Wheel Mouse&quot;   <br />Option       &quot;Protocol&quot; &quot;explorerps/2&quot;   <br />Option       &quot;Vendor&quot; &quot;Sysp&quot;   <br />Option       &quot;ZAxisMapping&quot; &quot;4 5&quot; EndSection   <br /><br />Section &quot;Monitor&quot;   <br />Option       &quot;CalcAlgorithm&quot; &quot;XServerPool&quot;   <br />DisplaySize  331 207   <br />HorizSync    30-62   <br />Identifier   &quot;Monitor[0]&quot;   <br />ModelName    &quot;SAMSUNG LCD MONITOR&quot;   <br />Option       &quot;DPMS&quot;   <br />Option       &quot;PreferredMode&quot; &quot;1280x800&quot;   <br />VendorName   &quot;SEC&quot;   VertRefresh  43-60   <br />#UseModes     &quot;Modes[0]&quot; <br />EndSection   <br />#Section &quot;Modes&quot; <br />#  Identifier   &quot;Modes[0]&quot; <br />#EndSection   <br /><br />Section &quot;Screen&quot;   <br />DefaultDepth 24   <br />SubSection &quot;Display&quot;     <br />Depth      15     <br />Modes      &quot;1280x800&quot; &quot;1280x768&quot; &quot;1280x720&quot; &quot;1024x768&quot; &quot;1280x600&quot; &quot;1024x600&quot; &quot;800x600&quot; &quot;768x576&quot; &quot;640x480&quot;    <br />EndSubSection   <br /><br />SubSection &quot;Display&quot;     <br />Depth      16     <br />Modes      &quot;1280x800&quot; &quot;1280x768&quot; &quot;1280x720&quot; &quot;1024x768&quot; &quot;1280x600&quot; &quot;1024x600&quot; &quot;800x600&quot; &quot;768x576&quot; &quot;640x480&quot;    <br />EndSubSection   <br />SubSection &quot;Display&quot;     <br />Depth      24     <br />Modes      &quot;1280x800&quot; &quot;1280x768&quot; &quot;1280x720&quot; &quot;1024x768&quot; &quot;1280x600&quot; &quot;1024x600&quot; &quot;800x600&quot; &quot;768x576&quot; &quot;640x480&quot;    <br />EndSubSection   <br />SubSection &quot;Display&quot;     <br />Depth      8     <br />Modes      &quot;1280x800&quot; &quot;1280x768&quot; &quot;1280x720&quot; &quot;1024x768&quot; &quot;1280x600&quot; &quot;1024x600&quot; &quot;800x600&quot; &quot;768x576&quot; &quot;640x480&quot;    <br />EndSubSection   <br />Device       &quot;Device[0]&quot;   <br />Identifier   &quot;Screen[0]&quot;   <br />Monitor      &quot;Monitor[0]&quot; <br />EndSection   <br /><br />Section &quot;Device&quot;   <br />BoardName    &quot;ATI MOBILITY RADEON X700 (M26 5653)&quot;   <br />Driver       &quot;fglrx&quot;   <br />Identifier   &quot;Device[0]&quot;   <br />Option       &quot;XAANoOffscreenPixmaps&quot; &quot;0xfe7470&quot;   <br />Option       &quot;Capabilities&quot; &quot;0xee3fc0&quot;   <br />Option       &quot;OpenGLOverlay&quot; &quot;0xe6d390&quot;   <br />Option       &quot;FSAAScale&quot; &quot;0xfea000&quot;   <br />Option       &quot;FSAAEnable&quot; &quot;0xfd2f90&quot;   <br />Option       &quot;VideoOverlay&quot; &quot;0xe6ddc0&quot;   <br />VendorName   &quot;ATI&quot; EndSection    <br /><br />Section &quot;ServerLayout&quot;   <br />Identifier   &quot;Layout[all]&quot;   <br />InputDevice  &quot;Keyboard[0]&quot; &quot;CoreKeyboard&quot;   <br />InputDevice  &quot;Mouse[1]&quot; &quot;CorePointer&quot;   <br />InputDevice  &quot;Mouse[3]&quot; &quot;SendCoreEvents&quot;   <br />InputDevice  &quot;Mouse[5]&quot; &quot;SendCoreEvents&quot;   <br />Option       &quot;Clone&quot; &quot;off&quot;   <br />Option       &quot;Xinerama&quot; &quot;off&quot;   <br />Screen       &quot;Screen[0]&quot; <br />EndSection   <br /><br />Section &quot;DRI&quot;     <br />Group      &quot;video&quot;     <br />Mode       0660 <br />EndSection  <br /><br />Section &quot;Extensions&quot;   <br />Option       &quot;Composite&quot; &quot;on&quot; <br />EndSection

Io non vedo nessun riferimento a 2560x800! Da dove prende gdm questa risoluzione!
Inoltre non è che lo schermo è deformato....è proprio come se il desktop fosse esteso su uno schermo che però non è collegato!
Ho provato anche a concellare xorg.conf, andare in init 3 ed eseguire nuovamente sax2. E anche in tale occasione, quando faccio la prova della configurazione mi appaiono due finestre di regolazione: una per display 0 e una per display 1, anche se poi in yast-->scheda video e monitor vedo solo un display.
Ho controllato anche le opzioni del bios, ma l'unica opzione per il dual monitor non ha effetti su questo maledetto problema.
Qualcuno ha idea di dove possa stare il problema?
Grazie e mi scuso per la lunghezza del post.

Ritratto di willytax
willytax
(Newbie)
Offline
Newbie
Iscritto: 29/08/2008
Messaggi: 4

up...dai ragazzi!possibile che nessuno sa risolvere il mio problema?
e io che pensavo di essere niubbo...
nessuno sa se oltre che da xorg gdm prende da qualche altra parte la risoluzione dello schermo?

Ritratto di willytax
willytax
(Newbie)
Offline
Newbie
Iscritto: 29/08/2008
Messaggi: 4

Ok...siccome nessuno mi aiutava mi sono dato da fare e ho trovato la soluzione al problema.
Siccome sono magnanimo (e per chi non l'avesse intuito anche modesto) posto la soluzione perchè sicuramente non sarò il solo ad aver avuto questo problema.
Sono andato a spulciarmi il log del server grafico e ho trovato che fglrx effettivamente rileva un virtual screen di 2560x800 e lo mette a disposizione del server grafico.
Resta la domanda: chi c..ç%o dice a X di usare tale risoluzione?
Beh googlando un bel po' ho scoperto che esiste un maledetto file in /etc/ati/ chiamato amdpcsdb.
Tale file contiene delle impostazioni che si vanno a sovrapporre alle opzioni date in xorg.conf.
Haivoglia a modificare lo xorg.conf...tutto veniva bypassato.

La soluzione in definitiva è:

sudo mv /etc/ati/amdpcsdb /etc/ati/amdpcsdb.bak

Togliendo il file se ne ricrea un'altro standard al succesivo riavvio e avrete di nuovo il vostro schermo impostato a 1280x800