Bug 15896

Summary: [855GM] AIGLX error with xorg-server-1.3
Product: xorg Reporter: Arthur Spitzer <arthurspitzer>
Component: Driver/intelAssignee: Jesse Barnes <jbarnes>
Status: RESOLVED WONTFIX QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: eric, jbarnes, keithp, remi
Version: unspecifiedKeywords: NEEDINFO
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
xorg log none

Description Arthur Spitzer 2008-05-09 13:33:55 UTC
Created attachment 16461 [details]
xorg log

Hi,

today I got the new intel-2.3.0 driver working with xorg-server-1.4.0.90. By trying to port it back to gentoo's stable 1.3 version I get now the following error with both XAA and EXA: 

(EE) AIGLX error: drmMap of framebuffer failed (Invalid argument)(EE) AIGLX: reverting to software rendering

Used both mesa 6.5.2-r1 and 7.0.2.

Is it possible to get that driver to work with "old" xorg-server-1.3?
Comment 1 Gordon Jin 2008-05-11 19:37:30 UTC
I remember there have been similar report for "DRI fail with xserver 1.3", e.g. bug#13239.

Is there anything we can do to make it working with xserver 1.3?

Comment 2 Jesse Barnes 2008-05-20 14:39:55 UTC
I'm trying to reproduce this on my 855GM now...
Comment 3 Jesse Barnes 2008-05-20 15:05:33 UTC
Could you also attach your kernel log?
Comment 4 Jesse Barnes 2008-05-20 15:52:54 UTC
It looks like this was fallout from the great frontbuffer mapping removal (bug #5714, which is still open).

We don't have enough information for old X servers to map the frontbuffer in DRIScreenInit, since we haven't allocated memory yet.  So we set some bogus frontbuffer values, which allows DRIScreenInit to succeed, then remove the bogus mapping later in I830DRIScreenInit.  But we never set the framebuffer info again to allow DRIGetDeviceInfo to work, which might allow AIGLX to init properly in __glXDRIscreenProbe.

I'm trying to get set up w/Mesa 6.5.2, X.Org 1.3 and a recent driver to see if I can fix this somehow...
Comment 5 Jesse Barnes 2008-05-20 16:16:41 UTC
Just posted this to the list:

The short story is that the driver will disable AIGLX on pre-1.4 X servers 
due to the way we changed front buffer mapping & allocation.

If you really need a new Intel driver w/AIGLX on an old X server, you'll 
probably want a more recent Mesa too (server 1.3 required Mesa 6.5.2 or 
earlier), so you should either steal Red Hat's Mesa 7 backport patch or 
backport what you need independently.

Is that ok for you Arthur?  Or do you really need server 1.3 support?

Thanks,
Jesse
Comment 6 Arthur Spitzer 2008-05-21 08:45:46 UTC
Hi,

thanks for your work. 
I use the newer driver for getting the right resolution without patching the video bios with 915resolution. And version 2.3.0 was the first version witch worked for me. I asked about the old xserver-version because it's the stable version in Gentoo Linux. And I hoped I could switch back to stable. 

Since it's not supposed to work, I'll be running  xserver version 1.4.0.90 instead. No problem. 

Thanks for your effort. 
Comment 7 Jesse Barnes 2008-05-21 10:39:16 UTC
Ok, thanks Arthur.  I'll mark this as WONTFIX.

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.