dual screen ati proprio sous debian

dual screen ati proprio sous debian - Divers - Linux et OS Alternatifs

Marsh Posté le 24-05-2007 à 00:41:06    

bonjours, j'ai une petit pépin avec mon dual screen :)
j'utilise un écran 17" et un 15" , les deux ne supporte évidement pas la meme resolution
 
je voudrais donc passer de 2x 1024x768@60 a 1280x1024 + 1024x768  
mais la évidement Xorg n'apprécie guerre :/
voici mon fichier de config

Code :
  1. # /etc/X11/xorg.conf (xorg X Window System server configuration file)
  2. #
  3. # This file was generated by dexconf, the Debian X Configuration tool, using
  4. # values from the debconf database.
  5. #
  6. # Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
  7. # (Type "man /etc/X11/xorg.conf" at the shell prompt.)
  8. #
  9. # This file is automatically updated on xserver-xorg package upgrades *only*
  10. # if it has not been modified since the last upgrade of the xserver-xorg
  11. # package.
  12. #
  13. # If you have edited this file but would like it to be automatically updated
  14. # again, run the following command:
  15. #   sudo dpkg-reconfigure -phigh xserver-xorg
  16. Section "ServerLayout"
  17. Identifier     "Default Layout"
  18. Screen         "Screen[0]" 0 0
  19. InputDevice    "Generic Keyboard"
  20. InputDevice    "Configured Mouse"
  21. EndSection
  22. Section "Files"
  23. # path to defoma fonts
  24. FontPath     "/usr/share/fonts/X11/misc"
  25. FontPath     "/usr/X11R6/lib/X11/fonts/misc"
  26. FontPath     "/usr/share/fonts/X11/cyrillic"
  27. FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
  28. FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
  29. FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
  30. FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
  31. FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
  32. FontPath     "/usr/share/fonts/X11/Type1"
  33. FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
  34. FontPath     "/usr/share/fonts/X11/100dpi"
  35. FontPath     "/usr/X11R6/lib/X11/fonts/100dpi"
  36. FontPath     "/usr/share/fonts/X11/75dpi"
  37. FontPath     "/usr/X11R6/lib/X11/fonts/75dpi"
  38. FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
  39. EndSection
  40. Section "Module"
  41. Load  "bitmap"
  42. Load  "dbe"
  43. Load  "ddc"
  44. Load  "dri"
  45. Load  "extmod"
  46. Load  "freetype"
  47. Load  "glx"
  48. Load  "int10"
  49. Load  "record"
  50. Load  "vbe"
  51. SubSection "extmod"
  52.  Option     "omit xfree86-dga"
  53. EndSubSection
  54. EndSection
  55. Section "InputDevice"
  56. Identifier  "Generic Keyboard"
  57. Driver      "kbd"
  58. Option     "CoreKeyboard"
  59. Option     "XkbRules" "xorg"
  60. Option     "XkbModel" "pc105"
  61. Option     "XkbLayout" "fr"
  62. EndSection
  63. Section "InputDevice"
  64. Identifier  "Configured Mouse"
  65. Driver      "mouse"
  66. Option     "CorePointer"
  67. Option     "Device" "/dev/input/mice"
  68. Option     "Protocol" "ImPS/2"
  69. Option     "Emulate3Buttons" "true"
  70. EndSection
  71. Section "Monitor"
  72. Identifier   "Monitor[0]"
  73. HorizSync    28.0 - 51.0
  74. VertRefresh  43.0 - 60.0
  75. Option     "DPMS"
  76. EndSection
  77. Section "Monitor"
  78. Identifier   "Monitor[1]"
  79. Option     "VendorName" "ATI Proprietary Driver"
  80. Option     "ModelName" "Generic Autodetecting Monitor"
  81. Option     "DPMS" "true"
  82. EndSection
  83. Section "Device"
  84. #dual screen
  85. Identifier  "ATI Technologies Inc RV350 AP [Radeon 9600]"
  86. Driver      "fglrx"
  87. Option     "UseFastTLS" "0"
  88. Option     "VideoOverlay" "on"
  89. Option     "OpenGLOverlay" "on"
  90. Option     "BlockSignalsOnLock" "on"
  91. Option     "ForceGenericCPU" "off"
  92. Option     "KernelModuleParm" "locked-userpages=0"
  93. Option     "no_accel" "no"
  94. Option     "no_dri" "no"
  95. Option     "backingstore" "true"
  96. Option     "DesktopSetup" "horizontal"
  97. Option     "OverlayOnCRTC2" "1"
  98. Option     "Mode2" "1024x768"
  99. Option     "VRefresh2" "60"
  100. Option "VRerefresh" "60"
  101. Option     "HSync2" "65" #This sets the horizontal sync for the secondary display.
  102. Option     "ForceMonitors" "crt1,crt2"
  103. Option     "EnableMonitor" "crt1,crt2"
  104. Option     "SwapScreens" "on"
  105. BusID       "PCI:3:0:0"
  106. EndSection
  107. Section "Device"
  108. Identifier  "Device[1]"
  109. Driver      "fglrx"
  110. Option     "VideoOverlay" "on"
  111. BusID       "PCI:3:0:0"
  112. Screen      1
  113. EndSection
  114. Section "Screen"
  115. Identifier "Screen[0]"
  116. Device     "ATI Technologies Inc RV350 AP [Radeon 9600]"
  117. Monitor    "Monitor[0]"
  118. DefaultDepth     24
  119. SubSection "Display"
  120.  Depth     1
  121.  Modes    "1024x768" "800x600" "640x480"
  122. EndSubSection
  123. SubSection "Display"
  124.  Depth     4
  125.  Modes    "1024x768" "800x600" "640x480"
  126. EndSubSection
  127. SubSection "Display"
  128.  Depth     8
  129.  Modes    "1024x768" "800x600" "640x480"
  130. EndSubSection
  131. SubSection "Display"
  132.  Depth     15
  133.  Modes    "1024x768" "800x600" "640x480"
  134. EndSubSection
  135. SubSection "Display"
  136.  Depth     16
  137.  Modes    "1024x768" "800x600" "640x480"
  138. EndSubSection
  139. SubSection "Display"
  140.  Depth     24
  141.  Modes "1024x768" "800x600" "640x480"
  142. EndSubSection
  143. EndSection
  144. Section "Screen"
  145. Identifier "Screen[1]"
  146. Device     "Device[1]"
  147. Monitor    "Monitor[1]"
  148. DefaultDepth     24
  149. SubSection "Display"
  150.  Viewport   0 0
  151.  Depth     24
  152.  Modes "1024x768" "800x600" "640x480"
  153. EndSubSection
  154. EndSection
  155. Section "DRI"
  156. Mode         0666
  157. EndSection


 
