Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: Dualhead en fglrx  (gelezen 1352 keer)

Dualhead en fglrx
« Gepost op: 2007/02/20, 16:50:08 »
Hoi iedereen,

Ik heb wat zitten spelen met xorg.conf en dualhead.
Ik heb een ATI Radeon 9650 en heb eerst de fglrx-drivers geïnstalleerd. Deze werkten perfect (controle fglrxinfo).
Daarna heb ik xorg.conf aangepast. Wanneer ik dan herstart, heb ik mooi mijn bureaublad dat op de 2 schermen doorloopt. Maar als ik dan fglrxinfo doe, zie ik dat hij automatisch terug Mesa gebruikt. Ook is er een fout als ik met mijn cursor naar het 2 scherm ga. De cursor wordt op het 2de scherm getoond als een blokje van 2 op 2cm.

Hoe kan ik er voor zorgen dat hij de fglrx drivers gebruikt ipv mesa in dualhead-modus?
En kan het zijn dat wanneer ik de binary (fglrx)-drivers dan gebruik, dat het cursorprobleem zich mee zal oplossen?

Voor de volledigheid zal ik de 2 xorg.conf bestanden mee doorzenden. Het eerste is zonder de dualhead aanpassing en met een werkende fglrx en de 2de is met dualhead, waarbij fglrx zich uitschakeld.

Vriendelijke Groeten,
Arvid Van Essche

Citaat van: xorgmono.conf
Section "ServerLayout"
   Identifier     "Default Layout"
   Screen         "Default Screen" 0 0
   InputDevice    "Generic Keyboard"
   InputDevice    "Configured Mouse"
   InputDevice    "stylus" "SendCoreEvents"
   InputDevice    "cursor" "SendCoreEvents"
   InputDevice    "eraser" "SendCoreEvents"
   InputDevice    "Synaptics Touchpad"
EndSection

Section "Files"

   # path to defoma fonts
   FontPath     "/usr/share/X11/fonts/misc"
   FontPath     "/usr/share/X11/fonts/cyrillic"
   FontPath     "/usr/share/X11/fonts/100dpi/:unscaled"
   FontPath     "/usr/share/X11/fonts/75dpi/:unscaled"
   FontPath     "/usr/share/X11/fonts/Type1"
   FontPath     "/usr/share/X11/fonts/100dpi"
   FontPath     "/usr/share/X11/fonts/75dpi"
   FontPath     "/usr/share/fonts/X11/misc"
   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  "type1"
   Load  "vbe"
EndSection

Section "InputDevice"
   Identifier  "Generic Keyboard"
   Driver      "kbd"
   Option       "CoreKeyboard"
   Option       "XkbRules" "xorg"
   Option       "XkbModel" "pc105"
   Option       "XkbLayout" "be"
   Option       "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
   Identifier  "Configured Mouse"
   Driver      "mouse"
   Option       "CorePointer"
   Option       "Device" "/dev/input/mice"
   Option       "Protocol" "ExplorerPS/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"

                                                      # /dev/input/event
                                                      # for USB
   Identifier  "stylus"
   Driver      "wacom"
   Option       "Device" "/dev/wacom"          # Change to
   Option       "Type" "stylus"
   Option       "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
   Identifier  "eraser"
   Driver      "wacom"
   Option       "Device" "/dev/wacom"          # Change to
   Option       "Type" "eraser"
   Option       "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
   Identifier  "cursor"
   Driver      "wacom"
   Option       "Device" "/dev/wacom"          # Change to
   Option       "Type" "cursor"
   Option       "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "Monitor"
   Identifier   "Generic Monitor"
   HorizSync    28.0 - 51.0
   VertRefresh  43.0 - 60.0
   Option       "DPMS"
EndSection

Section "Device"
   Identifier  "Generic Video Card"
   Driver      "fglrx"
   Option       "VideoOverlay" "on"
   Option       "OpenGLOverlay" "off"
   BusID       "PCI:1:0:0"
EndSection

Section "Screen"
   Identifier "Default Screen"
   Device     "Generic Video Card"
   Monitor    "Generic Monitor"
   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 "DRI"
   Mode         0666
EndSection

Section "Extensions"
        Option      "Composite" "0"
EndSection
Citaat van: xorgdual.conf
Section "ServerLayout"
   Identifier     "Default Layout"
   Screen         "Main Screen"
   Screen      "Second Screen"   RightOf   "Main Screen"
   InputDevice    "Generic Keyboard"
   InputDevice    "Configured Mouse"
   InputDevice    "stylus" "SendCoreEvents"
   InputDevice    "cursor" "SendCoreEvents"
   InputDevice    "eraser" "SendCoreEvents"
   InputDevice    "Synaptics Touchpad"
