Opened 3 months ago

Last modified 7 weeks 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.

Change History (1)

Note: See TracTickets for help on using tickets.