quand je tente de metre manuelement dans les modes du premier écran celui ci se met en noir et me dit qu'il supporte maxi du 1280x1024@60  
sous windows il suporte tres bien ce mode, sous linux je n'y arrive pas :/


---------------
la voie du click est impénétrable
Reply

Marsh Posté le 24-05-2007 à 00:41:06   

Reply

Marsh Posté le 24-05-2007 à 10:41:50    

persone ?


---------------
la voie du click est impénétrable
Reply

Marsh Posté le 24-05-2007 à 11:49:29    

Si tu as debian sid, i.e un xorg récent (etch je ne sais plus sa version), tu peux jouer avec xrandr. J'utilise çà et ça marche plutôt pas mal : http://www.delafond.org/traducmanf [...] dr.1x.html

Reply

Marsh Posté le 24-05-2007 à 12:20:25    

j'ai la version 7.1.1 de xorg
et debian testing
j'ai une carte ati radeon 1650 pro AGP 512mo

 

la commande xrandr est disponible chez moi, je vais lire le manuel que tu m'a passé et éssayer de comprendre comment ca marche :)

 

edit: xrandr -s 2048x768 c'est ma resolution actuelle
mais je ne vois pas comment avoir la liste des modes dispo et comment metre deux resolution DIFERENTES sur les deux écrans :(

 

blackpearl:/usr/src/linux# xrandr --screen 0 -s 1280x1024
Size 1280x1024 not found in available modes

 

edit2:
je vien de voir cette page: http://norman.walsh.name/2006/10/23/xrandr

 

c'est quoi cette option metamode, elle sers a quoi ?


Message édité par Adamaru le 24-05-2007 à 13:03:25

---------------
la voie du click est impénétrable
Reply

Marsh Posté le 24-05-2007 à 14:06:42    

resolut:

Code :
  1. xrandr --screen 0 -s 1280x1024 -r 60


 
ca c'est le debut :)
ensuite le fichier de config de xorg:

Code :
  1. # /etc/X11/xorg.conf (xorg X Window System server configuration file)
  2. #
  3. # This file was generated by dexconf, the Debian X Configuration tool, using
  4. # values from the debconf database.
  5. #
  6. # Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
  7. # (Type "man /etc/X11/xorg.conf" at the shell prompt.)
  8. #
  9. # This file is automatically updated on xserver-xorg package upgrades *only*
  10. # if it has not been modified since the last upgrade of the xserver-xorg
  11. # package.
  12. #
  13. # If you have edited this file but would like it to be automatically updated
  14. # again, run the following command:
  15. #   sudo dpkg-reconfigure -phigh xserver-xorg
  16. Section "Files"
  17. FontPath "/usr/share/fonts/X11/misc"
  18. FontPath "/usr/X11R6/lib/X11/fonts/misc"
  19. FontPath "/usr/share/fonts/X11/cyrillic"
  20. FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
  21. FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
  22. FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
  23. FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
  24. FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
  25. FontPath "/usr/share/fonts/X11/Type1"
  26. FontPath "/usr/X11R6/lib/X11/fonts/Type1"
  27. FontPath "/usr/share/fonts/X11/100dpi"
  28. FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
  29. FontPath "/usr/share/fonts/X11/75dpi"
  30. FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
  31. # path to defoma fonts
  32. FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
  33. EndSection
  34. Section "Module"
  35. Load "bitmap"
  36. Load "dbe"
  37. Load "ddc"
  38. Load "dri"
  39. Load "extmod"
  40. Load "freetype"
  41. Load "glx"
  42. Load "int10"
  43. Load "record"
  44. Load "vbe"
  45. EndSection
  46. Section "InputDevice"
  47. Identifier "Generic Keyboard"
  48. Driver  "kbd"
  49. Option  "CoreKeyboard"
  50. Option  "XkbRules" "xorg"
  51. Option  "XkbModel" "pc105"
  52. Option  "XkbLayout" "fr"
  53. EndSection
  54. Section "InputDevice"
  55. Identifier "Configured Mouse"
  56. Driver  "mouse"
  57. Option  "CorePointer"
  58. Option  "Device"  "/dev/input/mice"
  59. Option  "Protocol"  "ImPS/2"
  60. Option  "Emulate3Buttons" "true"
  61. EndSection
  62. Section "Device"
  63. Identifier "Carte ATI Radeon 1650 Pro AGP"
  64. Driver  "fglrx"
  65. BusID  "PCI:3:0:0"
  66. Option     "HSync2" "65" #This sets the horizontal sync for the secondary display.
  67. Option     "VRefresh2" "60"
  68. Option     "Mode2" "1024x768"
  69. EndSection
  70. Section "Monitor"
  71. Identifier "Écran générique"
  72. Option  "DPMS"
  73. HorizSync 28-64
  74. VertRefresh 43-60
  75. EndSection
  76. Section "Screen"
  77. Identifier "Default Screen"
  78. Device  "Carte ATI Radeon 1650 Pro AGP"
  79. Monitor  "Écran générique"
  80. DefaultDepth 24
  81. SubSection "Display"
  82.  Depth  24
  83.  Modes  "1280x1024" "1024x768" "800x600" "640x480"
  84. EndSubSection
  85. EndSection
  86. Section "ServerLayout"
  87. Identifier "Default Layout"
  88. Screen  "Default Screen"
  89. InputDevice "Generic Keyboard"
  90. InputDevice "Configured Mouse"
  91. EndSection
  92. Section "DRI"
  93. Mode 0666
  94. EndSection


 
la vérification:

Code :
  1. blackpearl:/home/chr0nos# xrandr
  2. SZ:    Pixels          Physical       Refresh
  3. *0   2560 x 1024   ( 650mm x 260mm )  *60
  4. 1   1280 x 1024   ( 650mm x 260mm )   60   47   43
  5. 2   1024 x 768    ( 650mm x 260mm )   75   72   70   60   43
  6. 3    800 x 600    ( 650mm x 260mm )   75   72   70   60   56   47
  7. 4    720 x 480    ( 650mm x 260mm )   60
  8. 5    640 x 480    ( 650mm x 260mm )   75   72   60
  9. 6   1280 x 720    ( 650mm x 260mm )   60   50
  10. 7   1152 x 864    ( 650mm x 260mm )   60   47   43
  11. 8    720 x 576    ( 650mm x 260mm )   50
  12. 9    640 x 400    ( 650mm x 260mm )   75   60
  13. 10   512 x 384    ( 650mm x 260mm )   75   60
  14. 11   400 x 300    ( 650mm x 260mm )   75   60
  15. 12   320 x 240    ( 650mm x 260mm )   75   60
  16. 13   320 x 200    ( 650mm x 260mm )   75   60
  17. Current rotation - normal
  18. Current reflection - none
  19. Rotations possible - normal
  20. Reflections possible - none


 
voila puisse cela servire a d'autres, le DRI fonctione aussi :)


---------------
la voie du click est impénétrable
Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed