New: System freeze with nouveau
https://bugs.freedesktop.org/show_bug.cgi?id=105045
Bug ID: 105045
Summary: System freeze with nouveau
Product: Mesa
Version: 17.3
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: critical
Priority: medium
Component: Drivers/DRI/nouveau
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Created attachment 137273
--> https://bugs.freedesktop.org/attachment.cgi?id=137273&action=edit
dmesg after crash
I use ArchLinux with latest updates:
- linux 4.15.2-2
- mesa 17.3.3-2
- wayland 1.14.0-1
- wayland-protocols 1.12-1
- gnome-shell 3.26.2+14+g64c857e3f-1
And Nvidia GTX 1080 hardware.
My system sometimes freezes when i open new tab in gvim. It does not respond to Ctrl+Alt+1-7, so i cannot switch to terminal. But it reacts to REISUB, which i used until today.
Today I connected to desktop via ssh, used strace to connect to Xwayland, and it was doing over and over something with DRM_IOCTL_NOUVEAU_GEM_PUSHBUF. I forgot to save that log, i will include it next time.
Then i killed process with kill -QUIT, and it saved coredumps from Xwayland and gnome-shell. After that gdm restarted and everything was fine.
Attaching dmesg and coredumps. What else can i do to help fix this bug?
Signature · 3 lines
You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
A message that is not in the archive (sent off-list or not yet received): bug-105045-8800-V0hAGp6uBxMKqLRl/[email protected]/
[Bug 105045] System freeze with nouveau
https://bugs.freedesktop.org/show_bug.cgi?id=105045
--- Comment #1 from Sergey Tereschenko <[email protected]> --- Created attachment 137276
--> https://bugs.freedesktop.org/attachment.cgi?id=137276&action=edit
gnome-shell core dump
Signature · 3 lines
You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 105045] System freeze with nouveau
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=105045
--- Comment #2 from Sergey Tereschenko <[email protected]> --- Created attachment 137277
--> https://bugs.freedesktop.org/attachment.cgi?id=137277&action=edit
xwayland coredump
Signature · 3 lines
You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 105045] System freeze with nouveau
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=105045
Sergey Tereschenko <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|medium |high
Signature · 3 lines
You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 105045] System freeze with nouveau
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=105045
--- Comment #3 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- This happens because GPU fault recovery currently leaves the process in a totally broken state. (And all other processes that use the GPU, seemingly.)
The general approach has been to try to avoid the GPU faults in the first place -- that will be printed before any of your other errors (i.e. before the nv50_cal stuff).
Note that mesa 18.0 may have some relevant fixes, e.g.
commit adcd241b563f44b2e3e92f5d840e2f617bc25836
Author: Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> Date: Mon Jan 1 14:54:17 2018 -0500
nvc0: ensure that pushbuf keeps ref to old text/tls bos
Perhaps worth a shot. (This could hit if gnome-shell were generating tons and tons of silly shaders. Which it might be.)
Signature · 3 lines
You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 105045] System freeze with nouveau
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=105045
--- Comment #4 from Sergey Tereschenko <[email protected]> --- Can i just apply that patch to 17.3 or better build everything from git?
Signature · 3 lines
You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 105045] System freeze with nouveau
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=105045
--- Comment #5 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- (In reply to Sergey Tereschenko from comment #4)
Quoted 1 line
Can i just apply that patch to 17.3 or better build everything from git?
You can just apply it. There's other stuff that's gone in though... I was just pointing out one thing I did. A bunch of people had issues with 17.3 and resizing stuff as I recall... other things too. I'd basically recommend running mesa master -- mesa is not very good at backporting fixes. And master's very rarely in a broken state.
Signature · 3 lines
You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 105045] System freeze with nouveau
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=105045
--- Comment #6 from Sergey Tereschenko <[email protected]> --- (In reply to Ilia Mirkin from comment #5)
Quoted 8 lines
(In reply to Sergey Tereschenko from comment #4)
Quoted 1 line
Can i just apply that patch to 17.3 or better build everything from git?
You can just apply it. There's other stuff that's gone in though... I was just pointing out one thing I did. A bunch of people had issues with 17.3 and resizing stuff as I recall... other things too. I'd basically recommend running mesa master -- mesa is not very good at backporting fixes. And master's very rarely in a broken state.
Thanks, i'll try to build from git.
Signature · 3 lines
You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 105045] System freeze with nouveau
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=105045
--- Comment #7 from Sergey Tereschenko <[email protected]> --- (In reply to Ilia Mirkin from comment #5)
Quoted 8 lines
(In reply to Sergey Tereschenko from comment #4)
Quoted 1 line
Can i just apply that patch to 17.3 or better build everything from git?
You can just apply it. There's other stuff that's gone in though... I was just pointing out one thing I did. A bunch of people had issues with 17.3 and resizing stuff as I recall... other things too. I'd basically recommend running mesa master -- mesa is not very good at backporting fixes. And master's very rarely in a broken state.
I found there is also 18.0.0-rc4, and looks like it almost recently released. I just built it, it working but now i can't click anything with mouse nor gdm nor after login into gnome-shell.
But under weston it is working.
Signature · 3 lines
You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 105045] System freeze with nouveau
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=105045
--- Comment #8 from Sergey Tereschenko <[email protected]> --- (In reply to Sergey Tereschenko from comment #7)
Quoted 10 lines
(In reply to Ilia Mirkin from comment #5)
Quoted 8 lines
(In reply to Sergey Tereschenko from comment #4)
Quoted 1 line
Can i just apply that patch to 17.3 or better build everything from git?
You can just apply it. There's other stuff that's gone in though... I was just pointing out one thing I did. A bunch of people had issues with 17.3 and resizing stuff as I recall... other things too. I'd basically recommend running mesa master -- mesa is not very good at backporting fixes. And master's very rarely in a broken state.
Quoted 5 lines
I found there is also 18.0.0-rc4, and looks like it almost recently released. I just built it, it working but now i can't click anything with mouse nor gdm nor after login into gnome-shell.
But under weston it is working.
Switching from wayland to xorg fixed issue with mouse in gnome. But issues with xorg it is what get me to use nouveau+wayland (under xorg there is broken keyboard switching using grp:shift_caps_switch).
Signature · 3 lines
You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 105045] System freeze with nouveau
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=105045
--- Comment #9 from Sergey Tereschenko <[email protected]> --- I built mesa-git from source, and gdm starting only in xorg mode.
When i try to run
Quoted 1 line
XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session
It fails with message "Connection to the bus can't be made"
weston is still running fine.
reverted back to 17.3.3
Signature · 3 lines
You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 105045] System freeze with nouveau
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=105045
Sergey Tereschenko <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED--- Comment #10 from Sergey Tereschenko <[email protected]> --- After updating to mesa 17.3.5-1 i haven't seen this bug for few days.
Looks like it was fixed.
Signature · 3 lines
You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau