Opened 5 years ago
Last modified 4 years ago
#5538 new defect
Improve hwdetect config override behavior
Reported by: | historic_bruno | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | Backlog |
Component: | Core engine | Keywords: | |
Cc: | Patch: |
Description
Currently, hwdetect is used to override default.cfg
settings for various graphics cards and drivers that we've found to have issues. It should override default.cfg
, but not user-applied settings from local.cfg
/user.cfg
. It should also use the standard JSI_ConfigDB interface. There are several TODOs to that effect:
HWDetect.cpp
// The Set* functions will override the default behaviour, unless the user // has explicitly set a config variable to override that. // (TODO: This is an ugly abuse of the config system)
hwdetect.js
// TODO: add some mechanism for setting config values // (overriding default.cfg, but overridden by local.cfg)
See Phab:D2123 for related discussion.
Note:
See TracTickets
for help on using tickets.
refs Phab:D1930 + Phab:D1931