Bug 5564

Summary: New loader option -showopts
Product: xorg Reporter: Marcus Schäfer <ms>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: enhancement    
Priority: high CC: eich, mat, sndirsch
Version: gitKeywords: patch
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg dif none

Description Marcus Schäfer 2006-01-11 01:34:32 UTC
I made a patch for the loader to be able to ask for all installed modules
for their vendor and options specifications. I would like to use that information
in the SaX2 source and I think other applications like xorgcfg might benefit
from the patch too. Simply call

    X -showopts

and get something like:

    ...

    Driver[32]:fbdev[X.Org Foundation] {
	ShadowFB:<bool>
	Rotate:<str>
	fbdev:<str>
    }

Here is the patch

Thanks
Comment 1 Marcus Schäfer 2006-01-11 01:35:05 UTC
Created attachment 4312 [details] [review]
Xorg dif
Comment 2 Egbert Eich 2006-01-11 02:27:25 UTC
Isn't this a duplicate of 5502? As mentioned there this patch may be really
useful if somebody fixed xorgcfg to use it.
Comment 3 Stefan Dirsch 2006-01-11 03:57:52 UTC
IMHO this should be handled independantly of fixing xorgcfg. Of course it would 
be possible and might make sense for xorgcfg to gather the required option 
information via "X -showopts". 
Comment 4 Daniel Stone 2007-02-27 01:29:54 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 Stefan Dirsch 2007-11-04 13:17:09 UTC
(In reply to comment #2)
> Isn't this a duplicate of 5502? As mentioned there this patch may be really
> useful if somebody fixed xorgcfg to use it.
5502 has been closed as worksforme. BTW, xorgcfg is no longer built by default.

Comment 6 Stefan Dirsch 2008-11-22 15:13:10 UTC
I'm going to submit this patch.
Comment 7 Stefan Dirsch 2008-11-23 02:20:53 UTC
pushed to xserver git head.

commit f6e01fa1b87ea190ea5ad723ce46893784ea1de4
Author: Stefan Dirsch <sndirsch@suse.de>
Date:   Sun Nov 23 11:16:03 2008 +0100

    Added '-showopts' option to print available driver options (#5564).

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.