Bug 3033 - "Extension" xorg.conf section doesn't work for extmod
Summary: "Extension" xorg.conf section doesn't work for extmod
Status: RESOLVED WORKSFORME
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-14 12:31 UTC by Owen Taylor
Modified: 2014-03-21 17:24 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Owen Taylor 2005-04-14 12:31:28 UTC
Naively, one would expect to be able to do:

Section "Extensions"
        Option  "XFree86-DGA" "no"
EndSection

and have that disable DGA, but that doesn't work because the
DGA extension is actually being initialized from the extmod
module, and that ignores the boolean flags set from xorg.conf.

You can get the same effect by, putting in the "Modules" section:

        SubSection "extmod"
           Option "omit xfree86-dga"
        EndSubSection

But I think it should just pay attention to the master 
configuration.
Comment 1 Kevin E. Martin 2005-04-14 12:35:47 UTC
The problem is that Xserver/xext/extmod/modinit.c does not include the
appropriate disable extension flags.  The fix should be simple: for each
extension in this module list, just add the corresponding disable flag as the
third field.
Comment 2 Kevin E. Martin 2005-04-14 12:38:24 UTC
We should also verify that the other loadable extension modules obey their
disable flags (e.g., dbe, dri, glx, GLcore, record and xtrap).
Comment 3 Adam Jackson 2005-04-14 21:11:05 UTC
if we could eliminate the case sensitivity on the extension names too, that
would rock.  they're not particularly consistent (Composite versus RENDER).
Comment 4 Daniel Stone 2007-02-27 01:26:18 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 5 chemtech 2013-03-15 14:32:34 UTC
Owen Taylor
Do you still experience this issue with newer soft ?
Please check the status of your issue.
Comment 6 Owen Taylor 2013-03-15 15:51:54 UTC
(In reply to comment #5)
> Owen Taylor
> Do you still experience this issue with newer soft ?
> Please check the status of your issue.

Darned if I know. The code has been moved all around since then, so it's hard to tell from a quick read. If the bug still exists, though, I think it's probably fine if it never gets fixed.
Comment 7 Adam Jackson 2014-03-21 17:24:22 UTC
extmod isn't a thing anymore, so the extension disabling code _ought_ to work even for extensions that were once in it.


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.