You are not logged in.

#1 2017-06-28 17:03:07

datafatmunger
Member
Registered: 2017-06-28
Posts: 6

Compiling mainline xrandr for HDPi [SOLVED]

Looks like the --filter argument is in the main line of the xrandr repo here:  git clone git://anongit.freedesktop.org/xorg/app/xrandr

This is potentially very cool for pixel dense screens.  I, however, can't seem to get the thing to compile.  I'm getting the following error during ./autoconf.sh

/home/xxx/Packages/xrandr/configure: line 10514: syntax error near unexpected token `XRANDR,'
/home/xxx/Packages/xrandr/configure: line 10514: `PKG_CHECK_MODULES(XRANDR, xrandr >= 1.5 xrender x11 xproto >= 7.0.17)'

Anyone know how to fix that?

Thanks!

Last edited by datafatmunger (2017-06-30 08:08:54)

Offline

#2 2017-06-28 18:49:48

spinnau
Member
Registered: 2017-06-05
Posts: 38

Re: Compiling mainline xrandr for HDPi [SOLVED]

Seems like PKG_CHECK_MODULES macro is not found. This is defined in usr/share/aclocal/pkg.m4 file from pkg-config package. Do you have this installed?

Offline

#3 2017-06-28 19:15:53

datafatmunger
Member
Registered: 2017-06-28
Posts: 6

Re: Compiling mainline xrandr for HDPi [SOLVED]

Yes! That was it.

./xrandr --output eDP-1 --mode "3840x2160" --scale "0.5x0.5" --filter nearest

It's glorious!

Offline

#4 2017-06-28 22:19:56

spinnau
Member
Registered: 2017-06-05
Posts: 38

Re: Compiling mainline xrandr for HDPi [SOLVED]

Enjoy your screen smile  Please remember to mark the thread as [SOLVED] by editing the title.

Offline

Board footer

Powered by FluxBB