Computer freezes after latest kernel 5.8

New to Debian (Or Linux in general)? Ask your questions here!

Re: Computer freezes after latest kernel 5.8

Postby sickpig » 2020-10-16 18:39

They have their forum name like you have yours Kroneos and its not gent.
User avatar
sickpig
 
Posts: 589
Joined: 2019-01-23 10:34

Re: Computer freezes after latest kernel 5.8

Postby Kroneos » 2020-10-16 21:07

sickpig wrote:They have their forum name like you have yours Kroneos and its not gent.

cool story ... you have a good day there pal
Kroneos
 
Posts: 11
Joined: 2020-10-15 05:26

Re: Computer freezes after latest kernel 5.8

Postby stevepusser » 2020-10-17 00:46

The procedure is to update your DKMS drivers, which includes Nvidia, before you update the kernel to a new major version. Otherwise, the old ones will fail to build automatically when you install the new kernel, leading to madness and despair.

This is not a secret--I also backport the same newer kernels for the MX Linux repos, and I have been making the same point in the kernel update posts for years now. That how I knew what your "freeze" was from the beginning.

Your buddy is very probably not running Debian Buster, but some other distro with a 5.8 kernel and compatible Nvidia drivers by default. Be wary of any other advice they give if that's the case.
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12131
Joined: 2009-10-06 05:53

Re: Computer freezes after latest kernel 5.8

Postby Bloom » 2020-10-17 10:03

If he's running 5.8, he's not running Stable but either Testing or Sid.
User avatar
Bloom
 
Posts: 302
Joined: 2017-11-11 12:23

Re: Computer freezes after latest kernel 5.8

Postby Kroneos » 2020-10-17 12:28

stevepusser wrote:The procedure is to update your DKMS drivers, which includes Nvidia, before you update the kernel to a new major version. Otherwise, the old ones will fail to build automatically when you install the new kernel, leading to madness and despair.

This is not a secret--I also backport the same newer kernels for the MX Linux repos, and I have been making the same point in the kernel update posts for years now. That how I knew what your "freeze" was from the beginning.

Your buddy is very probably not running Debian Buster, but some other distro with a 5.8 kernel and compatible Nvidia drivers by default. Be wary of any other advice they give if that's the case.


Got it, thank you very much. That was it!
Kroneos
 
Posts: 11
Joined: 2020-10-15 05:26

Re: Computer freezes after latest kernel 5.8

Postby stevepusser » 2020-10-17 17:51

Bloom wrote:If he's running 5.8, he's not running Stable but either Testing or Sid.


There's no indication that the buddy is running Debian at all. They could be running Arch, Ubuntu, or anything else, for all we know. They may know enough to know that the OP's hardware could be new enough to require a newer kernel and Nvidia driver, such as a newer Ryzen CPU with a Nvidia 2060, but not enough about Debian to avoid the pitfalls of installing those on a Buster base.
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12131
Joined: 2009-10-06 05:53

Re: Computer freezes after latest kernel 5.8

Postby Bloom » 2020-10-17 18:00

And then asking for help on a Debian forum? Some people are weird.
User avatar
Bloom
 
Posts: 302
Joined: 2017-11-11 12:23

Re: Computer freezes after latest kernel 5.8

Postby Kroneos » 2020-10-17 18:55

stevepusser wrote:
Bloom wrote:If he's running 5.8, he's not running Stable but either Testing or Sid.


There's no indication that the buddy is running Debian at all. They could be running Arch, Ubuntu, or anything else, for all we know. They may know enough to know that the OP's hardware could be new enough to require a newer kernel and Nvidia driver, such as a newer Ryzen CPU with a Nvidia 2060, but not enough about Debian to avoid the pitfalls of installing those on a Buster base.


Heya, sorry I should have indicated. My friend/buddy/colleague/gent (sorry, sicpig made it weird) is indeed running Debian Buster with kernel 5.8 and Nvidia driver 450. I have just confirmed.
Like you kindly outlined, it was my fault for upgrading kernel prior to updating the drivers which most likely my buddy forgot to mention. I did go by Debian wikis and cannot recall seeing this order importance (which I could have missed).
Either way, I learn through this journey and not being knowledgeable lands me into these situations.
I am truly grateful to people that are willing to land a hand despite the triviality of the problem.
Kroneos
 
Posts: 11
Joined: 2020-10-15 05:26

Re: Computer freezes after latest kernel 5.8

Postby Islander » 2020-10-20 11:10

I've just setup Debian for gaming, and games run very well. I use whole drive encryption (LUKS) and it doesn't affect performance noticeably.

Basically, the new Vulkan drivers, that replace OpenGL and DirectX, have done wonders for Linux graphics performance. Not just for native games, but also for games running in Wine.

You still need to do a lot of configuring, though. Basically, after installing proprietary nVidia drivers, you need to install 32- and 64-bit Vulkan support, and 32-bit and 64-bit wine. Then you need to install gamemode and configure Steam and Lutris to use them. All of them from buster-backports.

Then individual games may need to be configured, and you never know if a game will stop working because an update changed something in the installer/updater.
Islander
 
Posts: 16
Joined: 2020-10-20 08:29

Re: Computer freezes after latest kernel 5.8

Postby stevepusser » 2020-10-20 17:53

This situation becomes even more relevant, what with the Debian 5.8 kernels not yet being patched for that Bluetooth exploit, and only the 4.19.152 kernel in Buster and 5.9.1 in Sid being fixed. Unfortunately, we're still waiting for the driver updates for the 5.9 kernels, since the builds fail on that with even the latest Debian drivers.

I'm sure the upstream kernel and driver maintainers are tearing their hair out right now, though.
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12131
Joined: 2009-10-06 05:53

Re: Computer freezes after latest kernel 5.8

Postby Kroneos » 2020-10-20 18:03

Islander wrote:I've just setup Debian for gaming, and games run very well. I use whole drive encryption (LUKS) and it doesn't affect performance noticeably.

Basically, the new Vulkan drivers, that replace OpenGL and DirectX, have done wonders for Linux graphics performance. Not just for native games, but also for games running in Wine.

You still need to do a lot of configuring, though. Basically, after installing proprietary nVidia drivers, you need to install 32- and 64-bit Vulkan support, and 32-bit and 64-bit wine. Then you need to install gamemode and configure Steam and Lutris to use them. All of them from buster-backports.

Then individual games may need to be configured, and you never know if a game will stop working because an update changed something in the installer/updater.


Great value here, thank you.
I will try gamemode to see if it further boosts gaming performance.
Kroneos
 
Posts: 11
Joined: 2020-10-15 05:26

Re: Computer freezes after latest kernel 5.8

Postby Kroneos » 2020-10-20 18:20

stevepusser wrote:This situation becomes even more relevant, what with the Debian 5.8 kernels not yet being patched for that Bluetooth exploit, and only the 4.19.152 kernel in Buster and 5.9.1 in Sid being fixed. Unfortunately, we're still waiting for the driver updates for the 5.9 kernels, since the builds fail on that with even the latest Debian drivers.

I'm sure the upstream kernel and driver maintainers are tearing their hair out right now, though.

Thanks or this quite important bit. Reading up on this!
Kroneos
 
Posts: 11
Joined: 2020-10-15 05:26

Re: Computer freezes after latest kernel 5.8

Postby Islander » 2020-10-21 22:34

Kroneos wrote:Great value here, thank you.
I will try gamemode to see if it further boosts gaming performance.


I did a practical test, and gamemode improved my fps from 65-ish to 85-ish. It was really surprising how effective it was.
Islander
 
Posts: 16
Joined: 2020-10-20 08:29

Re: Computer freezes after latest kernel 5.8

Postby Kroneos » 2020-10-22 02:56

Islander wrote:
Kroneos wrote:Great value here, thank you.
I will try gamemode to see if it further boosts gaming performance.


I did a practical test, and gamemode improved my fps from 65-ish to 85-ish. It was really surprising how effective it was.

Sadly, I see no difference with or without.
I set
Code: Select all
gamemoderun %command%
and have verified it is active during gameplay.
Probably missing something here.
Kroneos
 
Posts: 11
Joined: 2020-10-15 05:26

Re: Computer freezes after latest kernel 5.8

Postby Islander » 2020-10-27 11:13

Kroneos wrote:Sadly, I see no difference with or without.
I set
Code: Select all
gamemoderun %command%
and have verified it is active during gameplay.
Probably missing something here.

I saw the improvement in Elder Scrolls Online. I did the test by logging in a low populated zone (a delve) and noting the fps when just standing around.

From your code paste, it looks like you're running a Windows game through Steam, which is what I did with Elder Scrolls Online. So I'm not sure why you don't notice any difference.

EDIT: I'm using a very old motherboard and CPU, but a new graphics card, so CPU performance is probably the bottleneck in my system. So reprioritising CPU tasks, like gamemode does, probably makes a much larger difference on my system.
Islander
 
Posts: 16
Joined: 2020-10-20 08:29

Previous

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable