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

Add UI Support for up to 8x Internal Resolutions #2024

Merged
merged 1 commit into from Jun 11, 2015

Conversation

RisingFog
Copy link
Member

Adds new options from 5x up to 8x for Internal Resolutions.

@qeeg
Copy link
Contributor

qeeg commented Feb 9, 2015

Who the hell has monitors that big?

EDIT:
Apparently, anybody with a 5K or 8K monitor. Huh.

@phire
Copy link
Member

phire commented Feb 9, 2015

Higher IRs also act as anti-aliasing.

@pauldacheez
Copy link
Contributor

Not with the current downscaling algorithm, they don't. https://code.google.com/p/dolphin-emu/issues/detail?id=7746

@ghost
Copy link

ghost commented Feb 9, 2015

6x IR matches the width of a 4K display, so people with high end machines will see some use of this.

@degasus
Copy link
Member

degasus commented Feb 9, 2015

Does the "increase IR" hotkey still works fine?

@Linktothepast
Copy link
Contributor

I will say just one thing, i am pretty certain there will be a lot of posts in the forums about slow speed with the emulator while having 8x IR... using their laptop... There are a lot of people that will just use the highest value they can find and expect everything to run smooth afterwards. For example some don't even need the 4x value and still they use it simply because it is the highest choice and it is there to select it.

@ghost
Copy link

ghost commented Feb 9, 2015

Thanks for adding this. imo this should satisfy Issue 7711 but I don't know if others would agree with that.

@neobrain
Copy link
Member

neobrain commented Feb 9, 2015

This is getting quite ridiculous.

Other than that, I'd suggest just merging those resolutions into a "custom" item, and have the value configurable in discrete steps as a wxSlider.

@JMC47
Copy link
Contributor

JMC47 commented Feb 9, 2015

To everyone: For screenshots, videos, and other features in Dolphin; having this available would be nice.

@escape209
Copy link
Contributor

The only problem I see with this is accidentally clicking a crazy high IR
that your GPU can't handle, causing your machine to come grinding to a
halt, though that's probably just me being careless.

On Mon, Feb 9, 2015 at 7:17 PM, JMC47 notifications@github.com wrote:

To everyone: For screenshots, videos, and other features in Dolphin;
having this available would be nice.


Reply to this email directly or view it on GitHub
#2024 (comment).

@Linktothepast
Copy link
Contributor

Could there be suggestions depending on the monitor apart from just displaying the resolution? Also make auto integral the suggested value used.
Example:
"Auto (Window Size)"
"Auto (Multiple of 640x528) Default"
"1x Native (640x528)"
"1.5x Native (960x792)"
"2x Native (1280x1056) for 720p"
"2.5x Native (1600x1320)"
"3x Native (1920x1584) for 1080p"
"4x Native (2560x2112) for WQHD"
"5x Native (3200x2640)"
"6x Native (3840x3168) for 4K UHD"
"7x Native (4480x3696)"
"8x Native (5120x4224)"

@bb010g
Copy link
Contributor

bb010g commented Feb 10, 2015

👍 for descriptions on the named resolutions.

@Rukario
Copy link
Contributor

Rukario commented Feb 10, 2015

I don't like the idea to make anything beside 1x Native as default.

@JMC47
Copy link
Contributor

JMC47 commented Feb 11, 2015

I think auto is already default. Also + 1 for naming them. Maybe adding a description that higher IRs can be extremely slow on weaker (or even strong) hardware.

_("2.5x Native (1600x1320)"), _("3x Native (1920x1584)"), _("4x Native (2560x2112)"), _("Custom") };
_("1x Native (640x528)"), _("1.5x Native (960x792)"), _("2x Native (1280x1056) for 720p"), _("2.5x Native (1600x1320)"),
_("3x Native (1920x1584) for 1080p"), _("4x Native (2560x2112) for 1440p"), _("5x Native (3200x2640)"),
_("6x Native (3840x3168) for 4K"), _("7x Native (4480x3696)"), _("8x Native (5120x4224)"), _("Custom") };

This comment was marked as off-topic.

@mimimi085181
Copy link
Contributor

Can you also update the texts that display when changing settings, where it says which IR is currently used, which efb type, fog etc. :
https://github.com/dolphin-emu/dolphin/blob/master/Source/Core/VideoCommon/RenderBase.cpp#L336

And pretty please with support for custom resolutions, and not just the ones you add to the UI?

@delroth
Copy link
Member

delroth commented Feb 15, 2015

@dolphin-emu-bot rebuild (test, please ignore)

@RisingFog
Copy link
Member Author

bump

@ghost
Copy link

ghost commented Feb 27, 2015

Partially a question and partially a suggestion but what exactly is the purpose of the 1.5x and 2.5x settings? I was under the impression that integer scaling was preferred for higher IRs. Would there be any harm in removing those to help clean up the list?

@bb010g
Copy link
Contributor

bb010g commented Feb 27, 2015

@pringo 1.5x or 2.5x is better than 1x or 2x for those with worse computers. Yes, it's not optimal, but it's better.

@ghost
Copy link

ghost commented Feb 27, 2015

I might be alone on this but if that's the only reason I'd support removing those options. 1.5x and 2.5x aren't going to provide major benefits over 1x and 2x and thanks to all the optimization work that's been done those users can probably get fullspeed now with 2x or 3x compared to the 4.0.2 release. I think removing these half step options would help clean up the interface.

@ADormant
Copy link

Related bug

@RisingFog
Copy link
Member Author

@ADormant not really in the scope of the PR tbh

@karasuhebi
Copy link

@ADormant create a new issue for it. I've been meaning to do it (as I have the same issue) but I hadn't seen confirmation from someone else experiencing it until now. :D

@ADormant
Copy link

ADormant commented Mar 2, 2015

Is there anything that is still preventing this pull request from being merged It would be a convenient option.

@lioncash
Copy link
Member

lioncash commented Mar 2, 2015

@ADormant You posted something similar like this yesterday. You don't need to keep bumping it; people likely saw the first message.

@ADormant
Copy link

@RisingFog I agree with @neobrain that limiting resolutions based on a user's screen resolution would be the best option. Monitor resolutions increase all the time.

@Rukario
Copy link
Contributor

Rukario commented Apr 24, 2015

Well, can't we just leave as is? It'd be user's own responsibility for picking excessive resolutions.

@neobrain
Copy link
Member

... for reference, I was just kidding, referring back to my initial comment in this thread. It's a terrible idea, really, which I thought was obvious enough.
Sorry for the confusion.

@bb010g
Copy link
Contributor

bb010g commented Apr 24, 2015

Can we at least put in a custom IR option w/ an aspect ratio lock? That would probably be the cleanest way to deal with large IRs whilst still allowing for fullscreen with upscaling.

@shuffle2
Copy link
Contributor

shuffle2 commented May 8, 2015

I agree with @neobrain (but i guess someone else could merge this if/when it becomes merge-able through github's nice merge button...). No clue how these tiny things generate so many comments.

@sigmabeta
Copy link
Contributor

Adding one more +1 to this PR. I was messing around with triple monitor Nvidia surround with 3x 1440p monitors. The 4x IR option wasn't enough to capably fill all of that space, but with the auto option, my GTX 970 was unable to maintain consistently full speed.

8x would still not be enough for the three monitors, but it would probably be good enough.

res_text = "8x";
break;
default:
res_text = (g_ActiveConfig.iEFBScale - 3) + "x";

This comment was marked as off-topic.

@Buddybenj
Copy link
Contributor

Bump.

@RisingFog RisingFog force-pushed the irgui branch 11 times, most recently from f06ec86 to eeb6ec4 Compare June 10, 2015 20:58
@@ -14,6 +14,7 @@

#include <cinttypes>
#include <cmath>
#include <sstream>

This comment was marked as off-topic.

degasus added a commit that referenced this pull request Jun 11, 2015
Add UI Support for up to 8x Internal Resolutions
@degasus degasus merged commit be1d1e2 into dolphin-emu:master Jun 11, 2015
@RisingFog RisingFog deleted the irgui branch June 11, 2015 14:13
@Kodiack
Copy link

Kodiack commented Jun 11, 2015

@karasuhebi, the reason that it's sharper is because of Wind Waker's "depth of field" effect. Said depth of field effect can be fully disabled with a projection hack via an INI setting, which will heavily negate the benefits of increasing IR beyond your monitor's native resolution. Anyone looking for better anti-aliasing would be much better served using SSAA if their IR already matches their monitor's resolution. SSAA does actual filtering while downsampling, whereas increasing IR is a bit more naive. You'll get a "sharper" image, but you're still prone to realise aliasing.

Here's a link to some projection hack INI settings that will remove the DOF in Wind Waker; give 'em a shot and you'll see that extra IR isn't nearly as beneficial as it may first appear:

https://forums.dolphin-emu.org/Thread-gc-the-legend-of-zelda-the-wind-waker--25929?pid=364125#pid364125

I also had a patch over a year ago that allowed up to 6xIR. I rather liked neobrain's stance with that.

https://forums.dolphin-emu.org/Thread-patch-5x-3200x2640-and-6x-3840x3168-native-ir

Things really are starting to look a bit ridiculous. I think that a slider for IR may be a good idea. There could be an exponential slider, much like what Fiora implemented for overclocking the emulated CPU. Perhaps it would even be possible to add in a text box next to it, where people could punch in a specific IR and have the slider snap to that value.

@Icekhaos
Copy link

+1 to @Kodiack 's suggestion for a slider and box, but to also have a vertical box.

degasus added a commit that referenced this pull request Aug 13, 2015
Add UI Support for up to 8x Internal Resolutions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet