Ubuntu HowTo: Desktop icons disappear after hibernation

Original Source Link

Very often, some of my desktop icons (.desktop files I have created) disappear after I close the lid and hibernate the computer. Quite annoying I’d say. These icons (and the Applications menu from a well-written Gnome-shell extension by Florian Müllner) are my favourite ways to start applications (unless I type in a console of course). I live happily without any dock/launcher or whatever it’s called; that one is always in the way in any case.

I have found that by locking/unlocking the screen (super+L) the icons reappear, but otherwise this is a mystery to me. Any help greatly appreciated 🙂

BTW: Ubuntu 20.04, HP Pavilion

The icons on the desktop in Ubuntu 19.04 and later releases are handled by a GNOME Shell extension (as opposed to the file manager Nautilus in older releases) called “Desktop Icons” (package name: gnome-shell-extension-desktop-icons).

As per GNOME’s security policy all the extensions get disabled once you lock your screen or suspend or hibernate; and they are re-enabled after you log back in. It seems sometimes in your case somehow the extension fails to reload properly after returning from a hibernation. Then another screen locking followed by unlocking disables and restores the extension correctly once again.

As another workaround, when you find the icons missing, restart GNOME shell by typing Alt+F2, then typing r and pressing Enter (note: this does not work in a Wayland session). This should bring back the icons.

Tagged : / / /

Ubuntu HowTo: Xubuntu20.04 LTS desktop keyboard and mouse stop working randomly AFTER suspend

Original Source Link

On my desktop computer (recently changed to Xubuntu and kept up-to-date), the keyboard and mouse stop working apparently only after resuming from suspend and a delay of several minutes. The mouse pointer continues to move, but no mouse clicks have any effect. W/o the keyboard working, I cannot open terminals/consoles.

I enabled sshd so that I can log into the frozen GUI system, and top shows a ‘normal’ system (e.g., very low CPU use, low memory use, no swapping, etc.). Based on some research, I set /sys/module/usbcore/parameters/autosuspend to -1 (i.e., disabled autosuspend on every USB port), but that did not help matters.

No particular program seems to trigger the issue … often I’m in google-chrome because that’s how I mostly use the system, but I can be in PyCharm, an image viewer, or anything else I might happen to be using.

Except for the random GUI freezing, I have not seen any other issues with peripherals (including the scanner, monitors, mouse, keyboard, etc).
Also, this same hardware ran for several years under Windows 10
w/o any problems in this arena; so the hardware is fine.

Here is some system info:

$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04 LTS"

$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 045e:00dd Microsoft Corp. Comfort Curve Keyboard 2000 V1.0
Bus 001 Device 003: ID 062a:4102 MosArt Semiconductor Corp. 2.4G Wireless Mouse
Bus 001 Device 007: ID 04a9:190f Canon, Inc. CanoScan LiDE 220
Bus 001 Device 006: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 004: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
Bus 001 Device 002: ID 2109:2812 VIA Labs, Inc. VL812 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

$ lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 07)
00:02.0 Display controller: Intel Corporation HD Graphics 530 (rev 06)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Thermal Subsystem (rev 31)
00:16.0 Communication controller: Intel Corporation 100 Series/C230 Series Chipset Family MEI Controller #1 (rev 31)
00:17.0 SATA controller: Intel Corporation Q170/Q150/B150/H170/H110/Z170/CM236 Chipset SATA Controller [AHCI Mode] (rev 31)
00:1b.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #17 (rev f1)
00:1c.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #1 (rev f1)
00:1c.2 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #3 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Z170 Chipset LPC/eSPI Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation 100 Series/C230 Series Chipset Family Power Management Controller (rev 31)
00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller (rev 31)
00:1f.4 SMBus: Intel Corporation 100 Series/C230 Series Chipset Family SMBus (rev 31)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-V (rev 31)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde PRO / Venus LE / Tropo PRO-L [Radeon HD 8830M / R7 250 / R7 M465X] (rev 87)
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 Series]
02:00.0 Non-Volatile memory controller: ADATA Technology Co., Ltd. XPG SX8200 Pro PCIe Gen3x4 M.2 2280 Solid State Drive (rev 03)
04:00.0 USB controller: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller


$ cat /proc/meminfo | head -3
MemTotal:       32774636 kB
MemFree:        27201232 kB
MemAvailable:   28870780 kB

So, there is lots of memory … much more than I could exhaust in practice.
top always show zero used swap. I have complicated monitor situation, four monitors
with two off the onboard Intel HD Graphics 530 and two from the add-on AMD Radeon R7 250 card.

Any suggestions on how to best isolate the problem?

Nobody offered any suggestions and I figured it was a problem with my oddball setup (using four monitors with two graphics controllers of different brands) … even though it worked fine for years using Windows 10. I replaced the two graphics controllers with just one, a Sapphire Radeon RX 580 which supports up to 5 monitors.

The system comes up noticeably cleaner (i.e., all four monitors almost at once) and the freeze after resumption of suspend has NOT been seen after many tries that would have caused many freezes previously.

So, I would not call this a “solution”, but it sure seems to be a “workaround”.

Tagged : / / /

Ubuntu HowTo: 20.04 on external monitor (2560×1600) extremely slow

Original Source Link

Fresh install on Thinkpad W530 with U20.04. Installation had no problem, but after reboot everything is extremely slow. When I unplug Monitor(DisplayPort) and use internal screen no problem.

I have checked also NVIDIA drivers, same problem.

But Fedora 32 just worked wit no problems..
windows 10 couldn’t even use the external screen.
Bios settings also checked but no change for Ubuntu

I’m having a similar problem with my laptop and external display.
From testing different settings it seems that every time the laptop screen is off (either because it’s closed, or because I set gnome display settings for external screen only) the external display gets EXTREMELY slow, completely unusable.
If I mirror both screens and leave the laptop screen on, it is back “normal”.
Screen resolution was the same on all my test cases (4k).

For reference, I’m using an AMD external gpu.

I have a Thinkpad W520 with freshly installed U20.04. I had a similar problem when I tried to connect my WQHD display through DisplayPort. Even though the NVIDIA driver was installed, it somehow could not be activated. If the NVIDIA driver is properly activated and you run

$ nvidia-settings

then you should see something like this:

enter image description here

If you don’t see the options on the left, then probably your NVIDIA driver is not properly activated. I purged the driver using the command:

$ sudo apt remove --purge nvidia-kernel-common-390

and then reinstalled it using the “Additional Drivers” utility of the “Software & Updates” app. After I restarted the computer the NVIDIA driver got properly activated and the NVIDIA settings also showed the options as it should.

Tagged :

Ubuntu HowTo: Dark Mode not working in 20.04

Original Source Link

I upgraded from 18.04 to 20.04 and tried to enable dark mode but this is not working.

ubuntu dark mode enabled

Dark mode not working

Here is one more weird thing I noted. I am running Ubuntu 20.04 but this message shows 18.04.
ubuntu 18.04 error on 20.04

Update: This command solved the problem.
sudo apt-get install yaru-theme-gtk

Try using the Gnome-Tweak tool. First, update, then add the Universe repository, and then install:

sudo apt-get update
sudo add-apt-repository universe
sudo apt-get install gnome-tweak-tool

Open Gnome-Tweaks from Show Applications (or Activities), and click on Appearance. Under Themes, dropdown Applications, and choose Adwaita-dark, or, as the case may be, Yaru-dark.

Hope it helps!

Tagged : / /

Ubuntu HowTo: GNOME Sushi preview not working for video files

Original Source Link

I have GNOME-sushi installed on Ubuntu 20.04 LTS. Initially when I selected a video and pressed spacebar, the following error occurred.

enter image description here

After installing the gstreamer1.0-plugins-bad and gstreamer1.0-plugins-ugly packages, only the audio is played but not the video.

The following are already installed (used dpkg -l | grep gstreamer)

ii  gir1.2-gstreamer-1.0:amd64                 1.16.2-2                              amd64        GObject introspection data for the GStreamer library
ii  gstreamer1.0-alsa:amd64                    1.16.2-4                              amd64        GStreamer plugin for ALSA
ii  gstreamer1.0-clutter-3.0:amd64             3.0.27-1                              amd64        Clutter PLugin for GStreamer 1.0
ii  gstreamer1.0-gl:amd64                      1.16.2-4                              amd64        GStreamer plugins for GL
ii  gstreamer1.0-gtk3:amd64                    1.16.2-1ubuntu2                       amd64        GStreamer plugin for GTK+3
ii  gstreamer1.0-packagekit                    1.1.13-2ubuntu1                       amd64        GStreamer plugin to install codecs using PackageKit
ii  gstreamer1.0-plugins-bad:amd64             1.16.2-2.1ubuntu1                     amd64        GStreamer plugins from the "bad" set
ii  gstreamer1.0-plugins-base:amd64            1.16.2-4                              amd64        GStreamer plugins from the "base" set
ii  gstreamer1.0-plugins-base-apps             1.16.2-4                              amd64        GStreamer helper programs from the "base" set
ii  gstreamer1.0-plugins-good:amd64            1.16.2-1ubuntu2                       amd64        GStreamer plugins from the "good" set
ii  gstreamer1.0-plugins-ugly:amd64            1.16.2-2build1                        amd64        GStreamer plugins from the "ugly" set
ii  gstreamer1.0-pulseaudio:amd64              1.16.2-1ubuntu2                       amd64        GStreamer plugin for PulseAudio
ii  gstreamer1.0-tools                         1.16.2-2                              amd64        Tools for use with GStreamer
ii  gstreamer1.0-x:amd64                       1.16.2-4                              amd64        GStreamer plugins for X11 and Pango
ii  libgstreamer-gl1.0-0:amd64                 1.16.2-4                              amd64        GStreamer GL libraries
ii  libgstreamer-plugins-bad1.0-0:amd64        1.16.2-2.1ubuntu1                     amd64        GStreamer libraries from the "bad" set
ii  libgstreamer-plugins-base1.0-0:amd64       1.16.2-4                              amd64        GStreamer libraries from the "base" set
ii  libgstreamer-plugins-good1.0-0:amd64       1.16.2-1ubuntu2                       amd64        GStreamer development files for libraries from the "good" set
ii  libgstreamer1.0-0:amd64                    1.16.2-2                              amd64        Core GStreamer libraries and elements

How to install the missing plugins?

Install 3 packages by the command below:

apt-get install -y gstreamer1.0-gtk3 gstreamer1.0-pulseaudio gstreamer1.0-libav

It works for me on Ubuntu 20.04.

Tagged : / / /

Ubuntu HowTo: Booting into emergency mode

Original Source Link

I’m running Kubuntu 18.04 — or trying to. After some major reconfiguration that involved removing Windows and installing SuSE Leap 16.1, my Kubuntu goes into emergency mode on boot. I think it only needs a very simple fix, but I haven’t been able to find it. Here are some relevant pieces of information:

  1. I have an EFI partition on sda11/etc/stab which is confirmed by fdisk.

  2. /etc/fstab contains an entry UUID=E8C2-65DB /boot/efi vfat defaults 0 1. It also contains a comment that /boot/efi was on /dev/sda12 during installation.

  3. / is correctly mounted on /dev/sda6.

So what are the magic words?

The message I get is:

You are now in emergency mode.  After logging in, type "journalctl xb" to view system logs, "systemctl default or "exit" to boot into default mode".
Press Enter for maintenance (or press Control-D to continue):

Pressing Enter gets me a (root) command prompt; anything else just gives me the same message again.

Tagged : /

Ubuntu HowTo: gnome corruption

Original Source Link

after update from 19.10 to 20.04 gnome has problem in display . it’s slow . VisualStudio Code and jetbrains ide or discord suddenly freeze
and this is my desktop on startup Desktop Picture

I have tried nvidia-driver440 and 435 now its 435.

s -al ~/.local/share/gnome-shell/extensions:
total 48
drwxr-xr-x 12 sorush sorush 4096 مئی     27 23:49 .
drwx------  4 sorush sorush 4096 مئی     29 11:29 ..
drwxr-xr-x  3 sorush sorush 4096 مئی      3 21:29 [email protected]
drwxr-xr-x  4 sorush sorush 4096 مئی      9 15:48 [email protected]
drwxr-xr-x  8 sorush sorush 4096 مئی      9 15:48 [email protected]
drwxr-xr-x  5 sorush sorush 4096 مئی      9 15:48 [email protected]
drwxr-xr-x  5 sorush sorush 4096 آوریل   29 23:31 [email protected]
drwxrwxr-x  4 sorush sorush 4096 مئی     27 23:49 [email protected]
drwxr-xr-x  4 sorush sorush 4096 آوریل   12 22:32 [email protected]
drwxr-xr-x  4 sorush sorush 4096 آوریل   15 18:24 [email protected]
drwxr-xr-x  2 sorush sorush 4096 مئی      5 21:16 [email protected]
drwxr-xr-x  4 sorush sorush 4096 مئی      9 15:48 [email protected]

ls -al /usr/share/gnome-shell/extensions:

total 60
drwxr-xr-x 15 root root 4096 مئی     28 17:24 .
drwxr-xr-x  7 root root 4096 مئی     28 15:22 ..
drwxr-xr-x  2 root root 4096 مئی     28 17:24 [email protected]
drwxr-xr-x  2 root root 4096 مئی     28 17:24 [email protected]
drwxr-xr-x  2 root root 4096 مئی     28 17:24 [email protected]
drwxr-xr-x  2 root root 4096 مئی     28 17:24 [email protected]
drwxr-xr-x  2 root root 4096 مئی     28 17:24 [email protected]
drwxr-xr-x  2 root root 4096 مئی     28 17:24 [email protected]m
drwxr-xr-x  2 root root 4096 مئی     28 17:24 [email protected]
drwxr-xr-x  2 root root 4096 مئی     28 17:24 [email protected]m
drwxr-xr-x  2 root root 4096 مئی     28 15:24 [email protected]
drwxr-xr-x  2 root root 4096 مئی     28 17:24 [email protected]
drwxr-xr-x  2 root root 4096 مئی     28 17:24 [email protected]
drwxr-xr-x  2 root root 4096 مئی     28 17:24 [email protected]
drwxr-xr-x  2 root root 4096 مئی     28 17:24 [email protected]
sudo grep -i stack /var/log/syslog*:
/var/log/syslog:May 30 00:43:20 sorush-FX503VD gnome-shell[2718]: == Stack trace for context 0x5607448c96e0 ==
/var/log/syslog:May 30 00:43:20 sorush-FX503VD gnome-shell[2718]: == Stack trace for context 0x5607448c96e0 ==
/var/log/syslog:May 30 08:29:52 sorush-FX503VD kernel: [    0.066684] mem auto-init: stack:off, heap alloc:on, heap free:off
/var/log/syslog:May 30 08:29:52 sorush-FX503VD systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
/var/log/syslog:May 30 08:29:52 sorush-FX503VD systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
/var/log/syslog:May 30 08:29:52 sorush-FX503VD systemd[1]: Started Avahi mDNS/DNS-SD Stack.
/var/log/syslog:May 30 08:31:26 sorush-FX503VD gnome-shell[2588]: == Stack trace for context 0x55b01ec606e0 ==
/var/log/syslog:May 30 08:31:26 sorush-FX503VD gnome-shell[2588]: == Stack trace for context 0x55b01ec606e0 ==
/var/log/syslog.1:May 27 21:37:56 sorush-FX503VD gnome-shell[2672]: == Stack trace for context 0x55dce55c26e0 ==
/var/log/syslog.1:May 27 21:37:56 sorush-FX503VD gnome-shell[2672]: == Stack trace for context 0x55dce55c26e0 ==
/var/log/syslog.1:May 28 10:14:42 sorush-FX503VD systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
/var/log/syslog.1:May 28 10:14:42 sorush-FX503VD systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
/var/log/syslog.1:May 28 10:14:42 sorush-FX503VD kernel: [    0.066309] mem auto-init: stack:off, heap alloc:on, heap free:off
/var/log/syslog.1:May 28 10:14:43 sorush-FX503VD systemd[1]: Started Avahi mDNS/DNS-SD Stack.
/var/log/syslog.1:May 28 10:20:01 sorush-FX503VD gnome-shell[2780]: == Stack trace for context 0x562df58236e0 ==
/var/log/syslog.1:May 28 10:20:01 sorush-FX503VD gnome-shell[2780]: == Stack trace for context 0x562df58236e0 ==
/var/log/syslog.1:May 28 10:26:27 sorush-FX503VD systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
/var/log/syslog.1:May 28 10:26:27 sorush-FX503VD systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
/var/log/syslog.1:May 28 10:26:27 sorush-FX503VD kernel: [    0.066833] mem auto-init: stack:off, heap alloc:on, heap free:off
/var/log/syslog.1:May 28 10:26:28 sorush-FX503VD systemd[1]: Started Avahi mDNS/DNS-SD Stack.
/var/log/syslog.1:May 28 10:27:50 sorush-FX503VD gnome-shell[2164]: == Stack trace for context 0x55f67f8556e0 ==
/var/log/syslog.1:May 28 10:27:50 sorush-FX503VD gnome-shell[2164]: == Stack trace for context 0x55f67f8556e0 ==
/var/log/syslog.1:May 28 13:05:32 sorush-FX503VD kernel: [    0.067054] mem auto-init: stack:off, heap alloc:on, heap free:off
/var/log/syslog.1:May 28 13:05:32 sorush-FX503VD systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
/var/log/syslog.1:May 28 13:05:32 sorush-FX503VD systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
/var/log/syslog.1:May 28 13:05:32 sorush-FX503VD systemd[1]: Started Avahi mDNS/DNS-SD Stack.
/var/log/syslog.1:May 28 13:57:10 sorush-FX503VD kernel: [    0.066178] mem auto-init: stack:off, heap alloc:on, heap free:off
/var/log/syslog.1:May 28 13:57:10 sorush-FX503VD systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
/var/log/syslog.1:May 28 13:57:10 sorush-FX503VD systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
/var/log/syslog.1:May 28 13:57:10 sorush-FX503VD systemd[1]: Started Avahi mDNS/DNS-SD Stack.
/var/log/syslog.1:May 28 13:58:42 sorush-FX503VD gnome-shell[2594]: == Stack trace for context 0x55e9260a16e0 ==
/var/log/syslog.1:May 28 13:58:42 sorush-FX503VD gnome-shell[2594]: == Stack trace for context 0x55e9260a16e0 ==
/var/log/syslog.1:May 28 14:55:48 sorush-FX503VD gnome-shell[9267]: == Stack trace for context 0x560dcdc636e0 ==
/var/log/syslog.1:May 28 14:55:48 sorush-FX503VD gnome-shell[9267]: == Stack trace for context 0x560dcdc636e0 ==
/var/log/syslog.1:May 28 15:23:26 sorush-FX503VD systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
/var/log/syslog.1:May 28 15:23:26 sorush-FX503VD systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
/var/log/syslog.1:May 28 15:23:26 sorush-FX503VD kernel: [    0.067039] mem auto-init: stack:off, heap alloc:on, heap free:off
/var/log/syslog.1:May 28 15:23:26 sorush-FX503VD systemd[1]: Started Avahi mDNS/DNS-SD Stack.
/var/log/syslog.1:May 28 15:24:48 sorush-FX503VD gnome-shell[2180]: == Stack trace for context 0x561680f246e0 ==
/var/log/syslog.1:May 28 15:24:48 sorush-FX503VD gnome-shell[2180]: == Stack trace for context 0x561680f246e0 ==
/var/log/syslog.1:May 28 15:26:20 sorush-FX503VD systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
/var/log/syslog.1:May 28 15:26:20 sorush-FX503VD systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
/var/log/syslog.1:May 28 15:26:20 sorush-FX503VD kernel: [    0.066950] mem auto-init: stack:off, heap alloc:on, heap free:off
/var/log/syslog.1:May 28 15:26:20 sorush-FX503VD systemd[1]: Started Avahi mDNS/DNS-SD Stack.
/var/log/syslog.1:May 28 15:27:48 sorush-FX503VD gnome-shell[2573]: == Stack trace for context 0x5555793f76e0 ==
/var/log/syslog.1:May 28 15:27:48 sorush-FX503VD gnome-shell[2573]: == Stack trace for context 0x5555793f76e0 ==
/var/log/syslog.1:May 28 17:25:52 sorush-FX503VD kernel: [    0.067164] mem auto-init: stack:off, heap alloc:on, heap free:off
/var/log/syslog.1:May 28 17:25:52 sorush-FX503VD systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
/var/log/syslog.1:May 28 17:25:52 sorush-FX503VD systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
/var/log/syslog.1:May 28 17:25:53 sorush-FX503VD systemd[1]: Started Avahi mDNS/DNS-SD Stack.
/var/log/syslog.1:May 29 02:37:24 sorush-FX503VD systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
/var/log/syslog.1:May 29 02:37:24 sorush-FX503VD systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
/var/log/syslog.1:May 29 02:37:24 sorush-FX503VD kernel: [    0.066596] mem auto-init: stack:off, heap alloc:on, heap free:off
/var/log/syslog.1:May 29 02:37:24 sorush-FX503VD systemd[1]: Started Avahi mDNS/DNS-SD Stack.
/var/log/syslog.1:May 28 22:09:48 sorush-FX503VD gnome-shell[2646]: == Stack trace for context 0x564efc6996e0 ==
/var/log/syslog.1:May 28 22:09:48 sorush-FX503VD gnome-shell[2646]: == Stack trace for context 0x564efc6996e0 ==
/var/log/syslog.1:May 29 00:26:26 sorush-FX503VD systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
/var/log/syslog.1:May 29 00:26:26 sorush-FX503VD systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
/var/log/syslog.1:May 29 00:26:26 sorush-FX503VD kernel: [    0.066820] mem auto-init: stack:off, heap alloc:on, heap free:off
/var/log/syslog.1:May 29 00:26:26 sorush-FX503VD systemd[1]: Started Avahi mDNS/DNS-SD Stack.
/var/log/syslog.1:May 29 00:54:10 sorush-FX503VD gnome-shell[2519]: == Stack trace for context 0x5599af4246e0 ==
/var/log/syslog.1:May 29 00:54:10 sorush-FX503VD gnome-shell[2519]: == Stack trace for context 0x5599af4246e0 ==
/var/log/syslog.1:May 29 00:54:10 sorush-FX503VD gnome-shell[2519]: message repeated 3 times: [ == Stack trace for context 0x5599af4246e0 ==]
/var/log/syslog.1:May 29 00:54:10 sorush-FX503VD gnome-shell[2519]: == Stack trace for context 0x5599af4246e0 ==
/var/log/syslog.1:May 29 00:54:10 sorush-FX503VD gnome-shell[2519]: message repeated 3 times: [ == Stack trace for context 0x5599af4246e0 ==]
/var/log/syslog.1:May 29 00:54:10 sorush-FX503VD gnome-shell[2519]: == Stack trace for context 0x5599af4246e0 ==
/var/log/syslog.1:May 29 00:54:10 sorush-FX503VD gnome-shell[2519]: message repeated 3 times: [ == Stack trace for context 0x5599af4246e0 ==]
/var/log/syslog.1:May 29 00:54:10 sorush-FX503VD gnome-shell[2519]: == Stack trace for context 0x5599af4246e0 ==
/var/log/syslog.1:May 29 00:54:10 sorush-FX503VD gnome-shell[2519]: message repeated 3 times: [ == Stack trace for context 0x5599af4246e0 ==]
/var/log/syslog.1:May 29 00:54:10 sorush-FX503VD gnome-shell[2519]: == Stack trace for context 0x5599af4246e0 ==
/var/log/syslog.1:May 29 00:54:10 sorush-FX503VD gnome-shell[2519]: message repeated 3 times: [ == Stack trace for context 0x5599af4246e0 ==]
/var/log/syslog.1:May 29 00:54:10 sorush-FX503VD gnome-shell[2519]: == Stack trace for context 0x5599af4246e0 ==
/var/log/syslog.1:May 29 00:54:10 sorush-FX503VD gnome-shell[2519]: message repeated 3 times: [ == Stack trace for context 0x5599af4246e0 ==]
/var/log/syslog.1:May 29 00:54:10 sorush-FX503VD gnome-shell[2519]: == Stack trace for context 0x5599af4246e0 ==
/var/log/syslog.1:May 29 00:54:10 sorush-FX503VD gnome-shell[2519]: message repeated 3 times: [ == Stack trace for context 0x5599af4246e0 ==]
/var/log/syslog.1:May 29 00:54:10 sorush-FX503VD gnome-shell[2519]: == Stack trace for context 0x5599af4246e0 ==
/var/log/syslog.1:May 29 00:54:10 sorush-FX503VD gnome-shell[2519]: message repeated 3 times: [ == Stack trace for context 0x5599af4246e0 ==]
/var/log/syslog.1:May 29 00:54:10 sorush-FX503VD gnome-shell[2519]: == Stack trace for context 0x5599af4246e0 ==
/var/log/syslog.1:May 29 00:54:10 sorush-FX503VD gnome-shell[2519]: message repeated 3 times: [ == Stack trace for context 0x5599af4246e0 ==]
/var/log/syslog.1:May 29 00:54:10 sorush-FX503VD gnome-shell[2519]: == Stack trace for context 0x5599af4246e0 ==
/var/log/syslog.1:May 29 00:54:10 sorush-FX503VD gnome-shell[2519]: message repeated 4 times: [ == Stack trace for context 0x5599af4246e0 ==]
/var/log/syslog.1:May 29 00:54:10 sorush-FX503VD gnome-shell[2519]: == Stack trace for context 0x5599af4246e0 ==
/var/log/syslog.1:May 29 00:54:10 sorush-FX503VD gnome-shell[2519]: message repeated 6 times: [ == Stack trace for context 0x5599af4246e0 ==]
/var/log/syslog.1:May 29 00:54:10 sorush-FX503VD gnome-shell[2519]: == Stack trace for context 0x5599af4246e0 ==
/var/log/syslog.1:May 29 00:54:10 sorush-FX503VD gnome-shell[2519]: message repeated 3 times: [ == Stack trace for context 0x5599af4246e0 ==]
/var/log/syslog.1:May 29 00:54:10 sorush-FX503VD gnome-shell[2519]: == Stack trace for context 0x5599af4246e0 ==
/var/log/syslog.1:May 29 00:54:10 sorush-FX503VD gnome-shell[2519]: message repeated 4 times: [ == Stack trace for context 0x5599af4246e0 ==]
/var/log/syslog.1:May 29 00:54:10 sorush-FX503VD gnome-shell[2519]: == Stack trace for context 0x5599af4246e0 ==
/var/log/syslog.1:May 29 00:54:10 sorush-FX503VD gnome-shell[2519]: message repeated 3 times: [ == Stack trace for context 0x5599af4246e0 ==]
/var/log/syslog.1:May 29 00:54:10 sorush-FX503VD gnome-shell[2519]: == Stack trace for context 0x5599af4246e0 ==
/var/log/syslog.1:May 29 00:54:10 sorush-FX503VD gnome-shell[2519]: message repeated 4 times: [ == Stack trace for context 0x5599af4246e0 ==]
/var/log/syslog.1:May 29 00:55:27 sorush-FX503VD gnome-shell[8060]: == Stack trace for context 0x56311a0dd6e0 ==
/var/log/syslog.1:May 29 00:55:27 sorush-FX503VD gnome-shell[8060]: == Stack trace for context 0x56311a0dd6e0 ==
/var/log/syslog.1:May 29 01:10:43 sorush-FX503VD systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
/var/log/syslog.1:May 29 01:10:43 sorush-FX503VD systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
/var/log/syslog.1:May 29 01:10:43 sorush-FX503VD kernel: [    0.067291] mem auto-init: stack:off, heap alloc:on, heap free:off
/var/log/syslog.1:May 29 01:10:43 sorush-FX503VD systemd[1]: Started Avahi mDNS/DNS-SD Stack.
/var/log/syslog.1:May 29 01:21:56 sorush-FX503VD systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
/var/log/syslog.1:May 29 01:21:56 sorush-FX503VD systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
/var/log/syslog.1:May 29 01:21:56 sorush-FX503VD kernel: [    0.066417] mem auto-init: stack:off, heap alloc:on, heap free:off
/var/log/syslog.1:May 29 01:21:56 sorush-FX503VD systemd[1]: Started Avahi mDNS/DNS-SD Stack.
/var/log/syslog.1:May 29 11:14:04 sorush-FX503VD systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
/var/log/syslog.1:May 29 11:14:04 sorush-FX503VD systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
/var/log/syslog.1:May 29 11:14:04 sorush-FX503VD kernel: [    0.067060] mem auto-init: stack:off, heap alloc:on, heap free:off
/var/log/syslog.1:May 29 11:14:04 sorush-FX503VD systemd[1]: Started Avahi mDNS/DNS-SD Stack.
/var/log/syslog.1:May 29 11:19:21 sorush-FX503VD gnome-shell[2795]: == Stack trace for context 0x55d84a8f66e0 ==
/var/log/syslog.1:May 29 11:19:21 sorush-FX503VD gnome-shell[2795]: == Stack trace for context 0x55d84a8f66e0 ==
/var/log/syslog.1:May 29 17:18:29 sorush-FX503VD kernel: [    0.066907] mem auto-init: stack:off, heap alloc:on, heap free:off
/var/log/syslog.1:May 29 17:18:29 sorush-FX503VD systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
/var/log/syslog.1:May 29 17:18:29 sorush-FX503VD systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
/var/log/syslog.1:May 29 17:18:29 sorush-FX503VD systemd[1]: Started Avahi mDNS/DNS-SD Stack.
/var/log/syslog.1:May 29 17:22:32 sorush-FX503VD gnome-shell[2722]: == Stack trace for context 0x55ba8679a6e0 ==
/var/log/syslog.1:May 29 20:36:50 sorush-FX503VD gnome-shell[2722]: == Stack trace for context 0x55ba8679a6e0 ==
/var/log/syslog.1:May 29 20:36:50 sorush-FX503VD gnome-shell[2722]: == Stack trace for context 0x55ba8679a6e0 ==
/var/log/syslog.1:May 29 20:36:50 sorush-FX503VD gnome-shell[2722]: == Stack trace for context 0x55ba8679a6e0 ==
/var/log/syslog.1:May 29 20:36:50 sorush-FX503VD gnome-shell[2722]: == Stack trace for context 0x55ba8679a6e0 ==
/var/log/syslog.1:May 29 20:36:50 sorush-FX503VD gnome-shell[2722]: == Stack trace for context 0x55ba8679a6e0 ==
/var/log/syslog.1:May 29 20:36:50 sorush-FX503VD gnome-shell[2722]: == Stack trace for context 0x55ba8679a6e0 ==
/var/log/syslog.1:May 29 20:36:50 sorush-FX503VD gnome-shell[2722]: == Stack trace for context 0x55ba8679a6e0 ==
/var/log/syslog.1:May 29 20:36:50 sorush-FX503VD gnome-shell[2722]: == Stack trace for context 0x55ba8679a6e0 ==
/var/log/syslog.1:May 29 20:36:50 sorush-FX503VD gnome-shell[2722]: == Stack trace for context 0x55ba8679a6e0 ==
/var/log/syslog.1:May 29 20:36:50 sorush-FX503VD gnome-shell[2722]: == Stack trace for context 0x55ba8679a6e0 ==
/var/log/syslog.1:May 30 05:11:30 sorush-FX503VD kernel: [    0.067141] mem auto-init: stack:off, heap alloc:on, heap free:off
/var/log/syslog.1:May 30 05:11:30 sorush-FX503VD systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
/var/log/syslog.1:May 30 05:11:30 sorush-FX503VD systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
/var/log/syslog.1:May 30 05:11:30 sorush-FX503VD systemd[1]: Started Avahi mDNS/DNS-SD Stack.
top:
    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                                                                     
   2588 sorush    20   0 5893796 250384 117328 R  11.6   1.5   1:47.47 gnome-shell                                                                                                                                 
   2357 sorush    20   0  696496  60244  46092 S   5.3   0.4   1:31.40 Xorg                                                                                                                                        
   2776 sorush    20   0  507424  77272  46968 S   3.0   0.5   0:03.40 guake                                                                                                                                       
   8771 sorush    20   0 2651564 375864  97092 S   1.3   2.3   0:57.53 Telegram                                                                                                                                    
   4501 sorush    20   0 1410604 146920  84792 S   1.0   0.9   0:41.03 persepolis                                                                                                                                  
   8254 sorush    20   0 4711968 172036  96428 S   0.7   1.1   0:11.33 chrome                                                                                                                                      
  10136 sorush    20   0   15220   4536   3776 R   0.7   0.0   0:00.13 top                                                                                                                                         
    288 root      20   0       0      0      0 I   0.3   0.0   0:01.80 kworker/u16:3-i915                                                                                                                          
   1126 root      20   0   81884   3644   3308 S   0.3   0.0   0:00.15 irqbalance                                                                                                                                  
   1216 root      20   0 1482208  42616  23292 S   0.3   0.3   0:03.37 containerd                                                                                                                                  
   1927 shadows+  20   0  113612  12544   6928 S   0.3   0.1   0:09.45 v2ray-plugin_li                                                                                                                             
   2493 sorush    20   0  314196   7860   5988 S   0.3   0.0   0:03.35 ibus-daemon                                                                                                                                 
   2548 sorush    20   0  162892   8040   7220 S   0.3   0.0   0:01.21 at-spi2-registr                                                                                                                             
   2686 sorush    20   0  596412  57944  46644 S   0.3   0.4   0:01.36 dolphin                                                                                                                                     
   2861 sorush    29   9 2412228 203124  87228 S   0.3   1.2   0:10.32 kited                                                                                                                                       
   3491 sorush    20   0 1289760 232228  50900 S   0.3   1.4   0:08.84 gnome-software                                                                                                                              
   3510 sorush    20   0 1065492 307252 157116 S   0.3   1.9   2:56.67 chrome                                                                                                                                      
   4142 sorush    20   0  357756  91512  65384 S   0.3   0.6   0:17.48 chrome                                                                                                                                      
   4381 sorush    20   0 4727508 112012  74944 S   0.3   0.7   0:34.74 chrome                                                                                                                                      
   4628 sorush    20   0   74740  29196  12024 S   0.3   0.2   0:52.95 aria2c                                                                                                                                      
   4706 sorush    20   0 8927932 168892  93088 S   0.3   1.0   0:13.16 chrome                                                                                                                                      
   8339 sorush    20   0 4729004 182176  89640 S   0.3   1.1   0:12.50 chrome                                                                                                                                      
   8512 sorush    20   0 4766336 217444 100980 S   0.3   1.3   0:34.92 chrome                                                                                                                                      
   9137 root      20   0       0      0      0 I   0.3   0.0   0:03.37 kworker/6:2-events                                                  
snap list
Name               Version                     Rev   Tracking         Publisher       Notes
core               16-2.44.3                   9066  latest/stable    canonical✓      core
core18             20200427                    1754  latest/stable    canonical✓      base
gnome-3-28-1804    3.28.0-16-g27c9498.27c9498  116   latest/stable    canonical✓      -
gnome-3-34-1804    0+git.3009fc7               33    latest/stable    canonical✓      -
gtk-common-themes  0.1-36-gc75f853             1506  latest/stable/…  canonical✓      -
keepassxc          2.5.4                       784   latest/stable    keepassxreboot  -
mailspring         1.7.8                       488   latest/stable    foundry376✓     -
p3x-onenote        2020.4.185                  72    latest/stable    patrikx3        -
spotify            1.1.26.501.gbe11e53b-15     41    latest/stable    spotify✓        -
vlc                3.0.10                      1620  latest/stable    videolan✓       -

You may have more than one problem.

gnome-shell

We’ll start with gnome-shell extensions. You have too many of them, some of them are crashing gnome-shell, some of them are causing high CPU% usage for gnome-shell, one of them may be causing the screen artifacts, some of them are installed twice, and some are installed in an improper place.

Start by going to https://extensions.gnome.org/local/ and DISABLING ALL EXTENSIONS. Then restart gnome-shell with:

ALT+F2, in the box type r, then ENTER

I suspect that the screen artifacts have disappeared, and things should be running faster. If that’s true, we’ll go to the next step.

Remove these extensions…

sudo rm -r /usr/share/gnome-shell/extensions/*gcampax.github.com

Reinstall these missing extensions…

sudo apt-get update
sudo apt-get install gnome-shell-extension-appindicator
sudo apt-get install gnome-shell-extension-desktop-icons

Restart gnome-shell again with:

ALT+F2, in the box type r, then ENTER

Once the system is stable, re-enable ONE EXTENSION AT A TIME, whilst keeping an eye out for screen artifacts, “Stack trace” errors in /var/log/syslog*, or high gnome-shell usage as viewed in the top command. gnome-shell CPU% usage should be less than 3%.

Do NOT reinstall extension “packs” from gcampax.github.com.

Discord

Discord has some security and privacy issues. Please see my accepted answer at Disk space suddenly used up for no apparent reason in 20.04 for details.

My biggest concern is that it “spies” on what other applications that you’re running along with Discord. That’s none of “their” business.

Update #1:

Deleted Ubuntu and migrated to arch (Manjaro).

Tagged : / / /

Ubuntu HowTo: l2tp problem on ubuntu 18.04 server

Original Source Link

i create l2tp connection on ubuntu 18.04 server
the problem is here ..
users can connect to vpn with same username(one account)!
and
all users shoud be use Different internet service even if thay are use Different vpn account, for example, they cant be connect to vpn when they connected to same wi-fi
tnx

Tagged : / / /

Ubuntu HowTo: Nvidia prime integrated GPU shown as llvmpipe (LLVM 6.0)

Original Source Link

My girlfriend just bought a Dell laptop with Ubuntu and updated to 18.04. But I saw that in Preferences > About shows the “graphics” as llvmpipe (LLVM 6.0, 256bits). “lspci -k” command shows that Nvidia MX150 is using “nouveau” driver and Intel UHD 620 “i915”. Ubuntu additional drivers shows that Nvidia-prime (opensource) is being used.

I uninstalled nouveau (it still was showing in the additional drivers but Nvidia-Prime disappeared, so I selected Nvidia 390 and when I reboot it was using Nvidia drivers and showing the correct card name (and the Nvidia driver in “lspci -k”, but when I select Intel in Nvidia-settings, after a long time and the app freezing, it tells me to reboot my computer and when I do it, changes back to llvmpipe and nouveau driver in lspci (I even uninstalled the f***ing driver).

The battery is dying with 2:30h (medium brightness and TLP configured) and it was supposed to last 4~5h, maybe it is related to screwed up drivers?
Thanks in advance, and sorry if I’m not being clear, English is not my native language

For me (only integrated graphics) helped setting i915.alpha_support=1. Try using instuction below:

  1. Run sudo nano /etc/default/grub (you may use whatever editor instead of nano)
  2. Add i915.alpha_support=1 nouveau.alpha_support=1 to the existing line GRUB_CMDLINE_LINUX_DEFAULT= after quiet splash.
  3. Run sudo update-grub
  4. Reboot

P.S. My backgound with this problem:

Initially I had a blackscreen after splash, so I had to add nomodeset (afterwards replaced to i915.modeset=0). Doing this I could boot the desktop, but it was rendered by LLVMpipe (software rendering using CPU capabilities).

Tagged : / / /

Ubuntu HowTo: How can I get my my system to recognise my aditional PCIE graphics card?

Original Source Link

I have just upgraded my system to 20.04 and my system does not recognise my ATI Radeon R7 240 PCIE graphics card.

This is the output:

$ lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation H61 Express Chipset LPC Controller (rev 05)
00:1f.2 IDE interface: Intel Corporation 6 Series/C200 Series Chipset Family Desktop SATA Controller (IDE mode, ports 0-3) (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
00:1f.5 IDE interface: Intel Corporation 6 Series/C200 Series Chipset Family Desktop SATA Controller (IDE mode, ports 4-5) (rev 05)
02:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 04)
03:04.0 Multimedia audio controller: C-Media Electronics Inc CMI8788 [Oxygen HD Audio]
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 09)

Tagged : / / /