Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
2897 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs
  Hardware

  [RESOLU] ATI + Md2006 => clone screen ?

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

[RESOLU] ATI + Md2006 => clone screen ?

n°807960
cartemere
Posté le 07-05-2006 à 16:05:51  profilanswer
 

Bonjour à tous,
 
Je suis le (malheureux) possesseur d'une radeon X700 sur mon PC portable, et je dois réaliser une soutenance sur un projet réalisé sur une (malheureuse) Mandriva 2006... vraiment pas de chance me direz vous, mais je dois faire avec c'est comme ça :whistle:  
Ma distrib tourne correctement (avec les repos non officiels :sarcastic: seerofsouls.com), les drivers ati sont installés et configurés (glxgears fonctionne, accélération matérielle opérationnelle, etc.)
 
Mon souci est le suivant :
Je veux utiliser deux écrans à la fois, sous une résolution différente. Il s'agit donc d'un mode clone !
 
1400x1050 @ 60Hz pour mon écran principal de portable
1024x768 @60Hz pour la sortie VGA (pour la connecter sans encombre sur un video projecteur)
Pas la peine de me parler de mode mirroir (les résolutions des deux écrans sont identiques) ni des modes classiques dualview (bureau séparé sur deux écrans de même résolution), ça je sais faire, mais j'en n'ai pas besoin  :cry:  
 
configuration :
ASUS V6Va
Centrino Sonoma
Radeon X700 128Mo DDR
video :
- ecran TFT 1400X1050
- sortie VGA
- PAS DE SORTIE TV
 
Mandriva 2006.0
Kernel :  2.6.14-2mdk-i686-up-4GB  (provenance seerofsouls.com, les kernels officiels sont assez instables sur les configs récentes)
ATI      :  8.24.8
 
solutions testées :
- Les drivers ati propriétaires étant d'une qualité exemplaire (oui c'est ironique), la configuration de l'affichage par l'intermédiaire du soft aticonfig avec la commande "aticonfig --dtop=clone" ne donne rien (ne change pas la configuration actuelle : si je suis en dual-view, alors je resterai en dual-view, si je suis en mirroir, je resterai en mirroir, etc.)... Bref pas moyen de compter sur le travail des stagiaires non rémunérés d'ATI (... ah bon, ils sont réumnérés pour ce type de boulot ?!  :ange: ).
=> dites moi quand même si vous voyez une erreur de manip ;)  
 
- le mode dual-view ne permet pas de modifier manuellement la résolution de chacun des écrans de sortie : ils se cadrent tous sur le même modèle
 
- la doc des drivers ATI est aussi bonne que les drivers eux mêmes... no comment !
 
- j'ai recherché partout sur le net et sur le forum : rien de concluant. C'est soit pour du mode dual-view, soit pour du mirroir, mais jamais de clone...
 
- Je ne peux pas changer ma carte graphique (ce que j'aurais fait volontier pour une nVidia)... donc Vive ATI sous Linux !
 
- Je n'ai pas envie de rajouter une couche logicielle pour gérer un mode mirroir sur deux écrans, sauf si vous avez une manip simple, rapide et efficace (dans ce cas je suis preneur)
 
fichiers de config :
Je penche donc pour l'édition à l'ancienne du fichier de config xorg.conf dont voici le contenu :

Code :
  1. Section "ServerLayout"
  2. Identifier     "layout1"
  3. Screen         "screen1"
  4. Screen         "screen2"
  5. InputDevice    "Keyboard1" "CoreKeyboard"
  6. InputDevice    "Mouse1" "CorePointer"
  7. InputDevice    "SynapticsMouse1" "AlwaysCore"
  8. EndSection
  9. Section "Files"
  10. FontPath     "unix/:-1"
  11. EndSection
  12. Section "Module"
  13. Load  "dbe" # Double-Buffering Extension
  14. Load  "v4l" # Video for Linux
  15. Load  "extmod"
  16. Load  "type1"
  17. Load  "freetype"
  18. Load  "synaptics"
  19. Load  "glx" # 3D layer
  20. Load  "dri" # direct rendering
  21. EndSection
  22. Section "ServerFlags"
  23.     #DontZap # disable <Crtl><Alt><BS> (server abort)
  24.     # allows the server to start up even if the mouse does not work
  25.     #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
  26. Option     "allowmouseopenfail"
  27. EndSection
  28. Section "InputDevice"
  29. Identifier  "Keyboard1"
  30. Driver      "keyboard"
  31. Option     "XkbModel" "pc105"
  32. Option     "XkbLayout" "fr"
  33. Option     "XkbOptions" "compose:rwin"
  34. EndSection
  35. Section "InputDevice"
  36. Identifier  "Mouse1"
  37. Driver      "mouse"
  38. Option     "Protocol" "ExplorerPS/2"
  39. Option     "Device" "/dev/mouse"
  40. Option     "ZAxisMapping" "6 7"
  41. EndSection
  42. Section "InputDevice"
  43. Identifier  "SynapticsMouse1"
  44. Driver      "synaptics"
  45. Option     "Protocol" "auto-dev"
  46. Option     "Device" "/dev/input/mice"
  47. Option     "MaxSpeed" "0.18"
  48. Option     "MinSpeed" "0.09"
  49. Option     "BottomEdge" "4200"
  50. Option     "SHMConfig" "on"
  51. Option     "FingerLow" "25"
  52. Option     "LeftEdge" "1700"
  53. Option     "MaxTapMove" "220"
  54. Option     "MaxTapTime" "180"
  55. Option     "FingerHigh" "30"
  56. Option     "VertScrollDelta" "100"
  57. Option     "RightEdge" "5300"
  58. Option     "TopEdge" "1700"
  59. Option     "AccelFactor" "0.0015"
  60. EndSection
  61. ###########  SCREENS ##########
  62. Section "Screen"
  63. # ASUS Main screen
  64. Identifier "screen1"
  65. Device     "device1"
  66. Monitor    "monitor1"
  67. DefaultDepth     24
  68. SubSection "Display"
  69.  Modes   "1400x1050" "1280x1028" "1024x768"
  70.  Depth     24
  71. EndSubSection
  72. EndSection
  73. Section "Screen"
  74. # External VGA
  75. Identifier "screen2"
  76. Device     "device2"
  77. Monitor    "monitor2"
  78. DefaultDepth     24
  79. SubSection "Display"
  80.  Modes   "1024x768"
  81.  Depth     24
  82. EndSubSection
  83. EndSection
  84. ########## MONITORS ###########
  85. Section "Monitor"
  86. # ASUS Main screen
  87. Identifier   "monitor1"
  88. VendorName   "ASUS"
  89. ModelName    "Main screen 1400x1050"
  90. HorizSync    31.5 - 90.0
  91. VertRefresh  59.0 - 75.0
  92. ModeLine     "1400x1050_60" 122.6 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
  93. ModeLine     "1400x1050_50" 99.9 1400 1480 1624 1848 1050 1051 1054 1081 -hsync +vsync
  94. EndSection
  95. Section "Monitor"
  96. # External VGA
  97. HorizSync    31.5 - 90.0
  98. VertRefresh  59.0 - 75.0
  99. Identifier   "monitor2"
  100. VendorName   "ASUS"
  101. ModelName    "External VGA 1024x768"
  102. ModeLine     "1024x768_60" 139.9 1024 1072 1312 1408 768 770 782 808 -hsync +vsync
  103. EndSection
  104. ######### DEVICES ########
  105. Section "Device"
  106. # Main screen device
  107.     # === Screen Management ===
  108. Identifier  "device1"
  109. Screen      0
  110. Driver      "fglrx"
  111. BoardName   "ATI Radeon (fglrx)"
  112. Option     "DPMS"
  113.     # === disable/enable XAA/DRI ===
  114. Option     "no_accel" "no"
  115. Option     "no_dri" "no"
  116.     # === FireGL DDX driver module specific settings ===
  117. Option     "MonitorLayout" "LVDS, AUTO"
  118.     # === Video Overlay for the Xv extension ===
  119. Option     "VideoOverlay" "on"
  120. Option     "PowerState" "1"
  121. EndSection
  122. Section "Device"
  123. # external VGA device
  124.     # === Screen Management ===
  125. Identifier  "device2"
  126. Screen      1
  127. Driver      "fglrx"
  128. BoardName   "ATI Radeon (fglrx)"
  129. Option     "DPMS"
  130.     # === disable/enable XAA/DRI ===
  131. Option     "no_accel" "no"
  132. Option     "no_dri" "no"
  133.     # === FireGL DDX driver module specific settings ===
  134. Option     "MonitorLayout" "LVDS, AUTO"
  135.     # === Video Overlay for the Xv extension ===
  136. Option     "VideoOverlay" "on"
  137. Option     "PowerState" "1"
  138. EndSection


 
et en démarrant X là dessus, je me retrouve avec deux écrans identiques, sous une résolution identique (1400x1050)... soit un joli mode mirroir...
 
Des idées ?
Merci d'avance...


Message édité par cartemere le 07-05-2006 à 23:31:50
mood
Publicité
Posté le 07-05-2006 à 16:05:51  profilanswer
 

n°808021
xavier117
Posté le 07-05-2006 à 22:48:24  profilanswer
 

Vénérable "cartemere"
 
Je bidouille sur un problème similaire au tien. En octobre, j'avais résolu le problème du daul head sur un portable avec une radeon 9700. J'utilisais Xorg version 6.8.beaucoup et les drivers ATI 8.16.20. Entre autres j'avais une config dual screen (lcd / videoproj)  en mode non clone qui marchait plutot bien (voir tres bien).
 
C'était très facile de générer cette configuration car en lançant fglrxconfig puis en indiquant le modes dual-head, il te disais quels étaientt les modes spécifiques aux portables (laptops). je tiens a ta disposition les fichier xorg.conf pour différents cas.
 
Neamoins depuis nous sommes passés en xorg 6.9 et les drivers ati 8.16.20 ne passent pas, les modes specifiques aux portables n'existent plus (dans fglrxconfig et aticonfig) et les anciens fichiers xorg.conf ne fonctionnent plus ...
 
Je soupçonne qu'il faille passer des options supplémentaire au serveur X, mais je ne sais pas les quelles ....
Par contre si tu es encore sous Xorg<6.9 je t'envois les fichiers de conf de X et ca marchera certainement.
 
J'en suis tout déprimé  :??:  
 
xavier117

n°808031
cartemere
Posté le 07-05-2006 à 23:31:15  profilanswer
 

Bon j'ai trouvé la solution à mon problème !
 
Plusieurs choses à savoir pour les personnes qui veulent configurer leur carte ATI :
 
- Ne pas compter sur les paramètres pouvant être passés à "aticonfig", du genre

Code :
  1. --resolution2=W1xH1,W2xH2

car ça ne change ABSOLUMENT rien (un diff sur le fichier avant et aprè config ne montre aucun changement !!!)
Vraiment du n'importe quoi de mettre dans le HowTo des paramètres qui ne sont pas implémentés  :sarcastic: ... une fois qu'on le sait on fait sans, mais avant de le découvrir on perd pas mal de temps
 
- Si une configuration faite par "aticonfig" ne convient pas, il faut impérativement récupérer le backup généré (ou faute d'avoir gardé le backup relancer XFdrake pour regénérer une config Xorg "de base" ) : l'utilitaire "aticonfig" n'est pas capable de rétro-agir sur une configuration qu'il a déjà modifiée...
 
- L'utilitaire "aticonfig" est grandement incomplet et ne permet pas directement la configuration d'un mode clone => c'est un mode mirroir qui est généré puisque aucune information n'est spécifiée sur les résolutions du second écran, et par conséquent une extension de l'écran principal est réalisée... Il faut donc les rajouter à la main, tout comme les paramètres de configuration des modeLine et refresh.
 
Je place ici le code de mon Xorg pour avoir un aperçu rapide de la configuration à appliquer.
Dans ce modèle, l'écran principal est en 1400x1050 et le second en 1280x1024.
 

Code :
  1. Section "ServerLayout"
  2. Identifier     "layout1"
  3. #*************************
  4. # DECLARATION ECRAN PRINCIPAL
  5. #*************************
  6. Screen         "screen1" 0 0
  7. #*************************
  8. # DECLARATION ECRAN SECONDAIRE (généré par aticonfig)
  9. #*************************
  10. Screen         "aticonfig Screen 1" RightOf "screen1"
  11. InputDevice    "Keyboard1" "CoreKeyboard"
  12. InputDevice    "Mouse1" "CorePointer"
  13. InputDevice    "SynapticsMouse1" "AlwaysCore"
  14. EndSection
  15. Section "Files"
  16.     # Multiple FontPath entries are allowed (they are concatenated together)
  17.     # By default, Mandrake 6.0 and later now use a font server independent of
  18.     # the X server to render fonts.
  19. FontPath     "unix/:-1"
  20. EndSection
  21. Section "Module"
  22. Load  "dbe" # Double-Buffering Extension
  23. Load  "v4l" # Video for Linux
  24. Load  "extmod"
  25. Load  "type1"
  26. Load  "freetype"
  27. Load  "synaptics"
  28. Load  "glx" # 3D layer
  29. Load  "dri" # direct rendering
  30. EndSection
  31. Section "ServerFlags"
  32.     #DontZap # disable <Crtl><Alt><BS> (server abort)
  33.     #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
  34. # allows the server to start up even if the mouse does not work
  35. Option     "allowmouseopenfail"
  36. EndSection
  37. Section "InputDevice"
  38. Identifier  "Keyboard1"
  39. Driver      "keyboard"
  40. Option     "XkbModel" "pc105"
  41. Option     "XkbLayout" "fr"
  42. Option     "XkbOptions" "compose:rwin"
  43. EndSection
  44. Section "InputDevice"
  45. Identifier  "Mouse1"
  46. Driver      "mouse"
  47. Option     "Protocol" "ExplorerPS/2"
  48. Option     "Device" "/dev/mouse"
  49. Option     "ZAxisMapping" "4 5"
  50. EndSection
  51. Section "InputDevice"
  52. Identifier  "SynapticsMouse1"
  53. Driver      "synaptics"
  54. Option     "Protocol" "auto-dev"
  55. Option     "Device" "/dev/input/mice"
  56. Option     "MaxSpeed" "0.18"
  57. Option     "MinSpeed" "0.09"
  58. Option     "BottomEdge" "4200"
  59. Option     "SHMConfig" "on"
  60. Option     "FingerLow" "25"
  61. Option     "LeftEdge" "1700"
  62. Option     "MaxTapMove" "220"
  63. Option     "MaxTapTime" "180"
  64. Option     "FingerHigh" "30"
  65. Option     "VertScrollDelta" "100"
  66. Option     "TopEdge" "1700"
  67. Option     "AccelFactor" "0.0015"
  68. Option     "RightEdge" "5300"
  69. EndSection
  70. #*******************
  71. # SCREEN
  72. #*******************
  73. Section "Screen"
  74. # SCREEN PRINCIPAL
  75. Identifier "screen1"
  76. Device     "device1"
  77. Monitor    "monitor1"
  78. DefaultDepth     24
  79. SubSection "Display"
  80.  Virtual   1400 1050
  81.  Depth     8
  82. EndSubSection
  83. SubSection "Display"
  84.  Virtual   1400 1050
  85.  Depth     15
  86. EndSubSection
  87. SubSection "Display"
  88.  Virtual   1400 1050
  89.  Depth     16
  90. EndSubSection
  91. SubSection "Display"
  92.  Virtual   1400 1050
  93.  Depth     24
  94. EndSubSection
  95. EndSection
  96. Section "Screen"
  97. # SCREEN SECONDAIRE (généré par aticonfig)
  98. Identifier "aticonfig Screen 1"
  99. Device     "ATI Graphics Adapter 1"
  100. Monitor    "aticonfig Monitor 1"
  101. DefaultDepth     24
  102. # SubSection complétée à la main
  103. SubSection "Display"
  104.  Virtual   1280 1024
  105.  Viewport   0 0
  106.  Depth     24
  107. EndSubSection
  108. EndSection
  109. #***********
  110. # MONITOR
  111. #***********
  112. Section "Monitor"
  113. # MONITEUR PRINCIPAL
  114. Identifier   "monitor1"
  115. VendorName   "Generic"
  116. ModelName    "Flat Panel 1400x1050"
  117. HorizSync    31.5 - 90.0
  118. VertRefresh  59.0 - 75.0
  119. ModeLine     "1400x1050_60" 122.6 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
  120. EndSection
  121. Section "Monitor"
  122. # MONITEUR SECONDAIRE (généré par aticonfig)
  123. Identifier   "aticonfig Monitor 1"
  124. VendorName   "Generic"
  125. ModelName    "VGA Output"
  126. # Sync & ModeLine complétés à la main
  127. HorizSync    31.5 - 90.0
  128. VertRefresh  59.0 - 75.0
  129. ModeLine     "1280x1024" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
  130. EndSection
  131. #************
  132. # DEVICE
  133. #************
  134. Section "Device"
  135. # DEVICE PRINCIPAL
  136.     # === Screen Management ===
  137.     # Note: When OpenGL Overlay is enabled, Video Overlay
  138.     #       will be disabled automatically
  139. Identifier  "device1"
  140. Driver      "fglrx"
  141. BoardName   "ATI Radeon (fglrx)"
  142. Option     "DPMS"
  143.     # === disable PnP Monitor  ===
  144.     #Option                              "NoDDC"
  145.     # === disable/enable XAA/DRI ===
  146. Option     "no_accel" "no"
  147. Option     "no_dri" "no"
  148.     # === FireGL DDX driver module specific settings ===
  149. Option     "DesktopSetup" "0x00000000"
  150. Option     "MonitorLayout" "LVDS, VGA"
  151. Option     "IgnoreEDID" "off"
  152. Option     "ScreenOverlap" "0"
  153.     # === TV-out Management ===
  154. Option     "NoTV" "yes"
  155. Option     "TVStandard" "NTSC-M"
  156. Option     "TVHSizeAdj" "0"
  157. Option     "TVVSizeAdj" "0"
  158. Option     "TVHPosAdj" "0"
  159. Option     "TVVPosAdj" "0"
  160. Option     "TVHStartAdj" "0"
  161. Option     "TVColorAdj" "0"
  162. Option     "GammaCorrectionI" "0x00000000"
  163. Option     "GammaCorrectionII" "0x00000000"
  164.     # === OpenGL specific profiles/settings ===
  165. Option     "Capabilities" "0x00000000"
  166.     # === Video Overlay for the Xv extension ===
  167. Option     "VideoOverlay" "on"
  168.     # === OpenGL Overlay ===
  169. Option     "OpenGLOverlay" "off"
  170. Option     "CenterMode" "off"
  171.     # === QBS Support ===
  172. Option     "Stereo" "off"
  173. Option     "StereoSyncEnable" "1"
  174.     # === Misc Options ===
  175. Option     "UseFastTLS" "0"
  176. Option     "BlockSignalsOnLock" "on"
  177. Option     "UseInternalAGPGART" "no"
  178. Option     "ForceGenericCPU" "no"
  179.     # === FSAA ===
  180. Option     "FSAAScale" "1"
  181. Option     "FSAADisableGamma" "no"
  182. Option     "FSAACustomizeMSPos" "no"
  183. Option     "FSAAMSPosX0" "0.000000"
  184. Option     "FSAAMSPosY0" "0.000000"
  185. Option     "FSAAMSPosX1" "0.000000"
  186. Option     "FSAAMSPosY1" "0.000000"
  187. Option     "FSAAMSPosX2" "0.000000"
  188. Option     "FSAAMSPosY2" "0.000000"
  189. Option     "FSAAMSPosX3" "0.000000"
  190. Option     "FSAAMSPosY3" "0.000000"
  191. Option     "FSAAMSPosX4" "0.000000"
  192. Option     "FSAAMSPosY4" "0.000000"
  193. Option     "FSAAMSPosX5" "0.000000"
  194. Option     "FSAAMSPosY5" "0.000000"
  195. Option     "ForceMonitors" "lvds,crt1,notv"
  196. EndSection
  197. Section "Device"
  198. # DEVICE SECONDAIRE
  199. Identifier  "ATI Graphics Adapter 1"
  200. Driver      "fglrx"
  201. BusID       "PCI:1:0:0"
  202. Screen      1
  203. EndSection


 
A noter :  
- les deux écrans sont totalement indépendants : j'ai deux bureaux distincts, avec chacun leur barre KDE, ce qui permet de lancer sans souci une vidéo sur le second écran pendant que l'on fait autre chose sur le premier (testé : ça marche !!  :sol: )
- Les performances OpenGL sont attrocement sacrifiées ! Sous fgl_glxgears je passe de 1700FPS à un peu plus de 500... Je n'ai pas reconfiguré à fond la carte graphique, mais tout de même la perte me semble importante.

n°808038
cartemere
Posté le 07-05-2006 à 23:54:11  profilanswer
 

xavier117 a écrit :

Vénérable "cartemere"


Pourquoi vénérable ?? :??:  lol, fais gaffe sinon tout le monde sur le forum va attraper la grosse tête  :D  
 

xavier117 a écrit :

Je bidouille sur un problème similaire au tien. En octobre, j'avais résolu le problème du daul head sur un portable avec une radeon 9700. J'utilisais Xorg version 6.8.beaucoup et les drivers ATI 8.16.20. Entre autres j'avais une config dual screen (lcd / videoproj)  en mode non clone qui marchait plutot bien (voir tres bien).
C'était très facile de générer cette configuration car en lançant fglrxconfig puis en indiquant le modes dual-head, il te disais quels étaientt les modes spécifiques aux portables (laptops). je tiens a ta disposition les fichier xorg.conf pour différents cas.


Je n'ai pas connu cette époque : je suis chez nvidia only depuis la TNT2 (ça commence à faire un bail), et là c'est ma première ATI...
Mais bon ce qui est bien c'est qu'aujourd'hui je suis absolument assuré que c'est la dernière que j'aurai   :jap:  :jap:  :jap:  
 
 
 

xavier117 a écrit :

Neamoins depuis nous sommes passés en xorg 6.9 et les drivers ati 8.16.20 ne passent pas, les modes specifiques aux portables n'existent plus (dans fglrxconfig et aticonfig) et les anciens fichiers xorg.conf ne fonctionnent plus ...


Mais avant je suppose que tu utilisais les drivers ati libres, non ? ça ne fait pas longtemps que les pilotes proprétaires fglrx sont potable... enfin, sont considérés par ATI comme potables... ensuite tout est relatif. C'est facile aussi de dire par exemple que Windaube est le meilleur système du monde, tant qu'on n'a pas à le prouver....
 
 
 
 

xavier117 a écrit :

Je soupçonne qu'il faille passer des options supplémentaire au serveur X, mais je ne sais pas les quelles ....


J'ai placé mon fichier xorg.conf pour que tu puisses avoir tous les params.
La démarche en partant du début :
- installer les drivers ATI pour ton noyau (les rpms dépendent de la distrib que tu utilises, par exemple sous Mandriva "ati-xorg" et "dkms-ati" )
- avoir un fichier de config xorg de base qui fonctionne en faisant appel au pilote fglrx ( utilise XFdrake sous Mandriva : driver Vendor=>Ati=>Radeon(fglrx)+accélération matérielle)
- redémarrer la machine (pour prendre en compte les nouveaux modules du kernel)
- faire un test rapide du bon fonctionnement en mode "simple" (un fgl_glxgears est le test parfait)
- ne pas hésiter à faire une sauvegarde de ton xorg.conf fonctionnel (il risque de passer à la trappe sinon)
- lancer en commande "aticonfig" avec comme paramètres ce que tu veux avoir (perso "aticonfig --initial=dual-head" )
- redémarrer X (CTRL + ATL + Backspace) => X se relance sur ton écran principal + étendu sur le second moniteur
- éditer ton fichier xorg.conf pour compléter les paramètres manquants (c.f le code que j'ai placé dans le post précédent)
- redémarrer X à nouveau
 
 
 

xavier117 a écrit :

Par contre si tu es encore sous Xorg<6.9 je t'envois les fichiers de conf de X et ca marchera certainement.


Merci mais je suis sous xorg 7.0.0.0  (d'après les logs... je savais pas qu'elle avait été releasée :??:  )
 
 
 

xavier117 a écrit :

J'en suis tout déprimé  :??:


Faut pas ;)
 
 
PS : désolé si je m'acharne sur ATI mais même en développement beta je n'osera pas sortir des drivers dans cet état...

n°808048
xavier117
Posté le 08-05-2006 à 00:47:42  profilanswer
 

Merci cartemere
 
Je regarde ca demain matin ...
 
Xavier

n°808065
cartemere
Posté le 08-05-2006 à 08:41:55  profilanswer
 

OK n'hésite pas si tu rencontres des problèmes ;)
 
Tu as quelle distribution ?

n°808189
xavier117
Posté le 08-05-2006 à 17:02:01  profilanswer
 

une mandriva 2006 (que j'aime bien) sur mon portable et une gentoo sur le serveur, c'est vrai que les pilotes Nvidia ont l'air plus sympa ...

n°808314
xavier117
Posté le 08-05-2006 à 22:33:28  profilanswer
 

Chez moi ca ne marche pas, mais j'ai des trucs bizards dans le fichier log de xorg :
 
(II) Reloading /usr/X11R6/lib/modules/linux/libdrm.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
[drm] failed to load kernel module "fglrx"
(II) Loading sub module "fglrxdrm"
 
 
visiblement X ne crée pas /dev/dri/card0  :??:  je comprends pas trop
 
 
j'ai essayé d'ajouter :
 
      Section "DRI"
               Mode 0666
     EndSection  
 
et  
   # === misc DRI settings ===
          Option "mtrr"                       "off" # disable DRI mtrr mapper, driver has its own code for mtrr
 
dans le fichier que tu suggeres aimablement mais c'est pas mieux  :pfff:  
(j'execre ATI !!!! )

n°808328
Le Ouinhin​ Pervers
Posté le 08-05-2006 à 23:13:49  profilanswer
 

Que donnes un "modprobe fglrx" (en root) suivi d'un "dmesg" ?
 
Comment as-tu installé les pilotes ATI sinon ?

n°808333
xavier117
Posté le 08-05-2006 à 23:42:24  profilanswer
 

La je bas ma coulpe tres fort : voici le log d'instal de fglrx :
[root@Xavier fglrx]# cat fglrx-install.log
[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating kernel module now.
ATI module generator V 2.0
==========================
initializing...
kernel includes at /lib/modules/2.6.12-18mdk-i686-up-4GB/build/include not found or incomplete
file: /lib/modules/2.6.12-18mdk-i686-up-4GB/build/include/linux/version.h
[Error] Kernel Module : Failed to compile kernel module - please consult readme.
 
 
et il y a des debiles qui comprenent pas pourquoi ca marche pas (moi au hasard)
 
Par contre c'est pas sympa de pas envoyer un message d'erreur sur la console !

mood
Publicité
Posté le 08-05-2006 à 23:42:24  profilanswer
 

n°808335
Le Ouinhin​ Pervers
Posté le 08-05-2006 à 23:47:21  profilanswer
 

Installe les en-têtes ou les sources de ton présent noyau.

n°808337
xavier117
Posté le 08-05-2006 à 23:51:44  profilanswer
 

c'est fait depuis longtemps (je sais que je suis nul mais pas a ce point la)
 
J'ai fait une tentative de compilation de mon propre noyau qui doit avoir un peu mis de desordre ...

n°808347
Le Ouinhin​ Pervers
Posté le 09-05-2006 à 00:23:02  profilanswer
 

Refait un lien symbolique "build -> /usr/src/<version_linux>".

n°808363
xavier117
Posté le 09-05-2006 à 01:36:58  profilanswer
 

Merci Le Ouinhin Pervers, c'est une bonne idée mais j'avais fait tellemenet de betises que cela n'aurait pas suffit  :ange: ,
 
Donc en utilisant la config proposée par cartemere (comme mes anciennes config) j'obtiens un bureau étendu de résolution 2800*1050, forcement sur le CRT si je descend la souris en bas de l'ecran, ca décone un peu ...
 
Je n'ai pas, comme le decrit cartemere, 2 ecrans indépendants (hors contrairement a toi cartemere c'est ce que je souhaite tu as ce que jeveux, j'ai ce que tu veux , on echange les machines ?   :pt1cable: ...).
 
Je soupcone que c'est a cause de fireglcontrolpanel. En effet en gardant le meme xorg.conf, sans que celui ci ne soit modifié (tres fort) je passe d'un mode clone, a un bureau etendu vertical, a un bureau etendu horizontal et a plus qu'un ecran  en jouant avec la souris (en passant qd meme par un redemarage de X)...
 
Quelqu'un aurait des idées sur ce que modifie ce merveilleux utilitaire (cette sous merde qui touche a la config du serveur X sans passer par xorg.conf, merde on est pas sous krosoft, les fichiers de conf c'est pas pour les chiens ! -désolé je suis crevé-) modifie et comment on peut controler ce qu'il fait (je veux mon dual-screen indépendant!!! je veux!!! je veux !!!    :fou: )

n°808568
xavier117
Posté le 09-05-2006 à 18:41:50  profilanswer
 

Bonjour
 
Voila j'ai aussi résolu les problèmes : en fait X org utilisait une copie des fichiers de configuration de X qui etait dans le repertoire /root (la ou je sauvegarde mes anciennes configurations)  :D  . Je comprend mieux le pourquoi du comment, toutes mes excuses pour la polution et pour les insultes à ATI.
 
Donc les fichiers de config X que j'avais ecrit pour la version 8.16.20 des drivers propio d'ATI fonctionent tres bien (ils sont assez similaires a celui de cartemere). Au passage si le aticonfig vous ennerve, et que vous n'avez pas peur de reecrire a la main une partie du fichier xorg.conf, je vous conseil le fglrxconfig de que vous trouverez dans les drivers ATI 8.16.20 :
https://support.ati.com/ics/support [...] derID=3959
(celui la est mieux que les suivant au sens ou il a un menu supplémentaire apres la config dual head)
 
vous pouvez trouver cet utilitaire sans avoir a changer de drivers en faisant :

Code :
  1. chmod +x ati-driver-installer-8.16.20-i386.run
  2. ./ati-driver-installer-8.16.20-i386.run --extract NewDirectory 
  3. NewDirectory/x690/usr/X11R6/bin/fglrxconfig


 
 
Je poste xorg.conf avec dual head : 1 LCD et 1: tele (je n'ai pas pu le tester depuis noël avec les petits cousins mais vu que les autres marches ...)
pour un CRT il suffit de changer :
 

Code :
  1. Section "Monitor"
  2.     Identifier  "Monitor1"
  3.     HorizSync   31.5 - 48.4
  4.     VertRefresh 50 - 70
  5.     Option "DPMS"
  6. EndSection


 
en

Code :
  1. Section "Monitor"
  2.     Identifier  "Monitor1"
  3.     HorizSync   31.5 - 68.7
  4.     VertRefresh 60 - 85
  5.     Option "DPMS"
  6. EndSection


 
 

Code :
  1. #=== Screen Management ===
  2.     Option "DesktopSetup"               "(null)"
  3.     Option "HSync2"                     "31.5 - 48.4"
  4.     Option "VRefresh2"                  "50 - 70"
  5.     Option "ScreenOverlap"              "0"
  6.     Option "GammaCorrectionI"           "0x00000000"
  7.     Option "GammaCorrectionII"          "0x00000000"
  8. # === TV-out Management ===
  9. #    Option "TVFormat"                   "PAL-B"
  10. #    Option "TVStandard"                 "VIDEO"
  11.     Option "TVHSizeAdj"                 "0"
  12.     Option "TVVSizeAdj"                 "0"
  13.     Option "TVHPosAdj"                  "0"
  14.     Option "TVVPosAdj"                  "0"
  15.     Option "TVHStartAdj"                "0"
  16.     Option "TVColorAdj"                 "0"
  17.     Option "GammaCorrectionI"           "0x00000000"
  18.     Option "GammaCorrectionII"          "0x00000000"


 
en
 

Code :
  1. #=== Screen Management ===
  2.     Option "DesktopSetup"               "(null)"
  3.     Option "HSync2"                     "31.5 - 68.7"
  4.     Option "VRefresh2"                  "60 - 85"
  5.     Option "ScreenOverlap"              "0"
  6.     Option "GammaCorrectionI"           "0x00000000"
  7.     Option "GammaCorrectionII"          "0x00000000"


 
 
xorg.conf avec dual head : 1 LCD et 1: tele  
 

Code :
  1. # **********************************************************************
  2. # DRI Section
  3. # **********************************************************************
  4. Section "dri"
  5. # Access to OpenGL ICD is allowed for all users:
  6.     Mode 0666
  7. # Access to OpenGL ICD is restricted to a specific user group:
  8. #    Group 100    # users
  9. #    Mode 0660
  10. EndSection
  11. # **********************************************************************
  12. # Module section -- this  section  is used to specify
  13. # which dynamically loadable modules to load.
  14. # **********************************************************************
  15. #
  16. Section "Module"
  17. # This loads the DBE extension module.
  18.     Load        "dbe"   # Double buffer extension
  19. # This loads the miscellaneous extensions module, and disables
  20. # initialisation of the XFree86-DGA extension within that module.
  21.     SubSection  "extmod"
  22.       Option    "omit xfree86-dga"   # don't initialise the DGA extension
  23.     EndSubSection
  24. # This loads the Type1 and FreeType font modules
  25.     Load        "type1"
  26.     Load        "freetype"
  27. # This loads the GLX module
  28.     Load        "glx"   # libglx.a
  29.     Load        "dri"   # libdri.a
  30. EndSection
  31. # **********************************************************************
  32. # Files section.  This allows default font and rgb paths to be set
  33. # **********************************************************************
  34. Section "Files"
  35. # The location of the RGB database.  Note, this is the name of the
  36. # file minus the extension (like ".txt" or ".db" ).  There is normally
  37. # no need to change the default.
  38.     RgbPath "/usr/X11R6/lib/X11/rgb"
  39. # Multiple FontPath entries are allowed (which are concatenated together),
  40. # as well as specifying multiple comma-separated entries in one FontPath
  41. # command (or a combination of both methods)
  42. #
  43. # If you don't have a floating point coprocessor and emacs, Mosaic or other
  44. # programs take long to start up, try moving the Type1 and Speedo directory
  45. # to the end of this list (or comment them out).
  46. #
  47. #    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
  48.     FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
  49.     FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
  50. #    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
  51.     FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
  52.     FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
  53.     FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
  54. #    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
  55. # The module search path.  The default path is shown here.
  56. #    ModulePath "/usr/X11R6/lib/modules"
  57. EndSection
  58. # **********************************************************************
  59. # Server flags section.
  60. # **********************************************************************
  61. Section "ServerFlags"
  62. # Uncomment this to cause a core dump at the spot where a signal is
  63. # received.  This may leave the console in an unusable state, but may
  64. # provide a better stack trace in the core dump to aid in debugging
  65. #    Option "NoTrapSignals"
  66. # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
  67. # This allows clients to receive this key event.
  68. #    Option "DontZap"
  69. # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
  70. # sequences.  This allows clients to receive these key events.
  71. #    Option "Dont Zoom"
  72. # Uncomment this to disable tuning with the xvidtune client. With
  73. # it the client can still run and fetch card and monitor attributes,
  74. # but it will not be allowed to change them. If it tries it will
  75. # receive a protocol error.
  76. #    Option "DisableVidModeExtension"
  77. # Uncomment this to enable the use of a non-local xvidtune client.
  78. #    Option "AllowNonLocalXvidtune"
  79. # Uncomment this to disable dynamically modifying the input device
  80. # (mouse and keyboard) settings.
  81. #    Option "DisableModInDev"
  82. # Uncomment this to enable the use of a non-local client to
  83. # change the keyboard or mouse settings (currently only xset).
  84. #    Option "AllowNonLocalModInDev"
  85. EndSection
  86. # **********************************************************************
  87. # Input devices
  88. # **********************************************************************
  89. Section "InputDevice"
  90.     Identifier "Keyboard1"
  91.     Driver "keyboard"
  92.     Option "XkbModel" "pc105"
  93.     Option "XkbLayout" "fr"
  94.     Option "XkbOptions" "compose:rwin"
  95. EndSection
  96. Section "InputDevice"
  97.     Identifier "Mouse1"
  98.     Driver "mouse"
  99.     Option "Protocol" "ExplorerPS/2"
  100.     Option "Device" "/dev/mouse"
  101.     Option "ZAxisMapping" "6 7"
  102. EndSection
  103. Section "InputDevice"
  104.     Identifier "SynapticsMouse1"
  105.     Driver "synaptics"
  106.     Option "Protocol" "auto-dev"
  107.     Option "Device" "/dev/input/mice"
  108.     Option "MinSpeed" "0.09"
  109.     Option "MaxSpeed" "0.18"
  110.     Option "BottomEdge" "4200"
  111.     Option "SHMConfig" "on"
  112.     Option "FingerLow" "25"
  113.     Option "LeftEdge" "1700"
  114.     Option "MaxTapMove" "220"
  115.     Option "MaxTapTime" "180"
  116.     Option "FingerHigh" "30"
  117.     Option "VertScrollDelta" "100"
  118.     Option "TopEdge" "1700"
  119.     Option "AccelFactor" "0.0015"
  120.     Option "RightEdge" "5300"
  121. EndSection
  122. # **********************************************************************
  123. # Monitor section
  124. # **********************************************************************
  125. # Any number of monitor sections may be present
  126. Section "Monitor"
  127.     Identifier  "Monitor0"
  128.     HorizSync   31.5     
  129.     VertRefresh 50 - 70
  130.     Option "DPMS"
  131. EndSection
  132. Section "Monitor"
  133.     Identifier  "Monitor1"
  134.     HorizSync   31.5 - 48.4
  135.     VertRefresh 50 - 70
  136.     Option "DPMS"
  137. EndSection
  138. # **********************************************************************
  139. # Graphics device section
  140. # **********************************************************************
  141. # Any number of graphics device sections may be present
  142. # Standard VGA Device:
  143. Section "Device"
  144.     Identifier  "Standard VGA"
  145.     VendorName  "Unknown"
  146.     BoardName   "Unknown"
  147. # The chipset line is optional in most cases.  It can be used to override
  148. # the driver's chipset detection, and should not normally be specified.
  149. #    Chipset     "generic"
  150. # The Driver line must be present.  When using run-time loadable driver
  151. # modules, this line instructs the server to load the specified driver
  152. # module.  Even when not using loadable driver modules, this line
  153. # indicates which driver should interpret the information in this section.
  154.     Driver      "vga"
  155. # The BusID line is used to specify which of possibly multiple devices
  156. # this section is intended for.  When this line isn't present, a device
  157. # section can only match up with the primary video device.  For PCI
  158. # devices a line like the following could be used.  This line should not
  159. # normally be included unless there is more than one video device
  160. # installed.
  161. #    BusID       "PCI:0:10:0"
  162. #    VideoRam    256
  163. #    Clocks      25.2 28.3
  164. EndSection
  165. # === ATI device section ===
  166. Section "Device"
  167.     Identifier                          "ATI Graphics Adapter connector 0"
  168.     Driver                              "fglrx"
  169. # ### generic DRI settings ###
  170. # === disable PnP Monitor  ===
  171.     #Option                              "NoDDC"
  172. # === disable/enable XAA/DRI ===
  173.     Option "no_accel"                   "no"
  174.     Option "no_dri"                     "no"
  175. # === misc DRI settings ===
  176.     Option "mtrr"                       "off" # disable DRI mtrr mapper, driver has its own code for mtrr
  177. # ### FireGL DDX driver module specific settings ###
  178. # === Screen Management ===
  179.     Option "DesktopSetup"               "(null)"
  180.     Option "HSync2"                     "31.5 - 48.4"
  181.     Option "VRefresh2"                  "50 - 70"
  182.     Option "ScreenOverlap"              "0"
  183.     Option "GammaCorrectionI"           "0x00000000"
  184.     Option "GammaCorrectionII"          "0x00000000"
  185. # === TV-out Management ===
  186. #    Option "TVFormat"                   "PAL-B"
  187. #    Option "TVStandard"                 "VIDEO"
  188.     Option "TVHSizeAdj"                 "0"
  189.     Option "TVVSizeAdj"                 "0"
  190.     Option "TVHPosAdj"                  "0"
  191.     Option "TVVPosAdj"                  "0"
  192.     Option "TVHStartAdj"                "0"
  193.     Option "TVColorAdj"                 "0"
  194.     Option "GammaCorrectionI"           "0x00000000"
  195.     Option "GammaCorrectionII"          "0x00000000"
  196. # === OpenGL specific profiles/settings ===
  197.     Option "Capabilities"               "0x00000000"
  198.     Option "CapabilitiesEx"             "0x00000000"
  199. # === Video Overlay for the Xv extension ===
  200.     Option "VideoOverlay"               "on"
  201. # === OpenGL Overlay ===
  202. # Note: When OpenGL Overlay is enabled, Video Overlay
  203. #       will be disabled automatically
  204.     Option "OpenGLOverlay"              "off"
  205. # === Center Mode (Laptops only) ===
  206.     Option "CenterMode"                 "off"
  207. # === Pseudo Color Visuals (8-bit visuals) ===
  208.     Option "PseudoColorVisuals"         "off"
  209. # === QBS Management ===
  210.     Option "Stereo"                     "off"
  211.     Option "StereoSyncEnable"           "1"
  212. # === FSAA Management ===
  213.     Option "FSAAEnable"                 "no"
  214.     Option "FSAAScale"                  "1"
  215.     Option "FSAADisableGamma"           "no"
  216.     Option "FSAACustomizeMSPos"         "no"
  217.     Option "FSAAMSPosX0"                "0.000000"
  218.     Option "FSAAMSPosY0"                "0.000000"
  219.     Option "FSAAMSPosX1"                "0.000000"
  220.     Option "FSAAMSPosY1"                "0.000000"
  221.     Option "FSAAMSPosX2"                "0.000000"
  222.     Option "FSAAMSPosY2"                "0.000000"
  223.     Option "FSAAMSPosX3"                "0.000000"
  224.     Option "FSAAMSPosY3"                "0.000000"
  225.     Option "FSAAMSPosX4"                "0.000000"
  226.     Option "FSAAMSPosY4"                "0.000000"
  227.     Option "FSAAMSPosX5"                "0.000000"
  228.     Option "FSAAMSPosY5"                "0.000000"
  229. # === Misc Options ===
  230.     Option "UseFastTLS"                 "0"
  231.     Option "BlockSignalsOnLock"         "on"
  232.     Option "UseInternalAGPGART"         "yes"
  233.     Option "ForceGenericCPU"            "no"
  234.     BusID "PCI:1:0:0"    # vendor=1002, device=4e50
  235.     Screen 0
  236. EndSection
  237. Section "Device"
  238.     Identifier                          "ATI Graphics Adapter connector 1"
  239.     Driver                              "fglrx"
  240.     BusID "PCI:1:0:0"    # vendor=1002, device=4e50
  241.     Screen 1
  242. EndSection
  243. # **********************************************************************
  244. # Screen sections
  245. # **********************************************************************
  246. # Any number of screen sections may be present.  Each describes
  247. # the configuration of a single screen.  A single specific screen section
  248. # may be specified from the X server command line with the "-screen"
  249. # option.
  250. Section "Screen"
  251.     Identifier  "Screen0"
  252.     Device      "ATI Graphics Adapter connector 0"
  253.     Monitor     "Monitor0"
  254.     DefaultDepth 24
  255.     #Option "backingstore"
  256.     Subsection "Display"
  257.         Depth       24
  258.         Modes       "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
  259.         ViewPort    0 0  # initial origin if mode is smaller than desktop
  260. #        Virtual     1280 1024
  261.     EndSubsection
  262. EndSection
  263. Section "Screen"
  264.     Identifier  "Screen1"
  265.     Device      "ATI Graphics Adapter connector 1"
  266.     Monitor     "Monitor1"
  267.     DefaultDepth 24
  268.     #Option "backingstore"
  269.     Subsection "Display"
  270.         Depth       24
  271.         Modes       "1024x768" "800x600" "640x480"
  272.         ViewPort    0 0  # initial origin if mode is smaller than desktop
  273. #        Virtual     1280 1024
  274.     EndSubsection
  275. EndSection
  276. # **********************************************************************
  277. # ServerLayout sections.
  278. # **********************************************************************
  279. # Any number of ServerLayout sections may be present.  Each describes
  280. # the way multiple screens are organised.  A specific ServerLayout
  281. # section may be specified from the X server command line with the
  282. # "-layout" option.  In the absence of this, the first section is used.
  283. # When now ServerLayout section is present, the first Screen section
  284. # is used alone.
  285. Section "ServerLayout"
  286. # The Identifier line must be present
  287.     Identifier  "Server Layout"
  288. # Each Screen line specifies a Screen section name, and optionally
  289. # the relative position of other screens.  The four names after
  290. # primary screen name are the screens to the top, bottom, left and right
  291. # of the primary screen.
  292.     Screen "Screen0"
  293.     Screen "Screen1" Above "Screen0"
  294. # Each InputDevice line specifies an InputDevice section name and
  295. # optionally some options to specify the way the device is to be
  296. # used.  Those options include "CorePointer", "CoreKeyboard" and
  297. # "SendCoreEvents".
  298.     InputDevice "Mouse1" "CorePointer"
  299.     InputDevice "Keyboard1" "CoreKeyboard"
  300.     InputDevice "SynapticsMouse1" "AlwaysCore"
  301. EndSection
  302. ### EOF ###


 
Maintenant pour un mode Big desktop :
 

Code :
  1. # File: xorg.conf
  2. # File generated by fglrxconfig (C) ATI Technologies, a substitute for xf86config.
  3. # **********************************************************************
  4. # DRI Section
  5. # **********************************************************************
  6. Section "dri"
  7. # Access to OpenGL ICD is allowed for all users:
  8.     Mode 0666
  9. # Access to OpenGL ICD is restricted to a specific user group:
  10. #    Group 100    # users
  11. #    Mode 0660
  12. EndSection
  13. # **********************************************************************
  14. # Module section -- this  section  is used to specify
  15. # which dynamically loadable modules to load.
  16. # **********************************************************************
  17. #
  18. Section "Module"
  19. # This loads the DBE extension module.
  20.     Load        "dbe"   # Double buffer extension
  21. # This loads the miscellaneous extensions module, and disables
  22. # initialisation of the XFree86-DGA extension within that module.
  23.     SubSection  "extmod"
  24.       Option    "omit xfree86-dga"   # don't initialise the DGA extension
  25.     EndSubSection
  26. # This loads the Type1 and FreeType font modules
  27.     Load        "type1"
  28.     Load        "freetype"
  29. # This loads the GLX module
  30.     Load        "glx"   # libglx.a
  31.     Load        "dri"   # libdri.a
  32. EndSection
  33. # **********************************************************************
  34. # Files section.  This allows default font and rgb paths to be set
  35. # **********************************************************************
  36. Section "Files"
  37. # The location of the RGB database.  Note, this is the name of the
  38. # file minus the extension (like ".txt" or ".db" ).  There is normally
  39. # no need to change the default.
  40.     RgbPath "/usr/X11R6/lib/X11/rgb"
  41. # Multiple FontPath entries are allowed (which are concatenated together),
  42. # as well as specifying multiple comma-separated entries in one FontPath
  43. # command (or a combination of both methods)
  44. #
  45. # If you don't have a floating point coprocessor and emacs, Mosaic or other
  46. # programs take long to start up, try moving the Type1 and Speedo directory
  47. # to the end of this list (or comment them out).
  48. #
  49. #    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
  50.     FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
  51.     FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
  52. #    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
  53.     FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
  54.     FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
  55.     FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
  56. #    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
  57. # The module search path.  The default path is shown here.
  58. #    ModulePath "/usr/X11R6/lib/modules"
  59. EndSection
  60. # **********************************************************************
  61. # Server flags section.
  62. # **********************************************************************
  63. Section "ServerFlags"
  64. # Uncomment this to cause a core dump at the spot where a signal is
  65. # received.  This may leave the console in an unusable state, but may
  66. # provide a better stack trace in the core dump to aid in debugging
  67. #    Option "NoTrapSignals"
  68. # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
  69. # This allows clients to receive this key event.
  70. #    Option "DontZap"
  71. # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
  72. # sequences.  This allows clients to receive these key events.
  73. #    Option "Dont Zoom"
  74. # Uncomment this to disable tuning with the xvidtune client. With
  75. # it the client can still run and fetch card and monitor attributes,
  76. # but it will not be allowed to change them. If it tries it will
  77. # receive a protocol error.
  78. #    Option "DisableVidModeExtension"
  79. # Uncomment this to enable the use of a non-local xvidtune client.
  80. #    Option "AllowNonLocalXvidtune"
  81. # Uncomment this to disable dynamically modifying the input device
  82. # (mouse and keyboard) settings.
  83. #    Option "DisableModInDev"
  84. # Uncomment this to enable the use of a non-local client to
  85. # change the keyboard or mouse settings (currently only xset).
  86. #    Option "AllowNonLocalModInDev"
  87. EndSection
  88. # **********************************************************************
  89. # Input devices
  90. # **********************************************************************
  91. Section "InputDevice"
  92.     Identifier "Keyboard1"
  93.     Driver "keyboard"
  94.     Option "XkbModel" "pc105"
  95.     Option "XkbLayout" "fr"
  96.     Option "XkbOptions" "compose:rwin"
  97. EndSection
  98. Section "InputDevice"
  99.     Identifier "Mouse1"
  100.     Driver "mouse"
  101.     Option "Protocol" "ExplorerPS/2"
  102.     Option "Device" "/dev/mouse"
  103.     Option "ZAxisMapping" "6 7"
  104. EndSection
  105. Section "InputDevice"
  106.     Identifier "SynapticsMouse1"
  107.     Driver "synaptics"
  108.     Option "Protocol" "auto-dev"
  109.     Option "Device" "/dev/input/mice"
  110.     Option "MinSpeed" "0.09"
  111.     Option "MaxSpeed" "0.18"
  112.     Option "BottomEdge" "4200"
  113.     Option "SHMConfig" "on"
  114.     Option "FingerLow" "25"
  115.     Option "LeftEdge" "1700"
  116.     Option "MaxTapMove" "220"
  117.     Option "MaxTapTime" "180"
  118.     Option "FingerHigh" "30"
  119.     Option "VertScrollDelta" "100"
  120.     Option "TopEdge" "1700"
  121.     Option "AccelFactor" "0.0015"
  122.     Option "RightEdge" "5300"
  123. EndSection
  124. # **********************************************************************
  125. # Monitor section
  126. # **********************************************************************
  127. # Any number of monitor sections may be present
  128. Section "Monitor"
  129.     Identifier  "Monitor0"
  130.     HorizSync   31.5     
  131.     VertRefresh 20 - 60
  132.     Option "DPMS"
  133. EndSection
  134. Section "Monitor"
  135.     Identifier  "Monitor1"
  136.     HorizSync   31.5 - 68.7
  137.     VertRefresh 60 - 85
  138.     Option "DPMS"
  139. EndSection
  140. # **********************************************************************
  141. # Graphics device section
  142. # **********************************************************************
  143. # Any number of graphics device sections may be present
  144. # Standard VGA Device:
  145. Section "Device"
  146.     Identifier  "Standard VGA"
  147.     VendorName  "Unknown"
  148.     BoardName   "Unknown"
  149. # The chipset line is optional in most cases.  It can be used to override
  150. # the driver's chipset detection, and should not normally be specified.
  151. #    Chipset     "generic"
  152. # The Driver line must be present.  When using run-time loadable driver
  153. # modules, this line instructs the server to load the specified driver
  154. # module.  Even when not using loadable driver modules, this line
  155. # indicates which driver should interpret the information in this section.
  156.     Driver      "vga"
  157. # The BusID line is used to specify which of possibly multiple devices
  158. # this section is intended for.  When this line isn't present, a device
  159. # section can only match up with the primary video device.  For PCI
  160. # devices a line like the following could be used.  This line should not
  161. # normally be included unless there is more than one video device
  162. # installed.
  163. #    BusID       "PCI:0:10:0"
  164. #    VideoRam    256
  165. #    Clocks      25.2 28.3
  166. EndSection
  167. # === ATI device section ===
  168. Section "Device"
  169.     Identifier                          "ATI Graphics Adapter"
  170.     Driver                              "fglrx"
  171. # ### generic DRI settings ###
  172. # === disable PnP Monitor  ===
  173.     #Option                              "NoDDC"
  174. # === disable/enable XAA/DRI ===
  175.     Option "no_accel"                   "no"
  176.     Option "no_dri"                     "no"
  177. # === misc DRI settings ===
  178.     Option "mtrr"                       "off" # disable DRI mtrr mapper, driver has its own code for mtrr
  179. # ### FireGL DDX driver module specific settings ###
  180. # === Screen Management ===
  181.     Option "DesktopSetup"               "horizontal"
  182.     Option "HSync2"                     "31.5 - 68.7"
  183.     Option "VRefresh2"                  "60 - 85"
  184.     Option "ScreenOverlap"              "0"
  185. # === TV-out Management ===
  186.     Option "TVFormat"                   "PAL-N"   
  187.     Option "TVStandard"                 "VIDEO"   
  188.     Option "TVHSizeAdj"                 "0"   
  189.     Option "TVVSizeAdj"                 "0"   
  190.     Option "TVHPosAdj"                  "0"   
  191.     Option "TVVPosAdj"                  "0"   
  192.     Option "TVHStartAdj"                "0"   
  193.     Option "TVColorAdj"                 "0"   
  194.     Option "GammaCorrectionI"           "0x00000000"
  195.     Option "GammaCorrectionII"          "0x00000000"
  196. # === OpenGL specific profiles/settings ===
  197.     Option "Capabilities"               "0x00000000"
  198.     Option "CapabilitiesEx"             "0x00000000"
  199. # === Video Overlay for the Xv extension ===
  200.     Option "VideoOverlay"               "on"
  201. # === OpenGL Overlay ===
  202. # Note: When OpenGL Overlay is enabled, Video Overlay
  203. #       will be disabled automatically
  204.     Option "OpenGLOverlay"              "off"
  205. # === Center Mode (Laptops only) ===
  206.     Option "CenterMode"                 "off"
  207. # === Pseudo Color Visuals (8-bit visuals) ===
  208.     Option "PseudoColorVisuals"         "off"
  209. # === QBS Management ===
  210.     Option "Stereo"                     "off"
  211.     Option "StereoSyncEnable"           "1"
  212. # === FSAA Management ===
  213.     Option "FSAAEnable"                 "no"
  214.     Option "FSAAScale"                  "1"
  215.     Option "FSAADisableGamma"           "no"
  216.     Option "FSAACustomizeMSPos"         "no"
  217.     Option "FSAAMSPosX0"                "0.000000"
  218.     Option "FSAAMSPosY0"                "0.000000"
  219.     Option "FSAAMSPosX1"                "0.000000"
  220.     Option "FSAAMSPosY1"                "0.000000"
  221.     Option "FSAAMSPosX2"                "0.000000"
  222.     Option "FSAAMSPosY2"                "0.000000"
  223.     Option "FSAAMSPosX3"                "0.000000"
  224.     Option "FSAAMSPosY3"                "0.000000"
  225.     Option "FSAAMSPosX4"                "0.000000"
  226.     Option "FSAAMSPosY4"                "0.000000"
  227.     Option "FSAAMSPosX5"                "0.000000"
  228.     Option "FSAAMSPosY5"                "0.000000"
  229. # === Misc Options ===
  230.     Option "UseFastTLS"                 "0"
  231.     Option "BlockSignalsOnLock"         "on"
  232.     Option "UseInternalAGPGART"         "yes"
  233.     Option "ForceGenericCPU"            "no"
  234.     BusID "PCI:1:0:0"    # vendor=1002, device=4e50
  235.     Screen 0
  236. EndSection
  237. # **********************************************************************
  238. # Screen sections
  239. # **********************************************************************
  240. # Any number of screen sections may be present.  Each describes
  241. # the configuration of a single screen.  A single specific screen section
  242. # may be specified from the X server command line with the "-screen"
  243. # option.
  244. Section "Screen"
  245.     Identifier  "Screen0"
  246.     Device      "ATI Graphics Adapter"
  247.     Monitor     "Monitor0"
  248.     DefaultDepth 24
  249.     #Option "backingstore"
  250.     Subsection "Display"
  251.         Depth       24
  252.         Modes       "1024x768" "800x600" "640x480"
  253.         ViewPort    0 0  # initial origin if mode is smaller than desktop
  254. #        Virtual     1280 1024
  255.     EndSubsection
  256. EndSection
  257. # **********************************************************************
  258. # ServerLayout sections.
  259. # **********************************************************************
  260. # Any number of ServerLayout sections may be present.  Each describes
  261. # the way multiple screens are organised.  A specific ServerLayout
  262. # section may be specified from the X server command line with the
  263. # "-layout" option.  In the absence of this, the first section is used.
  264. # When now ServerLayout section is present, the first Screen section
  265. # is used alone.
  266. Section "ServerLayout"
  267. # The Identifier line must be present
  268.     Identifier  "Server Layout"
  269. # Each Screen line specifies a Screen section name, and optionally
  270. # the relative position of other screens.  The four names after
  271. # primary screen name are the screens to the top, bottom, left and right
  272. # of the primary screen.
  273.     Screen "Screen0"
  274. # Each InputDevice line specifies an InputDevice section name and
  275. # optionally some options to specify the way the device is to be
  276. # used.  Those options include "CorePointer", "CoreKeyboard" and
  277. # "SendCoreEvents".
  278.     InputDevice "Mouse1" "CorePointer"
  279.     InputDevice "Keyboard1" "CoreKeyboard"
  280. EndSection
  281. ### EOF ###


 
 
Merci a tous
 
X

n°808633
xavier117
Posté le 10-05-2006 à 00:56:51  profilanswer
 

Allez juste pour le plaisir de parler :
 
Vous avez une reunion, en conséquence vous choisisez la bonne configuration de xorg.
Manque de bol, comme vous ne presentez pas en premier, le videoprojecteur n'est pas détecté  au demarage de X (puisque pas branché), donc la fonction dual head/dual screen/big desktop n'est pas activée, vous voila obligé de redemarer X devant tout le monde (et vlan encore une preuve de l'inferiorité de linux par rapport a krosoft :D ).
 
L'option ForceMonitor permet d'eviter l'autodetection des ecrans c'est a dire eviter ce problème, vous pouvez donc brancher le videoprojecteur apres le démarage de X.
 
Si vous n'avez pas besoin de toutes les capacitées video de votre carte et que vous n'avez pas peur de perdre le pointeur les fenetres des applications ... , vous pouvez même laisser le dual-head activé en permanence.
 
Il faut placer cette option dans  
 

Code :
  1. # === Misc Options ===
  2. ForceMonitor  "lcdv,crt1,notv"
  3. ou
  4. ForceMonitor  "lcdv,nocrt1,tv"


 
 
voir l'exemple de (venerable) cartemere ou /usr/share/doc/fglrx/configure.html
 
 
Enfin en dual-head ce qui et top pour une presentation (de these par exemple) c'est d'envoyer des anims sur le video projecteur depuis l'ecran du portable :
 

Code :
  1. mplayer monfilm.toto -display 127.0.0.1:0.1 -fs


-display reroute la video vers la machine d'IP 127.0.0.1 (la machine locale) sur le serveur X 0  et l'ecran 1 (0.1)
 
et pour envoyer la présentation faite en pdf avec beamer (et oui ca marche tres bien et c'est tres propre pour une presentation de these) :
 

Code :
  1. export DISPLAY=127.0.0.1:0.1
  2. acroread ma_presentation.pdf



Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs
  Hardware

  [RESOLU] ATI + Md2006 => clone screen ?

 

Sujets relatifs
[résolu] Evolution : impossible de supprimer les mails de la corbeille[Résolu] vnc sous linux
[Résolu] ls avec expression régulière[Résolu] Problème d'affichage
[Non résolu] Drivers Nvidia DebianApt veut m'installer Gaim 1.5 alors que j'ai la 2.0 beta 3...[RESOLU]
[PHP+xml: résolu] problème libexpat, fonctions xml non définiesprobleme avec iptables : modules (resolu), forwarding maintenant
[Résolu] Supprimer les fichiers *abc récursivement[Résolu] Problème d'identification Samba
Plus de sujets relatifs à : [RESOLU] ATI + Md2006 => clone screen ?


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR