mcphail / boa

A snap to install gzdoom, freedoom2.wad and the Blade of Agony mod
2 stars 0 forks source link

Fatal error after upgrading to 18.04 #1

Closed mspeers closed 6 years ago

mspeers commented 6 years ago

Getting Fatal Error after upgrading

Steps:

  1. On Ubuntu mate 17.10 and running
  2. Upgrade Ubuntu Mate 18.04
  3. Run applicaiton

Results: windows with fatal error title and [][] in dialog.

mcphail commented 6 years ago

That sounds nasty. It'll be a few days before I'll be able to check on an 18.04 machine. In the meantime, can you let me know what graphics card and drivers you're using, paste the outputs of snap info boa and snap --version and any terminal messages if you run boa from the command line, please? Hopefully I can get this fixed for you.

popey commented 6 years ago

Works for me on 18.04. image

snap-id:   eDsKaYaf4gx5I1bfSy6SdTTfKc1ppDx7
tracking:  stable
refreshed: 2018-04-15T00:30:37+01:00
installed:   c2-gzdoom3.3.2 (144) 487MB -
channels:                         
  stable:    c2-gzdoom3.3.2 (144) 487MB -
  candidate: ↑                          
  beta:      ↑                          
  edge:      c2-gzdoom3.3.2 (144) 487MB -
alan@hal:~$ snap version
snap    2.32.5+18.04
snapd   2.32.5+18.04
series  16
ubuntu  18.04
kernel  4.15.0-20-generic
popey commented 6 years ago

screenshot at 2018-05-04 12-06-06

Also fine on Ubuntu MATE 18.04.

mcphail commented 6 years ago

Thanks @popey. I appreciate your testing.

I wonder what has gone wrong for @mspeers?

mspeers commented 6 years ago

I have included the logs of the failed by command line.

Sorry Snap Version: screenshot at 2018-05-02 06-03-28

m@ThinkPad-T430:~$ snap version snap 2.32.5+18.04 snapd 2.32.5+18.04 series 16 ubuntu 18.04 kernel 4.15.0-20-generic

m@ThinkPad-T430:~$ env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/boa_boa.desktop /snap/bin/boa GZDoom g3.3.2 - 2018-04-12 21:44:48 +0200 - SDL version Compiled on Apr 14 2018

M_LoadDefaults: Load system defaults. W_Init: Init WADfiles. adding gzdoom.pk3, 684 lumps adding zd_extra.pk3, 132 lumps adding /snap/boa/144/wolf_boa.pk3, 14294 lumps I_Init: Setting up machine state. CPU Vendor ID: GenuineIntel Name: Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz Family 6, Model 58, Stepping 9 Features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 HyperThreading I_InitSound: Initializing OpenAL Opened device Built-in Audio Analog Stereo EFX enabled V_Init: allocate screen. S_Init: Setting up sound. ST_Init: Init startup screen. Checking cmd-line parameters... S_InitData: Load sound definitions. G_ParseMapInfo: Load map definitions. Texman.Init: Init texture manager. ParseTeamInfo: Load team definitions. LoadActors: Load actor definitions. wolf_boa.pk3:scripts/menus/iconlistmenu.txt, line 100: Default values for parameter of virtual override will be ignored! wolf_boa.pk3:scripts/menus/iconlistmenu.txt, line 297: Default values for parameter of virtual override will be ignored! wolf_boa.pk3:scripts/menus/iconlistmenu.txt, line 328: Default values for parameter of virtual override will be ignored! wolf_boa.pk3:scripts/menus/iconlistmenu.txt, line 367: Default values for parameter of virtual override will be ignored! wolf_boa.pk3:scripts/menus/iconlistmenu.txt, line 403: Default values for parameter of virtual override will be ignored! wolf_boa.pk3:scripts/actors/enemies/base.txt, line 267: Default values for parameter of virtual override will be ignored! 6 warnings while compiling wolf_boa.pk3:scripts/actors/items/money.txt Script warning, "wolf_boa.pk3:actors/models.txt" line 2593: Tried to define class 'SpotLight' more than once. Renaming class to 'SpotLight@wolf_boa.pk3@actors/models.txt' script parsing took 695.15 ms R_Init: Init Doom refresh subsystem. DecalLibrary: Load decals. M_Init: Init menus. P_Init: Init Playloop state. ParseSBarInfo: Loading custom status bar definition. a Realm667 project D_CheckNetGame: Checking network game status. player 1 of 1 (1 nodes) Using video driver x11

(process:29158): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. Gtk-Message: Failed to load module "appmenu-gtk-module" Gtk-Message: Failed to load module "canberra-gtk-module"

(gzdoom:29158): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory

This likely means that your installation is broken. Try running the command gdk-pixbuf-query-loaders > /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache to make things work again for the time being. Failed to load OpenGL functions.

screenshot at 2018-05-02 06-03-28

mcphail commented 6 years ago

Thanks. Are you having this problem with any other snapped games? My guess is that this problem will go away if I modify my launcher to use the desktop-helper scripts. If you can bear with me I'll try to get a test build up today or tomorrow.

Cheers

NMP

mspeers commented 6 years ago

Yes, Some are working like Sudoku. I found that Shattered Pixel Dungeon did not work now.

kenvandine commented 6 years ago

I'd suggest using the desktop helpers and make sure you add "desktop" and probably "desktop-legacy" to your plugs as well.

mcphail commented 6 years ago

Thanks Ken. I'll try to get a new build up later to test. Interestingly, though, the Shattered Pixel Dungeon snap does use desktop helpers but doesn't work either.

mspeers commented 6 years ago

for the other one here is the end of the logs: "nking native method org.lwjgl.opengl.LinuxKeyboard.destroyIC ... JNI] [Dynamic-linking native method org.lwjgl.opengl.LinuxKeyboard.closeIM ... JNI] [Dynamic-linking native method org.lwjgl.opengl.LinuxDisplay.nDestroyCursor ... JNI] [Dynamic-linking native method org.lwjgl.opengl.LinuxDisplay.nDestroyWindow ... JNI] [Dynamic-linking native method org.lwjgl.opengl.LinuxDisplay.nSetGammaRamp ... JNI] [Dynamic-linking native method org.lwjgl.openal.AL.resetNativeStubs ... JNI] [Dynamic-linking native method org.lwjgl.openal.AL.nDestroy ... JNI] [Dynamic-linking native method java.io.FileOutputStream.writeBytes ... JNI] Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: OpenGL is not supported by the video driver. at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.createDisplayPixelFormat(LwjglGraphics.java:355) at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.setupDisplay(LwjglGraphics.java:249) at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:144) at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126) Caused by: org.lwjgl.LWJGLException: X Error - disp: 0x7ff14c003380 serial: 208 error: BadDrawable request_code: 155 minor_code: 4 at org.lwjgl.opengl.LinuxDisplay.globalErrorHandler(LinuxDisplay.java:320) at org.lwjgl.opengl.LinuxContextImplementation.nMakeCurrent(Native Method) at org.lwjgl.opengl.LinuxContextImplementation.makeCurrent(LinuxContextImplementation.java:121) at org.lwjgl.opengl.ContextGL.makeCurrent(ContextGL.java:194) at org.lwjgl.opengl.DrawableGL.makeCurrent(DrawableGL.java:110) at org.lwjgl.opengl.Display.makeCurrent(Display.java:706) at org.lwjgl.opengl.Display.makeCurrentAndSetSwapInterval(Display.java:1025) at org.lwjgl.opengl.Display.create(Display.java:852) at org.lwjgl.opengl.Display.create(Display.java:757) at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.createDisplayPixelFormat(LwjglGraphics.java:347) ... 3 more [Dynamic-linking native method sun.awt.X11.XlibWrapper.XkbFreeKeyboard ... JNI] m@ThinkPad-T430:~$ "

mcphail commented 6 years ago

That's interesting. I think opengl libraries are handled differently in 18.04 to 17.10 - perhaps the snaps are not adapting to this?

Would it be possible to remove one of these snaps entirely then reinstall it to see if it gets set up correctly? Unfortunately you'll lose your save games if you do that so don't try this if these are important to you.

mspeers commented 6 years ago

Yes, did that before I submitted issue and just did it again by the following commands: snap refresh snap remove boa move ~/snap/boa ~/snap/boa2 snap install boa snap list Name Version Rev Tracking Developer Notes boa c2-gzdoom3.3.2 144 stable njmcphail - conjure-up 2.5.6-20180406.1504 987 stable canonical classic core 16-2.32.5 4486 stable canonical core fcole90-hexgl-webapp 1.5 46 stable fcole90 - micropolis 1.0 7 stable diddledan - minecraft latest 11 stable snapcrafters - minetest-luk3yx 0.4.16 14 stable luk3yx - openra 20180307 44 stable diddledan - openttd-reddit-casept r27534 1 stable casept - pulsemixer 1.4.0 8 stable georgefilipkin - shattered-pixel-dungeon 0.6.4 5 stable popey - software-boutique 18.04.0-5b99b84 31 stable flexiondotorg classic sudoku-game 1.0 1 stable 1bsyl - ubuntu-app-platform 1 34 stable canonical - ubuntu-mate-welcome 17.10.23-e4f4c4c 169 stable flexiondotorg classic voxelands-luk3yx 1709 5 stable luk3yx - vscode 1.20.1-1518535978 27 stable flexiondotorg classic

mspeers commented 6 years ago

Hey @popey you got me in this mess. LOL I heard you talk about snap game on JP / Ubuntu Podcast. You got me hooked now find problems :)

mcphail commented 6 years ago

There's a very similar bug report for libreoffice at https://forum.snapcraft.io/t/libreoffice-does-not-open/5290 .

mcphail commented 6 years ago

I've published a version using the desktop helpers to the candidate channel. @mspeers - if you run snap switch --candidate boa then snap refresh boa you should be able to try it. Let me know if this version works.

I'm a bit concerned that this might be a snapd problem rather than a boa problem.

mspeers commented 6 years ago

Failed :unamused:

[Dynamic-linking native method org.lwjgl.openal.AL.resetNativeStubs ... JNI] [Dynamic-linking native method org.lwjgl.openal.AL.nDestroy ... JNI] [Dynamic-linking native method java.io.FileOutputStream.writeBytes ... JNI] Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: OpenGL is not supported by the video driver. at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.createDisplayPixelFormat(LwjglGraphics.java:355) at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.setupDisplay(LwjglGraphics.java:249) at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:144) at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126) Caused by: org.lwjgl.LWJGLException: X Error - disp: 0x7ff14c003380 serial: 208 error: BadDrawable request_code: 155 minor_code: 4 at org.lwjgl.opengl.LinuxDisplay.globalErrorHandler(LinuxDisplay.java:320) at org.lwjgl.opengl.LinuxContextImplementation.nMakeCurrent(Native Method) at org.lwjgl.opengl.LinuxContextImplementation.makeCurrent(LinuxContextImplementation.java:121) at org.lwjgl.opengl.ContextGL.makeCurrent(ContextGL.java:194) at org.lwjgl.opengl.DrawableGL.makeCurrent(DrawableGL.java:110) at org.lwjgl.opengl.Display.makeCurrent(Display.java:706) at org.lwjgl.opengl.Display.makeCurrentAndSetSwapInterval(Display.java:1025) at org.lwjgl.opengl.Display.create(Display.java:852) at org.lwjgl.opengl.Display.create(Display.java:757) at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.createDisplayPixelFormat(LwjglGraphics.java:347) ... 3 more [Dynamic-linking native method sun.awt.X11.XlibWrapper.XkbFreeKeyboard ... JNI] matt@matt-ThinkPad-T430:~$ snap refresh All snaps up to date. matt@matt-ThinkPad-T430:~$ snap remove boa boa removed matt@matt-ThinkPad-T430:~$ mv ~/snap/boa boa/ boa2/ matt@matt-ThinkPad-T430:~$ mv ~/snap/boa ~/snap/boatmp matt@matt-ThinkPad-T430:~$ snap install boa boa c2-gzdoom3.3.2 from 'njmcphail' installed matt@matt-ThinkPad-T430:~$ snap list Name Version Rev Tracking Developer Notes boa c2-gzdoom3.3.2 144 stable njmcphail - conjure-up 2.5.6-20180406.1504 987 stable canonical classic core 16-2.32.5 4486 stable canonical core fcole90-hexgl-webapp 1.5 46 stable fcole90 - micropolis 1.0 7 stable diddledan - minecraft latest 11 stable snapcrafters - minetest-luk3yx 0.4.16 14 stable luk3yx - openra 20180307 44 stable diddledan - openttd-reddit-casept r27534 1 stable casept - pulsemixer 1.4.0 8 stable georgefilipkin - shattered-pixel-dungeon 0.6.4 5 stable popey - software-boutique 18.04.0-5b99b84 31 stable flexiondotorg classic sudoku-game 1.0 1 stable 1bsyl - ubuntu-app-platform 1 34 stable canonical - ubuntu-mate-welcome 17.10.23-e4f4c4c 169 stable flexiondotorg classic voxelands-luk3yx 1709 5 stable luk3yx - vscode 1.20.1-1518535978 27 stable flexiondotorg classic matt@matt-ThinkPad-T430:~$ snap switch --candidate boa "boa" switched to the "candidate" channel matt@matt-ThinkPad-T430:~$ nap refresh boa

Command 'nap' not found, but there are 16 similar ones.

matt@matt-ThinkPad-T430:~$ snap refresh boa boa (candidate) c2-gzdoom3.3.2 from 'njmcphail' refreshed matt@matt-ThinkPad-T430:~$ clear

matt@matt-ThinkPad-T430:~$ env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/boa_boa.desktop /snap/bin/boa GZDoom g3.3.2 - 2018-04-12 21:44:48 +0200 - SDL version Compiled on May 4 2018

M_LoadDefaults: Load system defaults. W_Init: Init WADfiles. adding gzdoom.pk3, 684 lumps adding zd_extra.pk3, 132 lumps adding /snap/boa/147/wolf_boa.pk3, 14294 lumps I_Init: Setting up machine state. CPU Vendor ID: GenuineIntel Name: Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz Family 6, Model 58, Stepping 9 Features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 HyperThreading I_InitSound: Initializing OpenAL Opened device Built-in Audio Analog Stereo EFX enabled V_Init: allocate screen. S_Init: Setting up sound. ST_Init: Init startup screen. Checking cmd-line parameters... S_InitData: Load sound definitions. G_ParseMapInfo: Load map definitions. Texman.Init: Init texture manager. ParseTeamInfo: Load team definitions. LoadActors: Load actor definitions. wolf_boa.pk3:scripts/menus/iconlistmenu.txt, line 100: Default values for parameter of virtual override will be ignored! wolf_boa.pk3:scripts/menus/iconlistmenu.txt, line 297: Default values for parameter of virtual override will be ignored! wolf_boa.pk3:scripts/menus/iconlistmenu.txt, line 328: Default values for parameter of virtual override will be ignored! wolf_boa.pk3:scripts/menus/iconlistmenu.txt, line 367: Default values for parameter of virtual override will be ignored! wolf_boa.pk3:scripts/menus/iconlistmenu.txt, line 403: Default values for parameter of virtual override will be ignored! wolf_boa.pk3:scripts/actors/enemies/base.txt, line 267: Default values for parameter of virtual override will be ignored! 6 warnings while compiling wolf_boa.pk3:scripts/actors/items/money.txt Script warning, "wolf_boa.pk3:actors/models.txt" line 2593: Tried to define class 'SpotLight' more than once. Renaming class to 'SpotLight@wolf_boa.pk3@actors/models.txt' script parsing took 730.00 ms R_Init: Init Doom refresh subsystem. DecalLibrary: Load decals. M_Init: Init menus. P_Init: Init Playloop state. ParseSBarInfo: Loading custom status bar definition. a Realm667 project D_CheckNetGame: Checking network game status. player 1 of 1 (1 nodes) Using video driver x11

(process:22427): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. Gtk-Message: Failed to load module "appmenu-gtk-module" Gtk-Message: Failed to load module "canberra-gtk-module" Failed to load OpenGL functions. screenshot at 2018-05-05 05-25-20

mspeers commented 6 years ago

Better error message :smile:

mspeers commented 6 years ago

Any update?

mcphail commented 6 years ago

Hi @mspeers. I had a brief play with an 18.04 machine running mate on Wednesday evening and couldn't reproduce this. What graphics card and graphics drivers are you using?

I might need to post something on forum.snapcraft.io for advice as I've no idea what to look at next.

mspeers commented 6 years ago

NVIDIA Corporation GF108M [NVS 5400M] (rev a1) on ThinkPad T430 using version 390.48 drivers

mcphail commented 6 years ago

Thanks. Is this one of those setups where you can switch between the discreet Nvidia graphics card and the integrated graphics for power saving?

mspeers commented 6 years ago

Other games like Play on Linux (Star Trek Online) and Stream (Terraria) worked before and after

mcphail commented 6 years ago

The situation with snaps is a bit trickier than with Playonlinux or Steam games. Basically, snaps don't get to "see" the graphics drivers, as they exist outside the snap's confinement bubble. Snapd does some magic to expose these to the snap.

Now, I'm guessing that isn't happening in your case. That might be down to something I've done wrong in building the snap. Alternatively, it may be a bug in snapd itself. At present, my money is on the latter; the way nvidia drivers are dealt with on 18.04 has changed since 17.10 and was completely broken until just before 18.04 was released. I'm not sure if the fixes have been fully tested on laptop nvidia cards which tend to add a bit of extra complexity.

Would you be kind enough to test another snap to see if it works? If you run snap install flare-rpg, run flare and then go into the video settings option. Are you able to highlight the "hardware" renderer thus?: image

If not, I think I'll need to ask for advice from the snapd developers.

mspeers commented 6 years ago

it works both sdl and sdl_hardware

mcphail commented 6 years ago

Thanks. In that case, it is more likely an error with my snap than a problem with snapd. There's a new build in the --edge channel which uses a different desktop helper. Would you be able to give that one a try?

mspeers commented 6 years ago

Failed :( Logs: matt@matt-ThinkPad-T430:~$ snap refresh boa --edge boa (edge) c2-gzdoom3.3.2 from 'njmcphail' refreshed matt@matt-ThinkPad-T430:~$ env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/boa_boa.desktop /snap/bin/boa GZDoom g3.3.2 - 2018-04-12 21:44:48 +0200 - SDL version Compiled on May 12 2018

M_LoadDefaults: Load system defaults. W_Init: Init WADfiles. adding gzdoom.pk3, 684 lumps adding zd_extra.pk3, 132 lumps adding /snap/boa/151/wolf_boa.pk3, 14294 lumps I_Init: Setting up machine state. CPU Vendor ID: GenuineIntel Name: Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz Family 6, Model 58, Stepping 9 Features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 HyperThreading I_InitSound: Initializing OpenAL Opened device Built-in Audio Analog Stereo EFX enabled V_Init: allocate screen. S_Init: Setting up sound. ST_Init: Init startup screen. Checking cmd-line parameters... S_InitData: Load sound definitions. G_ParseMapInfo: Load map definitions. Texman.Init: Init texture manager. ParseTeamInfo: Load team definitions. LoadActors: Load actor definitions. wolf_boa.pk3:scripts/menus/iconlistmenu.txt, line 100: Default values for parameter of virtual override will be ignored! wolf_boa.pk3:scripts/menus/iconlistmenu.txt, line 297: Default values for parameter of virtual override will be ignored! wolf_boa.pk3:scripts/menus/iconlistmenu.txt, line 328: Default values for parameter of virtual override will be ignored! wolf_boa.pk3:scripts/menus/iconlistmenu.txt, line 367: Default values for parameter of virtual override will be ignored! wolf_boa.pk3:scripts/menus/iconlistmenu.txt, line 403: Default values for parameter of virtual override will be ignored! wolf_boa.pk3:scripts/actors/enemies/base.txt, line 267: Default values for parameter of virtual override will be ignored! 6 warnings while compiling wolf_boa.pk3:scripts/actors/items/money.txt Script warning, "wolf_boa.pk3:actors/models.txt" line 2593: Tried to define class 'SpotLight' more than once. Renaming class to 'SpotLight@wolf_boa.pk3@actors/models.txt' script parsing took 675.41 ms R_Init: Init Doom refresh subsystem. DecalLibrary: Load decals. M_Init: Init menus. P_Init: Init Playloop state. ParseSBarInfo: Loading custom status bar definition. a Realm667 project D_CheckNetGame: Checking network game status. player 1 of 1 (1 nodes) Using video driver x11 Gtk-Message: Failed to load module "appmenu-gtk-module" Gtk-Message: Failed to load module "canberra-gtk-module" Failed to load OpenGL functions.

bboozzoo commented 6 years ago

Can you try to run:

sudo /usr/lib/snapd/snap-discard-ns boa
SNAPD_DEBUG=1 SNAP_CONFINE_DEBUG=1 snap run boa

and paste the log somewhere?

mspeers commented 6 years ago
[sudo] password for matt: 
Sorry, try again.
[sudo] password for matt: 
matt@matt-ThinkPad-T430:~$ SNAPD_DEBUG=1 SNAP_CONFINE_DEBUG=1 snap run boa
2018/05/14 07:20:19.554623 cmd.go:203: DEBUG: restarting into "/snap/core/current/usr/bin/snap"
DEBUG: security tag: snap.boa.boa
DEBUG: executable:   /usr/lib/snapd/snap-exec
DEBUG: confinement:  non-classic
DEBUG: base snap:    core
DEBUG: ruid: 1000, euid: 0, suid: 0
DEBUG: rgid: 1000, egid: 0, sgid: 0
DEBUG: apparmor label on snap-confine is: /snap/core/4571/usr/lib/snapd/snap-confine
DEBUG: apparmor mode is: enforce
DEBUG: checking if the current process shares mount namespace with the init process
DEBUG: re-associating is not required
DEBUG: creating lock directory /run/snapd/lock (if missing)
DEBUG: opening lock directory /run/snapd/lock
DEBUG: opening lock file: /run/snapd/lock/.lock
DEBUG: sanity timeout initialized and set for three seconds
DEBUG: acquiring exclusive lock (scope (global))
DEBUG: sanity timeout reset and disabled
DEBUG: ensuring that snap mount directory is shared
DEBUG: unsharing snap namespace directory
DEBUG: creating namespace group directory /run/snapd/ns
DEBUG: namespace group directory does not require intialization
DEBUG: releasing lock (scope: (global))
DEBUG: snap-update-ns executable: /snap/core/4571/usr/lib/snapd/snap-update-ns
DEBUG: opened snap-update-ns executable as file descriptor 3
DEBUG: creating lock directory /run/snapd/lock (if missing)
DEBUG: opening lock directory /run/snapd/lock
DEBUG: opening lock file: /run/snapd/lock/boa.lock
DEBUG: sanity timeout initialized and set for three seconds
DEBUG: acquiring exclusive lock (scope boa)
DEBUG: sanity timeout reset and disabled
DEBUG: initializing mount namespace: boa
DEBUG: opening namespace group directory /run/snapd/ns
DEBUG: initializing new namespace group boa
DEBUG: forking support process for mount namespace capture
DEBUG: DEBUG: forked support process has pid 0
DEBUG: changing apparmor hat of the support process for mount namespace capture
DEBUG: changing apparmor hat to mount-namespace-capture-helper
forked support process has pid 21596
DEBUG: ensuring that parent process is still alive
DEBUG: waiting for a eventfd data from the parent process to continue
DEBUG: sanity timeout initialized and set for three seconds
DEBUG: unsharing the mount namespace
DEBUG: scratch directory for constructing namespace: /tmp/snap.rootfs_IoSr17
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: opening file describing nvidia driver version
DEBUG: parsed nvidia driver version: 390.48
DEBUG: opening file describing nvidia driver version
DEBUG: parsed nvidia driver version: 390.48
DEBUG: bind mounting nvidia driver /usr/lib/nvidia-390 -> /tmp/snap.rootfs_IoSr17/var/lib/snapd/lib/gl
DEBUG: opening file describing nvidia driver version
DEBUG: parsed nvidia driver version: 390.48
DEBUG: bind mounting nvidia driver /usr/lib32/nvidia-390 -> /tmp/snap.rootfs_IoSr17/var/lib/snapd/lib/gl32
DEBUG: mounting tmpfs at /tmp/snap.rootfs_IoSr17/var/lib/snapd/lib/vulkan
DEBUG: creating symbolic link /tmp/snap.rootfs_IoSr17/var/lib/snapd/lib/vulkan/icd.d/nvidia_icd.json -> /var/lib/snapd/hostfs/usr/share/vulkan/icd.d/nvidia_icd.json
DEBUG: remounting tmpfs as read-only /tmp/snap.rootfs_IoSr17/var/lib/snapd/lib/vulkan
DEBUG: performing operation: pivot_root /tmp/snap.rootfs_IoSr17 /tmp/snap.rootfs_IoSr17//var/lib/snapd/hostfs
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: rmdir /var/lib/snapd/hostfs//tmp/snap.rootfs_IoSr17
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: mount --move /var/lib/snapd /tmp/snapd.quirks_3JjkOL
DEBUG: creating writable mimic directory /var/lib based on /snap/core/current//var/lib
DEBUG: mounting tmpfs at /var/lib
DEBUG: bind-mounting all the files from the reference directory
DEBUG: creating empty directory at /var/lib/apparmor
DEBUG: performing operation: mount /snap/core/current//var/lib/apparmor /var/lib/apparmor -o ro,nosuid,nodev,rbind,rslave
DEBUG: creating empty directory at /var/lib/classic
DEBUG: performing operation: mount /snap/core/current//var/lib/classic /var/lib/classic -o ro,nosuid,nodev,rbind,rslave
DEBUG: creating empty directory at /var/lib/cloud
DEBUG: performing operation: mount /snap/core/current//var/lib/cloud /var/lib/cloud -o ro,nosuid,nodev,rbind,rslave
DEBUG: creating empty directory at /var/lib/console-conf
DEBUG: performing operation: mount /snap/core/current//var/lib/console-conf /var/lib/console-conf -o ro,nosuid,nodev,rbind,rslave
DEBUG: creating empty directory at /var/lib/dbus
DEBUG: performing operation: mount /snap/core/current//var/lib/dbus /var/lib/dbus -o ro,nosuid,nodev,rbind,rslave
DEBUG: creating empty directory at /var/lib/dhcp
DEBUG: performing operation: mount /snap/core/current//var/lib/dhcp /var/lib/dhcp -o ro,nosuid,nodev,rbind,rslave
DEBUG: creating empty directory at /var/lib/extrausers
DEBUG: performing operation: mount /snap/core/current//var/lib/extrausers /var/lib/extrausers -o ro,nosuid,nodev,rbind,rslave
DEBUG: creating empty directory at /var/lib/initramfs-tools
DEBUG: performing operation: mount /snap/core/current//var/lib/initramfs-tools /var/lib/initramfs-tools -o ro,nosuid,nodev,rbind,rslave
DEBUG: creating empty directory at /var/lib/initscripts
DEBUG: performing operation: mount /snap/core/current//var/lib/initscripts /var/lib/initscripts -o ro,nosuid,nodev,rbind,rslave
DEBUG: creating empty directory at /var/lib/insserv
DEBUG: performing operation: mount /snap/core/current//var/lib/insserv /var/lib/insserv -o ro,nosuid,nodev,rbind,rslave
DEBUG: creating empty directory at /var/lib/logrotate
DEBUG: performing operation: mount /snap/core/current//var/lib/logrotate /var/lib/logrotate -o ro,nosuid,nodev,rbind,rslave
DEBUG: creating empty directory at /var/lib/machines
DEBUG: performing operation: mount /snap/core/current//var/lib/machines /var/lib/machines -o ro,nosuid,nodev,rbind,rslave
DEBUG: creating empty directory at /var/lib/misc
DEBUG: performing operation: mount /snap/core/current//var/lib/misc /var/lib/misc -o ro,nosuid,nodev,rbind,rslave
DEBUG: creating empty directory at /var/lib/pam
DEBUG: performing operation: mount /snap/core/current//var/lib/pam /var/lib/pam -o ro,nosuid,nodev,rbind,rslave
DEBUG: creating empty directory at /var/lib/python
DEBUG: performing operation: mount /snap/core/current//var/lib/python /var/lib/python -o ro,nosuid,nodev,rbind,rslave
DEBUG: creating empty directory at /var/lib/resolvconf
DEBUG: performing operation: mount /snap/core/current//var/lib/resolvconf /var/lib/resolvconf -o ro,nosuid,nodev,rbind,rslave
DEBUG: creating empty directory at /var/lib/snapd
DEBUG: performing operation: mount /snap/core/current//var/lib/snapd /var/lib/snapd -o ro,nosuid,nodev,rbind,rslave
DEBUG: creating empty directory at /var/lib/sudo
DEBUG: performing operation: mount /snap/core/current//var/lib/sudo /var/lib/sudo -o ro,nosuid,nodev,rbind,rslave
DEBUG: creating empty directory at /var/lib/systemd
DEBUG: performing operation: mount /snap/core/current//var/lib/systemd /var/lib/systemd -o ro,nosuid,nodev,rbind,rslave
DEBUG: creating empty directory at /var/lib/ubuntu-fan
DEBUG: performing operation: mount /snap/core/current//var/lib/ubuntu-fan /var/lib/ubuntu-fan -o ro,nosuid,nodev,rbind,rslave
DEBUG: creating empty directory at /var/lib/ucf
DEBUG: performing operation: mount /snap/core/current//var/lib/ucf /var/lib/ucf -o ro,nosuid,nodev,rbind,rslave
DEBUG: creating empty directory at /var/lib/update-rc.d
DEBUG: performing operation: mount /snap/core/current//var/lib/update-rc.d /var/lib/update-rc.d -o ro,nosuid,nodev,rbind,rslave
DEBUG: creating empty directory at /var/lib/urandom
DEBUG: performing operation: mount /snap/core/current//var/lib/urandom /var/lib/urandom -o ro,nosuid,nodev,rbind,rslave
DEBUG: creating empty directory at /var/lib/vim
DEBUG: performing operation: mount /snap/core/current//var/lib/vim /var/lib/vim -o ro,nosuid,nodev,rbind,rslave
DEBUG: creating empty directory at /var/lib/waagent
DEBUG: performing operation: mount /snap/core/current//var/lib/waagent /var/lib/waagent -o ro,nosuid,nodev,rbind,rslave
DEBUG: performing operation: umount /var/lib/snapd
DEBUG: performing operation: mount --move /tmp/snapd.quirks_3JjkOL /var/lib/snapd
DEBUG: performing operation: rmdir /tmp/snapd.quirks_3JjkOL
DEBUG: setting up quirk for LXD (see LP: #1613845)
DEBUG: creating empty directory at /var/lib/lxd
DEBUG: performing operation: mount /var/lib/snapd/hostfs/var/lib/lxd /var/lib/lxd -o nosuid,nodev,noexec,rbind,rslave
DEBUG: calling snap-update-ns to initialize mount namespace
DEBUG: waiting for snap-update-ns to finish...
DEBUG: launching snap-update-ns under per-snap profile snap-update-ns.boa
DEBUG: requesting changing of apparmor profile on next exec to snap-update-ns.boa
DEBUG: fexecv(3 (snap-update-ns), snap-update-ns --from-snap-confine boa,)
2018/05/14 07:20:20.395245 main.go:96: DEBUG: locking mount namespace of snap "boa"
2018/05/14 07:20:20.406788 main.go:115: DEBUG: freezing processes of snap "boa"
2018/05/14 07:20:20.407071 main.go:194: DEBUG: desired mount profile:
2018/05/14 07:20:20.407138 main.go:196: DEBUG:  /var/lib/snapd/hostfs/usr/share/fonts /usr/share/fonts none bind,ro 0 0
2018/05/14 07:20:20.407170 main.go:196: DEBUG:  /var/lib/snapd/hostfs/usr/local/share/fonts /usr/local/share/fonts none bind,ro 0 0
2018/05/14 07:20:20.407186 main.go:196: DEBUG:  /var/lib/snapd/hostfs/var/cache/fontconfig /var/cache/fontconfig none bind,ro 0 0
2018/05/14 07:20:20.407217 main.go:199: DEBUG: current mount profile (before applying changes): (none)
2018/05/14 07:20:20.407252 change.go:359: DEBUG: desiredIDs: map[/usr/local/share/fonts:true /usr/share/fonts:true /var/cache/fontconfig:true]
2018/05/14 07:20:20.407331 change.go:360: DEBUG: reuse: map[]
2018/05/14 07:20:20.407356 main.go:205: DEBUG: mount changes needed:
2018/05/14 07:20:20.407385 main.go:207: DEBUG:  mount (/var/lib/snapd/hostfs/usr/local/share/fonts /usr/local/share/fonts none bind,ro 0 0)
2018/05/14 07:20:20.407403 main.go:207: DEBUG:  mount (/var/lib/snapd/hostfs/usr/share/fonts /usr/share/fonts none bind,ro 0 0)
2018/05/14 07:20:20.407419 main.go:207: DEBUG:  mount (/var/lib/snapd/hostfs/var/cache/fontconfig /var/cache/fontconfig none bind,ro 0 0)
2018/05/14 07:20:20.407429 main.go:150: DEBUG: performing mount changes:
2018/05/14 07:20:20.407448 main.go:153: DEBUG:   * mount (/var/lib/snapd/hostfs/usr/local/share/fonts /usr/local/share/fonts none bind,ro 0 0)
2018/05/14 07:20:20.407557 change.go:248: DEBUG: mount "/var/lib/snapd/hostfs/usr/local/share/fonts" "/usr/local/share/fonts" "none" 4097 "" (error: <nil>)
2018/05/14 07:20:20.407600 main.go:153: DEBUG:   * mount (/var/lib/snapd/hostfs/usr/share/fonts /usr/share/fonts none bind,ro 0 0)
2018/05/14 07:20:20.407665 change.go:248: DEBUG: mount "/var/lib/snapd/hostfs/usr/share/fonts" "/usr/share/fonts" "none" 4097 "" (error: <nil>)
2018/05/14 07:20:20.407703 main.go:153: DEBUG:   * mount (/var/lib/snapd/hostfs/var/cache/fontconfig /var/cache/fontconfig none bind,ro 0 0)
2018/05/14 07:20:20.407765 change.go:248: DEBUG: mount "/var/lib/snapd/hostfs/var/cache/fontconfig" "/var/cache/fontconfig" "none" 4097 "" (error: <nil>)
2018/05/14 07:20:20.407782 main.go:194: DEBUG: current mount profile (after applying changes):
2018/05/14 07:20:20.407810 main.go:196: DEBUG:  /var/lib/snapd/hostfs/usr/local/share/fonts /usr/local/share/fonts none bind,ro 0 0
2018/05/14 07:20:20.407825 main.go:196: DEBUG:  /var/lib/snapd/hostfs/usr/share/fonts /usr/share/fonts none bind,ro 0 0
2018/05/14 07:20:20.407839 main.go:196: DEBUG:  /var/lib/snapd/hostfs/var/cache/fontconfig /var/cache/fontconfig none bind,ro 0 0
2018/05/14 07:20:20.407851 main.go:185: DEBUG: saving current mount profile of snap "boa"
2018/05/14 07:20:20.407967 main.go:120: DEBUG: thawing processes of snap "boa"
2018/05/14 07:20:20.408006 main.go:92: DEBUG: unlocking mount namespace of snap "boa"
DEBUG: snap-update-ns finished successfully
DEBUG: asking support process for mount namespace capture (pid: 21596) to perform the capture
DEBUG: waiting for the support process for mount namespace capture to exit
DEBUG: sanity timeout reset and disabled
DEBUG: capturing mount namespace of process 21583 in namespace group boa
DEBUG: successfully captured mount namespace in namespace group boa
DEBUG: support process for mount namespace capture exited normally
DEBUG: releasing resources associated with namespace group boa
DEBUG: moved process 21583 to freezer cgroup hierarchy for snap boa
DEBUG: releasing lock (scope: boa)
DEBUG: resetting PATH to values in sync with core snap
DEBUG: snappy_udev_init
DEBUG: setup_devices_cgroup
DEBUG: write_string_to_file /sys/fs/cgroup/devices/snap.boa.boa/tasks 21583
DEBUG: write_string_to_file /sys/fs/cgroup/devices/snap.boa.boa/devices.deny a
DEBUG: run_snappy_app_dev_add: /sys/class/mem/null snap_boa_boa
DEBUG: running snap-device-helper add snap_boa_boa /sys/class/mem/null 1:3
DEBUG: run_snappy_app_dev_add: /sys/class/mem/full snap_boa_boa
DEBUG: running snap-device-helper add snap_boa_boa /sys/class/mem/full 1:7
DEBUG: run_snappy_app_dev_add: /sys/class/mem/zero snap_boa_boa
DEBUG: running snap-device-helper add snap_boa_boa /sys/class/mem/zero 1:5
DEBUG: run_snappy_app_dev_add: /sys/class/mem/random snap_boa_boa
DEBUG: running snap-device-helper add snap_boa_boa /sys/class/mem/random 1:8
DEBUG: run_snappy_app_dev_add: /sys/class/mem/urandom snap_boa_boa
DEBUG: running snap-device-helper add snap_boa_boa /sys/class/mem/urandom 1:9
DEBUG: run_snappy_app_dev_add: /sys/class/tty/tty snap_boa_boa
DEBUG: running snap-device-helper add snap_boa_boa /sys/class/tty/tty 5:0
DEBUG: run_snappy_app_dev_add: /sys/class/tty/console snap_boa_boa
DEBUG: running snap-device-helper add snap_boa_boa /sys/class/tty/console 5:1
DEBUG: run_snappy_app_dev_add: /sys/class/tty/ptmx snap_boa_boa
DEBUG: running snap-device-helper add snap_boa_boa /sys/class/tty/ptmx 5:2
DEBUG: running snap-device-helper add snap_boa_boa /dev/pts/slaves 136:*
DEBUG: running snap-device-helper add snap_boa_boa /dev/pts/slaves 137:*
DEBUG: running snap-device-helper add snap_boa_boa /dev/pts/slaves 138:*
DEBUG: running snap-device-helper add snap_boa_boa /dev/pts/slaves 139:*
DEBUG: running snap-device-helper add snap_boa_boa /dev/pts/slaves 140:*
DEBUG: running snap-device-helper add snap_boa_boa /dev/pts/slaves 141:*
DEBUG: running snap-device-helper add snap_boa_boa /dev/pts/slaves 142:*
DEBUG: running snap-device-helper add snap_boa_boa /dev/pts/slaves 143:*
DEBUG: running snap-device-helper add snap_boa_boa /dev/nvidia0 195:0
DEBUG: running snap-device-helper add snap_boa_boa /dev/nvidiactl 195:255
DEBUG: running snap-device-helper add snap_boa_boa /dev/nvidia-uvm 238:0
DEBUG: running snap-device-helper add snap_boa_boa /dev/nvidia-modeset 195:254
DEBUG: running snap-device-helper add snap_boa_boa /dev/uhid 10:239
DEBUG: run_snappy_app_dev_add: /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0 snap_boa_boa
DEBUG: running snap-device-helper add snap_boa_boa /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0 226:0
DEBUG: run_snappy_app_dev_add: /sys/devices/pci0000:00/0000:00:02.0/drm/card1 snap_boa_boa
DEBUG: running snap-device-helper add snap_boa_boa /sys/devices/pci0000:00/0000:00:02.0/drm/card1 226:1
DEBUG: run_snappy_app_dev_add: /sys/devices/pci0000:00/0000:00:02.0/drm/card1/card1-LVDS-1 snap_boa_boa
DEBUG: running snap-device-helper add snap_boa_boa /sys/devices/pci0000:00/0000:00:02.0/drm/card1/card1-LVDS-1 0:0
DEBUG: run_snappy_app_dev_add: /sys/devices/pci0000:00/0000:00:02.0/drm/card1/card1-VGA-1 snap_boa_boa
DEBUG: running snap-device-helper add snap_boa_boa /sys/devices/pci0000:00/0000:00:02.0/drm/card1/card1-VGA-1 0:0
DEBUG: creating user data directory: /home/matt/snap/boa/151
DEBUG: requesting changing of apparmor profile on next exec to snap.boa.boa
DEBUG: loading bpf program for security tag snap.boa.boa
DEBUG: read 6072 bytes from /var/lib/snapd/seccomp/bpf//snap.boa.boa.bin
DEBUG: raising privileges to load seccomp profile
DEBUG: dropping privileges after loading seccomp profile
DEBUG: execv(/usr/lib/snapd/snap-exec, /usr/lib/snapd/snap-exec...)
DEBUG:  argv[1] = boa
GZDoom g3.3.2 - 2018-04-12 21:44:48 +0200 - SDL version
Compiled on May 12 2018

M_LoadDefaults: Load system defaults.
W_Init: Init WADfiles.
 adding gzdoom.pk3, 684 lumps
 adding zd_extra.pk3, 132 lumps
 adding /snap/boa/151/wolf_boa.pk3, 14294 lumps
I_Init: Setting up machine state.
CPU Vendor ID: GenuineIntel
  Name: Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
  Family 6, Model 58, Stepping 9
  Features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 HyperThreading
I_InitSound: Initializing OpenAL
  Opened device Built-in Audio Analog Stereo
  EFX enabled
V_Init: allocate screen.
S_Init: Setting up sound.
ST_Init: Init startup screen.
Checking cmd-line parameters...
S_InitData: Load sound definitions.
G_ParseMapInfo: Load map definitions.
Texman.Init: Init texture manager.
ParseTeamInfo: Load team definitions.
LoadActors: Load actor definitions.
wolf_boa.pk3:scripts/menus/iconlistmenu.txt, line 100: Default values for parameter of virtual override will be ignored!
wolf_boa.pk3:scripts/menus/iconlistmenu.txt, line 297: Default values for parameter of virtual override will be ignored!
wolf_boa.pk3:scripts/menus/iconlistmenu.txt, line 328: Default values for parameter of virtual override will be ignored!
wolf_boa.pk3:scripts/menus/iconlistmenu.txt, line 367: Default values for parameter of virtual override will be ignored!
wolf_boa.pk3:scripts/menus/iconlistmenu.txt, line 403: Default values for parameter of virtual override will be ignored!
wolf_boa.pk3:scripts/actors/enemies/base.txt, line 267: Default values for parameter of virtual override will be ignored!
6 warnings while compiling wolf_boa.pk3:scripts/actors/items/money.txt
Script warning, "wolf_boa.pk3:actors/models.txt" line 2593:
Tried to define class 'SpotLight' more than once. Renaming class to 'SpotLight@wolf_boa.pk3@actors/models.txt'
script parsing took 692.92 ms
R_Init: Init Doom refresh subsystem.
DecalLibrary: Load decals.
M_Init: Init menus.
P_Init: Init Playloop state.
ParseSBarInfo: Loading custom status bar definition.
a Realm667 project
D_CheckNetGame: Checking network game status.
player 1 of 1 (1 nodes)
Using video driver x11
Gtk-Message: Failed to load module "appmenu-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
Failed to load OpenGL functions.
mcphail commented 6 years ago

Thanks. I've just edited the paste to fix the markup so it displays correctly.

bboozzoo commented 6 years ago

@mspeers something is off with the log. The detection looks for library /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.390.48, and if one is found, there will be a message printed in the log:

...
nvidia library detected at path /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.390.48
...

In your case, you have the driver loaded, snap-confine probes /sys/module/nvidia/version to check the version of the driver, and tries to find the matching libraries. Which brings me to a question, if you have the driver loaded, how come the library file is not found? You should have libnvidia-gl-390 installed, and the file is listed here https://packages.ubuntu.com/bionic/amd64/libnvidia-gl-390/filelist. Can you check if the package is installed? Oh, and where the nvidia.ko driver is coming from.

mspeers commented 6 years ago

Sorry, I have been busy. It was holiday in Canada, working and Family. It looks like files are not in location filelist. Let me find where it is it files are.

I found that following for nidia*.ko: /var/lib/dkms/nvidia-390/390.48/4.13.0-39-generic/x86_64/module/nvidia_390.ko /var/lib/dkms/nvidia-390/390.48/4.13.0-39-generic/x86_64/module/nvidia_390_modeset.ko /var/lib/dkms/nvidia-390/390.48/4.13.0-39-generic/x86_64/module/nvidia_390_drm.ko /var/lib/dkms/nvidia-390/390.48/4.13.0-39-generic/x86_64/module/nvidia_390_uvm.ko /var/lib/dkms/nvidia-390/390.48/4.15.0-20-generic/x86_64/module/nvidia_390.ko /var/lib/dkms/nvidia-390/390.48/4.15.0-20-generic/x86_64/module/nvidia_390_modeset.ko /var/lib/dkms/nvidia-390/390.48/4.15.0-20-generic/x86_64/module/nvidia_390_drm.ko /var/lib/dkms/nvidia-390/390.48/4.15.0-20-generic/x86_64/module/nvidia_390_uvm.ko /var/lib/dkms/nvidia-390/390.48/4.15.0-22-generic/x86_64/module/nvidia_390.ko /var/lib/dkms/nvidia-390/390.48/4.15.0-22-generic/x86_64/module/nvidia_390_modeset.ko /var/lib/dkms/nvidia-390/390.48/4.15.0-22-generic/x86_64/module/nvidia_390_drm.ko /var/lib/dkms/nvidia-390/390.48/4.15.0-22-generic/x86_64/module/nvidia_390_uvm.ko

bboozzoo commented 6 years ago

@mspeers can you check if you have libnvidia-gl-390 installed and what is the location of libnvidia-glcore.so.390.48?

mspeers commented 6 years ago

Hello, it is working now. I change my add NVIDIA Binaray to metapackage and it worked. screenshot at 2018-05-25 06-35-39

mcphail commented 6 years ago

Cool. Thanks for the bug report. Hopefully the tweaks will have made the snap more robust.

Cheers

NMP