classic opengl application on 19.04 fail to find gl drivers

Bug #1824168 reported by Alan Pope 🍺🐧🐱 🦄
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Expired
Undecided
Unassigned
snapd (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

On Ubuntu 19.04 using nVidia GTX 980M GPU and latest drivers from the archive (nvidia-drivers-418) a classic snap is unable to draw GL windows.

Steps to reproduce

* Boot Ubuntu 19.04 and update it on an nvidia system with the binary driver
* snap install godot --classic
* snap run godot

Expected result

A window appears

Actual result

Application fails to start. Output includes:

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast

Note: Same snap works on 18.04 with GL in a VirtualBox VM (on the 19.04 host) and on 18.04 with Intel GPU on bare metal.

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: snapd 2.38+19.04
ProcVersionSignature: Ubuntu 5.0.0-8.9-generic 5.0.1
Uname: Linux 5.0.0-8-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset nvidia
ApportVersion: 2.20.10-0ubuntu26
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Apr 10 15:41:58 2019
InstallationDate: Installed on 2018-10-07 (185 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
SourcePackage: snapd
UpgradeStatus: Upgraded to disco on 2019-03-19 (22 days ago)

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :
Revision history for this message
Tom Wardill (twom) wrote :

Result of:
strace -ff -o strace.txt /home/tomwardill/.steam/steam/steamapps/common/Factorio/bin/x64/factorio

Revision history for this message
Tom Wardill (twom) wrote :
Revision history for this message
Tom Wardill (twom) wrote :
Revision history for this message
Tom Wardill (twom) wrote :
Revision history for this message
Tom Wardill (twom) wrote :
Revision history for this message
Tom Wardill (twom) wrote :

I'm running the proprietary nvidia drivers at release 390, on 19.04.

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

I had a look at the snap in question (Godot) and looked at how it is built. I believe, though I'm not sure of it, that without changing how it is build and how GL drivers are injected we cannot address this issue.

Revision history for this message
Ian Johnson (anonymouse67) wrote :

I can reproduce the issue with my GTX Titan X, proprietary nvidia drivers at 418 and Ubuntu 19.04 with snapd master. Same error messages

Changed in snapd:
status: New → Confirmed
Revision history for this message
Maciej Borzecki (maciek-borzecki) wrote :

Godot is a classic snap and cannot benefit from the mount namespace arrangement provided by snapd. As hinted in the previous comments, it's best if you bring this is up with Godot developers. The snap lists https://github.com/godotengine/godot/issues as their contact page.

Changed in snapd:
status: Confirmed → Incomplete
Changed in snapd (Ubuntu):
status: New → Incomplete
Revision history for this message
Craig Scott (craigscott) wrote :

(Commenting here instead of a new issue since the symptoms/error messages seem close)

In case it matters, the CMake snap (specifically the cmake-gui app) also reports the same error message on startup. It is also a classic snap, but in this case the app does appear to run successfully. Can't comment on whether performance is affected or if it might lead to artefacts in some cases.

Seen on an Ubuntu 18.04 VM under Parallels on a macOS host. Also same error message appears on a CentOS 7 VM under Parallels on the same macOS host.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for snapd (Ubuntu) because there has been no activity for 60 days.]

Changed in snapd (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for snapd because there has been no activity for 60 days.]

Changed in snapd:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.