You are not logged in.

#1 2021-12-16 15:44:06

Valso
Member
Registered: 2021-04-22
Posts: 76

[SOLVED] 5.15.8, something's off [not kernel problem]

Earlier today there was a kernel update to 5.15.8 and after updating, I put it to sleep and went out. When I came back and pressed a key button in order to wake up the computer - no desktop, just black screen. I tried Ctrl+Alt+T to launch a terminal (to type "reboot") but that didn't work either. I had to "kill" the PSU from its button and then do a normal boot in order to get to the desktop.
5.15.7 didn't have this problem. The video driver in both cases is the same (495.46), that's why I think the problem is with the current version of the kernel.

Last edited by Valso (2021-12-22 12:58:56)

Offline

#2 2021-12-16 15:53:39

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,424

Re: [SOLVED] 5.15.8, something's off [not kernel problem]

Can you reproduce this? Such issues can be normal if you updated but didn't actually reboot into that kernel yet and then ran a suspend/hibernation.

Online

#3 2021-12-16 16:12:09

Valso
Member
Registered: 2021-04-22
Posts: 76

Re: [SOLVED] 5.15.8, something's off [not kernel problem]

I did reboot. I have a special alias which executes a reboot immediately after kernel or nvidia update to ensure proper work.
I'll try reproducing it now.

Edit: yep, happened exactly the same thing I described above - black screen from waking up!

Last edited by Valso (2021-12-16 16:14:57)

Offline

#4 2021-12-16 16:39:06

seth
Member
Registered: 2012-09-03
Posts: 49,977

Re: [SOLVED] 5.15.8, something's off [not kernel problem]

The video driver in both cases is the same (495.46), that's why I think the problem is with the current version of the kernel.

There's lots of reports of that version killing Xorg - since 495.46 on 5.15.7 was a rather short-lived combination, are you absolutely sure that you were not using 495.45 before?

Online

#5 2021-12-16 18:50:32

Valso
Member
Registered: 2021-04-22
Posts: 76

Re: [SOLVED] 5.15.8, something's off [not kernel problem]

Yes, I am, seth. I had 495.44 and then it "jumped" to .46 a few days ago, never saw a .45 version.
I have conky on the desktop, so I always know what versions are kernel and video driver. https://i.imgur.com/fFq3G7d.png

Offline

#6 2021-12-16 20:40:25

seth
Member
Registered: 2012-09-03
Posts: 49,977

Re: [SOLVED] 5.15.8, something's off [not kernel problem]

My bad, it was 495.44-15w/ 5.15.7.arch1-1 until Dec 13, 2021 (this monday)  when it got bumped to nvidia 495.46-1 and then on the 15th (yesterday) to 495.46-2 w/ the new kernel release.
You could try to downgrade to 5.15.7.arch1-1 and 495.46-1 to check the impact of the troublesome driver on the previous kernel.

Otherwise there's oc https://download.nvidia.com/XFree86/Lin … ement.html and recently https://forums.developer.nvidia.com/t/b … /192892/22

Online

#7 2021-12-16 21:36:55

Valso
Member
Registered: 2021-04-22
Posts: 76

Re: [SOLVED] 5.15.8, something's off [not kernel problem]

I did as you suggested and 5.15.7 also had black screen after waking up.

Then I decided to downgrade the driver as well to the previous version (.44) but I had black screen again. Which IMO means that this driver .46 probably adds files and leaves traces, otherwise I can't explain why both things downgraded to the proper versions still get a black screen after waking up. For comparison, I have a backup image with 5.15.7 and 495.44 where everything works fine, so I restored from it and now waking up works as intended. Apparently I'll have to freeze nvidia from updating until this gets resolved.

Offline

#8 2021-12-16 21:45:06

seth
Member
Registered: 2012-09-03
Posts: 49,977

Re: [SOLVED] 5.15.8, something's off [not kernel problem]

You'll also have to pin the kernel or use the nvidia-dkms packages.
Did you update more packages before the problem emerged (still access to the pacman log?) - Your recent findings do not support either kernel or nvidia driver update as cause.

One thing I could imagine is that you've the nvidia drivers in the initramfs but didn't regenerate that w/ the driver downgrade?

Online

#9 2021-12-16 22:18:53

arch3490583
Member
Registered: 2021-12-16
Posts: 4

Re: [SOLVED] 5.15.8, something's off [not kernel problem]

Same problem for me, what can I do?

Offline

#10 2021-12-16 22:39:29

Valso
Member
Registered: 2021-04-22
Posts: 76

Re: [SOLVED] 5.15.8, something's off [not kernel problem]

seth wrote:

You'll also have to pin the kernel or use the nvidia-dkms packages.
Did you update more packages before the problem emerged (still access to the pacman log?) - Your recent findings do not support either kernel or nvidia driver update as cause.

One thing I could imagine is that you've the nvidia drivers in the initramfs but didn't regenerate that w/ the driver downgrade?

Yeah, disregard the recent findings. I had forgotten to run mkinitcpio after the driver downgrade. So I tried everything again and this time it worked as it should after the downgrade.

But the .46 problem remains. So I have frozen these packages: linux, linux-headers, nvidia, nvidia-utils - just to be sure that no update would slip through, until it's resolved.

Offline

#11 2021-12-16 23:42:48

arch3490583
Member
Registered: 2021-12-16
Posts: 4

Re: [SOLVED] 5.15.8, something's off [not kernel problem]

Valso wrote:
seth wrote:

You'll also have to pin the kernel or use the nvidia-dkms packages.
Did you update more packages before the problem emerged (still access to the pacman log?) - Your recent findings do not support either kernel or nvidia driver update as cause.

One thing I could imagine is that you've the nvidia drivers in the initramfs but didn't regenerate that w/ the driver downgrade?

Yeah, disregard the recent findings. I had forgotten to run mkinitcpio after the driver downgrade. So I tried everything again and this time it worked as it should after the downgrade.

But the .46 problem remains. So I have frozen these packages: linux, linux-headers, nvidia, nvidia-utils - just to be sure that no update would slip through, until it's resolved.

Are you sure the problems is with those? I've just updated ONLY them and the system is waking up again from sleep.
I think the problem is with xorg

Offline

#12 2021-12-17 05:15:44

rsk002
Member
Registered: 2017-02-03
Posts: 17

Re: [SOLVED] 5.15.8, something's off [not kernel problem]

I'm having the same issue with the system failing to resume from suspend. I could find nothing in the logs as I had to do a hard power down every time. The nvidia driver I have installed is nvidia-470xx-dkms 470.94-2. I could not downgrade the driver as I just discovered that yay doesn't seem to leave anything in the pacman cache and that the 'cleanafter' option blitzes the yay cache (I had enabled this in the alias that I use to update). Net result, am totally stuck.

I added the modeset kernel parameter and also added nvidia, nvidia_modeset, nvidia_uvm and nvidia_drm to the initramfs. It wasn't there before and my system was working fine. Adding the above and regenerating grub and running mkinitcpio -P made no difference. I did accidentally discover that switching to a tty on running system causes the same black screen. I switched to a tty to check if the modesetting was working and then got the black screen when I switched back.

Still without functioning suspend.

Offline

#13 2021-12-17 05:43:04

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: [SOLVED] 5.15.8, something's off [not kernel problem]

rsk002 wrote:

I could not downgrade the driver as I just discovered that yay doesn't seem to leave anything in the pacman cache and that the 'cleanafter' option blitzes the yay cache (I had enabled this in the alias that I use to update).

See ALA to obtain old versions of repository packages.

Offline

#14 2021-12-17 07:08:24

Valso
Member
Registered: 2021-04-22
Posts: 76

Re: [SOLVED] 5.15.8, something's off [not kernel problem]

arch3490583 wrote:

I think the problem is with xorg

It's possible, but IDK anything about xorg, so I can't be sure. Last night I told my best friend about this problem and he suggested the same - that it could be xorg, since it was updated 2 days ago. But I've never had to downgrade xorg in the 6 years since I migrated to Linux, so I have no idea what package names to type in the terminal to downgrade it AND also seeing that my system has something named "xorg-xwayland" which is not listed as a depenendcy, I'm not sure what to do.

Edit: I figured it out on my own what packages of xorg to downgrade and looks like my best friend was right - it IS xorg that's causing the problem! I downgraded xorg-server xorg-server-common, ran mkinitcpio (just in case), rebooted and now waking up works as it should, so I've added both packages to the ignore list.

Last edited by Valso (2021-12-17 08:16:10)

Offline

#15 2021-12-17 11:27:23

arch3490583
Member
Registered: 2021-12-16
Posts: 4

Re: [SOLVED] 5.15.8, something's off [not kernel problem]

Valso wrote:
arch3490583 wrote:

I think the problem is with xorg

It's possible, but IDK anything about xorg, so I can't be sure. Last night I told my best friend about this problem and he suggested the same - that it could be xorg, since it was updated 2 days ago. But I've never had to downgrade xorg in the 6 years since I migrated to Linux, so I have no idea what package names to type in the terminal to downgrade it AND also seeing that my system has something named "xorg-xwayland" which is not listed as a depenendcy, I'm not sure what to do.

Edit: I figured it out on my own what packages of xorg to downgrade and looks like my best friend was right - it IS xorg that's causing the problem! I downgraded xorg-server xorg-server-common, ran mkinitcpio (just in case), rebooted and now waking up works as it should, so I've added both packages to the ignore list.

Yup, I've waster so many hours yesterday. Downgrade those two packages and now everything is working fine.

Offline

#16 2021-12-17 12:22:31

tester23
Member
Registered: 2021-12-17
Posts: 1

Re: [SOLVED] 5.15.8, something's off [not kernel problem]

Valso wrote:
arch3490583 wrote:

I think the problem is with xorg

It's possible, but IDK anything about xorg, so I can't be sure. Last night I told my best friend about this problem and he suggested the same - that it could be xorg, since it was updated 2 days ago. But I've never had to downgrade xorg in the 6 years since I migrated to Linux, so I have no idea what package names to type in the terminal to downgrade it AND also seeing that my system has something named "xorg-xwayland" which is not listed as a depenendcy, I'm not sure what to do.

Edit: I figured it out on my own what packages of xorg to downgrade and looks like my best friend was right - it IS xorg that's causing the problem! I downgraded xorg-server xorg-server-common, ran mkinitcpio (just in case), rebooted and now waking up works as it should, so I've added both packages to the ignore list.

Thank you!!!!

Offline

#17 2021-12-17 12:56:37

tekstryder
Member
Registered: 2013-02-14
Posts: 118

Re: [SOLVED] 5.15.8, something's off [not kernel problem]

Same issue here after xorg update. Can anyone point to an upstream bug or relevant mailing list discussion? I've found nothing but will be happy to follow up. Thanks.

Offline

#18 2021-12-17 13:10:16

nsfnd
Member
Registered: 2015-12-07
Posts: 2

Re: [SOLVED] 5.15.8, something's off [not kernel problem]

Valso wrote:
arch3490583 wrote:

I think the problem is with xorg

It's possible, but IDK anything about xorg, so I can't be sure. Last night I told my best friend about this problem and he suggested the same - that it could be xorg, since it was updated 2 days ago. But I've never had to downgrade xorg in the 6 years since I migrated to Linux, so I have no idea what package names to type in the terminal to downgrade it AND also seeing that my system has something named "xorg-xwayland" which is not listed as a depenendcy, I'm not sure what to do.

Edit: I figured it out on my own what packages of xorg to downgrade and looks like my best friend was right - it IS xorg that's causing the problem! I downgraded xorg-server xorg-server-common, ran mkinitcpio (just in case), rebooted and now waking up works as it should, so I've added both packages to the ignore list.


Thanks.

Offline

#19 2021-12-17 13:23:34

xx55tt
Member
Registered: 2016-02-18
Posts: 2

Re: [SOLVED] 5.15.8, something's off [not kernel problem]

Offline

#20 2021-12-17 15:53:43

rsk002
Member
Registered: 2017-02-03
Posts: 17

Re: [SOLVED] 5.15.8, something's off [not kernel problem]

loqs wrote:
rsk002 wrote:

I could not downgrade the driver as I just discovered that yay doesn't seem to leave anything in the pacman cache and that the 'cleanafter' option blitzes the yay cache (I had enabled this in the alias that I use to update).

See ALA to obtain old versions of repository packages.

Unfortunately, the driver is now only available in the AUR. Thanks.

Offline

#21 2021-12-17 15:54:40

rsk002
Member
Registered: 2017-02-03
Posts: 17

Re: [SOLVED] 5.15.8, something's off [not kernel problem]

T

Valso wrote:
arch3490583 wrote:

I think the problem is with xorg

It's possible, but IDK anything about xorg, so I can't be sure. Last night I told my best friend about this problem and he suggested the same - that it could be xorg, since it was updated 2 days ago. But I've never had to downgrade xorg in the 6 years since I migrated to Linux, so I have no idea what package names to type in the terminal to downgrade it AND also seeing that my system has something named "xorg-xwayland" which is not listed as a depenendcy, I'm not sure what to do.

Edit: I figured it out on my own what packages of xorg to downgrade and looks like my best friend was right - it IS xorg that's causing the problem! I downgraded xorg-server xorg-server-common, ran mkinitcpio (just in case), rebooted and now waking up works as it should, so I've added both packages to the ignore list.


Thanks. Downgrading those packages solved the problem for me as well.

Offline

#22 2021-12-22 00:29:40

Hoswoo
Member
From: United States
Registered: 2021-11-12
Posts: 21

Re: [SOLVED] 5.15.8, something's off [not kernel problem]

Hey guys, I was having the same issue with this and disabled the packages for the meantime as well to get it to work. The new xorg update made suspend work for me again, so perhaps it will work for you all now as well.

Offline

#23 2021-12-22 13:00:24

Valso
Member
Registered: 2021-04-22
Posts: 76

Re: [SOLVED] 5.15.8, something's off [not kernel problem]

Hoswoo wrote:

Hey guys, I was having the same issue with this and disabled the packages for the meantime as well to get it to work. The new xorg update made suspend work for me again, so perhaps it will work for you all now as well.

Suspending works. The problem is what happens after you RESUME from suspending. Do you still get black screen when resuming? If not, I'll update.

Offline

#24 2021-12-22 22:11:12

Hoswoo
Member
From: United States
Registered: 2021-11-12
Posts: 21

Re: [SOLVED] 5.15.8, something's off [not kernel problem]

Valso wrote:
Hoswoo wrote:

Hey guys, I was having the same issue with this and disabled the packages for the meantime as well to get it to work. The new xorg update made suspend work for me again, so perhaps it will work for you all now as well.

Suspending works. The problem is what happens after you RESUME from suspending. Do you still get black screen when resuming? If not, I'll update.

Hey, sorry I should have been more clear.

Yes, RESUMING after suspension works now (for me at least). That's what I meant in my original post, give it a shot!

Offline

Board footer

Powered by FluxBB