You are not logged in.

#1 2021-10-21 16:27:27

MarcoIs
Member
Registered: 2021-10-21
Posts: 6

fbConfigs or visuals, failed swrast, Docker nvidia-390xx

Helllo all of you, I ran in some truble geting a grafik from a docker container.

When I ran glxgears  in docker I get the following error:

user@host# glxgears
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Error: glXCreateContext failed

On my host glxgears works fine. But not in docker.

Im runing ArchLinux x64 kernel version 5.14.9-arch2-1,

I installed "nvidia-390xx" and "nvidia-390xx-utils"  from auren as also mesa. "xhost +"  is given.

I have no "xorg.conf"  (falso not rom nvidia). Do I need "lib32-nvidia-390xx-utils" on my x64 system?

here my packages:

user@host$: pacman -Qs libgl
local/glew 2.2.0-2
    The OpenGL Extension Wrangler Library
local/glib2 2.70.0-1
    Low level core library
local/glibmm 2.66.1-2
    C++ bindings for GLib
local/libglvnd 1.3.4-1
    The GL Vendor-Neutral Dispatch library
local/mesa 21.2.3-1
    An open-source implementation of the OpenGL specification
local/nvidia-390xx-utils 390.144-2
    NVIDIA drivers utilities 
user@host$: pacman -Qs nvidia
local/cuda 11.4.2-1
    NVIDIA's GPU programming toolkit
local/egl-wayland 1:1.1.7-1
    EGLStream-based Wayland external platform
local/libnvidia-container 1.4.0-1
    NVIDIA container runtime library
local/libnvidia-container-tools 1.4.0-1
    NVIDIA container runtime library
local/libvdpau 1.4-1
    Nvidia VDPAU library
local/nvidia-390xx-dkms 390.144-2
    NVIDIA drivers - module sources
local/nvidia-390xx-utils 390.144-2
    NVIDIA drivers utilities
local/nvidia-container-runtime 3.5.0-2
    NVIDIA opencontainer runtime fork to expose GPU devices to containers.
local/nvidia-container-toolkit 1.5.0-2
    NVIDIA container runtime toolkit
local/nvidia-docker 2.6.0-1
    Build and run Docker containers leveraging NVIDIA GPUs
local/nvtop 1.2.2-1
    An htop like monitoring tool for NVIDIA GPUs
local/opencl-nvidia-390xx 390.144-2
    OpenCL implemention for NVIDIA
local/xf86-video-nouveau 1.0.17-1 (xorg-drivers)
    Open Source 3D acceleration driver for nVidia cards

Last edited by MarcoIs (2021-10-21 23:37:38)

Offline

#2 2021-10-21 20:50:25

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,442

Re: fbConfigs or visuals, failed swrast, Docker nvidia-390xx

Offline

Board footer

Powered by FluxBB