Ubuntu 18.04 - Nvidia BlackScreen - Initramfs - MATE DesktopHow do I get Bumblebee working with a GTX...

Find the positive root of a 4-th degree polynomial equation

Where else does the Shulchan Aruch quote an authority by name?

What is the meaning of "of trouble" in the following sentence?

How to deal with fear of taking dependencies

Can the Produce Flame cantrip be used to grapple, or as an unarmed strike, in the right circumstances?

Landlord wants to switch my lease to a "Land contract" to "get back at the city"

Is ipsum/ipsa/ipse a third person pronoun, or can it serve other functions?

How to manage monthly salary

How to answer pointed "are you quitting" questioning when I don't want them to suspect

When blogging recipes, how can I support both readers who want the narrative/journey and ones who want the printer-friendly recipe?

How can I plot a Farey diagram?

What does 'script /dev/null' do?

Why do we use polarized capacitors?

What happens when a metallic dragon and a chromatic dragon mate?

Is there any use for defining additional entity types in a SOQL FROM clause?

Why is the design of haulage companies so “special”?

Is it wise to hold on to stock that has plummeted and then stabilized?

Creating a loop after a break using Markov Chain in Tikz

Typesetting a double Over Dot on top of a symbol

Denied boarding due to overcrowding, Sparpreis ticket. What are my rights?

Need help identifying/translating a plaque in Tangier, Morocco

How is it possible for user's password to be changed after storage was encrypted? (on OS X, Android)

Is window.confirm() accessible?

Domain expired, GoDaddy holds it and is asking more money



Ubuntu 18.04 - Nvidia BlackScreen - Initramfs - MATE Desktop


How do I get Bumblebee working with a GTX 660M?Bumblebee on Ubuntu 13.04 with GeForce 750M and Driver 319vdpauinfo: display: :0.0 screen: 0 Error creating VDPAU device: 1Gtk-CRTICAL […] errors when starting 'nautilus' or 'evince' from the TerminalBlack screen after boot with Nvida drivers and bios screen corruptionHow To Get Ubuntu To Recognize Nvidia GTX 860M Graphics Cardservice lightdm modifing /etc/alternatives/x86_64-linux-gnu_gl_confDedicated server: How to install OpenCL for Nvidia GTX 1080 on Ubuntu 16.04 LTS minimal?Brightness control missing when using Nvidia drivers but re-appears with X.OrgScreen tearing on Ubuntu MATE 18.04






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















Update -
I determined what the root cause of the issue or at least found a work around.



The issue is with Ubuntu 18.04 or at least with comes on it. I tried to change from gdm3 to lightdm but that didn't help. Finally I wiped everything out again and this time I installed 16.04. I was able to get a working nvidia driver. The only issue that I ran through is that the disk encryption screen is not shown. I have to blindly enter the password. Once I pass it I can see the login screen and login without issues. I really hope that this issue becomes resolved with future ubunut versions. So for now the solution is to downgrade to 16.04. If anyone has any solution for the encryption screen, please share it. Thank you!



I followed this guide while installing the driver on 16.04 ubuntu. The only thing I did different was instead of disabling lightdm, I installed the run file from ubuntu recovery.



https://gist.github.com/wangruohui/df039f0dc434d6486f5d4d098aa52d07



I have been struggling with the black-screen issue for a number of days. It happens after I install Nvidia driver from Ubuntu software or via terminal.



This worked once and I can no longer get it to work.



I have done clean installs several times.



I tried nvidia418 and nvidia390 and others.



I'm currently running Ubuntu 18.04, clean installation.
I have installed Mate Desktop Environment.
I installed lightdm and switched to use it.
And I added the nomodeset which I know is needed.



I know the issue is not with MATE since I tried to install nvidia and ran into the balacksreen issue without ever installing MATE.



I just installed nvidia from Ubuntu Software menu and haven't restarted yet, because I fear I will get the blackscreen one more time.



The problem seems to be only on Ubuntu.
This is an Alienware laptop 17.3 A4
I have four harddrives on it.




  • One is used only for Windows 10

  • One is for files using UDF

  • One is for Linux Parrot OS

  • One is for Ubuntu 18.04.2


Nvidia works without issues on Windows 10 and Parrot OS. I need to get nvidia working on ubuntu for development and machine learning.



Reminder, I haven't restarted yet:



In addition I get this initramfs message. This is before I installed nvidia, not sure it is a cause to the problem.



    update-initramfs: Generating /boot/initrd.img-4.18.0-17-generic
I: The initramfs will attempt to resume from /dev/dm-2
I: (/dev/mapper/ubuntu--vg-swap_1)
I: Set the RESUME variable to override this.


If I run



nvidia-smi -a
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.


Maybe above message is because I haven't restarted yet.



SecureBoot



mokutil --sb-state
SecureBoot disabled


efi firmware



ls /sys/firmware/efi/
config_table efivars esrt fw_platform_size fw_vendor runtime runtime-map systab vars


Graphic Cards



    sudo lshw -c video
*-display
description: VGA compatible controller
product: GP104M [GeForce GTX 1070 Mobile]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nouveau latency=0
resources: irq:126 memory:dc000000-dcffffff memory:b0000000-bfffffff memory:c0000000-c1ffffff ioport:e000(size=128) memory:c0000-dffff
*-display
description: Display controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 04
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm bus_master cap_list
configuration: driver=i915 latency=0
resources: irq:127 memory:db000000-dbffffff memory:70000000-7fffffff ioport:f000(size=64)


lspci -k | grep -A 2 -i "VGA"
01:00.0 VGA compatible controller: NVIDIA Corporation GP104M [GeForce GTX 1070 Mobile] (rev a1)
Subsystem: Dell GP104M [GeForce GTX 1070 Mobile]
Kernel driver in use: nouveau


I restarted the computer and blackscreen. Below are logs from
Xorg.o.log



    [    27.490] (II) LoadModule: "glx"
[ 27.491] (II) Loading /usr/lib/x86_64-linux-gnu/nvidia/xorg/libglx.so
[ 27.493] (II) Module glx: vendor="NVIDIA Corporation"
[ 27.493] compiled for 4.0.2, module version = 1.0.0
[ 27.493] Module class: X.Org Server Extension
[ 27.493] (II) NVIDIA GLX Module 390.116 Sun Jan 27 06:24:32 PST 2019
[ 27.493] (II) LoadModule: "nvidia"
[ 27.493] (II) Loading /usr/lib/x86_64-linux-gnu/nvidia/xorg/nvidia_drv.so
[ 27.493] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 27.493] compiled for 4.0.2, module version = 1.0.0
[ 27.493] Module class: X.Org Video Driver
[ 27.493] (II) NVIDIA dlloader X Driver 390.116 Sun Jan 27 05:57:42 PST 2019
[ 27.493] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 27.493] (II) Loading sub module "fb"
[ 27.493] (II) LoadModule: "fb"
[ 27.493] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 27.493] (II) Module fb: vendor="X.Org Foundation"
[ 27.493] compiled for 1.19.6, module version = 1.0.0
[ 27.493] ABI class: X.Org ANSI C Emulation, version 0.4
[ 27.493] (II) Loading sub module "wfb"
[ 27.493] (II) LoadModule: "wfb"
[ 27.493] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 27.493] (II) Module wfb: vendor="X.Org Foundation"
[ 27.493] compiled for 1.19.6, module version = 1.0.0
[ 27.493] ABI class: X.Org ANSI C Emulation, version 0.4
[ 27.493] (II) Loading sub module "ramdac"
[ 27.493] (II) LoadModule: "ramdac"
[ 27.493] (II) Module "ramdac" already built-in
[ 27.494] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[ 27.494] (==) NVIDIA(0): RGB weight 888
[ 27.494] (==) NVIDIA(0): Default visual is TrueColor
[ 27.494] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 27.494] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[ 27.494] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[ 27.494] (**) NVIDIA(0): Enabling 2D acceleration
[ 27.494] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please
[ 27.494] (EE) NVIDIA(GPU-0): check your system's kernel log for additional error
[ 27.494] (EE) NVIDIA(GPU-0): messages and refer to Chapter 8: Common Problems in the
[ 27.494] (EE) NVIDIA(GPU-0): README for additional information.
[ 27.494] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device!
[ 27.494] (EE) NVIDIA(0): Failing initialization of X screen 0
[ 27.494] (II) UnloadModule: "nvidia"
[ 27.494] (II) UnloadSubModule: "wfb"
[ 27.494] (II) UnloadSubModule: "fb"
[ 27.494] (EE) Screen(s) found, but none have a usable configuration.
[ 27.494] (EE)
Fatal server error:
[ 27.494] (EE) no screens found(EE)
[ 27.494] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 27.494] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 27.494] (EE)
[ 27.496] (EE) Server terminated with error (1). Closing log file.


Finally below are the xsession-errors I receive after I installed MATE.



dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting XAUTHORITY=/home/frodo/.Xauthority
dbus-update-activation-environment: setting GTK_MODULES=appmenu-gtk-module:gail:atk-bridge:canberra-gtk-module
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting CLUTTER_IM_MODULE=xim
dbus-update-activation-environment: setting LANG=en_US.UTF-8
dbus-update-activation-environment: setting GDM_LANG=en_US
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting COMPIZ_CONFIG_PROFILE=mate
dbus-update-activation-environment: setting GTK_OVERLAY_SCROLLING=0
dbus-update-activation-environment: setting XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/frodo
dbus-update-activation-environment: setting USER=frodo
dbus-update-activation-environment: setting DESKTOP_SESSION=mate
dbus-update-activation-environment: setting QT4_IM_MODULE=xim
dbus-update-activation-environment: setting TEXTDOMAINDIR=/usr/share/locale/
dbus-update-activation-environment: setting QT_QPA_PLATFORMTHEME=gtk2
dbus-update-activation-environment: setting PWD=/home/frodo
dbus-update-activation-environment: setting HOME=/home/frodo
dbus-update-activation-environment: setting TEXTDOMAIN=im-config
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting XDG_SESSION_TYPE=x11
dbus-update-activation-environment: setting XDG_DATA_DIRS=/usr/share/mate:/usr/share/mate:/usr/local/share:/usr/share:/var/lib/snapd/desktop
dbus-update-activation-environment: setting XDG_SESSION_DESKTOP=mate
dbus-update-activation-environment: setting GTK_MODULES=appmenu-gtk-module:gail:atk-bridge:canberra-gtk-module
dbus-update-activation-environment: setting UBUNTU_MENUPROXY=1
dbus-update-activation-environment: setting SHELL=/bin/bash
dbus-update-activation-environment: setting XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
dbus-update-activation-environment: setting QT_IM_MODULE=ibus
dbus-update-activation-environment: setting XMODIFIERS=@im=ibus
dbus-update-activation-environment: setting IM_CONFIG_PHASE=2
dbus-update-activation-environment: setting XDG_CURRENT_DESKTOP=MATE
dbus-update-activation-environment: setting GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
dbus-update-activation-environment: setting SHLVL=1
dbus-update-activation-environment: setting LANGUAGE=en_US
dbus-update-activation-environment: setting GDMSESSION=mate
dbus-update-activation-environment: setting LOGNAME=frodo
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting XDG_RUNTIME_DIR=/run/user/1000
dbus-update-activation-environment: setting XAUTHORITY=/home/frodo/.Xauthority
dbus-update-activation-environment: setting XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
dbus-update-activation-environment: setting XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg
dbus-update-activation-environment: setting PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
dbus-update-activation-environment: setting GTK_IM_MODULE=ibus
dbus-update-activation-environment: setting _=/usr/bin/dbus-update-activation-environment
mate-session[1625]: WARNING: Unable to find provider '' of required component 'dock'
Window manager warning: Log level 128: Name com.canonical.AppMenu.Registrar does not exist on the session bus

Window manager warning: Log level 16: XPresent is not compatible with your current system configuration.

(process:1939): indicator-sound-WARNING **: 11:12:19.416: volume-control-pulse.vala:744: Unable to connect to dbus server at 'unix:path=/run/user/1000/pulse/dbus-socket': Could not connect: No such file or directory

(process:1939): indicator-sound-WARNING **: 11:12:19.528: accounts-service-access.vala:218: unable to sync volume 0.464157 to AccountsService: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: No such interface 'com.ubuntu.AccountsService.Sound'

(nm-applet:1835): Gtk-WARNING **: 11:12:19.840: Can't set a parent on widget which has a parent
RuntimeError: object at 0x7faf945ff3c0 of type FolderColorMenu is not initialized
RuntimeError: object at 0x7faf945ff370 of type RenameMenu is not initialized
INFO:root:The HUD is disabled via org.mate.hud in gsettings.

(nm-applet:1835): Gtk-CRITICAL **: 11:12:26.627: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:12:26.628: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:12:26.638: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:12:26.652: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:12:26.652: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:12:26.668: Can't set a parent on widget which has a parent
Gtk-Message: 11:12:48.616: GtkDialog mapped without a transient parent. This is discouraged.
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x1c00007 (Authentica)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
/var/cache/apt/archives/lock:

(nm-applet:1835): Gtk-CRITICAL **: 11:16:41.757: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:16:41.757: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:16:41.769: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:16:41.778: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:16:41.778: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:16:41.780: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:17:08.944: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:17:08.944: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:17:08.950: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:17:08.955: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:17:08.955: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:17:08.961: Can't set a parent on widget which has a parent
/var/cache/apt/archives/lock:
/var/cache/apt/archives/lock:

(nm-applet:1835): Gtk-CRITICAL **: 11:21:21.996: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:21:21.997: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:21:22.001: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:21:22.004: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:21:22.004: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:21:22.006: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:22:08.954: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:22:08.954: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:22:08.969: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:22:08.976: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:22:08.976: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:22:08.985: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:26:22.266: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:26:22.266: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:26:22.273: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:26:22.279: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:26:22.279: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:26:22.281: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:27:08.953: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:27:08.953: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:27:08.960: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:27:08.964: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:27:08.964: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:27:08.971: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:31:22.546: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:31:22.546: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:31:22.552: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:31:22.556: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:31:22.556: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:31:22.559: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:32:08.939: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:32:08.939: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:32:08.944: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:32:08.949: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:32:08.949: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:32:08.955: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:36:22.810: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:36:22.810: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:36:22.814: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:36:22.818: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:36:22.818: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:36:22.820: Can't set a parent on widget which has a parent

** (mate-control-center:21288): WARNING **: 11:36:41.181:
error raised: [load_xbel_store: couldn't load bookmark file [NULL]
]

Gtk-Message: 11:36:48.348: GtkDialog mapped without a transient parent. This is discouraged.

(nm-applet:1835): Gtk-CRITICAL **: 11:37:08.959: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:37:08.959: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:37:08.964: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:37:08.969: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:37:08.969: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:37:08.977: Can't set a parent on widget which has a parent
Gtk-Message: 11:37:10.477: GtkDialog mapped without a transient parent. This is discouraged.

(nm-applet:1835): Gtk-CRITICAL **: 11:41:23.083: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:41:23.083: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:41:23.089: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:41:23.093: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:41:23.093: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:41:23.095: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:42:08.950: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:42:08.950: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:42:08.956: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:42:08.962: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:42:08.962: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:42:08.968: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:46:23.391: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:46:23.391: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:46:23.409: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:46:23.417: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:46:23.417: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:46:23.419: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:47:08.951: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:47:08.951: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:47:08.957: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:47:08.962: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:47:08.962: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:47:08.971: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:51:23.643: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:51:23.643: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:51:23.647: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:51:23.651: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:51:23.651: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:51:23.653: Can't set a parent on widget which has a parent


In Parrot OS
It is working fine:



 └──╼ $nvidia-smi
Sat Apr 6 18:07:43 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 410.104 Driver Version: 410.104 CUDA Version: 10.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 1070 On | 00000000:01:00.0 On | N/A |
| N/A 46C P0 31W / N/A | 679MiB / 8114MiB | 4% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1662 G /usr/lib/xorg/Xorg 598MiB |
| 0 2887 G ...uest-channel-token=10711300986188132470 45MiB |
+-----------------------------------------------------------------------------+









share|improve this question

























  • Please edit your question and post output of the following commands: 1. mokutil --sb-state 2. ls /sys/firmware/efi/ 3. sudo lshw -c video and 4. lspci -k | grep -A 2 -i "VGA"

    – Marmayogi
    2 days ago


















0















Update -
I determined what the root cause of the issue or at least found a work around.



The issue is with Ubuntu 18.04 or at least with comes on it. I tried to change from gdm3 to lightdm but that didn't help. Finally I wiped everything out again and this time I installed 16.04. I was able to get a working nvidia driver. The only issue that I ran through is that the disk encryption screen is not shown. I have to blindly enter the password. Once I pass it I can see the login screen and login without issues. I really hope that this issue becomes resolved with future ubunut versions. So for now the solution is to downgrade to 16.04. If anyone has any solution for the encryption screen, please share it. Thank you!



I followed this guide while installing the driver on 16.04 ubuntu. The only thing I did different was instead of disabling lightdm, I installed the run file from ubuntu recovery.



https://gist.github.com/wangruohui/df039f0dc434d6486f5d4d098aa52d07



I have been struggling with the black-screen issue for a number of days. It happens after I install Nvidia driver from Ubuntu software or via terminal.



This worked once and I can no longer get it to work.



I have done clean installs several times.



I tried nvidia418 and nvidia390 and others.



I'm currently running Ubuntu 18.04, clean installation.
I have installed Mate Desktop Environment.
I installed lightdm and switched to use it.
And I added the nomodeset which I know is needed.



I know the issue is not with MATE since I tried to install nvidia and ran into the balacksreen issue without ever installing MATE.



I just installed nvidia from Ubuntu Software menu and haven't restarted yet, because I fear I will get the blackscreen one more time.



The problem seems to be only on Ubuntu.
This is an Alienware laptop 17.3 A4
I have four harddrives on it.




  • One is used only for Windows 10

  • One is for files using UDF

  • One is for Linux Parrot OS

  • One is for Ubuntu 18.04.2


Nvidia works without issues on Windows 10 and Parrot OS. I need to get nvidia working on ubuntu for development and machine learning.



Reminder, I haven't restarted yet:



In addition I get this initramfs message. This is before I installed nvidia, not sure it is a cause to the problem.



    update-initramfs: Generating /boot/initrd.img-4.18.0-17-generic
I: The initramfs will attempt to resume from /dev/dm-2
I: (/dev/mapper/ubuntu--vg-swap_1)
I: Set the RESUME variable to override this.


If I run



nvidia-smi -a
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.


Maybe above message is because I haven't restarted yet.



SecureBoot



mokutil --sb-state
SecureBoot disabled


efi firmware



ls /sys/firmware/efi/
config_table efivars esrt fw_platform_size fw_vendor runtime runtime-map systab vars


Graphic Cards



    sudo lshw -c video
*-display
description: VGA compatible controller
product: GP104M [GeForce GTX 1070 Mobile]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nouveau latency=0
resources: irq:126 memory:dc000000-dcffffff memory:b0000000-bfffffff memory:c0000000-c1ffffff ioport:e000(size=128) memory:c0000-dffff
*-display
description: Display controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 04
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm bus_master cap_list
configuration: driver=i915 latency=0
resources: irq:127 memory:db000000-dbffffff memory:70000000-7fffffff ioport:f000(size=64)


lspci -k | grep -A 2 -i "VGA"
01:00.0 VGA compatible controller: NVIDIA Corporation GP104M [GeForce GTX 1070 Mobile] (rev a1)
Subsystem: Dell GP104M [GeForce GTX 1070 Mobile]
Kernel driver in use: nouveau


I restarted the computer and blackscreen. Below are logs from
Xorg.o.log



    [    27.490] (II) LoadModule: "glx"
[ 27.491] (II) Loading /usr/lib/x86_64-linux-gnu/nvidia/xorg/libglx.so
[ 27.493] (II) Module glx: vendor="NVIDIA Corporation"
[ 27.493] compiled for 4.0.2, module version = 1.0.0
[ 27.493] Module class: X.Org Server Extension
[ 27.493] (II) NVIDIA GLX Module 390.116 Sun Jan 27 06:24:32 PST 2019
[ 27.493] (II) LoadModule: "nvidia"
[ 27.493] (II) Loading /usr/lib/x86_64-linux-gnu/nvidia/xorg/nvidia_drv.so
[ 27.493] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 27.493] compiled for 4.0.2, module version = 1.0.0
[ 27.493] Module class: X.Org Video Driver
[ 27.493] (II) NVIDIA dlloader X Driver 390.116 Sun Jan 27 05:57:42 PST 2019
[ 27.493] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 27.493] (II) Loading sub module "fb"
[ 27.493] (II) LoadModule: "fb"
[ 27.493] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 27.493] (II) Module fb: vendor="X.Org Foundation"
[ 27.493] compiled for 1.19.6, module version = 1.0.0
[ 27.493] ABI class: X.Org ANSI C Emulation, version 0.4
[ 27.493] (II) Loading sub module "wfb"
[ 27.493] (II) LoadModule: "wfb"
[ 27.493] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 27.493] (II) Module wfb: vendor="X.Org Foundation"
[ 27.493] compiled for 1.19.6, module version = 1.0.0
[ 27.493] ABI class: X.Org ANSI C Emulation, version 0.4
[ 27.493] (II) Loading sub module "ramdac"
[ 27.493] (II) LoadModule: "ramdac"
[ 27.493] (II) Module "ramdac" already built-in
[ 27.494] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[ 27.494] (==) NVIDIA(0): RGB weight 888
[ 27.494] (==) NVIDIA(0): Default visual is TrueColor
[ 27.494] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 27.494] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[ 27.494] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[ 27.494] (**) NVIDIA(0): Enabling 2D acceleration
[ 27.494] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please
[ 27.494] (EE) NVIDIA(GPU-0): check your system's kernel log for additional error
[ 27.494] (EE) NVIDIA(GPU-0): messages and refer to Chapter 8: Common Problems in the
[ 27.494] (EE) NVIDIA(GPU-0): README for additional information.
[ 27.494] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device!
[ 27.494] (EE) NVIDIA(0): Failing initialization of X screen 0
[ 27.494] (II) UnloadModule: "nvidia"
[ 27.494] (II) UnloadSubModule: "wfb"
[ 27.494] (II) UnloadSubModule: "fb"
[ 27.494] (EE) Screen(s) found, but none have a usable configuration.
[ 27.494] (EE)
Fatal server error:
[ 27.494] (EE) no screens found(EE)
[ 27.494] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 27.494] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 27.494] (EE)
[ 27.496] (EE) Server terminated with error (1). Closing log file.


Finally below are the xsession-errors I receive after I installed MATE.



dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting XAUTHORITY=/home/frodo/.Xauthority
dbus-update-activation-environment: setting GTK_MODULES=appmenu-gtk-module:gail:atk-bridge:canberra-gtk-module
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting CLUTTER_IM_MODULE=xim
dbus-update-activation-environment: setting LANG=en_US.UTF-8
dbus-update-activation-environment: setting GDM_LANG=en_US
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting COMPIZ_CONFIG_PROFILE=mate
dbus-update-activation-environment: setting GTK_OVERLAY_SCROLLING=0
dbus-update-activation-environment: setting XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/frodo
dbus-update-activation-environment: setting USER=frodo
dbus-update-activation-environment: setting DESKTOP_SESSION=mate
dbus-update-activation-environment: setting QT4_IM_MODULE=xim
dbus-update-activation-environment: setting TEXTDOMAINDIR=/usr/share/locale/
dbus-update-activation-environment: setting QT_QPA_PLATFORMTHEME=gtk2
dbus-update-activation-environment: setting PWD=/home/frodo
dbus-update-activation-environment: setting HOME=/home/frodo
dbus-update-activation-environment: setting TEXTDOMAIN=im-config
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting XDG_SESSION_TYPE=x11
dbus-update-activation-environment: setting XDG_DATA_DIRS=/usr/share/mate:/usr/share/mate:/usr/local/share:/usr/share:/var/lib/snapd/desktop
dbus-update-activation-environment: setting XDG_SESSION_DESKTOP=mate
dbus-update-activation-environment: setting GTK_MODULES=appmenu-gtk-module:gail:atk-bridge:canberra-gtk-module
dbus-update-activation-environment: setting UBUNTU_MENUPROXY=1
dbus-update-activation-environment: setting SHELL=/bin/bash
dbus-update-activation-environment: setting XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
dbus-update-activation-environment: setting QT_IM_MODULE=ibus
dbus-update-activation-environment: setting XMODIFIERS=@im=ibus
dbus-update-activation-environment: setting IM_CONFIG_PHASE=2
dbus-update-activation-environment: setting XDG_CURRENT_DESKTOP=MATE
dbus-update-activation-environment: setting GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
dbus-update-activation-environment: setting SHLVL=1
dbus-update-activation-environment: setting LANGUAGE=en_US
dbus-update-activation-environment: setting GDMSESSION=mate
dbus-update-activation-environment: setting LOGNAME=frodo
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting XDG_RUNTIME_DIR=/run/user/1000
dbus-update-activation-environment: setting XAUTHORITY=/home/frodo/.Xauthority
dbus-update-activation-environment: setting XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
dbus-update-activation-environment: setting XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg
dbus-update-activation-environment: setting PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
dbus-update-activation-environment: setting GTK_IM_MODULE=ibus
dbus-update-activation-environment: setting _=/usr/bin/dbus-update-activation-environment
mate-session[1625]: WARNING: Unable to find provider '' of required component 'dock'
Window manager warning: Log level 128: Name com.canonical.AppMenu.Registrar does not exist on the session bus

Window manager warning: Log level 16: XPresent is not compatible with your current system configuration.

(process:1939): indicator-sound-WARNING **: 11:12:19.416: volume-control-pulse.vala:744: Unable to connect to dbus server at 'unix:path=/run/user/1000/pulse/dbus-socket': Could not connect: No such file or directory

(process:1939): indicator-sound-WARNING **: 11:12:19.528: accounts-service-access.vala:218: unable to sync volume 0.464157 to AccountsService: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: No such interface 'com.ubuntu.AccountsService.Sound'

(nm-applet:1835): Gtk-WARNING **: 11:12:19.840: Can't set a parent on widget which has a parent
RuntimeError: object at 0x7faf945ff3c0 of type FolderColorMenu is not initialized
RuntimeError: object at 0x7faf945ff370 of type RenameMenu is not initialized
INFO:root:The HUD is disabled via org.mate.hud in gsettings.

(nm-applet:1835): Gtk-CRITICAL **: 11:12:26.627: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:12:26.628: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:12:26.638: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:12:26.652: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:12:26.652: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:12:26.668: Can't set a parent on widget which has a parent
Gtk-Message: 11:12:48.616: GtkDialog mapped without a transient parent. This is discouraged.
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x1c00007 (Authentica)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
/var/cache/apt/archives/lock:

(nm-applet:1835): Gtk-CRITICAL **: 11:16:41.757: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:16:41.757: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:16:41.769: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:16:41.778: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:16:41.778: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:16:41.780: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:17:08.944: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:17:08.944: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:17:08.950: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:17:08.955: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:17:08.955: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:17:08.961: Can't set a parent on widget which has a parent
/var/cache/apt/archives/lock:
/var/cache/apt/archives/lock:

(nm-applet:1835): Gtk-CRITICAL **: 11:21:21.996: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:21:21.997: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:21:22.001: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:21:22.004: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:21:22.004: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:21:22.006: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:22:08.954: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:22:08.954: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:22:08.969: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:22:08.976: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:22:08.976: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:22:08.985: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:26:22.266: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:26:22.266: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:26:22.273: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:26:22.279: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:26:22.279: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:26:22.281: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:27:08.953: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:27:08.953: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:27:08.960: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:27:08.964: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:27:08.964: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:27:08.971: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:31:22.546: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:31:22.546: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:31:22.552: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:31:22.556: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:31:22.556: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:31:22.559: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:32:08.939: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:32:08.939: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:32:08.944: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:32:08.949: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:32:08.949: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:32:08.955: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:36:22.810: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:36:22.810: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:36:22.814: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:36:22.818: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:36:22.818: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:36:22.820: Can't set a parent on widget which has a parent

** (mate-control-center:21288): WARNING **: 11:36:41.181:
error raised: [load_xbel_store: couldn't load bookmark file [NULL]
]

Gtk-Message: 11:36:48.348: GtkDialog mapped without a transient parent. This is discouraged.

(nm-applet:1835): Gtk-CRITICAL **: 11:37:08.959: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:37:08.959: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:37:08.964: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:37:08.969: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:37:08.969: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:37:08.977: Can't set a parent on widget which has a parent
Gtk-Message: 11:37:10.477: GtkDialog mapped without a transient parent. This is discouraged.

(nm-applet:1835): Gtk-CRITICAL **: 11:41:23.083: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:41:23.083: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:41:23.089: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:41:23.093: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:41:23.093: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:41:23.095: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:42:08.950: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:42:08.950: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:42:08.956: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:42:08.962: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:42:08.962: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:42:08.968: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:46:23.391: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:46:23.391: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:46:23.409: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:46:23.417: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:46:23.417: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:46:23.419: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:47:08.951: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:47:08.951: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:47:08.957: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:47:08.962: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:47:08.962: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:47:08.971: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:51:23.643: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:51:23.643: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:51:23.647: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:51:23.651: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:51:23.651: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:51:23.653: Can't set a parent on widget which has a parent


In Parrot OS
It is working fine:



 └──╼ $nvidia-smi
Sat Apr 6 18:07:43 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 410.104 Driver Version: 410.104 CUDA Version: 10.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 1070 On | 00000000:01:00.0 On | N/A |
| N/A 46C P0 31W / N/A | 679MiB / 8114MiB | 4% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1662 G /usr/lib/xorg/Xorg 598MiB |
| 0 2887 G ...uest-channel-token=10711300986188132470 45MiB |
+-----------------------------------------------------------------------------+









share|improve this question

























  • Please edit your question and post output of the following commands: 1. mokutil --sb-state 2. ls /sys/firmware/efi/ 3. sudo lshw -c video and 4. lspci -k | grep -A 2 -i "VGA"

    – Marmayogi
    2 days ago














0












0








0


2






Update -
I determined what the root cause of the issue or at least found a work around.



The issue is with Ubuntu 18.04 or at least with comes on it. I tried to change from gdm3 to lightdm but that didn't help. Finally I wiped everything out again and this time I installed 16.04. I was able to get a working nvidia driver. The only issue that I ran through is that the disk encryption screen is not shown. I have to blindly enter the password. Once I pass it I can see the login screen and login without issues. I really hope that this issue becomes resolved with future ubunut versions. So for now the solution is to downgrade to 16.04. If anyone has any solution for the encryption screen, please share it. Thank you!



I followed this guide while installing the driver on 16.04 ubuntu. The only thing I did different was instead of disabling lightdm, I installed the run file from ubuntu recovery.



https://gist.github.com/wangruohui/df039f0dc434d6486f5d4d098aa52d07



I have been struggling with the black-screen issue for a number of days. It happens after I install Nvidia driver from Ubuntu software or via terminal.



This worked once and I can no longer get it to work.



I have done clean installs several times.



I tried nvidia418 and nvidia390 and others.



I'm currently running Ubuntu 18.04, clean installation.
I have installed Mate Desktop Environment.
I installed lightdm and switched to use it.
And I added the nomodeset which I know is needed.



I know the issue is not with MATE since I tried to install nvidia and ran into the balacksreen issue without ever installing MATE.



I just installed nvidia from Ubuntu Software menu and haven't restarted yet, because I fear I will get the blackscreen one more time.



The problem seems to be only on Ubuntu.
This is an Alienware laptop 17.3 A4
I have four harddrives on it.




  • One is used only for Windows 10

  • One is for files using UDF

  • One is for Linux Parrot OS

  • One is for Ubuntu 18.04.2


Nvidia works without issues on Windows 10 and Parrot OS. I need to get nvidia working on ubuntu for development and machine learning.



Reminder, I haven't restarted yet:



In addition I get this initramfs message. This is before I installed nvidia, not sure it is a cause to the problem.



    update-initramfs: Generating /boot/initrd.img-4.18.0-17-generic
I: The initramfs will attempt to resume from /dev/dm-2
I: (/dev/mapper/ubuntu--vg-swap_1)
I: Set the RESUME variable to override this.


If I run



nvidia-smi -a
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.


Maybe above message is because I haven't restarted yet.



SecureBoot



mokutil --sb-state
SecureBoot disabled


efi firmware



ls /sys/firmware/efi/
config_table efivars esrt fw_platform_size fw_vendor runtime runtime-map systab vars


Graphic Cards



    sudo lshw -c video
*-display
description: VGA compatible controller
product: GP104M [GeForce GTX 1070 Mobile]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nouveau latency=0
resources: irq:126 memory:dc000000-dcffffff memory:b0000000-bfffffff memory:c0000000-c1ffffff ioport:e000(size=128) memory:c0000-dffff
*-display
description: Display controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 04
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm bus_master cap_list
configuration: driver=i915 latency=0
resources: irq:127 memory:db000000-dbffffff memory:70000000-7fffffff ioport:f000(size=64)


lspci -k | grep -A 2 -i "VGA"
01:00.0 VGA compatible controller: NVIDIA Corporation GP104M [GeForce GTX 1070 Mobile] (rev a1)
Subsystem: Dell GP104M [GeForce GTX 1070 Mobile]
Kernel driver in use: nouveau


I restarted the computer and blackscreen. Below are logs from
Xorg.o.log



    [    27.490] (II) LoadModule: "glx"
[ 27.491] (II) Loading /usr/lib/x86_64-linux-gnu/nvidia/xorg/libglx.so
[ 27.493] (II) Module glx: vendor="NVIDIA Corporation"
[ 27.493] compiled for 4.0.2, module version = 1.0.0
[ 27.493] Module class: X.Org Server Extension
[ 27.493] (II) NVIDIA GLX Module 390.116 Sun Jan 27 06:24:32 PST 2019
[ 27.493] (II) LoadModule: "nvidia"
[ 27.493] (II) Loading /usr/lib/x86_64-linux-gnu/nvidia/xorg/nvidia_drv.so
[ 27.493] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 27.493] compiled for 4.0.2, module version = 1.0.0
[ 27.493] Module class: X.Org Video Driver
[ 27.493] (II) NVIDIA dlloader X Driver 390.116 Sun Jan 27 05:57:42 PST 2019
[ 27.493] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 27.493] (II) Loading sub module "fb"
[ 27.493] (II) LoadModule: "fb"
[ 27.493] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 27.493] (II) Module fb: vendor="X.Org Foundation"
[ 27.493] compiled for 1.19.6, module version = 1.0.0
[ 27.493] ABI class: X.Org ANSI C Emulation, version 0.4
[ 27.493] (II) Loading sub module "wfb"
[ 27.493] (II) LoadModule: "wfb"
[ 27.493] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 27.493] (II) Module wfb: vendor="X.Org Foundation"
[ 27.493] compiled for 1.19.6, module version = 1.0.0
[ 27.493] ABI class: X.Org ANSI C Emulation, version 0.4
[ 27.493] (II) Loading sub module "ramdac"
[ 27.493] (II) LoadModule: "ramdac"
[ 27.493] (II) Module "ramdac" already built-in
[ 27.494] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[ 27.494] (==) NVIDIA(0): RGB weight 888
[ 27.494] (==) NVIDIA(0): Default visual is TrueColor
[ 27.494] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 27.494] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[ 27.494] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[ 27.494] (**) NVIDIA(0): Enabling 2D acceleration
[ 27.494] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please
[ 27.494] (EE) NVIDIA(GPU-0): check your system's kernel log for additional error
[ 27.494] (EE) NVIDIA(GPU-0): messages and refer to Chapter 8: Common Problems in the
[ 27.494] (EE) NVIDIA(GPU-0): README for additional information.
[ 27.494] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device!
[ 27.494] (EE) NVIDIA(0): Failing initialization of X screen 0
[ 27.494] (II) UnloadModule: "nvidia"
[ 27.494] (II) UnloadSubModule: "wfb"
[ 27.494] (II) UnloadSubModule: "fb"
[ 27.494] (EE) Screen(s) found, but none have a usable configuration.
[ 27.494] (EE)
Fatal server error:
[ 27.494] (EE) no screens found(EE)
[ 27.494] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 27.494] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 27.494] (EE)
[ 27.496] (EE) Server terminated with error (1). Closing log file.


Finally below are the xsession-errors I receive after I installed MATE.



dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting XAUTHORITY=/home/frodo/.Xauthority
dbus-update-activation-environment: setting GTK_MODULES=appmenu-gtk-module:gail:atk-bridge:canberra-gtk-module
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting CLUTTER_IM_MODULE=xim
dbus-update-activation-environment: setting LANG=en_US.UTF-8
dbus-update-activation-environment: setting GDM_LANG=en_US
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting COMPIZ_CONFIG_PROFILE=mate
dbus-update-activation-environment: setting GTK_OVERLAY_SCROLLING=0
dbus-update-activation-environment: setting XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/frodo
dbus-update-activation-environment: setting USER=frodo
dbus-update-activation-environment: setting DESKTOP_SESSION=mate
dbus-update-activation-environment: setting QT4_IM_MODULE=xim
dbus-update-activation-environment: setting TEXTDOMAINDIR=/usr/share/locale/
dbus-update-activation-environment: setting QT_QPA_PLATFORMTHEME=gtk2
dbus-update-activation-environment: setting PWD=/home/frodo
dbus-update-activation-environment: setting HOME=/home/frodo
dbus-update-activation-environment: setting TEXTDOMAIN=im-config
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting XDG_SESSION_TYPE=x11
dbus-update-activation-environment: setting XDG_DATA_DIRS=/usr/share/mate:/usr/share/mate:/usr/local/share:/usr/share:/var/lib/snapd/desktop
dbus-update-activation-environment: setting XDG_SESSION_DESKTOP=mate
dbus-update-activation-environment: setting GTK_MODULES=appmenu-gtk-module:gail:atk-bridge:canberra-gtk-module
dbus-update-activation-environment: setting UBUNTU_MENUPROXY=1
dbus-update-activation-environment: setting SHELL=/bin/bash
dbus-update-activation-environment: setting XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
dbus-update-activation-environment: setting QT_IM_MODULE=ibus
dbus-update-activation-environment: setting XMODIFIERS=@im=ibus
dbus-update-activation-environment: setting IM_CONFIG_PHASE=2
dbus-update-activation-environment: setting XDG_CURRENT_DESKTOP=MATE
dbus-update-activation-environment: setting GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
dbus-update-activation-environment: setting SHLVL=1
dbus-update-activation-environment: setting LANGUAGE=en_US
dbus-update-activation-environment: setting GDMSESSION=mate
dbus-update-activation-environment: setting LOGNAME=frodo
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting XDG_RUNTIME_DIR=/run/user/1000
dbus-update-activation-environment: setting XAUTHORITY=/home/frodo/.Xauthority
dbus-update-activation-environment: setting XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
dbus-update-activation-environment: setting XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg
dbus-update-activation-environment: setting PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
dbus-update-activation-environment: setting GTK_IM_MODULE=ibus
dbus-update-activation-environment: setting _=/usr/bin/dbus-update-activation-environment
mate-session[1625]: WARNING: Unable to find provider '' of required component 'dock'
Window manager warning: Log level 128: Name com.canonical.AppMenu.Registrar does not exist on the session bus

Window manager warning: Log level 16: XPresent is not compatible with your current system configuration.

(process:1939): indicator-sound-WARNING **: 11:12:19.416: volume-control-pulse.vala:744: Unable to connect to dbus server at 'unix:path=/run/user/1000/pulse/dbus-socket': Could not connect: No such file or directory

(process:1939): indicator-sound-WARNING **: 11:12:19.528: accounts-service-access.vala:218: unable to sync volume 0.464157 to AccountsService: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: No such interface 'com.ubuntu.AccountsService.Sound'

(nm-applet:1835): Gtk-WARNING **: 11:12:19.840: Can't set a parent on widget which has a parent
RuntimeError: object at 0x7faf945ff3c0 of type FolderColorMenu is not initialized
RuntimeError: object at 0x7faf945ff370 of type RenameMenu is not initialized
INFO:root:The HUD is disabled via org.mate.hud in gsettings.

(nm-applet:1835): Gtk-CRITICAL **: 11:12:26.627: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:12:26.628: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:12:26.638: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:12:26.652: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:12:26.652: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:12:26.668: Can't set a parent on widget which has a parent
Gtk-Message: 11:12:48.616: GtkDialog mapped without a transient parent. This is discouraged.
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x1c00007 (Authentica)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
/var/cache/apt/archives/lock:

(nm-applet:1835): Gtk-CRITICAL **: 11:16:41.757: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:16:41.757: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:16:41.769: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:16:41.778: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:16:41.778: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:16:41.780: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:17:08.944: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:17:08.944: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:17:08.950: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:17:08.955: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:17:08.955: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:17:08.961: Can't set a parent on widget which has a parent
/var/cache/apt/archives/lock:
/var/cache/apt/archives/lock:

(nm-applet:1835): Gtk-CRITICAL **: 11:21:21.996: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:21:21.997: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:21:22.001: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:21:22.004: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:21:22.004: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:21:22.006: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:22:08.954: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:22:08.954: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:22:08.969: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:22:08.976: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:22:08.976: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:22:08.985: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:26:22.266: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:26:22.266: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:26:22.273: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:26:22.279: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:26:22.279: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:26:22.281: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:27:08.953: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:27:08.953: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:27:08.960: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:27:08.964: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:27:08.964: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:27:08.971: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:31:22.546: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:31:22.546: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:31:22.552: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:31:22.556: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:31:22.556: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:31:22.559: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:32:08.939: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:32:08.939: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:32:08.944: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:32:08.949: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:32:08.949: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:32:08.955: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:36:22.810: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:36:22.810: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:36:22.814: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:36:22.818: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:36:22.818: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:36:22.820: Can't set a parent on widget which has a parent

** (mate-control-center:21288): WARNING **: 11:36:41.181:
error raised: [load_xbel_store: couldn't load bookmark file [NULL]
]

Gtk-Message: 11:36:48.348: GtkDialog mapped without a transient parent. This is discouraged.

(nm-applet:1835): Gtk-CRITICAL **: 11:37:08.959: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:37:08.959: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:37:08.964: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:37:08.969: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:37:08.969: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:37:08.977: Can't set a parent on widget which has a parent
Gtk-Message: 11:37:10.477: GtkDialog mapped without a transient parent. This is discouraged.

(nm-applet:1835): Gtk-CRITICAL **: 11:41:23.083: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:41:23.083: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:41:23.089: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:41:23.093: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:41:23.093: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:41:23.095: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:42:08.950: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:42:08.950: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:42:08.956: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:42:08.962: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:42:08.962: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:42:08.968: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:46:23.391: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:46:23.391: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:46:23.409: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:46:23.417: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:46:23.417: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:46:23.419: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:47:08.951: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:47:08.951: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:47:08.957: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:47:08.962: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:47:08.962: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:47:08.971: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:51:23.643: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:51:23.643: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:51:23.647: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:51:23.651: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:51:23.651: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:51:23.653: Can't set a parent on widget which has a parent


In Parrot OS
It is working fine:



 └──╼ $nvidia-smi
Sat Apr 6 18:07:43 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 410.104 Driver Version: 410.104 CUDA Version: 10.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 1070 On | 00000000:01:00.0 On | N/A |
| N/A 46C P0 31W / N/A | 679MiB / 8114MiB | 4% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1662 G /usr/lib/xorg/Xorg 598MiB |
| 0 2887 G ...uest-channel-token=10711300986188132470 45MiB |
+-----------------------------------------------------------------------------+









share|improve this question
















Update -
I determined what the root cause of the issue or at least found a work around.



The issue is with Ubuntu 18.04 or at least with comes on it. I tried to change from gdm3 to lightdm but that didn't help. Finally I wiped everything out again and this time I installed 16.04. I was able to get a working nvidia driver. The only issue that I ran through is that the disk encryption screen is not shown. I have to blindly enter the password. Once I pass it I can see the login screen and login without issues. I really hope that this issue becomes resolved with future ubunut versions. So for now the solution is to downgrade to 16.04. If anyone has any solution for the encryption screen, please share it. Thank you!



I followed this guide while installing the driver on 16.04 ubuntu. The only thing I did different was instead of disabling lightdm, I installed the run file from ubuntu recovery.



https://gist.github.com/wangruohui/df039f0dc434d6486f5d4d098aa52d07



I have been struggling with the black-screen issue for a number of days. It happens after I install Nvidia driver from Ubuntu software or via terminal.



This worked once and I can no longer get it to work.



I have done clean installs several times.



I tried nvidia418 and nvidia390 and others.



I'm currently running Ubuntu 18.04, clean installation.
I have installed Mate Desktop Environment.
I installed lightdm and switched to use it.
And I added the nomodeset which I know is needed.



I know the issue is not with MATE since I tried to install nvidia and ran into the balacksreen issue without ever installing MATE.



I just installed nvidia from Ubuntu Software menu and haven't restarted yet, because I fear I will get the blackscreen one more time.



The problem seems to be only on Ubuntu.
This is an Alienware laptop 17.3 A4
I have four harddrives on it.




  • One is used only for Windows 10

  • One is for files using UDF

  • One is for Linux Parrot OS

  • One is for Ubuntu 18.04.2


Nvidia works without issues on Windows 10 and Parrot OS. I need to get nvidia working on ubuntu for development and machine learning.



Reminder, I haven't restarted yet:



In addition I get this initramfs message. This is before I installed nvidia, not sure it is a cause to the problem.



    update-initramfs: Generating /boot/initrd.img-4.18.0-17-generic
I: The initramfs will attempt to resume from /dev/dm-2
I: (/dev/mapper/ubuntu--vg-swap_1)
I: Set the RESUME variable to override this.


If I run



nvidia-smi -a
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.


Maybe above message is because I haven't restarted yet.



SecureBoot



mokutil --sb-state
SecureBoot disabled


efi firmware



ls /sys/firmware/efi/
config_table efivars esrt fw_platform_size fw_vendor runtime runtime-map systab vars


Graphic Cards



    sudo lshw -c video
*-display
description: VGA compatible controller
product: GP104M [GeForce GTX 1070 Mobile]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nouveau latency=0
resources: irq:126 memory:dc000000-dcffffff memory:b0000000-bfffffff memory:c0000000-c1ffffff ioport:e000(size=128) memory:c0000-dffff
*-display
description: Display controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 04
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm bus_master cap_list
configuration: driver=i915 latency=0
resources: irq:127 memory:db000000-dbffffff memory:70000000-7fffffff ioport:f000(size=64)


lspci -k | grep -A 2 -i "VGA"
01:00.0 VGA compatible controller: NVIDIA Corporation GP104M [GeForce GTX 1070 Mobile] (rev a1)
Subsystem: Dell GP104M [GeForce GTX 1070 Mobile]
Kernel driver in use: nouveau


I restarted the computer and blackscreen. Below are logs from
Xorg.o.log



    [    27.490] (II) LoadModule: "glx"
[ 27.491] (II) Loading /usr/lib/x86_64-linux-gnu/nvidia/xorg/libglx.so
[ 27.493] (II) Module glx: vendor="NVIDIA Corporation"
[ 27.493] compiled for 4.0.2, module version = 1.0.0
[ 27.493] Module class: X.Org Server Extension
[ 27.493] (II) NVIDIA GLX Module 390.116 Sun Jan 27 06:24:32 PST 2019
[ 27.493] (II) LoadModule: "nvidia"
[ 27.493] (II) Loading /usr/lib/x86_64-linux-gnu/nvidia/xorg/nvidia_drv.so
[ 27.493] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 27.493] compiled for 4.0.2, module version = 1.0.0
[ 27.493] Module class: X.Org Video Driver
[ 27.493] (II) NVIDIA dlloader X Driver 390.116 Sun Jan 27 05:57:42 PST 2019
[ 27.493] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 27.493] (II) Loading sub module "fb"
[ 27.493] (II) LoadModule: "fb"
[ 27.493] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 27.493] (II) Module fb: vendor="X.Org Foundation"
[ 27.493] compiled for 1.19.6, module version = 1.0.0
[ 27.493] ABI class: X.Org ANSI C Emulation, version 0.4
[ 27.493] (II) Loading sub module "wfb"
[ 27.493] (II) LoadModule: "wfb"
[ 27.493] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 27.493] (II) Module wfb: vendor="X.Org Foundation"
[ 27.493] compiled for 1.19.6, module version = 1.0.0
[ 27.493] ABI class: X.Org ANSI C Emulation, version 0.4
[ 27.493] (II) Loading sub module "ramdac"
[ 27.493] (II) LoadModule: "ramdac"
[ 27.493] (II) Module "ramdac" already built-in
[ 27.494] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[ 27.494] (==) NVIDIA(0): RGB weight 888
[ 27.494] (==) NVIDIA(0): Default visual is TrueColor
[ 27.494] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 27.494] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[ 27.494] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[ 27.494] (**) NVIDIA(0): Enabling 2D acceleration
[ 27.494] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please
[ 27.494] (EE) NVIDIA(GPU-0): check your system's kernel log for additional error
[ 27.494] (EE) NVIDIA(GPU-0): messages and refer to Chapter 8: Common Problems in the
[ 27.494] (EE) NVIDIA(GPU-0): README for additional information.
[ 27.494] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device!
[ 27.494] (EE) NVIDIA(0): Failing initialization of X screen 0
[ 27.494] (II) UnloadModule: "nvidia"
[ 27.494] (II) UnloadSubModule: "wfb"
[ 27.494] (II) UnloadSubModule: "fb"
[ 27.494] (EE) Screen(s) found, but none have a usable configuration.
[ 27.494] (EE)
Fatal server error:
[ 27.494] (EE) no screens found(EE)
[ 27.494] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 27.494] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 27.494] (EE)
[ 27.496] (EE) Server terminated with error (1). Closing log file.


Finally below are the xsession-errors I receive after I installed MATE.



dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting XAUTHORITY=/home/frodo/.Xauthority
dbus-update-activation-environment: setting GTK_MODULES=appmenu-gtk-module:gail:atk-bridge:canberra-gtk-module
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting CLUTTER_IM_MODULE=xim
dbus-update-activation-environment: setting LANG=en_US.UTF-8
dbus-update-activation-environment: setting GDM_LANG=en_US
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting COMPIZ_CONFIG_PROFILE=mate
dbus-update-activation-environment: setting GTK_OVERLAY_SCROLLING=0
dbus-update-activation-environment: setting XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/frodo
dbus-update-activation-environment: setting USER=frodo
dbus-update-activation-environment: setting DESKTOP_SESSION=mate
dbus-update-activation-environment: setting QT4_IM_MODULE=xim
dbus-update-activation-environment: setting TEXTDOMAINDIR=/usr/share/locale/
dbus-update-activation-environment: setting QT_QPA_PLATFORMTHEME=gtk2
dbus-update-activation-environment: setting PWD=/home/frodo
dbus-update-activation-environment: setting HOME=/home/frodo
dbus-update-activation-environment: setting TEXTDOMAIN=im-config
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting XDG_SESSION_TYPE=x11
dbus-update-activation-environment: setting XDG_DATA_DIRS=/usr/share/mate:/usr/share/mate:/usr/local/share:/usr/share:/var/lib/snapd/desktop
dbus-update-activation-environment: setting XDG_SESSION_DESKTOP=mate
dbus-update-activation-environment: setting GTK_MODULES=appmenu-gtk-module:gail:atk-bridge:canberra-gtk-module
dbus-update-activation-environment: setting UBUNTU_MENUPROXY=1
dbus-update-activation-environment: setting SHELL=/bin/bash
dbus-update-activation-environment: setting XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
dbus-update-activation-environment: setting QT_IM_MODULE=ibus
dbus-update-activation-environment: setting XMODIFIERS=@im=ibus
dbus-update-activation-environment: setting IM_CONFIG_PHASE=2
dbus-update-activation-environment: setting XDG_CURRENT_DESKTOP=MATE
dbus-update-activation-environment: setting GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
dbus-update-activation-environment: setting SHLVL=1
dbus-update-activation-environment: setting LANGUAGE=en_US
dbus-update-activation-environment: setting GDMSESSION=mate
dbus-update-activation-environment: setting LOGNAME=frodo
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting XDG_RUNTIME_DIR=/run/user/1000
dbus-update-activation-environment: setting XAUTHORITY=/home/frodo/.Xauthority
dbus-update-activation-environment: setting XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
dbus-update-activation-environment: setting XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg
dbus-update-activation-environment: setting PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
dbus-update-activation-environment: setting GTK_IM_MODULE=ibus
dbus-update-activation-environment: setting _=/usr/bin/dbus-update-activation-environment
mate-session[1625]: WARNING: Unable to find provider '' of required component 'dock'
Window manager warning: Log level 128: Name com.canonical.AppMenu.Registrar does not exist on the session bus

Window manager warning: Log level 16: XPresent is not compatible with your current system configuration.

(process:1939): indicator-sound-WARNING **: 11:12:19.416: volume-control-pulse.vala:744: Unable to connect to dbus server at 'unix:path=/run/user/1000/pulse/dbus-socket': Could not connect: No such file or directory

(process:1939): indicator-sound-WARNING **: 11:12:19.528: accounts-service-access.vala:218: unable to sync volume 0.464157 to AccountsService: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: No such interface 'com.ubuntu.AccountsService.Sound'

(nm-applet:1835): Gtk-WARNING **: 11:12:19.840: Can't set a parent on widget which has a parent
RuntimeError: object at 0x7faf945ff3c0 of type FolderColorMenu is not initialized
RuntimeError: object at 0x7faf945ff370 of type RenameMenu is not initialized
INFO:root:The HUD is disabled via org.mate.hud in gsettings.

(nm-applet:1835): Gtk-CRITICAL **: 11:12:26.627: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:12:26.628: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:12:26.638: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:12:26.652: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:12:26.652: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:12:26.668: Can't set a parent on widget which has a parent
Gtk-Message: 11:12:48.616: GtkDialog mapped without a transient parent. This is discouraged.
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x1c00007 (Authentica)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
/var/cache/apt/archives/lock:

(nm-applet:1835): Gtk-CRITICAL **: 11:16:41.757: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:16:41.757: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:16:41.769: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:16:41.778: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:16:41.778: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:16:41.780: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:17:08.944: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:17:08.944: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:17:08.950: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:17:08.955: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:17:08.955: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:17:08.961: Can't set a parent on widget which has a parent
/var/cache/apt/archives/lock:
/var/cache/apt/archives/lock:

(nm-applet:1835): Gtk-CRITICAL **: 11:21:21.996: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:21:21.997: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:21:22.001: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:21:22.004: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:21:22.004: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:21:22.006: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:22:08.954: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:22:08.954: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:22:08.969: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:22:08.976: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:22:08.976: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:22:08.985: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:26:22.266: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:26:22.266: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:26:22.273: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:26:22.279: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:26:22.279: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:26:22.281: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:27:08.953: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:27:08.953: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:27:08.960: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:27:08.964: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:27:08.964: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:27:08.971: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:31:22.546: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:31:22.546: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:31:22.552: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:31:22.556: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:31:22.556: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:31:22.559: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:32:08.939: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:32:08.939: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:32:08.944: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:32:08.949: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:32:08.949: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:32:08.955: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:36:22.810: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:36:22.810: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:36:22.814: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:36:22.818: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:36:22.818: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:36:22.820: Can't set a parent on widget which has a parent

** (mate-control-center:21288): WARNING **: 11:36:41.181:
error raised: [load_xbel_store: couldn't load bookmark file [NULL]
]

Gtk-Message: 11:36:48.348: GtkDialog mapped without a transient parent. This is discouraged.

(nm-applet:1835): Gtk-CRITICAL **: 11:37:08.959: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:37:08.959: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:37:08.964: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:37:08.969: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:37:08.969: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:37:08.977: Can't set a parent on widget which has a parent
Gtk-Message: 11:37:10.477: GtkDialog mapped without a transient parent. This is discouraged.

(nm-applet:1835): Gtk-CRITICAL **: 11:41:23.083: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:41:23.083: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:41:23.089: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:41:23.093: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:41:23.093: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:41:23.095: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:42:08.950: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:42:08.950: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:42:08.956: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:42:08.962: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:42:08.962: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:42:08.968: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:46:23.391: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:46:23.391: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:46:23.409: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:46:23.417: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:46:23.417: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:46:23.419: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:47:08.951: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:47:08.951: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:47:08.957: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:47:08.962: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:47:08.962: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:47:08.971: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:51:23.643: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:51:23.643: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:51:23.647: Can't set a parent on widget which has a parent

(nm-applet:1835): Gtk-CRITICAL **: 11:51:23.651: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-CRITICAL **: 11:51:23.651: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-applet:1835): Gtk-WARNING **: 11:51:23.653: Can't set a parent on widget which has a parent


In Parrot OS
It is working fine:



 └──╼ $nvidia-smi
Sat Apr 6 18:07:43 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 410.104 Driver Version: 410.104 CUDA Version: 10.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 1070 On | 00000000:01:00.0 On | N/A |
| N/A 46C P0 31W / N/A | 679MiB / 8114MiB | 4% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1662 G /usr/lib/xorg/Xorg 598MiB |
| 0 2887 G ...uest-channel-token=10711300986188132470 45MiB |
+-----------------------------------------------------------------------------+






nvidia login-screen gtk mate initramfs






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 hours ago







ConnectionistSystems

















asked 2 days ago









ConnectionistSystemsConnectionistSystems

164




164













  • Please edit your question and post output of the following commands: 1. mokutil --sb-state 2. ls /sys/firmware/efi/ 3. sudo lshw -c video and 4. lspci -k | grep -A 2 -i "VGA"

    – Marmayogi
    2 days ago



















  • Please edit your question and post output of the following commands: 1. mokutil --sb-state 2. ls /sys/firmware/efi/ 3. sudo lshw -c video and 4. lspci -k | grep -A 2 -i "VGA"

    – Marmayogi
    2 days ago

















Please edit your question and post output of the following commands: 1. mokutil --sb-state 2. ls /sys/firmware/efi/ 3. sudo lshw -c video and 4. lspci -k | grep -A 2 -i "VGA"

– Marmayogi
2 days ago





Please edit your question and post output of the following commands: 1. mokutil --sb-state 2. ls /sys/firmware/efi/ 3. sudo lshw -c video and 4. lspci -k | grep -A 2 -i "VGA"

– Marmayogi
2 days ago










0






active

oldest

votes












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1131695%2fubuntu-18-04-nvidia-blackscreen-initramfs-mate-desktop%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1131695%2fubuntu-18-04-nvidia-blackscreen-initramfs-mate-desktop%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...