Bug 431494 - Being able to set a higher resolution than your monitor has
Summary: Being able to set a higher resolution than your monitor has
Status: CLOSED NOT A BUG
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-12 13:04 UTC by Toadfield
Modified: 2021-06-22 06:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toadfield 2021-01-12 13:04:23 UTC
So that for example that if you have a 1080p monitor that you can choose 2160p or even higher resolutions,then it will be downscaled to 1080p again.
With that everything will look crispier.
Comment 1 2wxsy58236r3 2021-01-12 14:06:37 UTC
- Have you tried setting a custom higher resolution with xrandr, and does it work?
- How does your monitor deal with forced higher resolution?
- Have you tried changing fontconfig settings to see whether fonts will look crispier?
Comment 2 Toadfield 2021-01-12 19:21:23 UTC
(In reply to 2wxsy58236r3 from comment #1)
> - Have you tried setting a custom higher resolution with xrandr, and does it
> work?

How can I do that?

> - How does your monitor deal with forced higher resolution?

I know that that works,I tested it on a per game basis with Gamescope and it worked flawlessly.

> - Have you tried changing fontconfig settings to see whether fonts will look
> crispier?

That's not what I mean,I want two things:
1. Playing games at a higher resolution than normal,so I can have the best aa possible.
2.Try to watch a 2160p video to see if that makes any difference.

And also,wouldn't anything look crispier at all?
Cause fonts aren't the only thing you see in guis.
Comment 3 2wxsy58236r3 2021-01-13 02:10:40 UTC
You can refer to [1] for adding a custom resolution with xrandr.

> I know that that works,I tested it on a per game basis with Gamescope
> and it worked flawlessly.
When you are playing the game, check your monitor's on-screen display (or monitor's settings panel) to find out the resolution and refresh rate of the input signal.

> Try to watch a 2160p video to see if that makes any difference.
Actually, if your resolution is not the same as the video's resolution, the media player will scale the video for you:

Example of upscaling: 480p video on 1080p monitor 
Example of downscaling: 4K video on 1080p monitor

Some media players such as mpv [2] allow you to configure the scaling algorithms. Some algorithms will sharpen the video but require a powerful GPU.

Suppose your monitor does accept an input signal higher than its native resolution, then the scaling will be done by the monitor, which is not ideal since you cannot control how the monitor downscales the input signal.

In addition, suppose you have forced 4K but your monitor's native resolution is 1080p, then when you play a 1080p video, it will first be upscaled to 4K by software, then downscaled back to 1080p by your monitor. This will result in quality loss, and it wastes GPU computational power.



[1] https://wiki.archlinux.org/index.php/Xrandr#Adding_undetected_resolutions
[2] https://github.com/mpv-player/mpv
Comment 4 Toadfield 2021-01-13 08:29:24 UTC
(In reply to 2wxsy58236r3 from comment #3)
> You can refer to [1] for adding a custom resolution with xrandr.

I will test that later.

> > I know that that works,I tested it on a per game basis with Gamescope
> > and it worked flawlessly.
> When you are playing the game, check your monitor's on-screen display (or
> monitor's settings panel) to find out the resolution and refresh rate of the
> input signal.

In the games themself it shows a higher resolution and I see that it looks better,but I can look later if it changes the resolution of my monitor itself.

> > Try to watch a 2160p video to see if that makes any difference.
> Actually, if your resolution is not the same as the video's resolution, the
> media player will scale the video for you:
> 
> Example of upscaling: 480p video on 1080p monitor 
> Example of downscaling: 4K video on 1080p monitor
> 
> Some media players such as mpv [2] allow you to configure the scaling
> algorithms. Some algorithms will sharpen the video but require a powerful
> GPU.

ok,thanks for the information.

> In addition, suppose you have forced 4K but your monitor's native resolution
> is 1080p, then when you play a 1080p video, it will first be upscaled to 4K
> by software, then downscaled back to 1080p by your monitor. This will result
> in quality loss, and it wastes GPU computational power.

Why should that be a quality loss?
I mean if I set 2160p in the game and it downscales to 1080p,then wouldn't the game look better?
Cause then it would work like ssaa.
And if I don't want the higher resolution in game,I could just set 1080p in game.
Comment 5 2wxsy58236r3 2021-01-13 10:24:40 UTC
When an image or video is downscaled, it is displayed with less pixels, so some details in the original image or video are lost. Also, scaling produces interpolation artifacts.

Ref: https://graphicdesign.stackexchange.com/questions/67173/scale-down-an-image-in-gimp-without-losing-resolution
Comment 6 Nate Graham 2021-01-13 16:00:40 UTC
I'm afraid this proposal does not make sense. If you want sharper images, your only option is to buy a higher DPI monitor. Faking it by rendering at 2x size and downscaling will have no effect because the sharpness of the image will still be limited to the physical pixels on your screen. The limitation is hardware, not software.
Comment 7 Toadfield 2021-01-21 20:51:55 UTC

(In reply to 2wxsy58236r3 from comment #5)
> When an image or video is downscaled, it is displayed with less pixels, so
> some details in the original image or video are lost. Also, scaling produces
> interpolation artifacts.

But it looks better on 3d applications,I tried it and the edges look better anti aliased.
So why is that so?
Or will that also have artifacts?
(In reply to Nate Graham from comment #6)
> I'm afraid this proposal does not make sense. If you want sharper images,
> your only option is to buy a higher DPI monitor. Faking it by rendering at
> 2x size and downscaling will have no effect because the sharpness of the
> image will still be limited to the physical pixels on your screen. The
> limitation is hardware, not software.

It looks better on games,try it,it will anti aliase the edges.
Comment 8 Nate Graham 2021-01-21 20:56:18 UTC
Games typically have their own anti-aliasing methods. We're not going add a hack to support these niche use cases when there are already other more mainstream ways to do the same thing, sorry. :)
Comment 9 Toadfield 2021-01-24 23:12:04 UTC
(In reply to Nate Graham from comment #8)
> Games typically have their own anti-aliasing methods. We're not going add a
> hack to support these niche use cases when there are already other more
> mainstream ways to do the same thing, sorry. :)

What "mainstream ways" do you mean?
Comment 10 Nate Graham 2021-01-25 15:33:41 UTC
Using the game's built-in FXAA feature.
Comment 11 Toadfield 2021-06-22 06:51:35 UTC
But fxaa looks very bad.
If the game would get rendered in  higher resolution,then it would look much better.
This isn't a niche use case,many games don't have ssaa support,but most pc's can handle it for older games.