For months I have used my Nvidia gaming rig and had absolutely no problem using prime to launch games and play them for hours.
Today an update appeared (attached) where one of the programs is nvidia-prime. After I upgraded, I rebooted and a series of problems started that I had never had before. First, I realized that I couldn't start programs with nvidia-optimus-offload-glx. And indeed the gpu did not start.
I went into "Nvidia configuration" in the "Nvidia optimus" applet, and I didn't get info, temperature and GPU speed options. I tried restarting the computer and it wouldn't shut down. I was getting an error stating that it was waiting for the nvidia GPU to stop. I had to forcibly shut down the equipment.
I reinstalled the nvidia driver and everything seemed to work again. But when closing a game, I realized from Nvidia configuration, that even though there was no program using nvidia, the gpu appeared at 100%. When shutting down the computer, it got stuck again.
When starting, again in Nvidia Configuration Nvidia options disappeared.
Clearly the problem was triggered by the update. A bug?
Code: Select all
System:
Kernel: 5.8.0-40-generic x86_64 bits: 64 compiler: N/A
Desktop: Xfce 4.14.2 tk: Gtk 3.24.13 info: xfce4-panel, plank wm: xfwm4
dm: LightDM 1.30.0 Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal
Machine:
Type: Laptop System: LENOVO product: 81Y4 v: IdeaPad Gaming 3 15IMH05
serial: <filter> Chassis: type: 10 v: IdeaPad Gaming 3 15IMH05
serial: <filter>
Mobo: LENOVO model: LNVNB161216 v: SDK0R33126 WIN serial: <filter>
UEFI: LENOVO v: EGCN27WW date: 07/21/2020
Battery:
ID-1: BAT0 charge: 44.3 Wh condition: 44.8/45.5 Wh (98%) volts: 13.0/11.4
model: Sunwoda L19D3PF4 type: Li-poly serial: <filter> status: Charging
cycles: 52
CPU:
Topology: 6-Core model: Intel Core i7-10750H bits: 64 type: MT MCP
arch: N/A L2 cache: 12.0 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
bogomips: 62399
Speed: 800 MHz min/max: 800/5000 MHz Core speeds (MHz): 1: 800 2: 800
3: 800 4: 800 5: 800 6: 800 7: 801 8: 800 9: 800 10: 800 11: 800 12: 800
Graphics:
Device-1: Intel UHD Graphics vendor: Lenovo driver: i915 v: kernel
bus ID: 00:02.0 chip ID: 8086:9bc4
Device-2: NVIDIA driver: nvidia v: 450.102.04 bus ID: 01:00.0
chip ID: 10de:1f99
Display: x11 server: X.Org 1.20.9 driver: modesetting,nvidia
unloaded: fbdev,nouveau,vesa tty: N/A
OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 20.2.6
direct render: Yes
Audio:
Device-1: Intel Comet Lake PCH cAVS vendor: Lenovo driver: snd_hda_intel
v: kernel bus ID: 00:1f.3 chip ID: 8086:06c8
Device-2: NVIDIA driver: snd_hda_intel v: kernel bus ID: 01:00.1
chip ID: 10de:10fa
Sound Server: ALSA v: k5.8.0-40-generic
Network:
Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel port: 6000
bus ID: 00:14.3 chip ID: 8086:06f0
IF: wlp0s20f3 state: down mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Lenovo driver: r8169 v: kernel port: 3000 bus ID: 0c:00.0
chip ID: 10ec:8168
IF: enp12s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
Local Storage: total: 1.03 TiB used: 804.07 GiB (76.5%)
ID-1: /dev/nvme0n1 vendor: Toshiba model: KBG40ZMT128G MEMORY
size: 119.24 GiB speed: 15.8 Gb/s lanes: 2 serial: <filter> rev: 0105AELA
scheme: GPT
ID-2: /dev/sda vendor: Seagate model: ST1000LM035-1RK172 size: 931.51 GiB
speed: 6.0 Gb/s rotation: 5400 rpm serial: <filter> rev: LFM3 scheme: GPT
Partition:
ID-1: / size: 68.71 GiB used: 21.05 GiB (30.6%) fs: ext4
dev: /dev/nvme0n1p6
ID-2: /home size: 915.88 GiB used: 782.98 GiB (85.5%) fs: ext4
dev: /dev/sda2
ID-3: swap-1 size: 5.86 GiB used: 0 KiB (0.0%) fs: swap
dev: /dev/nvme0n1p5
Sensors:
System Temperatures: cpu: 53.0 C mobo: N/A
Fan Speeds (RPM): N/A
Repos:
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/additional-repositories.list
1: deb https://repo.vivaldi.com/archive/deb/ stable main
Active apt repos in: /etc/apt/sources.list.d/lutris-team-lutris-focal.list
1: deb http://ppa.launchpad.net/lutris-team/lutris/ubuntu focal main
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http://packages.linuxmint.com ulyssa main upstream import backport
2: deb https://mirror.ufro.cl/ubuntu focal main restricted universe multiverse
3: deb https://mirror.ufro.cl/ubuntu focal-updates main restricted universe multiverse
4: deb https://mirror.ufro.cl/ubuntu focal-backports main restricted universe multiverse
5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
6: deb http://archive.canonical.com/ubuntu/ focal partner
Info:
Processes: 328 Uptime: 3m Memory: 7.64 GiB used: 1.66 GiB (21.7%)
Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Shell: bash
v: 5.0.17 running in: xfce4-terminal inxi: 3.0.38
Edit:
When gpu startup fails, dmesg shows me the following:
Code: Select all
[ 40.216201] nvidia 0000:01:00.0: can't change power state from D3cold to D0 (config space inaccessible)
[ 40.216285] NVRM: Xid (PCI:0000:01:00): 79, pid=1996, GPU has fallen off the bus.
[ 40.219383] snd_hda_intel 0000:01:00.1: can't change power state from D3cold to D0 (config space inaccessible)
[ 40.604058] snd_hda_codec_hdmi hdaudioC1D0: Unable to sync register 0x4f0800. -5
Code: Select all
$ nvidia-optimus-offload-glx glxgears -info
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 36
Current serial number in output stream: 37