Dual Head + radeon driver + mergefb + beryl. DRI problem now.

ArcosCom Linux User linux at arcoscom.com
Sat Jun 30 15:46:09 PDT 2007


Well, as my "fglrx+xgl" message don't appear to be interesting, I tried to
configure my system using radeon with mergefb (thanks to google for it).

I have readed that to use DRI with 2 monitors and radeon driver, I need to
say X I only have one and configure the "device" and screen sections as
these:

Section "Module"
	Load  "bitmap"
	Load  "dbe"
	Load  "ddc"
	Load  "fbdevhw"
	Load  "extmod"
	Load  "glx"
	Load  "record"
	Load  "freetype"
	Load  "type1"
	Load  "vbe"
	Load  "xtrap"
	Load  "int10"
	Load  "vnc"
	Load  "dri"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "radeon"
	VendorName  "Videocard Vendor"
	BoardName   "ATI Technologies Inc M24 1P [Radeon Mobility X600]"
	BusID       "PCI:1:0:0"
	Option "MetaModes" "1680x1050 1680x1050-1280x1024"
	Option "MonitorLayout" "LVDS, AUTO"
	Option "CRT2Hsync" "30-70"
	Option "CRT2VRefresh" "50-150"
	Option "CRT2Position" "RightOf"
	Option "MergedFB" "true"
	Option "MergedNonRectangular" "true"
	Option "MergedXinerama" "on"
#	Option "AGPMode" "8"
#	Option "MergedXineramaCRT2IsScreen0" "false"
#	Option "EnablePageFlip" "true"
#  Option "ColorTiling" "on"
#  Option "AccelMethod" "XAA"
#	Option "AccelDFS"    "1"
#	Option "RenderAccel" "true"
#	Option "AGPFastWrite" "on"
#	Option "DPMS" "true"
#	Screen 0
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     24
	Option	    "UserPasswdVerifier" "VncAuth"
	Option	    "PasswordFile" "/root/.vnc/passwd"
	Option	    "rfbport" "5901"
	Option	    "httpd" "/usr/share/vnc/classes/"
	Option	    "httpPort" "5801"
	Option	    "ClientWaitTimeMillis" "300000"
	Option	    "deferUpdate" "100"
	Option	    "DisconnectClients" "off"
	Option	    "AllwaysShared" "on"
	Option	    "IdleTimeout" "300"
	Option	    "desktop" "sdg01.arcoscom - PORTATIL"
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1680x1050"
		Virtual 2960 1024
	EndSubSection
EndSection

Before that, the Xorg.0.log file, say to me that I test with MergedFB
option (I had 2 devices + 2 screens sections and working fine, but without
DRI).

Now, Xorg appears to load DRI, but disable it and I don't know why.

I can see this in my Xorg.0.log file:

...
(**) RADEON(0): RADEONRestoreMemMapRegisters() :
(**) RADEON(0):   MC_FB_LOCATION   : 0xd7ffd000
(**) RADEON(0):   MC_AGP_LOCATION  : 0xffffffc0
(**) RADEON(0): Updating display base addresses...
(**) RADEON(0): Memory map updated.
(**) RADEON(0): Programming CRTC2, offset: 0x00000000
(**) RADEON(0): Wrote: 0x00000006 0x00010030 0x00000000 (0x0000a400)
(**) RADEON(0): Wrote: rd=6, fd=48, pd=1
(**) RADEON(0): Programming CRTC1, offset: 0x00000000
(**) RADEON(0): GRPH_BUFFER_CNTL from 201f7c7c to 201f7c7c
(**) RADEON(0): GRPH2_BUFFER_CNTL from 203c7c7c to 203c7c7c
(**) RADEON(0): RADEONSaveScreen(0)
(II) RADEON(0): Depth moves disabled by default
(**) RADEON(0): Setting up initial surfaces
(**) RADEON(0): Initializing fb layer
(**) RADEON(0): Setting up accel memmap
(II) RADEON(0): Memory manager initialized to (0,0) (3008,8191)
(II) RADEON(0): Reserved area from (0,1050) to (3008,1058)
(II) RADEON(0): Largest offscreen area available: 3008 x 7133
(**) RADEON(0): Initializing backing store
(==) RADEON(0): Backing store disabled
(WW) RADEON(0): Direct rendering disabled
(**) RADEON(0): Setting up final surfaces
(**) RADEON(0): Initializing Acceleration
(II) RADEON(0): Render acceleration unsupported on Radeon 9500/9700 and
newer.
(II) RADEON(0): Render acceleration disabled
(**) RADEON(0): EngineInit (32/32)
(**) RADEON(0): Pitch for acceleration = 376
(**) RADEON(0): EngineRestore (32/32)
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
	Screen to screen bit blits
	Solid filled rectangles
	8x8 mono pattern filled rectangles
	Indirect CPU to Screen color expansion
	Solid Lines
	Scanline Image Writes
	Offscreen Pixmaps
	Setting up tile and stipple cache:
		32 128x128 slots
		32 256x256 slots
		16 512x512 slots
(II) RADEON(0): Acceleration enabled
(**) RADEON(0): Initializing DPMS
(**) Option "dpms"
(**) RADEON(0): DPMS enabled
...

Take care into the line:
(WW) RADEON(0): Direct rendering disabled

Does anyone want to help me?

Thanks!!






More information about the xorg mailing list