Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nvidia: Kernel panic on X shutdown
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
vlynd
Apprentice
Apprentice


Joined: 23 Jan 2012
Posts: 153

PostPosted: Fri Jun 04, 2021 3:07 pm    Post subject: Nvidia: Kernel panic on X shutdown Reply with quote

Whenever I shutdown my pc or just restart awesomewm / restart X the kernel panics and I have to restart the pc the hard way via the reset button.

I have this issue for multiple kernel / nvidia driver versions now and always hoped, the next version will solve this. But it didn't turned out that way.

Kernel version: 5.12.9-gentoo-x86_64

Nvidia-drivers: 465.31

syslog:

Code:

Jun  4 14:09:54 localhost kernel: RIP: 0010:_nv035643rm+0xb0/0xe0 [nvidia]
Jun  4 14:09:54 localhost kernel: Code: 89 c2 48 89 ef 48 8d b1 48 01 00 00 4c 89 e9 e8 46 5b ff ff 66 0f 1f 44 00 00 48 89 ef e8 a8 5b ff ff 84 c0 74 8a 48 8b 75 00 <48> 39 5e 0
8 75 ea 4c 39 26 75 e5 49 8b 44 24 20 48 8d b8 48 01 00
Jun  4 14:09:54 localhost kernel: RSP: 0018:ffffb7c902b1fbf0 EFLAGS: 00010202
Jun  4 14:09:54 localhost kernel: RAX: 0000000000000001 RBX: ffffa33016ba9030 RCX: ffffa32e007dd978
Jun  4 14:09:54 localhost kernel: RDX: 6b6b6b6b6b6b6b6b RSI: 6b6b6b6b00000000 RDI: ffffa32e0c1b5e78
Jun  4 14:09:54 localhost kernel: RBP: ffffa32e0c1b5e78 R08: 0000000000000020 R09: ffffa32e0c1b5e80
Jun  4 14:09:54 localhost kernel: R10: ffffa32d03494008 R11: ffffa32d00044a40 R12: ffffa32f5cb93980
Jun  4 14:09:54 localhost kernel: R13: 6b6b6b6b00000000 R14: ffffa32e0c1b5ef8 R15: ffffa33016ba9030
Jun  4 14:09:54 localhost kernel: FS:  0000000000000000(0000) GS:ffffa3343dd80000(0000) knlGS:0000000000000000
Jun  4 14:09:54 localhost kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun  4 14:09:54 localhost kernel: CR2: 0000790b280dcca8 CR3: 00000001988f4006 CR4: 00000000003706e0
Jun  4 14:09:54 localhost kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Jun  4 14:09:54 localhost kernel: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Jun  4 14:09:54 localhost kernel: Call Trace:
Jun  4 14:09:54 localhost kernel:  ? _nv013916rm+0x2f4/0x780 [nvidia]
Jun  4 14:09:54 localhost kernel:  ? _nv037589rm+0xb3/0x150 [nvidia]
Jun  4 14:09:54 localhost kernel:  ? _nv037588rm+0x297/0x4e0 [nvidia]
Jun  4 14:09:54 localhost kernel:  ? _nv037583rm+0x60/0x70 [nvidia]
Jun  4 14:09:54 localhost kernel:  ? _nv037584rm+0x7b/0xb0 [nvidia]
Jun  4 14:09:54 localhost kernel:  ? _nv035852rm+0x40/0xe0 [nvidia]
Jun  4 14:09:54 localhost kernel:  ? _nv000689rm+0x67/0xa0 [nvidia]
Jun  4 14:09:54 localhost kernel:  ? rm_cleanup_file_private+0xea/0x140 [nvidia]
Jun  4 14:09:54 localhost kernel:  ? nvidia_dev_put+0xa7b/0xc30 [nvidia]
Jun  4 14:09:54 localhost kernel:  ? nvidia_frontend_close+0x26/0x40 [nvidia]
Jun  4 14:09:54 localhost kernel:  ? __fput+0x87/0x230
Jun  4 14:09:54 localhost kernel:  ? task_work_run+0x57/0x90
Jun  4 14:09:54 localhost kernel:  ? do_exit+0x341/0x9e0
Jun  4 14:09:54 localhost kernel:  ? do_group_exit+0x2e/0x90
Jun  4 14:09:54 localhost kernel:  ? __x64_sys_exit_group+0xf/0x10
Jun  4 14:09:54 localhost kernel:  ? do_syscall_64+0x33/0x80
Jun  4 14:09:54 localhost kernel:  ? entry_SYSCALL_64_after_hwframe+0x44/0xae
Jun  4 14:09:54 localhost kernel: Modules linked in: tun nfsd auth_rpcgss lockd grace sunrpc nvidia_drm(PO) nvidia_modeset(PO) nvidia(PO) vboxnetadp(O) vboxnetflt(O) snd_hda_code
c_realtek snd_hda_codec_generic ledtrig_audio input_leds vboxdrv(O) led_class snd_hda_codec_hdmi snd_hda_intel snd_intel_dspcfg snd_hda_codec x86_pkg_temp_thermal snd_hwdep snd_h
da_core snd_pcm efivarfs
Jun  4 14:09:54 localhost kernel: ---[ end trace 48332c1b04b796d6 ]---


Is this a generel nvidia issue or just me?

Is there a working combination of kernel/driver version?
Back to top
View user's profile Send private message
cafaia
n00b
n00b


Joined: 11 Oct 2014
Posts: 51
Location: Frederico Westphalen/Brasil

PostPosted: Fri Jun 04, 2021 3:16 pm    Post subject: Reply with quote

Hello, vlynd!

I also had a similar problem but I disabled 'vdpau' and 'vaapi' and everything is fine so far,
have you enabled these flags?
Back to top
View user's profile Send private message
vlynd
Apprentice
Apprentice


Joined: 23 Jan 2012
Posts: 153

PostPosted: Fri Jun 04, 2021 3:24 pm    Post subject: Reply with quote

Hi cafaia,

thanks for your reply!

"vdpau" and "vaapi" are both globally disabled and I don't have any package with these use flags enabled installed.
Back to top
View user's profile Send private message
cafaia
n00b
n00b


Joined: 11 Oct 2014
Posts: 51
Location: Frederico Westphalen/Brasil

PostPosted: Fri Jun 04, 2021 3:33 pm    Post subject: Reply with quote

Hello, vlynd!

Sorry I can't help then, but I filed a bug with the problem I was having, maybe it can help:

https://bugs.gentoo.org/777309
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum