Does AIX support the Xrandr extension?
Volker Simonis
volker.simonis at gmail.com
Thu Nov 22 10:34:36 UTC 2018
I've just pushed the fix
(http://hg.openjdk.java.net/jdk/jdk/rev/2d18e5ed0f8d) for "8213944:
Fix AIX build after the removal of Xrandr.h and add a configure check
for it" (https://bugs.openjdk.java.net/browse/JDK-8213944) which
solves the problem by disabling Xrandr support at compile time.
Thanks for your support,
Volker
On Thu, Nov 22, 2018 at 11:32 AM Sanket Rathi <sanrathi at in.ibm.com> wrote:
>
> That is true and if there is any change I will let you know.
>
> Thanks,
>
> Sanket Rathi
> STSM - AIX Open Source Software, AIX Storage Device Drivers
> Member IBM Academy of Technology
> India Systems Development Lab, Hyderabad, India
> Office : +91-40-71857052
>
>
>
>
>
>
>
> From: Kazunori Ogata/Japan/IBM
> To: Sanket Rathi/India/IBM at IBMIN
> Cc: "REIX, Tony" <tony.reix at atos.net>, Volker Simonis <volker.simonis at gmail.com>
> Date: 22/11/2018 08:34 AM
> Subject: RE: Does AIX support the Xrandr extension?
> ________________________________
>
>
> Hi Sanket,
>
> Thank you for your reply. It seems Xrandr won't be supported anytime soon...
>
> Regards,
> Ogata
>
>
>
>
> From: Sanket Rathi/India/IBM
> To: Kazunori Ogata/Japan/IBM at IBMJP
> Cc: "REIX, Tony" <tony.reix at atos.net>, Volker Simonis <volker.simonis at gmail.com>
> Date: 2018/11/21 03:52
> Subject: RE: Does AIX support the Xrandr extension?
> ________________________________
>
>
> Hi Ogata,
>
> As of now there is no plan to have Xrandr on AIX toolbox.
> This is the first request we are getting for same.
>
>
> Thanks,
>
> Sanket Rathi
> STSM - AIX Open Source Software, AIX Storage Device Drivers
> Member IBM Academy of Technology
> India Systems Development Lab, Hyderabad, India
> Office : +91-40-71857052
>
>
>
>
>
>
>
>
> From: Kazunori Ogata/Japan/IBM
> To: "REIX, Tony" <tony.reix at atos.net>, Sanket Rathi <sanrathi at in.ibm.com>
> Cc: Volker Simonis <volker.simonis at gmail.com>
> Date: 20/11/2018 02:50 PM
> Subject: RE: Does AIX support the Xrandr extension?
> ________________________________
>
>
> Hi Tony,
>
> Thank you for your suggestion.
>
>
> Hi Sanket,
>
> Is there any plan to support Xrandr in the IBM AIX ToolBox?
>
>
> Regards,
> Ogata
>
>
> "REIX, Tony" <tony.reix at atos.net> wrote on 2018/11/20 17:51:44:
>
> > From: "REIX, Tony" <tony.reix at atos.net>
> > To: Kazunori Ogata <OGATAK at jp.ibm.com>, Volker Simonis <volker.simonis at gmail.com>
> > Cc: Sanket Rathi <sanrathi at in.ibm.com>
> > Date: 2018/11/20 17:51
> > Subject: RE: Does AIX support the Xrandr extension?
> >
> > Hi Ogata, Volker,
> >
> > Maybe you should have a discussion with Sanket Rathi, from IBM India, who
> > manages the IBM AIX ToolBox:
> > https://www.ibm.com/developerworks/aix/library/aix-toolbox/alpha.html
> > (Official site for Downloading Packages)
> >
> > Maybe he could provide some help.
> >
> > Regards,
> >
> > Cordialement,
> >
> > Tony Reix
> >
> > tony.reix at atos.net
> >
> > ATOS / Bull SAS
> > ATOS Expert
> > IBM Coop Architect & Technical Leader
> > Office : +33 (0) 4 76 29 72 67
> > 1 rue de Provence - 38432 Échirolles - France
> > www.atos.net
> >
>
> >
> > De : ppc-aix-port-dev <ppc-aix-port-dev-bounces at openjdk.java.net> de la
> > part de Kazunori Ogata <OGATAK at jp.ibm.com>
> > Envoyé : mardi 20 novembre 2018 09:45
> > À : Volker Simonis
> > Cc : ppc-aix-port-dev at openjdk.java.net; ppc-aix-port-dev
> > Objet : Re: Does AIX support the Xrandr extension?
> >
> > Hi Volker,
> >
> > I asked about existence of AIX Xrandr package to IBM internal mailing
> > list, but the answers are only the packages you pointed out.
> >
> > For the library version issue (libXrender.so.0 vs. libXrender.so.1), the
> > maintenance of perzl.org said he always includes both libXrender.so.0 and
> > libXrender.so.1 in the package for compatibility. I guess you are aware
> > of it, too.
> >
> > Is it because this package is not an "IBM official" that you won't use it
> > (as you replied to Ichiroh), even though the maintainer is IBMer?
> >
> >
> > Regards,
> > Ogata
> >
> >
> > "ppc-aix-port-dev" <ppc-aix-port-dev-bounces at openjdk.java.net> wrote on
> > 2018/11/20 01:52:20:
> >
> > > From: Volker Simonis <volker.simonis at gmail.com>
> > > To: Ichiroh Takiguchi <takiguc at linux.vnet.ibm.com>
> > > Cc: ppc-aix-port-dev at openjdk.java.net
> > > Date: 2018/11/20 02:03
> > > Subject: Re: Does AIX support the Xrandr extension?
> > > Sent by: "ppc-aix-port-dev" <ppc-aix-port-dev-bounces at openjdk.java.net>
> > >
> > > Hi,
> > >
> > > I've now lost two days by trying out all the versions I could find at:
> > >
> > > https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%
> > 2Fwww.perzl.org%2Faix%2Findex.php%3Fn%3DMain.LibXrandr&data=01%7C01%
> > 7Ctony.reix%40atos.net%7C651bf4e6e2a243edee8c08d64ec49dc1%
> > 7C33440fc6b7c7412cbb730e70b0198d5a%7C0&sdata=xWbB9uzdt%
> > 2BXBEjGZ7Aag6tHgdT%2FlVpWClUU%2Ffaajo1g%3D&reserved=0
> > > https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%
> > 2Fwww.bullfreeware.com%2Faffichage.php%3Fid%3D3351&data=01%7C01%
> > 7Ctony.reix%40atos.net%7C651bf4e6e2a243edee8c08d64ec49dc1%
> > 7C33440fc6b7c7412cbb730e70b0198d5a%
> > 7C0&sdata=uCUKRGHBNfkUBLjLUXswDPPTIdDQoapLrlQntOAI4%2BQ%3D&reserved=0
> > > https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%
> > 2Fwww.oss4aix.org%2Fdownload%2FRPMS%2FlibXrandr%2F&data=01%7C01%
> > 7Ctony.reix%40atos.net%7C651bf4e6e2a243edee8c08d64ec49dc1%
> > 7C33440fc6b7c7412cbb730e70b0198d5a%7C0&sdata=Qyewv%2BhyAJOzQ46AumHjrf%
> > 2BRvdV9s13xa%2FMu02sm4jM%3D&reserved=0
> > >
> > > The problem with all of them is that they depend on libXrender.so.1.
> > > That version is provided by the corresponding Xrender packages from
> > > that sites BUT the default AIX version of libXrender.a only contains
> > > libXrender.so.0. OpenJDK's libawt_xawt.so is linked against the system
> > > libXrender.so.0 an I don't think it would be good to change that. So
> > > that means we finally can't load libXrandr at runtime anyway.
> > >
> > > Sorry to say, but AIX X11 really seems to be terribly outdated and I
> > > don't see any sense in fixing this.
> > >
> > > Moreover, all the code in
> > > java.desktop/unix/native/libawt_xawt/awt/awt_GraphicsEnv.c which uses
> > > "dlopen()" is broken on AIX anyway (and it always has been, even in
> > > IBM's J9) because on AIX we would have to use dlopen with a shared
> > > library name PLUS the corresponding member name PLUS the RTLD_MEMBER
> > > flag. E.g.:
> > >
> > > dlopen("libXrandr.a(libXrandr.so.2)", RTLD_MEMBER | RTLD_LAZY |
> > RTLD_LOCAL);
> > >
> > > As people don't really seem to have cared until now, I'll propose a
> > > minimal fix for "8213944: Fix AIX build after the removal of Xrandr.h
> > > and add a configure check for it" [1] which simply #ifdefs out all
> > > this broken functionality on AIX (see review thread at [2])
> > >
> > > With best regards,
> > > Volker
> > >
> > > [1] https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%
> > 2Fbugs.openjdk.java.net%2Fbrowse%2FJDK-8213944&data=01%7C01%
> > 7Ctony.reix%40atos.net%7C651bf4e6e2a243edee8c08d64ec49dc1%
> > 7C33440fc6b7c7412cbb730e70b0198d5a%7C0&sdata=8so7MN8%
> > 2BFYWi3blebZw9nvNFwTb%2BeDhJQ0zUA8lX%2B7k%3D&reserved=0
> > > [2]
> > https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%
> > 2Fmail.openjdk.java.net%2Fpipermail%2F2d-dev%2F2018-November%
> > 2F009636.html&data=01%7C01%7Ctony.reix%40atos.net%
> > 7C651bf4e6e2a243edee8c08d64ec49dc1%7C33440fc6b7c7412cbb730e70b0198d5a%
> > 7C0&sdata=OsPuXBXalEDcJnviGEnyHAZn7FkUbOAMntBq%2BXQ6ZrE%3D&reserved=0
> > >
> > > On Fri, Nov 16, 2018 at 7:05 PM Volker Simonis
> > <volker.simonis at gmail.com> wrote:
> > > >
> > > > Hi Ichiroh,
> > > >
> > > > thanks a lot for the pointers.
> > > >
> > > > Up to now, I tried to only depend on "official" IBM packages (i.e.
> > > > original AIX packages or packages from the "AIX Toolbox for Linux
> > > > Applications" [1]) for both, the build and at runtime. I'm not sure
> > > > how "reliable" the packages from perzl.org are, but in general I want
> > > > to avoid unverified dependencies.
> > > >
> > > > That said, I don't know Xrandr makes any sense on AIX at all. As far
> > > > as I can see, it hasn't worked until now anyway. Or can anyone report
> > > > any successful usage of Xrandr on AIX with these packages?
> > > >
> > > > Thank you and best regards,
> > > > Volker
> > > >
> > > > [1] https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%
> > 2Fwww.ibm.com%2Fit-infrastructure%2Fpower%2Fos%2Faix&data=01%7C01%
> > 7Ctony.reix%40atos.net%7C651bf4e6e2a243edee8c08d64ec49dc1%
> > 7C33440fc6b7c7412cbb730e70b0198d5a%7C0&sdata=iWalLsU%
> > 2BocSYJMmmgmgiZB0m6ztqDA5IzuQnVfvRQ6c%3D&reserved=0
> > > > On Fri, Nov 16, 2018 at 1:42 PM Ichiroh Takiguchi
> > > > <takiguc at linux.vnet.ibm.com> wrote:
> > > > >
> > > > > Hello Volker.
> > > > >
> > > > > I'm not sure, you want to know following information.
> > > > >
> > > > > User can download libXrandr for AIX via Perzl.org AIX Open Source
> > > > > Packages site. [1][2]
> > > > >
> > > > > I have not used this library, so I don't know the detail.
> > > > >
> > > > > I checked the contents of libXrandr-devel-1.5.1-1.aix5.1.ppc.rpm [3]
> > > > >
> > > > > $ rpm -qpl libXrandr-devel-1.5.1-1.aix5.1.ppc.rpm
> > > > > /opt/freeware/include/X11/extensions/Xrandr.h
> > > > > /opt/freeware/lib/libXrandr.la
> > > > > /opt/freeware/lib/pkgconfig/xrandr.pc
> > > > > /opt/freeware/man/man3/XRRConfigCurrentConfiguration.3
> > > > > /opt/freeware/man/man3/XRRConfigCurrentRate.3
> > > > > /opt/freeware/man/man3/XRRConfigRates.3
> > > > > /opt/freeware/man/man3/XRRConfigRotations.3
> > > > > /opt/freeware/man/man3/XRRConfigSizes.3
> > > > > /opt/freeware/man/man3/XRRConfigTimes.3
> > > > > /opt/freeware/man/man3/XRRFreeScreenConfigInfo.3
> > > > > /opt/freeware/man/man3/XRRGetScreenInfo.3
> > > > > /opt/freeware/man/man3/XRRQueryExtension.3
> > > > > /opt/freeware/man/man3/XRRQueryVersion.3
> > > > > /opt/freeware/man/man3/XRRRootToScreen.3
> > > > > /opt/freeware/man/man3/XRRSelectInput.3
> > > > > /opt/freeware/man/man3/XRRSetScreenConfig.3
> > > > > /opt/freeware/man/man3/XRRSetScreenConfigAndRate.3
> > > > > /opt/freeware/man/man3/Xrandr.3
> > > > > /usr/lib/libXrandr.la
> > > > > $
> > > > >
> > > > > [1] INVALID URI REMOVED
> > > u=http-3A__www.perzl.org_aix_index.php&d=DwIBaQ&c=jf_iaSHvJObTbx-
> > > siA1ZOg&r=p-
> > >
> > FJcrbNvnCOLkbIdmQ2tigCrcpdU77tlI2EIdaEcJw&m=o1pbP3NffoAgtuDUH4F16mS5ja5PH38mxVQjyJZ9JXQ&s=6kb0W7yq0gDYSBm_B3Q3iZjdo9Pf3lCGT4DC3qN-
> > > K4g&e=
> > > > > [2] INVALID URI REMOVED
> > >
> > u=http-3A__www.perzl.org_aix_index.php-3Fn-3DMain.LibXrandr&d=DwIBaQ&c=jf_iaSHvJObTbx-
> > > siA1ZOg&r=p-
> > >
> > FJcrbNvnCOLkbIdmQ2tigCrcpdU77tlI2EIdaEcJw&m=o1pbP3NffoAgtuDUH4F16mS5ja5PH38mxVQjyJZ9JXQ&s=LnITx2TCKu0rq3XsLvrdVB9UTLliKEV-07ZmlMIpGYs&e=
> > > > > [3]
> > > > > INVALID URI REMOVED
> > >
> > u=http-3A__www.oss4aix.org_download_RPMS_libXrandr_libXrandr-2Ddevel-2D1.
> > > 5.1-2D1.aix5.1.ppc.rpm&d=DwIBaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=p-
> > >
> > FJcrbNvnCOLkbIdmQ2tigCrcpdU77tlI2EIdaEcJw&m=o1pbP3NffoAgtuDUH4F16mS5ja5PH38mxVQjyJZ9JXQ&s=xFwQLSrOvtOrQ79gUDOTS74H8yscUVWfvKclJmfY7Zk&e=
> > > > >
> > > > > Thanks,
> > > > > Ichiroh Takiguchi
> > > > > IBM Japan, Ltd.
> > > > >
> > > > >
> > > > > On 2018-11-16 18:17, Volker Simonis wrote:
> > > > > > Hi AIX experts,
> > > > > >
> > > > > > a recent change ("8210863: Remove Xrandr include files from JDK
> > > > > > sources" [1]) has removed the Xrander header files which were
> > > > > > previously checked in in the OpenJDK sources, from there. This
> > means
> > > > > > that the build now requires the platform version of these header
> > > > > > files:
> > > > > >
> > > > > > X11/extensions/Xrandr.h
> > > > > > X11/extensions/randr.h
> > > > > >
> > > > > > To the best of my knowledge, AIX does not support the Xrandr
> > extension
> > > > > > and I couldn't find the corresponding header files any where (even
> > not
> > > > > > in the "AIX Toolbox for Linux Applications" [2]).
> > > > > >
> > > > > > I've therefor prepared a change which fixes these issues on AIX
> > (see:
> > > > > > INVALID URI REMOVED
> > >
> > u=http-3A__mail.openjdk.java.net_pipermail_2d-2Ddev_2018-2DNovember_009636.html&d=DwIBaQ&c=jf_iaSHvJObTbx-
> > > siA1ZOg&r=p-
> > >
> > FJcrbNvnCOLkbIdmQ2tigCrcpdU77tlI2EIdaEcJw&m=o1pbP3NffoAgtuDUH4F16mS5ja5PH38mxVQjyJZ9JXQ&s=qUvLEJuxTwhOq_5lK-
> > > B2sjBExUOslxZaBHSHLIRxyaY&e=).
> > > > > >
> > > > > > However, before pushing this fix, I'd like to get a confirmation
> > if
> > > > > > Xrandr is indeed not supported and not available on AIX. If it is,
> > > > > > please point me to a place where I can get a package with the
> > > > > > corresponding header files.
> > > > > >
> > > > > > Thank you and best regards,
> > > > > > Volker
> > > > > >
> > > > > > [1] INVALID URI REMOVED
> > >
> > u=https-3A__bugs.openjdk.java.net_browse_JDK-2D8210863&d=DwIBaQ&c=jf_iaSHvJObTbx-
> > > siA1ZOg&r=p-
> > >
> > FJcrbNvnCOLkbIdmQ2tigCrcpdU77tlI2EIdaEcJw&m=o1pbP3NffoAgtuDUH4F16mS5ja5PH38mxVQjyJZ9JXQ&s=t75o8gztGCdG4Foc9Zap1ZKxCQBSKF8M62GA_gXGzaw&e=
> > > > > > [2]
> > > > > >
> > https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%
> > 2Fwww.ibm.com%2Fdeveloperworks%2Faix%2Flibrary%2Faix-toolbox%
> > 2Falpha.html&data=01%7C01%7Ctony.reix%40atos.net%
> > 7C651bf4e6e2a243edee8c08d64ec49dc1%7C33440fc6b7c7412cbb730e70b0198d5a%
> > 7C0&sdata=gMxDGihOpXF9QT%2FLm4T9XRXqK0SoTU2bjwpWgSzqrF8%3D&reserved=0
> > > > >
> > >
> >
>
>
>
>
More information about the ppc-aix-port-dev
mailing list