SebKuzminsky / pycam

Other
340 stars 98 forks source link

Gui error "Unable to create a GL context" #158

Open DenEric opened 4 years ago

DenEric commented 4 years ago

I keep on having issues with the visualization using the master-branch. To exclude (faulty) configuration of my proper machine I installed pycam on a clean docker image.

docker run --security-opt apparmor:unconfined -v ~/Documents:/root/Documents -v ~/.Xauthority:/root/.Xauthority -v /usr/lib/nvidia-384:/usr/lib/nvidia-384 -v /usr/lib32/nvidia-384:/usr/lib32/nvidia-384 -e DISPLAY=$DISPLAY --net=host pycam/pycam:latest

Enabled 16 parallel local processes Storing a state revision (1/20) libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast** Font directory: /root/pycam/share/fonts No preferences file found ([Errno 2] No such file or directory: '/root/.pycam/preferences.conf'). Starting with default preferences. Loading workspace from file: /root/.pycam/workspace.yml Imported 2 items into 'tools' Imported 2 items into 'processes' Imported 1 items into 'bounds' Imported 2 items into 'tasks' Imported 1 items into 'models' Imported STL model: 12 triangles Imported 1 items into 'export_settings'