Comment 0 for bug 4596

Revision history for this message
Alex Ross (alexross) wrote :

Xorg -configure does not work: none of the input/output modules are detected. Because of this, it's extremely hard to use a non-VESA accelerated driver unless xorg.conf contains settings which work on that particular machine (either by chance or from a previously-known working setup).

Further debugging reveals more issues with the 6.8.2-77 code that we got originally from Ubuntu. Two of those issues are listed below, the full list is available at:

http://www.gnusolaris.org/cgi-bin/trac.cgi/ticket/72

1. The file xc/programs/Xserver/hw/xfree86/loader/loadmod.c

has bugs which prevent the dynamic loader from building the list of modules. Fixing the loader allows Xorg to retrieve the dynamic modules properly.

2. Building modules as dynamic libraries with GNU ld turned out to be tricky. This is because Sun's ld possesses the ability to insert any arbitrary dependency into the ELF .dynamic section (DT_NEEDED tag), while GNU's ld requires the module to be present at link time. Some of the modules need to be re-linked with dummy modules in order to build the right dependencies (else they fail to load).

3. The ATI Radeon driver crashes upon startup. Apparently there is a bug in xc/programs/Xserver/hw/xfree86/ati/radeon_drv.c which dereference a NULL pointer during screen probing.

All of these bugs have been fixed and will be delivered as part of Alpha1 release.

The patches attached. The full set of patches is avilable at:

http://www.gnusolaris.org/cgi-bin/trac.cgi/ticket/72