Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mpv cannot initialize GL context



On Mon, Feb 11, 2019 at 02:32:56PM +0100, Thomas Klausner wrote:
> On Mon, Feb 11, 2019 at 12:42:12PM +0000, maya%netbsd.org@localhost wrote:
> > Please use LIBGL_DEBUG=verbose as an environment variable.
> 
> Thanks for the tip.
> 
>  (+) Video --vid=1 (*) (h264 1280x720 29.970fps)
>  (+) Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz)
> libGL: OpenDriver: trying /usr/pkg/lib/dri/tls/r600_dri.so
> libGL: OpenDriver: trying /usr/pkg/lib/dri/r600_dri.so
> libGL: dlopen /usr/pkg/lib/dri/r600_dri.so failed (/usr/pkg/lib/libLLVM/libLLVM-4.0.so: Undefined PLT symbol "_ZNSt13__future_base12_Result_baseD2Ev" (symnum = 3106))
> libGL error: unable to load driver: r600_dri.so
> libGL error: driver pointer missing
> libGL error: failed to load driver: r600
> libGL: OpenDriver: trying /usr/pkg/lib/dri/tls/swrast_dri.so
> libGL: OpenDriver: trying /usr/pkg/lib/dri/swrast_dri.so
> libGL: dlopen /usr/pkg/lib/dri/swrast_dri.so failed (/usr/pkg/lib/libLLVM/libLLVM-4.0.so: Undefined PLT symbol "_ZNSt13__future_base12_Result_baseD2Ev" (symnum = 3106))
> libGL error: unable to load driver: swrast_dri.so
> libGL error: failed to load driver: swrast
> [vo/gpu/x11] X11 error: BadValue (integer parameter out of range for operation)
> [vo/gpu/x11] Type: 0, display: 0x7980eef28000, resourceid: 0, serial: 55
> [vo/gpu/x11] Error code: 2, request code: 99, minor code: 3
> [vo/gpu/x11] X11 error: GLXBadContext
> [vo/gpu/x11] Type: 0, display: 0x7980eef28000, resourceid: 0, serial: 56
> [vo/gpu/x11] Error code: a1, request code: 99, minor code: 5
> [vo/gpu/x11] X11 error: 0
> [vo/gpu/x11] Type: 0, display: 0x7980eef28000, resourceid: 0, serial: 56
> [vo/gpu/x11] Error code: 0, request code: 99, minor code: 1a
> [vo/gpu] Could not set GLX context!

I just noted the /usr/pkg in the messages above.

I have

 ModulePath   "/usr/X11R7/lib/modules"

in my /etc/X11/xorg.conf, and nothing else referencing /usr/pkg except the FontPaths.

        FontPath     "/usr/pkg/share/fonts/X11/misc/"
        FontPath     "/usr/pkg/share/fonts/X11/TTF/"
        ...

How can I tell it to not look there?
 Thomas


Home | Main Index | Thread Index | Old Index