LINUX.ORG.RU

Пожалуйста, помогите настроить Xineram'у!


0

0

Уже несколько часов не могу настроить два монитора, чтобы один был продолжением другого. Перерыл кучу интернета, прочитал Xinerama-HOWTO переписал вручную XF86Config - ничего не помогает, надеюсь, ткнёте, что не так.
Видеокарта - Radeon 9200.
Мониторы - Apple Cinema 20", 1680x1050
           CTX VL710T, 17", 1152x864@100

Что очень странно: если поменять драйвер на 'fglrx', получаем разрешение 2048x1536, с драйвером 'radeon', по крайней мере, яблочко показывает.

=========================================
### Modules
Section "Module"
	Load	"GLcore"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
#No dri with xinerama :(
#	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"speedo"
	Load	"type1"
	Load	"vbe"
EndSection

### Keyboard
Section "InputDevice"
  Driver       "kbd"
  Identifier   "Generic Keyboard"
  Option       "MapName" "Standard Keyboard [ pc105 ]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "us,il,ru"
  Option       "XkbModel" "pc104"
  Option       "XkbRules" "xfree86"
  Option       "XkbVariant" ",,winkeys"
EndSection

### Mouse
Section "InputDevice"
   Driver       "mouse"
   Identifier	 "Configured Mouse"
   Option       "Buttons" "10"
   Option       "Device" "/dev/mouse"
   Option       "Name" "Logitech MX700"
   Option       "Protocol" "ExplorerPS/2"
   Option       "Vendor" "Logitech"
   Option       "ZAxisMapping" "4 5"
EndSection

### Apple output
Section "Device"
	Identifier	"Radeon0"
	Driver		"radeon"
	BoardName	"ATI Radeon 9200"
#	Screen 		1
#	ChipId		0x5157 #<-So that xfree thinks it's 7500
	Option          "SWcursor" "true"
#	Option		"MonitorLayout" "CRT,CRT"
	BusId		"PCI:1:5:1"
EndSection

### Ctx output
Section "Device"
   Identifier      "Radeon1"
   Driver          "radeon"
   BoardName       "ATI Radeon 9200"
#   Screen		0
#   ChipId          0x5157 #<-So that xfree thinks it's 7500
#	Option		"MonitorLayout" "CRT,CRT"
#	Option 	        "SWcursor" "true"
   BusId           "PCI:1:5:0"
EndSection

Section "Modes"
	Identifier "modes-ctx"
	Modeline 	"1152x864" 77.55 1152 1168 1384 1568 864 864 871 902
	Modeline 	"1152x864" 90.48 1152 1168 1384 1568 864 864 873 902
	Modeline 	"1152x864" 103.40 1152 1168 1384 1568 864 864 874 902
	Modeline 	"1152x864" 116.33 1152 1168 1384 1568 864 864 876 902
	Modeline 	"1152x864" 129.25 1152 1168 1384 1568 864 864 879 902
	Modeline 	"1152x864" 142.12 1152 1168 1384 1568 864 864 879 902
EndSection

Section "Monitor"
  Option       "CalcAlgorithm" "CheckDesktopGeometry"
  DisplaySize  320 240
  HorizSync    27-95
  Identifier   "ctx-monitor"
  ModelName    "VL710ST (1795SL)"
  Option       "DPMS"
  VendorName   "CTX"
  VertRefresh  50-160
  UseModes     "modes-ctx"
EndSection

Section "Monitor"
  Identifier   "apple-monitor"
EndSection


Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      24
    Modes      "1680x1050"
  EndSubSection
  SubSection "Display"
    Depth      32
    Modes      "1680x1050"
  EndSubSection
  Device       "Radeon1"
  Identifier   "apple-screen"
  Monitor      "apple-monitor"
EndSection


Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1152x864" "1024x768" "800x600" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1152x864" "1024x768" "800x600" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1152x864" "1024x768" "800x600" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      32
    Modes      "1152x864" "1024x768" "800x600" "640x480" 
  EndSubSection
  Device       "Radeon1"
  Identifier   "ctx-screen"
  Monitor      "ctx-monitor"
EndSection



### No dri with xinerama, commented out.
#Section "DRI"
#       Mode    0666
#EndSection

### Default layout
Section "ServerLayout"
	Identifier	"Dual monitors"
	Screen 		"apple-screen"
	Screen		"ctx-screen" RightOf "apple-screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	Option		"Xinerama" "true"
EndSection
==============================================
★★

Может не в тему (у меня NVidia)
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0"
Screen 1 "Screen1" leftOf "Screen0"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Работает. Окна можно таскать с одного монитора на другой и тд.

sdio ★★★★★
()
Ответ на: комментарий от sdio

Спасибо. Я разобрался. Причина оказалась в том, что я указал

BusId "PCI:1:5:1"

для одного из адаптеров, а у обоих должно было быть PCI:1:5:0, :1 - это, наверное capturing device Radeon'a.

fAX ★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.