Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 629556 - xrandr: add nearest neighbor filtering patch
Summary: xrandr: add nearest neighbor filtering patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-01 17:20 UTC by A. Person
Modified: 2019-08-12 18:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description A. Person 2017-09-01 17:20:27 UTC
Super high resolution screens don't work well with the Linux desktop.  The only good solution I found is here:

https://forums.linuxmint.com/viewtopic.php?t=159064
https://patchwork.freedesktop.org/patch/79564/

The solution is to patch xrandr with this patch:

https://patchwork.freedesktop.org/patch/79564/

and run something like:

xrandr --output eDP1 --mode "3200x1800" --scale "0.5x0.5"

I'd like to request a USE flag for that patch.
Comment 1 Matt Turner gentoo-dev 2017-09-01 21:19:41 UTC
I'm not in the business of adding non-critical patches to packages I maintain.

At the same time, I don't see a reason why the patch wasn't committed upstream. It received a review. I've pinged the author to see if it can be committed.
Comment 2 Matt Turner gentoo-dev 2019-07-22 16:48:18 UTC
commit 6ac2afc0d7d8d51d4085767b901667393c11061b
Author:     Pablo De La Garza <pdelagarza@nvidia.com>
AuthorDate: Thu Mar 23 16:05:02 2017 -0700
Commit:     Aaron Plattner <aplattner@nvidia.com>
CommitDate: Thu Jun 1 13:04:53 2017 -0700

    xrandr: Add a "--filter" flag
    
    Flag can be set to "nearest" or "bilinear"
    
    Signed-off-by: Pablo De La Garza <pdelagarza@nvidia.com>
    [aplattner@nvidia.com: Fixed style and whitespace]
    Signed-off-by: Aaron Plattner <aplattner@nvidia.com>

... was committed and I never noticed it. Evidently you didn't either since your bug report was filed after that was upstream.

I'll make a new xrandr release so it's more easily available.
Comment 3 Larry the Git Cow gentoo-dev 2019-08-12 18:03:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=872fda601e75220ba32d40269bca018d47d6b201

commit 872fda601e75220ba32d40269bca018d47d6b201
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2019-08-12 18:02:07 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2019-08-12 18:02:56 +0000

    x11-apps/xrandr: Version bump to 1.5.1
    
    Closes: https://bugs.gentoo.org/629556
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 x11-apps/xrandr/Manifest            |  1 +
 x11-apps/xrandr/xrandr-1.5.1.ebuild | 23 +++++++++++++++++++++++
 2 files changed, 24 insertions(+)