Announcement

Collapse
No announcement yet.

fglrx + composite + xinerama + dri ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • fglrx + composite + xinerama + dri ?

    I just installed fglrx 8.12 drivers and everything is fine and dandy with my 2 monitors.

    However, I cannot seem to get composite, dri AND xinerama working together. If I do not use xinerama, I can get composite + dri working.

    Is this a known bug? Should I try xrandr instead?

    -Avi

  • #2
    xorg.conf

    This is my xorg.conf


    Code:
    Section "ServerLayout"
    	Identifier     "Simple Layout"
    	Screen      0  "aticonfig-Screen[0]-0" 0 0
    	Screen         "aticonfig-Screen[0]-1" RightOf "aticonfig-Screen[0]-0"
    	InputDevice    "Mouse1" "CorePointer"
    	InputDevice    "Keyboard1" "CoreKeyboard"
    EndSection
    
    Section "Files"
    
    # Multiple FontPath entries are allowed (which are concatenated together),
    # as well as specifying multiple comma-separated entries in one FontPath
    # command (or a combination of both methods)
    # 
    #    FontPath   "built-ins"
    #    FontPath   "/usr/lib/X11/fonts/local/"
    #    FontPath   "/usr/lib/X11/fonts/misc/"
    #    FontPath   "/usr/lib/X11/fonts/75dpi/:unscaled"
    #    FontPath   "/usr/lib/X11/fonts/100dpi/:unscaled"
    #    FontPath   "/usr/lib/X11/fonts/Type1/"
    #    FontPath   "/usr/lib/X11/fonts/TrueType/"
    #    FontPath   "/usr/lib/X11/fonts/freefont/"
    #    FontPath   "/usr/lib/X11/fonts/75dpi/"
    #    FontPath   "/usr/lib/X11/fonts/100dpi/"
    # The module search path.  The default path is shown here.
    #    ModulePath "/usr/lib/modules"
    
    EndSection
    
    Section "Module"
    
    # This loads the DBE extension module.
    # This loads the miscellaneous extensions module, and disables
    # initialisation of the XFree86-DGA extension within that module.
    # This loads the font modules
    #    Load        "type1"
    # This loads the GLX module
    	Load  "dri"
    	Load  "glx"
    	Load "GLcore"
    # This loads the DRI module
    	Load  "dbe"  	# Double buffer extension
    	SubSection "extmod"
    		Option	    "omit xfree86-dga"   # don't initialise the DGA extension
    	EndSubSection
    	Load  "freetype"
    
    EndSection
    
    Section "ServerFlags"
    	Option	    "Xinerama" "on"
    	Option "AIGLX" "on" 
    EndSection
    
    Section "Extensions" 
     Option "Composite" "Enable" 
     EndSection 
    
    Section "InputDevice"
    	Identifier  "Keyboard1"
    	Driver      "kbd"
    	Option	    "AutoRepeat" "500 30"
    # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
    	Option	    "XkbRules" "xorg"
    	Option	    "XkbModel" "pc104"
    	Option	    "XkbLayout" "us"
    EndSection
    
    Section "InputDevice"
    	Identifier  "Mouse1"
    	Driver      "mouse"
    	Option	    "Protocol" "Auto"	# Auto detect
    	Option	    "Device" "/dev/input/mice"
    # Mouse-speed setting for PS/2 mouse.
    	Option	    "ZAxisMapping" "4 5 6 7"
    # Emulate3Buttons is an option for 2-button mice
    EndSection
    
    Section "Monitor"
    	Identifier   "aticonfig-Monitor[0]-0"
    	Option	    "VendorName" "ATI Proprietary Driver"
    	Option	    "ModelName" "Generic Autodetecting Monitor"
    	Option	    "DPMS" "true"
    EndSection
    
    Section "Monitor"
    	Identifier   "aticonfig-Monitor[0]-1"
    	Option	    "VendorName" "ATI Proprietary Driver"
    	Option	    "ModelName" "Generic Autodetecting Monitor"
    	Option	    "DPMS" "true"
    EndSection
    
    Section "Device"
    	Identifier  "aticonfig-Device[0]-0"
    	Driver      "fglrx"
    	Option	    "DesktopSetup" "horizontal"
    	BusID       "PCI:2:0:0"
    	# === Video Overlay for the Xv extension ===
    	  Option "VideoOverlay" "on"
      # === OpenGL Overlay ===
      # Note: When OpenGL Overlay is enabled, Video Overlay
      #       will be disabled automatically
    	  Option "OpenGLOverlay" "off"	
    EndSection
    
    Section "Device"
    	Identifier  "aticonfig-Device[0]-1"
    	Driver      "fglrx"
    	BusID       "PCI:2:0:0"
    	Screen      1
    	          Option "VideoOverlay" "on"
      # === OpenGL Overlay ===                                                                                                                           
      # Note: When OpenGL Overlay is enabled, Video Overlay                                                                                              
      #       will be disabled automatically                                                                                                             
              Option "OpenGLOverlay" "off"
    
    EndSection
    
    Section "Screen"
    	Identifier "aticonfig-Screen[0]-0"
    	Device     "aticonfig-Device[0]-0"
    	Monitor    "aticonfig-Monitor[0]-0"
    	DefaultDepth     24
    	SubSection "Display"
    		Viewport   0 0
    		Depth     24
    	EndSubSection
    EndSection
    
    Section "Screen"
    	Identifier "aticonfig-Screen[0]-1"
    	Device     "aticonfig-Device[0]-1"
    	Monitor    "aticonfig-Monitor[0]-1"
    	DefaultDepth     24
    	SubSection "Display"
    		Viewport   0 0
    		Depth     24
    	EndSubSection
    EndSection
    
    Section "DRI"
        Mode 0666
    EndSection

    Comment


    • #3
      Hi there. I have exactly the same problem as you, and I'm using more recent drivers (9.1).

      Have you tried setting the OpenGLOverlay on ?

      Here's my xorg.conf (might be a little messy because it was auto generated by ATI's control panel).

      Code:
      Section "ServerLayout"
      	Identifier     "Default Layout"
      	Screen      0  "aticonfig-Screen[0]-0" 0 1050
      	Screen         "aticonfig-Screen[0]-1" 0 0
      	InputDevice    "Synaptics Touchpad"
      EndSection
      
      Section "Files"
      EndSection
      
      Section "Module"
      EndSection
      
      Section "ServerFlags"
      	Option	    "Xinerama" "on"
      EndSection
      
      Section "Extensions"
      	Option	    "Composite" "on"
      EndSection
      
      Section "InputDevice"
      	Identifier  "Generic Keyboard"
      	Driver      "kbd"
      	Option	    "XkbRules" "xorg"
      	Option	    "XkbModel" "pc105"
      	Option	    "XkbLayout" "pt"
      	Option	    "XkbOptions" "lv3:ralt_switch"
      EndSection
      
      Section "InputDevice"
      	Identifier  "Configured Mouse"
      	Driver      "mouse"
      	Option	    "CorePointer"
      EndSection
      
      Section "InputDevice"
      	Identifier  "Synaptics Touchpad"
      	Driver      "synaptics"
      	Option	    "SendCoreEvents" "true"
      	Option	    "Device" "/dev/psaux"
      	Option	    "Protocol" "auto-dev"
      	Option	    "HorizEdgeScroll" "0"
      	Option	    "SHMConfig" "on"
      EndSection
      
      Section "Monitor"
      	Identifier   "aticonfig-Monitor[0]-0"
      	Option	    "VendorName" "ATI Proprietary Driver"
      	Option	    "ModelName" "Generic Autodetecting Monitor"
      	Option	    "DPMS" "true"
      EndSection
      
      Section "Monitor"
      	Identifier   "aticonfig-Monitor[0]-1"
      	Option	    "VendorName" "ATI Proprietary Driver"
      	Option	    "ModelName" "Generic Autodetecting Monitor"
      	Option	    "DPMS" "true"
      EndSection
      
      Section "Device"
      	Identifier  "Configured Video Device"
      EndSection
      
      Section "Device"
      	Identifier  "aticonfig-Device[0]-0"
      	Driver      "fglrx"
      	BusID       "PCI:1:0:0"
      EndSection
      
      Section "Device"
      	Identifier  "aticonfig-Device[0]-1"
      	Driver      "fglrx"
      	BusID       "PCI:1:0:0"
      	Screen      1
      EndSection
      
      Section "Screen"
      	Identifier "Default Screen"
      	Device     "Configured Video Device"
      	Monitor    "Configured Monitor"
      EndSection
      
      Section "Screen"
      	Identifier "aticonfig-Screen[0]-0"
      	Device     "aticonfig-Device[0]-0"
      	Monitor    "aticonfig-Monitor[0]-0"
      	DefaultDepth     24
      	SubSection "Display"
      		Viewport   0 0
      		Depth     24
      	EndSubSection
      EndSection
      
      Section "Screen"
      	Identifier "aticonfig-Screen[0]-1"
      	Device     "aticonfig-Device[0]-1"
      	Monitor    "aticonfig-Monitor[0]-1"
      	DefaultDepth     24
      	SubSection "Display"
      		Viewport   0 0
      		Depth     24
      	EndSubSection
      EndSection

      Comment

      Working...
      X