Bug 130718

Summary: Build some DDX drivers external using X.Org SDK
Product: [openSUSE] SUSE Linux 10.1 Reporter: Stefan Dirsch <sndirsch>
Component: X.OrgAssignee: Egbert Eich <eich>
Status: RESOLVED FIXED QA Contact: Stefan Dirsch <sndirsch>
Severity: Enhancement    
Priority: P1 - Urgent CC: eich
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Stefan Dirsch 2005-10-26 11:02:30 UTC
JFYI,

$subject is implemented, but DRI does not work this way. Tested on Intel 945G (x86_64).

#glxinfo
"error: different size of I830DRIRec"

--> src/mesa/drivers/dri/i915/intel_screen.c:intelInitDriver()

bad: devPrivSize:          136 (external built DDX driver)
     sizeof(I830DRIRec):   104
good: devPrivSize:         104 (monolithic DDX driver build)
      sizeof(I830DRIRec):  104

I use the same sources for the DDX driver, but something is different when 
building the DDX driver outside of the xc tree ....
Comment 1 Stefan Dirsch 2005-10-28 16:06:59 UTC
Works fine with the radeon driver. Tested on ATI FireGL 8800 (=R200) (x86_64).
Seems to be an Intel driver related issue.
Comment 2 Stefan Dirsch 2005-10-28 18:28:30 UTC
Works also fine with the mga driver. Tested on Matrox G550 (x86_64).
Comment 3 Stefan Dirsch 2005-10-28 18:37:08 UTC
Tested also succesfully on a Radeon 7500 board ("radeon" driver).
Comment 5 Stefan Dirsch 2005-11-16 14:40:13 UTC
Assigning to Egbert. He wants to take care of it.
Comment 6 Egbert Eich 2005-11-16 15:00:03 UTC
Which means I will look at the problem and/or ping Intel to look into this.
Comment 7 Stefan Dirsch 2005-11-16 15:02:34 UTC
Thanks!
Comment 8 Stefan Dirsch 2005-12-01 15:21:19 UTC
At least an external built i810 driver works with DRI enabled on i386. This is on Alpha3Plus with X.Org CVS of 2005-12-01 (includes changes for Mesa 6.4.1 and libdrm 2.0) + Mesa 6.4.1 + libdrm 2.0. I didn't test on x86_64 yet. Will do so ASAP.
Comment 9 Stefan Dirsch 2005-12-02 16:12:30 UTC
I've just verified that this fixes it on 86_64 as well (64 and 32bit support).
Comment 10 Stefan Dirsch 2005-12-02 16:13:35 UTC
xorg-x11 and xorg-x11-driver-video packages submitted accordingly (i810 driver no longer build by xorg-x11, but built by xorg-x11-driver-video).