Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jan 2016 10:35:11 +0000
From:      Stefan Rumetshofer <sterum77@gmail.com>
To:        freebsd-emulation@freebsd.org
Subject:   Testing the new 64bit linux emu fails
Message-ID:  <CAK_LXuDVhyB1oCcDi93RUpdRVFOB42gyQfp705esPSq7vc%2BKeg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I'd like to test the 64bit X-Plane 10 Installer, but it fails with an
Segmentation fault.

What did i do:
* Installed a 10.2-STABLE from source.
* fetched a new portstree with portsnap.
* patched the portstree and edited make.conf as described here:
http://miwi.cc/2016/01/cftcentos-6-7-userland-update/
* installed linux_base-c6, linux-c6-xorg-libs and linux-c6-libGLU
* downloaded the NVIDIA driver 358.16 and installed it.
* downloaded 64bit nvidia packages from archlinux (358.16)
* put the libs to /compat/linux/usr/lib64
* kldloaded nvidia, linux and linux64

# ldd ~/X-Plane 10 Installer Linux
now says:

        linux_vdso.so.1 =>  (0x00007ffffffff000)
        libGL.so.1 => /usr/lib64/libGL.so.1 (0x0000000800e5a000)
        libGLU.so.1 => /usr/lib64/libGLU.so.1 (0x000000080118e000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x000000080140e000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x0000000801620000)
        libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x000000080195d000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x0000000801b66000)
        librt.so.1 => /lib64/librt.so.1 (0x0000000801d83000)
        libdl.so.2 => /lib64/libdl.so.2 (0x0000000801f8b000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x000000080218f000)
        libm.so.6 => /lib64/libm.so.6 (0x0000000802495000)
        libc.so.6 => /lib64/libc.so.6 (0x0000000802719000)
        libnvidia-tls.so.358.16 => /usr/lib64/libnvidia-tls.so.358.16
(0x0000000802aad000)
        libnvidia-glcore.so.358.16 => /usr/lib64/libnvidia-glcore.so.358.16
(0x0000000802cb1000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000000804912000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x0000000804b28000)
        libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x0000000804d46000)
        /lib64/ld-linux-x86-64.so.2 (0x0000000800c38000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x0000000804f4f000)

So it looks good, but
# ~/.X-Plane 10 Installer Linux
give me a Segmentation fault.

The question now is, can i use the 64bit libs from archlinux or am i on the
wrong way with this.

Btw I tried running 64bit glxgears from archlinux but this fails with:

X Error:  BadValue
  Request Major code 153 (GLX)
  Request Minor code 3 ()
  Value 0x0
  Error Serial #28
  Current Serial #29



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAK_LXuDVhyB1oCcDi93RUpdRVFOB42gyQfp705esPSq7vc%2BKeg>