-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
[Windows] Add "Graphics" log component for Direct3D #23422
Conversation
f3c7641
to
a861b5e
Compare
@@ -23453,3 +23453,9 @@ msgstr "" | |||
msgctxt "#39194" | |||
msgid "Enables advanced DXVA upscaler using NVIDIA \"RTX Video Super Resolution\" or \"Intel Video Super Resolution\".[CR]Used when video source is 1080p or less (progressive only) and source resolution is lower than display resolution.[CR]It's only available on specific hardware: NVIDIA RTX 40x, RTX 30x and Intel Arc A770, A750." | |||
msgstr "" | |||
|
|||
#. Label for debug log component level Graphics - Direct3D, OpenGL or other platform low level API |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please move to line 3161, currently:
#empty string with id 673
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe they need to remain empty on purpose? Moot point anyway with reuse of VIDEO.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe they need to remain empty on purpose
No, empty "slots" are for use and able to group similar things in logical order (not all new entries at end). Although sometimes there is no choice but to add the new things at the end.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If a new category is created it can be moved here, otherwise N/A.
xbmc/commons/ilog.h
Outdated
@@ -45,3 +45,4 @@ constexpr int LOGEPG = (1 << (LOGMASKBIT + 16)); | |||
constexpr int LOGANNOUNCE = (1 << (LOGMASKBIT + 17)); | |||
constexpr int LOGWSDISCOVERY = (1 << (LOGMASKBIT + 18)); | |||
constexpr int LOGADDONS = (1 << (LOGMASKBIT + 19)); | |||
constexpr int LOGGRAPHICS = (1 << (LOGMASKBIT + 20)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I not think new category is necessary. LOGVIDEO
already exist for these things and is almost not used in Windows.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fwik LOGVIDEO is used by VP, for me it is no problem to reuse the existing one,
maybe a third evaluation by someone else would be nice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's used every frame by vp but for addons only it seems. For internal it barely logs anything when playing (I tried). Reusing will work with things as they are now.
a861b5e
to
cf06302
Compare
…to the Graphics component.
cf06302
to
14e2e73
Compare
No new component => removed the need to update documentation or wiki. |
yeah tested better now thanks |
Description
Moved the output of a few D3D11 enumeration functions into the VIDEO component to lighten the typical debug log.
Motivation and context
Clean up the debug log for the most common situations.
It was brought up that the Windows log is getting too busy.
How has this been tested?
Ran with/without the component enabled,
What is the effect on users?
Easier to read debug log for common problems.
Screenshots (if appropriate):
component enabled:
component disabled:
Types of change
Checklist:
There is most likely a Wiki page with the list of components to update,