Re: [xrandr v2] Select NearestNeighbour filtering for pixel exact scaling

2017-09-24 Thread Chris Wilson
Quoting Matt Turner (2017-09-01 22:17:58)
> Was there a reason this did not land?

It needs a touch more work:

"I was wondering, did you (or anyone else) follow up on this patch? I
recently used it with good success, and would be happy if it was
upstream. Especially as I am planning on getting a 4K monitor soon,
and will likely need to run e.g. games at 1080p resolution.

I did have to add a "continue;" at the end of the
if (!strcmp ("--filter", argv[i])) {
block though, or selecting a filter would not work.

As another note, changing the filter only has an effect if the
resolution/scaling is also altered."

My attempt at doing the latter just ended in segv. After which it just
slipped my mind.
-Chris
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Re: [PATCH] os: Make sure big requests have sufficient length.

2017-09-24 Thread Eric Anholt
Michal Srb  writes:

> Here is a script that can be used to crash X server using a broken big 
> request 
> for PolyLine. It connects to DISPLAY=:1 and doesn't support authentication. 
> Look inside the script for more details.
>
> Other requests could be used to crash X server in similar way, for example 
> SetFontPath.

I noticed this still in my mailbox.  I tried writing an mergeable unit
test for it at:

https://github.com/anholt/xserver/commit/d0e9d732750aa8eb7eeb33adce321f1dfeef265d

but it doesn't manage to crash the server because I can't set the endian
mode using xcb (and xcb, sensibly, doesn't let me get an fd without
doing connection setup on it).

I don't know much about the codepath with the bug, but hopefully this
sparks some discussion.


signature.asc
Description: PGP signature
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Re: [PATCH xserver] travis: Also build on OSX

2017-09-24 Thread Eric Anholt
Jon Turney  writes:

> Signed-off-by: Jon Turney 

Thanks for doing this!  I'll want to convert it to meson some day, but
it'll be a lot easier now that we have travis in place.

remote: I: patch #178342 updated using rev 
c30eca688781deb06b25a6a08297cb855aeb6ed2.
remote: I: patch #178352 updated using rev 
0b00440678fa22c1c1ca4a292b67db3ab8676969.
remote: I: 2 patch(es) updated to state Accepted.
To git+ssh://git.freedesktop.org/git/xorg/xserver
   2c2e1b6f5775..0b00440678fa  HEAD -> master


signature.asc
Description: PGP signature
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Re: [PATCH xserver] meson: Make it possible to build for 32-bit targets

2017-09-24 Thread Eric Anholt
Jon Turney  writes:

> Setting glx_align64 to '' gives a null string in the arguments list passed
> to the compiler.  This is taken as an input filename, leading to:
>
> "cc: error: : No such file or directory"
>
> Instead, assign an empty list to glx_align64, which gets flattened to
> nothing in the arguments list.
>
> Signed-off-by: Jon Turney 

Reviewed and pushed.  Thanks!


signature.asc
Description: PGP signature
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel