Skip to contentSkip to conversation

New: Nearest neighbor scaling?

Bug 94817 [email protected] 1 participant 5 messages Apr 4, 2016 – Apr 5, 2016 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=94817

Bug ID: 94817
Summary: Nearest neighbor scaling?
Product: xorg
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: enhancement
Priority: medium
Component: Driver/nouveau
Assignee: [email protected]
Reporter: nw9165-3201-/[email protected]
QA Contact: [email protected]

Hello,

would it be possible that you add a nearest-neighbor scaling mode to the driver, so that one could display 1920x1080 natively on a 3840x2160 monitor or 1280x720 natively on a 2560x1440 monitor and so on (one pixel becomes four pixels)?

There is some information on this topic over there:

https://forums.geforce.com/default/topic/844905/geforce-drivers/integer-scaling-mode/

Regards

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#2 lore raw

[Bug 94817] Nearest neighbor scaling?

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=94817

nw9165-3201-/[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------
Hardware|Other |All

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#3 lore raw

[Bug 94817] Nearest neighbor scaling?

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=94817

--- Comment #1 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- I believe you can get this behaviour by setting the scaling mode property to full. This should be possible with xrandr, or directly via the kms api. It defaults to no scaling for external screens, as those usually have better scalers built in.

Quoted 38 lines · On Apr 4, 2016 10:44 AM, <[email protected]…

Bug ID 94817 <https://bugs.freedesktop.org/show_bug.cgi?id=94817>
Summary Nearest neighbor scaling?
Product xorg
Version unspecified
Hardware Other
OS All
Status NEW
Severity enhancement
Priority medium
Component Driver/nouveau
Assignee [email protected] Reporter nw9165-3201-/[email protected] QA Contact [email protected]

Hello,

would it be possible that you add a nearest-neighbor scaling mode to the driver, so that one could display 1920x1080 natively on a 3840x2160 monitor or 1280x720 natively on a 2560x1440 monitor and so on (one pixel becomes four pixels)?

There is some information on this topic over there:
https://forums.geforce.com/default/topic/844905/geforce-drivers/integer-scaling-mode/

Regards

------------------------------
You are receiving this mail because:

- You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#4 lore raw

[Bug 94817] Nearest neighbor scaling?

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=94817

--- Comment #2 from nw9165-3201-/[email protected] --- Hi,

actually I have submitted the same feature request for the Intel and AMD drivers and also for the NVIDIA proprietary one as well yesterday. It has resulted in a patch for xrandr that allows to use nearest neighbor scaling now, see:

https://bugs.freedesktop.org/show_bug.cgi?id=94816
https://bugs.freedesktop.org/show_bug.cgi?id=94820
https://bugs.freedesktop.org/show_bug.cgi?id=94819

Anyway, as already being discussed in those three threads, it would be interesting to know if the dedicated hardware scaler inside the GPU could also be used for this instead of using xrandr.

Can anyone comment on this?

Regards

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#5 lore raw

[Bug 94817] Nearest neighbor scaling?

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=94817

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |NOTABUG
             Status|NEW                         |RESOLVED

--- Comment #3 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- (In reply to nw9165-3201 from comment #2)

Quoted 11 lines

Hi,

actually I have submitted the same feature request for the Intel and AMD drivers and also for the NVIDIA proprietary one as well yesterday. It has resulted in a patch for xrandr that allows to use nearest neighbor scaling now, see:

https://bugs.freedesktop.org/show_bug.cgi?id=94816
https://bugs.freedesktop.org/show_bug.cgi?id=94820
https://bugs.freedesktop.org/show_bug.cgi?id=94819

Quoted 7 lines

Anyway, as already being discussed in those three threads, it would be interesting to know if the dedicated hardware scaler inside the GPU could also be used for this instead of using xrandr.

Can anyone comment on this?

Regards

The thing I suggested earlier will use hw for scaling. Run 'xrandr --props' to find the exact property. IOW the feature already exists.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau