Ubuntu 20.04 – Run monitors only IGFX and OC Nvidia GPU without offloading

I would like to run my two monitors in the Intel HD card and run the mining software in the GPU, with OC.

However Ubuntu 20.04 offload the video to the Nvidia card by default, when running the mining software my display freezes from time to time due to the load.

I can successfully avoid this by following some instructions to run the kernel with nogpumanager and adding just the intel driver in xorg.conf

That works great EXCEPT that I can’t OC the card any more, as PowerMizer becomes unusable.

Any tips on how to configure this setup? thank you

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation Device 2486 (rev a1)
01:00.1 Audio device: NVIDIA Corporation Device 228b (rev a1)

20.04 – System hangs (sometimes mouse works)

I run 20.04.2 LTS.

I experience some hangs lately. Sometimes I can move the mouse and sometimes I can’t.

I tried to REISUB last time, but it didn’t work.

apport.log from 31st january is empty, apport.log1 from 30th january contains the following:

ERROR: apport (pid 53032) Sat Jan 30 14:30:22 2021: called for pid
53010, signal 11, core limit 0, dump mode 1 ERROR: apport (pid 53032)
Sat Jan 30 14:30:22 2021: executable: /usr/bin/eog (command line “eog
ERROR: apport (pid 53032) Sat Jan 30 14:30:22 2021: debug: session
gdbus call: (true,)

ERROR: apport (pid 53032) Sat Jan 30 14:30:38 2021: wrote report

/var/crash is empty

Where can I dig further?

20.04 – downloading all the AVI files in all the pages of a box.com publicly-available dataset

how should I change this command to download all AVI files in all the 18 pages of this box.com Website?

$ wget -r --no-parent --reject "index.html*" https://kuleuven.app.box.com/s/dyo66et36l2lqvl19i9i7p66761sy0s6
--2021-02-24 18:52:31--  https://kuleuven.app.box.com/s/dyo66et36l2lqvl19i9i7p66761sy0s6
Resolving kuleuven.app.box.com (kuleuven.app.box.com)...
Connecting to kuleuven.app.box.com (kuleuven.app.box.com)||:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified (text/html)
Saving to: ‘kuleuven.app.box.com/s/dyo66et36l2lqvl19i9i7p66761sy0s6’

kuleuven.app.box.com/s/dyo66e     (  <=>                                             )  43.46K  24.4KB/s    in 1.8s    

2021-02-24 18:52:33 (24.4 KB/s) - ‘kuleuven.app.box.com/s/dyo66et36l2lqvl19i9i7p66761sy0s6’ saved (44502)

no-follow attribute found in kuleuven.app.box.com/s/dyo66et36l2lqvl19i9i7p66761sy0s6. Will not follow any links on this page
FINISHED --2021-02-24 18:52:33--
Total wall clock time: 2.3s
Downloaded: 1 files, 43K in 1.8s (24.4 KB/s)

Tried the following too and it didn’t work as expected as well:

$ wget  -r -l1 -A*.avi  https://kuleuven.app.box.com/s/dyo66et36l2lqvl19i9i7p66761sy0s6
--2021-02-24 18:49:17--  https://kuleuven.app.box.com/s/dyo66et36l2lqvl19i9i7p66761sy0s6
Resolving kuleuven.app.box.com (kuleuven.app.box.com)...
Connecting to kuleuven.app.box.com (kuleuven.app.box.com)||:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified (text/html)
Saving to: ‘kuleuven.app.box.com/s/dyo66et36l2lqvl19i9i7p66761sy0s6.tmp’

kuleuven.app.box.com/s/dyo66e     (  <=>                                             )  43.45K  33.3KB/s    in 1.3s    

2021-02-24 18:49:19 (33.3 KB/s) - ‘kuleuven.app.box.com/s/dyo66et36l2lqvl19i9i7p66761sy0s6.tmp’ saved (44497)

no-follow attribute found in kuleuven.app.box.com/s/dyo66et36l2lqvl19i9i7p66761sy0s6.tmp. Will not follow any links on this page
Removing kuleuven.app.box.com/s/dyo66et36l2lqvl19i9i7p66761sy0s6.tmp since it should be rejected.

FINISHED --2021-02-24 18:49:19--
Total wall clock time: 1.7s
Downloaded: 1 files, 43K in 1.3s (33.3 KB/s)

apt – Cannot remove or purge mysql-server after upgrading to 20.04

I tried running mysql after upgrading to 20.04, but it couldnt, so I tried removing it, but everytime i try to use the package, wherever is removing or purging, i always stumble into this:

lsudo apt purge  mysql-server
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
Il pacchetto "mysql-server" non è installato e quindi non è stato rimosso
0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
1 non completamente installati o rimossi.
Dopo quest'operazione, verranno occupati 0 B di spazio su disco.
Configurazione di mysql-server-8.0 (8.0.23-0ubuntu0.20.04.1)...
Renaming removed key_buffer and myisam-recover options (if present)
ERROR: Unable to start MySQL server:
2021-02-24T17:09:52.048092Z 0 (ERROR) (MY-000077) (Server) /usr/sbin/mysqld: Err
_SUBSTITUTION' to 'sql_mode'.
2021-02-24T17:09:52.049668Z 0 (ERROR) (MY-010119) (Server) Aborting
Please take a look at https://wiki.debian.org/Teams/MySQL/FAQ for tips on fixing
 common upgrade issues.
Once the problem is resolved, run apt-get --fix-broken install to retry.
dpkg: errore nell'elaborare il pacchetto mysql-server-8.0 (--configure):
 il sottoprocesso installato pacchetto mysql-server-8.0 script post-installation
 ha restituito lo stato di errore 1
Si sono verificati degli errori nell'elaborazione:
E: Sub-process /usr/bin/dpkg returned an error code (1)

I also tried including those values to sql-mode in the my.cnf file, but it won’t work.

Please, help!

python – Python3 Not working after upgrading to ubuntu 20.04

i’ve just upgraded my OS from ubuntu 18.04 to 20.04 desktop and now python3 is not working. Actually it just seems that there’s no “shortcut” called “python3”, once python 3.8 was indeed installed during the upgrade.

I’ve started suspecting it after failing to open a terminal window with Ctrl+Alt+t, as I know that changes in python defaults afect it.

Does anyone know how to configure the system in the right way? So that things work propperly.


sudo update-alternatives --config python returns

  0            /usr/bin/python2.7   1         auto mode
* 1            /usr/bin/python2.7   1         manual mode

but sudo update-alternatives --config python3 returns

update-alternatives: error: no alternatives for python3

boot – Ubuntu 20.04 not booting correctly

I have a Dell Inspiron 15 5000 with NVIDIA GeForce MX230.
I upgraded my Ubuntu from 18.04 to 20.04 by means of the graphical updater built-in in the system. During the installation of the packages, the system froze and after many hours of indecision I forced a reboot.
I think the system freeze was somehow related to NVIDIA GPU.
Since then I have faced (and solved) many problems related to this broken system upgrade, however I still have a worrying problem related to the system boot.

Basically, this problem can be faced in two different ways:

  • Sometimes the initial Dell splash screen freezes without showing the grub2 choices menu.
  • Otherwise, when I choose the Ubuntu system, I get the error:
error: Command failed. 
error: Command failed. 
error: you need to load the kernel first.

Press any key to continue...

A trick I use to boot the system is just by restarting it many times until it boots correctly.

To address these booting problems I tried the following:

$ dpkg --list | egrep -i --color 'linux-image|linux-headers|linux-modules' | awk '{ print $2 }'

I thought that something is wrong with partitions at boot, but I was not able to discover more.
The most important partitions of my system are:

$ df -h
Filesystem       Size  Used Avail Use% Mounted on
udev             7,7G     0  7,7G   0% /dev
/dev/nvme0n1p8    37G   26G  9,4G  73% /
/dev/nvme0n1p1   746M   91M  656M  13% /boot/efi
/dev/nvme0n1p10  148G  131G  9,0G  94% /home

Why do you think I am getting this boot errors? Should I reinstall my system? In this case, how can I do it safely?

ethernet – I-TEC Docking Station connection services ports problems 20.04

I use a CLEVO laptop with ubuntu 20.04, gnomeshell 3.36.8 and I use firewalld, not UFW
It’s connected via USB 3 (it is also possible to connect it with a USB C but the problems remain) to an I-TEC docking station (code: CADUAL4KDOCK) which connects to the network via ethernet
When I use the docking connection, some services / ports are not working (such as the detection / casting to the google home assistants and the bridged connections of virtual machines which, however, with the NAT option selected, work, both on virtualbox and vmware).
While when I use the wifi I don’t have these problems.
Ubuntu recognizes the connection as “Ethernet USB” or “Ethernet DisplayLink” (when I disconnect and reconnect it changes name).
The only drivers installed for docking were, in fact, the displaylinks (latest version)

I have no idea how to fix it other than turning on the wifi, which I didn’t want to do (I wouldn’t have taken a docking)

Would anyone know how to help me?
Thank you

Extend volume of Ubuntu 20.04

I use Ubuntu 20.04 for nextcloud server, the server physical hd is around 2TB but the volume group size just is 200GB, how can we extend to increase volume group size? Thanks.

enter image description here

enter image description here

enter image description here

Change tab switch hotkey on ubuntu 20.04

Ubuntu 20.04 with KDE.

When using my laptops built in keyboard I can change tabs in all environments (terminal, browser, etc) with the hot key ctrl + fn + direction key where fn is a key between ctrl and win on the bottom left of my laptop keyboard, but on my wireless keyboard attached to the same laptop, which has the same physical key layout this hotkey does not work. Furthermore, I cannot figure out any good way to understand what the difference is between what input the system is getting in the two different cases.

Finally, when I go into the system hotkeys config, I don’t see any existing hotkeys regarding tab switching at all.

Any ideas on how I could set this hotkey at the system level or at least figure out what key input the system is recieving that makes it work from my laptop’s keyboard?

Night mode has disappeared from Ubuntu 20.04

Strangely, today the night mode seems to have suddenly gone. It is still there in the settings, and I haven’t changed those, but the functionality has gone. There used to be a little icon on the right in that small top bar, this too isn’t there any more. This is so no matter whether location services are turned on or off.

Does anyone else have similar experience? And, more importantly, is there a solution?

This thread is already older, so doesn’t address the problem.