Sometimes don't have hardware acceleration after reboot

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
lapsau

Sometimes don't have hardware acceleration after reboot

Post by lapsau »

Seemingly randomly, when I restart my computer I sometimes no longer have hardware acceleration. I check the driver manager and this is what I see.
Screenshot from 2020-09-03 10-40-45.png
I messed around and the only way I could fix it is if I select another driver, apply changes, then reselect the nvidia-driver-450, then reapply, then restart. But this is very annoying. How can I get it to reliably boot with hardware acceleration?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Flemur
Level 20
Level 20
Posts: 10096
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Sometimes don't have hardware acceleration after reboot

Post by Flemur »

lapsau wrote: Thu Sep 03, 2020 10:45 amSeemingly randomly, when I restart my computer I sometimes no longer have hardware acceleration.
What makes you think that? Symptoms, error messages, etc...
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
User avatar
antikythera
Level 15
Level 15
Posts: 5721
Joined: Thu Jul 02, 2020 12:52 pm
Location: Cymru

Re: Sometimes don't have hardware acceleration after reboot

Post by antikythera »

For 100% reliable hardware acceleration after reboots, please lick your finger and stick it in your left ear while restarting your system :?

In the meantime, please post the output of

Code: Select all

inxi -Fxms
after a restart without messing with Driver Manager.
I’ll tell you a DNS joke but be advised, it could take up to 24 hours for everyone to get it.
ReallyMinty
Level 1
Level 1
Posts: 8
Joined: Fri Sep 04, 2020 12:04 pm

Re: Sometimes don't have hardware acceleration after reboot

Post by ReallyMinty »

I'm having the same issue. Since the OP hasn't replied, I'll fill in the details (this output when NVidia driver is working):

Code: Select all

System:
  Host: philipPC Kernel: 5.4.0-48-generic x86_64 bits: 64 compiler: gcc 
  v: 9.3.0 Desktop: Cinnamon 4.6.7 Distro: Linux Mint 20 Ulyana 
  base: Ubuntu 20.04 focal 
Machine:
  Type: Desktop System: ASUS product: All Series v: N/A 
  serial: <superuser/root required> 
  Mobo: ASUSTeK model: Z97-A v: Rev 1.xx serial: <superuser/root required> 
  BIOS: American Megatrends v: 2012 date: 09/30/2014 
Memory:
  RAM: total: 7.72 GiB used: 1.30 GiB (16.8%) 
  RAM Report: 
  permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Topology: Quad Core model: Intel Core i7-4790 bits: 64 type: MT MCP 
  arch: Haswell rev: 3 L2 cache: 8192 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 57566 
  Speed: 1799 MHz min/max: 800/4000 MHz Core speeds (MHz): 1: 1800 2: 1797 
  3: 1800 4: 1799 5: 1799 6: 1799 7: 1802 8: 1799 
Graphics:
  Device-1: NVIDIA GP104 [GeForce GTX 1070] vendor: ASUSTeK driver: nvidia 
  v: 390.138 bus ID: 01:00.0 
  Display: x11 server: X.Org 1.20.8 driver: nvidia 
  unloaded: fbdev,modesetting,nouveau,vesa resolution: 1920x1080~60Hz 
  OpenGL: renderer: GeForce GTX 1070/PCIe/SSE2 v: 4.6.0 NVIDIA 390.138 
  direct render: Yes 
Audio:
  Device-1: Intel 9 Series Family HD Audio vendor: ASUSTeK 
  driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  Device-2: NVIDIA GP104 High Definition Audio vendor: ASUSTeK 
  driver: snd_hda_intel v: kernel bus ID: 01:00.1 
  Device-3: HTC (High Tech ) type: USB driver: snd-usb-audio,uvcvideo 
  bus ID: 3-3.1.5:10 
  Device-4: HTC (High Tech ) type: USB driver: hid-generic,usbhid 
  Sound Server: ALSA v: k5.4.0-48-generic 
Network:
  Device-1: Intel Ethernet I218-V vendor: ASUSTeK driver: e1000e v: 3.2.6-k 
  port: f040 bus ID: 00:19.0 
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: 08:62:66:31:52:54 
Drives:
  Local Storage: total: 931.52 GiB used: 25.97 GiB (2.8%) 
  ID-1: /dev/sda vendor: Crucial model: CT500MX200SSD1 size: 465.76 GiB 
  ID-2: /dev/sdb vendor: Crucial model: CT500MX500SSD1 size: 465.76 GiB 
Partition:
  ID-1: / size: 105.61 GiB used: 25.97 GiB (24.6%) fs: ext4 dev: /dev/sdb2 
Sensors:
  System Temperatures: cpu: 50.0 C mobo: 27.8 C gpu: nvidia temp: 53 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 23% 
Info:
  Processes: 259 Uptime: 2m Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 
  Shell: bash v: 5.0.17 inxi: 3.0.38 

Timeline:

Installed a fresh copy of Mint 20.04. Then tried to switch to the NVidia driver (recommended version, 450) . Failed because of some unmet dependencies, so decided to use the update manager to update the system in the hope this would fix it. It did. Driver installed, rebooted. Met with resolution of 640*480. Received "Your system is currently running without video hardware acceleration" error.

Launched the driver manager as suggested, decided to try every driver from the bottom, working upwards. Eventually, one version worked (435) and provided high resolution, so switched to the recommended version 450, rebooted, continued to work.

After about a day of working, rebooting several times, eventually received error message again. Tried re-installing 435, didn't fix. Tried 450, didn't fix. Tried all the drivers in order, 390 eventually worked.

The general pattern is that eventually the driver stops working, then persistent driver switching eventually works, but it's not a consistent driver version that works, it's just the act of switching that might fix it next time you boot.

I suspect that the initial failure to install the driver because of missing dependencies might have subtly borked the installation.
User avatar
SMG
Level 25
Level 25
Posts: 31776
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Sometimes don't have hardware acceleration after reboot

Post by SMG »

ReallyMinty wrote: Tue Sep 29, 2020 5:29 pm I'm having the same issue. Since the OP hasn't replied, I'll fill in the details (this output when NVidia driver is working):
You are not "filling in details" because you do not know what hardware the original poster has. I've seen many people post with this problem and how to correct it depends on the installation history and hardware. That is why we ask if you are not the original poster to create your own thread. That way when we hopefully get it resolved, you can change the title to indicate the thread [SOLVED].

Changing the driver is not solving the problem. The problem is sometimes the driver is loading and sometimes it is not. When it is not you will not have hardware acceleration.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
thereal-alleycat
Level 1
Level 1
Posts: 4
Joined: Sat May 06, 2017 1:29 am

Re: Sometimes don't have hardware acceleration after reboot

Post by thereal-alleycat »

Sometimes seems to be the keyword, which is something i would expect from windows before 2021 - - -

I dont seem to have had this problem prior to the last linuxmint version (21) and only since a month or so , last time i had to this :

viewtopic.php?f=49&t=309753&p=2018584#p2018584

this time just rebooting fixed it ...

is this why Linus said if you dont have a $5000 ryzen cpu he cant be held responsible if it doesnt work properly anymore ... kinda defies the purpose, lol ... #offtopic , the method in the post linked worked for me, thats an offline install (but as said: now simply rebooting was enough, there was a power outage though last night i have noticed before systems acting differently on reboot after a complete electriticy blackout as opposed to "just rebooting" or resetting . That's way beyond my braingrade, maybe at electron level , maybe someone else has a pointer as to why that would happen but ... (i know : #offtopic lol)

gl
User avatar
SMG
Level 25
Level 25
Posts: 31776
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Sometimes don't have hardware acceleration after reboot

Post by SMG »

thereal-alleycat wrote: Fri Jun 18, 2021 6:02 am Sometimes seems to be the keyword, which is something i would expect from windows before 2021 - - -

I dont seem to have had this problem prior to the last linuxmint version (21) and only since a month or so , last time i had to this :
The current version of Linux Mint is 20, so you can not have version 21 installed.

If you have an issue of sometimes the driver installing and sometimes not, when it does not then restart the X Server with Ctl-Alt-Backspace. If that fixes the issue then a more permanent solution is in this post [SOLVED] NVIDIA driver failing sometimes on boot ("no hardware acceleration"). Let us know if the fix roblm recommends in the second post addresses the issue for you.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Locked

Return to “Graphics Cards & Monitors”