Skip to content
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

Don't require Spline36 and Lanczos3 scalers to be enabled through advancedsettings.xml #21537

Merged
merged 1 commit into from Jul 5, 2022

Conversation

smp79
Copy link
Contributor

@smp79 smp79 commented Jun 10, 2022

Description

This change will allow Spline36 and Lanczos3 without "enablehighqualityhwscalers" option in advancedsettings.xml.

Motivation and context

Those scalers were hidden in advancedsettings.xml more than 10 years ago. Nowadays, a relatively low end hardware can use them without an issue - e.g. my Celeron 6305 can do 1080->4K @60Hz Spline36/Lanczos3 without breaking a sweat. No need to keep it buried in advancedsettings.xml anymore.

How has this been tested?

Tested on Linux x86 (GLES).

What is the effect on users?

Screenshots (if appropriate):

Types of change

  • Bug fix (non-breaking change which fixes an issue)
  • Clean up (non-breaking change which removes non-working, unmaintained functionality)
  • Improvement (non-breaking change which improves existing functionality)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that will cause existing functionality to change)
  • Cosmetic change (non-breaking change that doesn't touch code)
  • None of the above (please explain below)

Checklist:

  • My code follows the Code Guidelines of this project
  • My change requires a change to the documentation, either Doxygen or wiki
  • I have updated the documentation accordingly
  • I have read the Contributing document
  • I have added tests to cover my change
  • All new and existing tests passed

Copy link
Member

@garbear garbear left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was a bit confused about the logic of this change at first but now I realize it clearly makes sense.

I always see having one less setting as purely a win.

Not to mention how beautiful a diff reads with 0 lines added 19 removed.

Thanks!

@garbear garbear added this to the Nexus 20.0 Alpha 2 milestone Jun 10, 2022
@garbear garbear added Type: Cleanup non-breaking change which removes non-working or unmaintained functionality Component: Settings v20 Nexus labels Jun 10, 2022
@garbear garbear requested review from sarbes and lrusak June 10, 2022 22:25
@smp79 smp79 changed the title Don't require Spline36 and Lanczos3 scalers to be enabled through advancedsettngs.xml Don't require Spline36 and Lanczos3 scalers to be enabled through advancedsettings.xml Jun 10, 2022
@fuzzard fuzzard closed this Jun 11, 2022
@fuzzard fuzzard reopened this Jun 11, 2022
@enen92
Copy link
Member

enen92 commented Jun 11, 2022

jenkins build this please

Copy link
Member

@thexai thexai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In Windows it is already like this

@lrusak
Copy link
Contributor

lrusak commented Jun 11, 2022

I'm a little hesitant about the GLES path as a lot of low power devices (think RPi2) may use it. That path isn't used for HW video decode though on that platform so it's likely ok as you likely don't want SW decode and these scalers.

@smp79
Copy link
Contributor Author

smp79 commented Jun 11, 2022

That path isn't used for HW video decode though on that platform so it's likely ok

I suspect that RPi2 would choke on anything other than Nearest Neighbor/Bilinear anyway.

@sarbes
Copy link
Member

sarbes commented Jun 13, 2022

I suspect that RPi2 would choke on anything other than Nearest Neighbor/Bilinear anyway.

Second that.

Copy link
Contributor

@lrusak lrusak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine other than my suggestions.

@fuzzard
Copy link
Contributor

fuzzard commented Jul 5, 2022

Thanks for the PR

@fuzzard fuzzard merged commit 1ba908c into xbmc:master Jul 5, 2022
@smp79 smp79 deleted the hqscalers branch July 5, 2022 02:13
@smp79 smp79 mentioned this pull request Oct 21, 2023
14 tasks
@KarellenX
Copy link
Member

@smp79

Could you please explain the change to the as.xml file so I can update the wiki.
https://kodi.wiki/view/Advancedsettings.xml#video

<enablehighqualityhwscalers>true</enablehighqualityhwscalers>
Has this setting been removed completely?

@smp79
Copy link
Contributor Author

smp79 commented Nov 21, 2023

Yes, it was completely removed

@KarellenX
Copy link
Member

Thanks. I'll update the page now.
(yep, a bit overdue ;) )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Settings Type: Cleanup non-breaking change which removes non-working or unmaintained functionality v20 Nexus Wiki: Done
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants