Bug 20396

Summary: ATI Radeon IGP330M/340M/350M Memory manager initialization
Product: xorg Reporter: george lulu <georgebug>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED NOTABUG QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: 7.4 (2008.09)   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
xvinfo, glxgears, Xorg.0.log, dmesg,lsmod, mtrr, from several of the configurations. none

Description george lulu 2009-03-01 01:35:24 UTC
Created attachment 23405 [details]
xvinfo, glxgears, Xorg.0.log, dmesg,lsmod, mtrr,  from several of the configurations.

For some reason the driver seems to fail at Memory manager initialization(which breaks hw accel) when running under xserver 1.5.2 but works with xserver 1.3.0 & 1.4.2.  I know that its getting the wrong values from info->FbMapSize-info->FbSecureSize, wherever that comes from.

I've tested a great deal more configurations(and i've tried various xorg.conf stuff as you can see from the attachment's logs) then listed below, and I'm willing to try a few more to isolate it, but a pointer in the right direction would be good re-energizing.

Below is a select subset of configurations I've tested, and a text excerpt of memory initialization working, and one where it fails(It fails the same way every time if that helps).
------------------------------------------------------------------------

Works with the following configurations:
xserver 1.3.0, 1.4.2
linux kernel  2.6.21, 2.6.24, 2.6.26, 2.6.27
radeon driver version: 6.9.0


Broken with the following configurations.
xserver 1.5.2  
linux kernel  2.6.21, 2.6.24, 2.6.26, 2.6.27
radeon driver version 6.8.0 6.9.0 6.11.0
(I chroot to a 1.4.2 install when running any of the kernels and it works fine)

-----------------------------------------------------------------------

WORKING OUTPUT(From xserver 1.3.0(1.4.2 agrees with these values))

(II) RADEON(0): Memory manager initialized to (0,0) (1024,8191)
(II) RADEON(0): Reserved area from (0,1024) to (1024,1026)
(II) RADEON(0): Largest offscreen area available: 1024 x 7165
(II) RADEON(0): Will use front buffer at offset 0x0
(II) RADEON(0): Will use back buffer at offset 0x800000
(II) RADEON(0): Will use depth buffer at offset 0xc00000
(II) RADEON(0): Will use 16384 kb for textures at offset 0x1000000

BROKEN OUTPUT(every test with xserver 1.5.2 puts out this)

(II) RADEON(0): Memory manager initialized to (0,0) (3840,2184)
(II) RADEON(0): Reserved area from (0,1200) to (3840,1202)
(II) RADEON(0): Largest offscreen area available: 3840 x 982
(II) RADEON(0): Will use front buffer at offset 0x0
(II) RADEON(0): Will use back buffer at offset 0xffcd8000
(II) RADEON(0): Will use depth buffer at offset 0xe6c000
(II) RADEON(0): Will use 0 kb for textures at offset 0x2000000
Comment 1 george lulu 2009-03-01 02:03:28 UTC
I'm not sure if it helps, but I've forgot to mention that I've seen a couple posts in forums circa novermber-december(probably earlier but I wasn't exhaustive in my search) when people had the same problems.
Comment 2 Alex Deucher 2009-03-01 09:59:33 UTC
In the future please attach files individually rather than attaching a tarball.  Also, can you check your xorg.conf?  It looks like the config you are using for xserver 1.5.x specified a huge virtual X size which pre-allocates a huge desktop:

(WW) RADEON(0): Requested desktop size exceeds surface limts for tiling, ColorTiling disabled
(II) RADEON(0): Max desktop size set to 3840x1200
(II) RADEON(0): For a larger or smaller max desktop size, add a Virtual line to your xorg.conf
(II) RADEON(0): If you are having trouble with 3D, reduce the desktop size by adjusting the Virtual line to your xorg.conf

While the one from 1.4.x does not:

(II) RADEON(0): Max desktop size set to 2048x1200
(II) RADEON(0): For a larger or smaller max desktop size, add a Virtual line to your xorg.conf
(II) RADEON(0): If you are having trouble with 3D, reduce the desktop size by adjusting the Virtual line to your xorg.conf

Remove the Virtual line from your 1.5.x config.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.