This bug doesn't belong here.
I found out, that this is most probably a problem with the switching
mechanism between intel and nvidia drivers, which doesn't seem to do its
job fully under certain conditions. What was causing gnome-shell to do
what it was doing was actually some strange bug that was preventing the
fans from working properly sometime after the first CPU throttle, which
affected the graphics card performance and/or CPU performance and led to
overall problems.
I ended up reinstalling the system twice and playing with all sorts of
things, but I don't know how certain things exactly work, so I won't put
this somewhere else for now (although in the end it should probably be
filed under nvidia-drivers).
For those who may run into a similar situation:
The best bet is to install the nvidia-drivers right after the system
using the built-in driver installation tool (software-properties-gtk).
Don't touch anything else, don't change the drivers later! Don't use the
nvidia-xconfig tool, unless you know exactly what you are doing. If you
want to switch between intel and nvidia drivers, use nvidia-settings and
always restart the system (don't just logout/login). If you can't switch
back to nvidia drivers, use prime-switch nvidia and reboot.
** Changed in: gnome-shell (Ubuntu)
Status: Incomplete => Invalid
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/1807096
Title:
[nvidia] gnome-shell uses 100% cpu, triggered by games while using
nvidia-driver
Status in gnome-shell package in Ubuntu:
Invalid
Bug description:
There's not much I can provide in terms of hard data, but maybe
someone can help with getting to the bottom of this. After installing
Ubuntu 18.10, I'm unable to use graphics-intensive games.
My setup:
ASUS F556U, with Intel® Core™ i7-7500U CPU @ 2.70GHz × 4, Intel® HD Graphics
620 (Kaby Lake GT2) + NVIDIA GeForce 940MX.
While the Nvidia card is being used (Performance mode set in nvidia-
settings) and I run a 3d game with Steam (happens e.g. with Black
Mesa, Euro Truck Simulator 2...), everything works as expected, but
after a relatively short amount of time gnome-shell starts eating up
more and more CPU for some reason, effectively taking over the actual
game. The game starts to stutter first, then slowly grinds to a
completely unresponsive state. If I manage to quit the game, gnome-
shell still does its thing. I'm sometimes even unable to enter the
overview mode in Gnome. The only solution is to reboot.
This does happen with nvidia-driver-390 from the standard repo, but
also with nvidia-driver-410 from the graphics PPA. This was not the
issue with Ubuntu 18.04. It also does not happen with nouveau, or with
the Intel drivers (power saving mode in nvidia-settings). There's also
nothing of note in the syslog.
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: gnome-shell 3.30.1-2ubuntu1
ProcVersionSignature: Ubuntu 4.18.0-12.13-generic 4.18.17
Uname: Linux 4.18.0-12-generic x86_64
ApportVersion: 2.20.10-0ubuntu13.1
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Dec 6 07:26:04 2018
DisplayManager: gdm3
InstallationDate: Installed on 2018-12-05 (0 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64
(20181017.3)
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=sk_SK.UTF-8
SHELL=/bin/bash
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1807096/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp