Opened 5 years ago

Last modified 5 years ago

#59773 assigned defect

xorg-server @1.20.5: x11perf fails with BadMatch / X_GetImage

Reported by: DanielO (Daniel O'Connor) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: xorg-server x11perf

Description

This happens with the last XQuartz release and the latest MacPorts (however works on FreeBSD with xorg 1.18.4)

[Havok 13:26] ~ >env DISPLAY=:0 x11perf -scroll500 -rect500 -srect500 -copywinwin500 -copypixwin500 -copypixpix500 -putimage500 -putimagexy500 -shmputxy500 -comppixwin500 -minpixwin500
x11perf - X11 performance program, version 1.2
The X.Org Foundation server version 12005000 on :0
from Havok.gsoft.com.au
Fri Nov 29 13:27:00 2019

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  73 (X_GetImage)
  Serial number of failed request:  26
  Current serial number in output stream:  26

Change History (2)

comment:1 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jeremyhu removed
Owner: set to jeremyhu
Status: newassigned
Summary: xorg-server 1.20.5: x11perf fails with BadMatch / X_GetImagexorg-server @1.20.5: x11perf fails with BadMatch / X_GetImage

It seems to be an old problem, and not MacPorts-specific. See for example

https://lists.apple.com/archives/x11-users/2012/Oct/msg00004.html

and

https://github.com/XQuartz/xquartz-old-tickets/blob/ab8d89224ae5fafcd4198c38c880fb963003068d/ticket/769.md

Does the problem still happen if you don't override the DISPLAY env var? (Usually, you don't want to do that.)

comment:2 Changed 5 years ago by DanielO (Daniel O'Connor)

I saw those but I wasn't sure if they were current etc..

I set DISPLAY because that is what the MacPorts X server was running as (I didn't log out/in so XQuartz was still the default).

Note: See TracTickets for help on using tickets.