Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jun 2020 22:51:00 -0400
From:      "Mikhail T." <mi+t@aldan.algebra.com>
To:        x11@FreeBSD.org, freebsd-emulation@FreeBSD.org, Alexey Dokuchaev <danfe@FreeBSD.org>
Subject:   glxinfo works, /compat/linux/usr/bin/glxinfo - does not
Message-ID:  <ebcedf8f-8d62-e76d-df7d-c8613e69bc88@aldan.algebra.com>

next in thread | raw e-mail | index | archive | help
Hello!

I'm trying to get an OpenGL-using (Qt5-based) Linux application off the 
ground on FreeBSD-12.1-STABLE/amd64, and it is dying early on because of 
OpenGL errors.

The machine has an NVidia card, driven by the nvidia-driver-390. The 
port is compiled with the Linux option on.

I also installed the x11/linux-nvidia-libs-390 port.

The native glxinfo (installed by the mesa-demos port) works fine:

    name of display: :0
    display: :0  screen: 0
    direct rendering: Yes
    server glx vendor string: NVIDIA Corporation
    server glx version string: 1.4
    ...

and glxgears spin as fast as expected.

However, the Linux glxinfo (installed by the linux-c7-glx-utils) fails with:

    name of display: :0
    X Error of failed request:  BadValue (integer parameter out of range
    for operation)
       Major opcode of failed request:  154 (GLX)
       Minor opcode of failed request:  24 (X_GLXCreateNewContext)
       Value in failed request:  0x0
       Serial number of failed request:  41
       Current serial number in output stream:  42

The customary Linux filesystems are mounted:

    linprocfs on /compat/linux/proc (linprocfs, local)
    fdescfs on /dev/fd (fdescfs)
    linsysfs on /compat/linux/sys (linsysfs, local)

What's wrong? Thank you! Yours,

    -mi




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ebcedf8f-8d62-e76d-df7d-c8613e69bc88>