EndSection

Section "Files"

   # path to defoma fonts
   FontPath     "/usr/share/X11/fonts/misc"
   FontPath     "/usr/share/X11/fonts/cyrillic"
   FontPath     "/usr/share/X11/fonts/100dpi/:unscaled"
   FontPath     "/usr/share/X11/fonts/75dpi/:unscaled"
   FontPath     "/usr/share/X11/fonts/Type1"
   FontPath     "/usr/share/X11/fonts/100dpi"
   FontPath     "/usr/share/X11/fonts/75dpi"
   FontPath     "/usr/share/fonts/X11/misc"
   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  "type1"
   Load  "vbe"
EndSection

Section "InputDevice"
   Identifier  "Generic Keyboard"
   Driver      "kbd"
   Option       "CoreKeyboard"
   Option       "XkbRules" "xorg"
   Option       "XkbModel" "pc105"
   Option       "XkbLayout" "be"
   Option       "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
   Identifier  "Configured Mouse"
   Driver      "mouse"
   Option       "CorePointer"
   Option       "Device" "/dev/input/mice"
   Option       "Protocol" "ExplorerPS/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"

                                                      # /dev/input/event
                                                      # for USB
   Identifier  "stylus"
   Driver      "wacom"
   Option       "Device" "/dev/wacom"          # Change to
   Option       "Type" "stylus"
   Option       "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
   Identifier  "eraser"
   Driver      "wacom"
   Option       "Device" "/dev/wacom"          # Change to
   Option       "Type" "eraser"
   Option       "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
   Identifier  "cursor"
   Driver      "wacom"
   Option       "Device" "/dev/wacom"          # Change to
   Option       "Type" "cursor"
   Option       "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "Monitor"
   Identifier   "Main Monitor"
   HorizSync    28.0 - 51.0
   VertRefresh  43.0 - 60.0
   Option       "DPMS"
EndSection

Section "Monitor"
   Identifier   "Second Monitor"
   HorizSync    28.0 - 51.0
   VertRefresh  43.0 - 60.0
   Option       "DPMS"
EndSection

Section "Device"
   Identifier  "ATI RADEON 9650 0"
   Driver      "fglrx"
   Option       "VideoOverlay" "on"
   Option       "OpenGLOverlay" "off"
   BusID       "PCI:1:0:0"
   Screen      0
EndSection

Section "Device"
   Identifier  "ATI RADEON 9650 1"
   Driver      "fglrx"
   Option       "VideoOverlay" "on"
   Option       "OpenGLOverlay" "off"
   BusID       "PCI:1:0:0"
   Screen      1
EndSection

Section "Screen"
   Identifier "Main Screen"
   Device     "ATI RADEON 9650 0"
   Monitor    "Main Monitor"
   DefaultDepth     24
   SubSection "Display"
      Depth     24
      Modes    "1024x768" "800x600" "640x480"
   EndSubSection
EndSection

Section "Screen"
   Identifier "Second Screen"
   Device     "ATI RADEON 9650 1"
   Monitor    "Second Monitor"
   DefaultDepth     24
   SubSection "Display"
      Depth     24
      Modes    "1280x1024"
   EndSubSection
EndSection

Section   "ServerFlags"
   Option   "Xinerama"   "true"
EndSection

Section "DRI"
   Mode         0666
EndSection

Section "Extensions"
        Option      "Composite" "0"
EndSection

Dualhead en fglrx
« Reactie #1 Gepost op: 2007/02/20, 17:02:51 »
Ik heb gemerkt dat wanneer ik in de dualhead-modus fglrxinfo doe een extra regel geeft met een error in. Snap de error niet goed, maar denk dat het wel wat info is:

Citaat van: error fglrxinfo
arvid@NBArvid:~$ fglrxinfo
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
display: :0.0  screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.5.1)
Vriendelijke Groet,
Arvid Van Essche

Deevay

  • Gast
Dualhead en fglrx
« Reactie #2 Gepost op: 2007/02/25, 20:26:01 »
Arvid,

Vandaag kwam ik er achter dat Xinerama en fglrx niet samen willen :S
Als je die regels mbt Xinerama eens weg-comment, en je start dan je pc opnieuw op, krijg je als het goed is twee schermen te zien, die op het eerste gezicht een clone lijken te zijn, maar als je programma's gaat starten, zie dat die alleen gestart worden op het scherm waarin je het programma gestart hebt. Dit zijn dus wel degelijk twee onafhankelijke beeldschermen en je hebt hardware acceleration op beide schermen..