-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
win: amf: HRD blacklist, expand UI docs and various fixes. #2393
Conversation
cf75c09
to
ab28277
Compare
9df8d33
to
f1b4b44
Compare
Did we break Polaris cards with #2251? |
Most likely, yes; a user on the Moonlight Discord's Sunshine channel reported artifacting on RX 580, and my RX 570 throttled the encoder to 30fps when I tested HRD several years ago. I'm not aware of any other reports so far. I'm not sure where to get a full list of Polaris cards, but the same encoder (VCE 3.4) seems to mostly consist of the RX 400 and RX 500 range. |
61940e3
to
5ab374f
Compare
Here's the list of Polaris device IDs I got from their driver INF
|
* Add 'auto' default setting to 'rc_mode' and 'enforce_hrd' which defaults to 'cbr' and 'true', respectively. * Implement HRD blacklist: if a device ID matches, 'rc_mode' and 'enforce_hrd' are set to 'vbr_latency' and 'false' when set to 'auto'. The current blacklist applies to most RX 400 and RX 500 series, but can be expanded. * Document all new and existing AMF options in the docs and UI. Rearrange AMF options to better reflect importance (Usage is primary) and group by relatedness (RC and HRD influece each other's functionality), and group quality-related sub options. * Various cleanups & fixes to AMF option parsing, including proper setting of defaults if when invalid configuration is parsed.
Thanks, I've incorporated your list into the latest push. Should be ready for review. |
Description
Add 'auto' default setting to 'rc_mode' and 'enforce_hrd' which defaults
to 'cbr' and 'true', respectively.
Implement HRD blacklist: if a device ID matches, 'rc_mode' and 'enforce_hrd'
are set to 'vbr_latency' and 'false' when set to 'auto'. The current
blacklist applies to the Polaris 10, 11 & 12 device ids (thanks to @cgutman).
Document all new and existing AMF options in the docs and UI. Rearrange
AMF options to better reflect importance. Usage is the base encoder preset;
group RC and HRD settings into rate control group, all others into Quality group.
Various cleanups & fixes to AMF option parsing, including proper setting of
defaults when invalid configuration is parsed.
Screenshot
Issues Fixed or Closed
Resolves some regressions for certain users in #2251
Type of Change
.github/...
)Checklist
Branch Updates
LizardByte requires that branches be up-to-date before merging. This means that after any PR is merged, this branch
must be updated before it can be merged. You must also
Allow edits from maintainers.