Bug 2123274 - [abrt] totem: nouveau_pushbuf_data(): totem killed by SIGABRT
Summary: [abrt] totem: nouveau_pushbuf_data(): totem killed by SIGABRT
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mesa
Version: 37
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Karol Herbst
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:6494eeeb027b256d8aff01630b8...
: 2115478 2119192 2119921 2123201 (view as bug list)
Depends On:
Blocks: F37BetaFreezeException F37FinalBlocker
TreeView+ depends on / blocked
 
Reported: 2022-09-01 09:29 UTC by Lukas Ruzicka
Modified: 2022-09-28 11:16 UTC (History)
27 users (show)

Fixed In Version: mesa-22.2.0-3.fc38 mesa-22.2.0-3.fc37
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-28 11:16:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (217.21 KB, text/plain)
2022-09-01 09:29 UTC, Lukas Ruzicka
no flags Details
File: core_backtrace (142.92 KB, text/plain)
2022-09-01 09:29 UTC, Lukas Ruzicka
no flags Details
File: cpuinfo (2.77 KB, text/plain)
2022-09-01 09:29 UTC, Lukas Ruzicka
no flags Details
File: environ (2.14 KB, text/plain)
2022-09-01 09:29 UTC, Lukas Ruzicka
no flags Details
File: limits (1.29 KB, text/plain)
2022-09-01 09:29 UTC, Lukas Ruzicka
no flags Details
File: maps (3.97 KB, text/plain)
2022-09-01 09:29 UTC, Lukas Ruzicka
no flags Details
File: mountinfo (2.87 KB, text/plain)
2022-09-01 09:29 UTC, Lukas Ruzicka
no flags Details
File: open_fds (4.04 KB, text/plain)
2022-09-01 09:29 UTC, Lukas Ruzicka
no flags Details
File: proc_pid_status (1.42 KB, text/plain)
2022-09-01 09:29 UTC, Lukas Ruzicka
no flags Details
File: var_log_messages (998 bytes, text/plain)
2022-09-01 09:29 UTC, Lukas Ruzicka
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNOME Gitlab GNOME totem issues 535 0 None opened GNOME Videos only plays video for a short time, freezes and crashes. 2022-09-01 09:51:48 UTC

Description Lukas Ruzicka 2022-09-01 09:29:25 UTC
Description of problem:
I opened Totem and it showed a list of video files that could be played. I clicked on one of them to start playing, it played just a couple of frames (~ 1 second) and then it crashed immediately.
Any attempt to play a video (no matter what format) lead to the same result.

Version-Release number of selected component:
totem-1:43.beta-1.fc37

Additional info:
reporter:       libreport-2.17.2
backtrace_rating: 4
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.gnome.Totem
cmdline:        /usr/bin/totem --gapplication-service
crash_function: nouveau_pushbuf_data
dso_list:       /usr/bin/totem totem-1:43.beta-1.fc37.x86_64 (Fedora Project) 1661077387
executable:     /usr/bin/totem
journald_cursor: s=edab1d905e6d4a47aad60bbe77bf4a64;i=5fa686;b=89c7318497d74eefa38f9dfaa2837289;m=25936f5ee;t=5e799c401478b;x=c6046c5544ea9f5b
kernel:         5.19.4-300.fc37.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Potential duplicate: bug 1937212

Comment 1 Lukas Ruzicka 2022-09-01 09:29:29 UTC
Created attachment 1908902 [details]
File: backtrace

Comment 2 Lukas Ruzicka 2022-09-01 09:29:31 UTC
Created attachment 1908903 [details]
File: core_backtrace

Comment 3 Lukas Ruzicka 2022-09-01 09:29:33 UTC
Created attachment 1908904 [details]
File: cpuinfo

Comment 4 Lukas Ruzicka 2022-09-01 09:29:35 UTC
Created attachment 1908905 [details]
File: environ

Comment 5 Lukas Ruzicka 2022-09-01 09:29:37 UTC
Created attachment 1908906 [details]
File: limits

Comment 6 Lukas Ruzicka 2022-09-01 09:29:38 UTC
Created attachment 1908907 [details]
File: maps

Comment 7 Lukas Ruzicka 2022-09-01 09:29:40 UTC
Created attachment 1908908 [details]
File: mountinfo

Comment 8 Lukas Ruzicka 2022-09-01 09:29:41 UTC
Created attachment 1908909 [details]
File: open_fds

Comment 9 Lukas Ruzicka 2022-09-01 09:29:43 UTC
Created attachment 1908910 [details]
File: proc_pid_status

Comment 10 Lukas Ruzicka 2022-09-01 09:29:44 UTC
Created attachment 1908911 [details]
File: var_log_messages

Comment 11 Fedora Blocker Bugs Application 2022-09-01 09:55:44 UTC
Proposed as a Blocker for 37-final by Fedora user lruzicka using the blocker tracking app because:

 Gnome Videos do not work, which violates the Basic Functionality Criterion.

Comment 12 Adam Williamson 2022-09-01 18:18:30 UTC
Also proposing as a Beta FE - Totem is on the live images, and we can't fix those with an update.

Comment 13 Adam Williamson 2022-09-02 17:14:22 UTC
+5 in https://pagure.io/fedora-qa/blocker-review/issue/883 , marking accepted Beta FE.

Comment 14 Bastien Nocera 2022-09-06 10:56:34 UTC
Assigning to X11 nouveau driver as that's the best way to get the right folks CC:ed on driver specific problems.

Would be nice to know if the problem also happens with `gtk3-demo`'s "OpenGL Area" test, or with the versions of totem on Flathub, whether the stable release:
https://flathub.org/apps/details/org.gnome.Totem
or the beta version:
https://flathub.org/beta-repo/appstream/org.gnome.Totem.Devel.flatpakref

Comment 15 Bastien Nocera 2022-09-06 10:57:41 UTC
*** Bug 2123201 has been marked as a duplicate of this bug. ***

Comment 16 Bastien Nocera 2022-09-06 10:58:26 UTC
*** Bug 2119921 has been marked as a duplicate of this bug. ***

Comment 17 Bastien Nocera 2022-09-06 10:58:51 UTC
*** Bug 2119192 has been marked as a duplicate of this bug. ***

Comment 18 Bastien Nocera 2022-09-06 11:01:22 UTC
(In reply to Adam Williamson from comment #13)
> +5 in https://pagure.io/fedora-qa/blocker-review/issue/883 , marking
> accepted Beta FE.

Also happens in F36 FWIW.

Comment 19 Adam Williamson 2022-09-06 18:41:13 UTC
Discussed during 2022-09-06 blocker review meeting: https://meetbot-raw.fedoraproject.org/fedora-blocker-review/2022-09-06/f37-blocker-review.2022-09-06-16.00.html . Accepted as a Final blocker as a violation of the "basic functionality" criterion in the case that you have affected NVIDIA hardware.

We did note Bastien's point that this affects F36 too, and there's a general feeling that if this turns out to be technically difficult to fix, we'll be open to waiving it as a blocker later. But for now it's on the list.

Comment 20 Karol Herbst 2022-09-06 20:47:01 UTC
Could we get some more details about the hardware in use and maybe even a kernel log (preferably after totem crashed)?

I'll try to trigger this issue on my end here.

Comment 21 Karol Herbst 2022-09-06 22:32:58 UTC
seems like it's nouveau's broken multithreading support, which is already fixed upstream: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10752

But given the size of that Merge Request I am not so sure I feel comfortable enough letting Fedora 36 users use it and I'd prefer some more/longer regression testing, especially on very old hardware (pre GeForce 8000 series).

It might be reasonable enough to pick those patches for Fedora 37. They should get in normally via an upgrade to mesa-22.3.

Comment 22 Bastien Nocera 2022-09-07 08:25:58 UTC
*** Bug 2115478 has been marked as a duplicate of this bug. ***

Comment 23 Bastien Nocera 2022-09-07 08:27:56 UTC
The bug reports in F36 seem fairly recent though:
https://bugzilla.redhat.com/buglist.cgi?component=totem&product=Fedora&query_format=advanced&short_desc=nouveau&short_desc_type=allwordssubstr

The oldest one is from August. Is this a regression in Fedora 36?

Comment 24 Karol Herbst 2022-09-07 12:40:31 UTC
(In reply to Bastien Nocera from comment #23)
> The bug reports in F36 seem fairly recent though:
> https://bugzilla.redhat.com/buglist.
> cgi?component=totem&product=Fedora&query_format=advanced&short_desc=nouveau&s
> hort_desc_type=allwordssubstr
> 
> The oldest one is from August. Is this a regression in Fedora 36?

don't think so. Multithreading was always a hit or miss in Nouveau, but fixing it wasn't trivial. Now that it's merged I expect quite a lot of bugs to get resolved after the fix reaches users. Though "Multithreading" here means using using multiple OpenGL contexts.

Normally I'd like to get those patches backported to fix bugs in older releases as well, but given it affects all Nvidia GPUs and the fix is quite huge overall I'd like to wait some time to make sure there are no severe regressions coming out of it.

Comment 25 Adam Williamson 2022-09-19 17:38:55 UTC
So, this is currently an F37 Final blocker, which means we do need the multithreading stuff backported. Pete seems to be building mesa lately, so CCing him. Can we please get this taken care of? Or if you don't think it's a good idea, please say so and we can re-consider blocker status?

Comment 26 Karol Herbst 2022-09-19 17:52:30 UTC
(In reply to Adam Williamson from comment #25)
> So, this is currently an F37 Final blocker, which means we do need the
> multithreading stuff backported. Pete seems to be building mesa lately, so
> CCing him. Can we please get this taken care of? Or if you don't think it's
> a good idea, please say so and we can re-consider blocker status?

For Fedora 37 it's probably fine as we still got some time left until the release and people could complain if they are bugs. Upstream is pretty quiet so I am getting more confident here. The Merge Request should apply pretty cleanly on top of mesa-22.2, but if there are any issues I am here to help out.

And in case there are regressions you know who to ping.

Comment 27 Pete Walter 2022-09-21 11:54:21 UTC
Hi Adam, thanks for adding me to CC.

I am not sure I fully understand what is going on here: Is Karol saying that it is too risky to ship in other distros (upstream 22.2 branch), but is OK for Fedora? I don't understand the logic here.

I am fine with backporting all this work but I don't want to do it myself. Karol, can you look into doing the backport downstream if you don't want to do it upstream? You could do a PR or ask ajax to add you to mesa's committers list or maybe both. Thanks!

Comment 28 Karol Herbst 2022-09-21 12:16:32 UTC
(In reply to Pete Walter from comment #27)
> Hi Adam, thanks for adding me to CC.
> 
> I am not sure I fully understand what is going on here: Is Karol saying that
> it is too risky to ship in other distros (upstream 22.2 branch), but is OK
> for Fedora? I don't understand the logic here.
> 
> I am fine with backporting all this work but I don't want to do it myself.
> Karol, can you look into doing the backport downstream if you don't want to
> do it upstream? You could do a PR or ask ajax to add you to mesa's
> committers list or maybe both. Thanks!

I am fine with doing the backport. I just don't want to make the decision. People should be aware, that this MR changes the entire nouveau mesa driver and I'd prefer to get more testing before I can be confident enough about those changes.

It's not up to me to decide whether Fedora 37 is a place where we get more heavy testing with those changes or not.

Comment 29 Pete Walter 2022-09-21 14:06:54 UTC
Right, I don't want to be the one deciding it either :)

Comment 30 Fedora Update System 2022-09-25 21:30:47 UTC
FEDORA-2022-bb8169c509 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-bb8169c509

Comment 31 Pete Walter 2022-09-25 21:32:44 UTC
Karol, I see you pushed the backport to git but have not done a built yet. I am doing a mesa build for an unrelated fix so I am going to include your backport as well.

Comment 32 Fedora Update System 2022-09-25 21:34:06 UTC
FEDORA-2022-bb8169c509 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 33 Fedora Update System 2022-09-25 21:34:27 UTC
FEDORA-2022-fba57a21ae has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-fba57a21ae

Comment 34 Adam Williamson 2022-09-26 00:38:56 UTC
Re-opening as this is filed against 37.

Comment 35 Fedora Update System 2022-09-26 02:44:21 UTC
FEDORA-2022-fba57a21ae has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-fba57a21ae`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-fba57a21ae

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 36 Lukas Ruzicka 2022-09-27 08:22:16 UTC
I can confirm that the above build works for me -> I can play videos normally.

Comment 37 Fedora Update System 2022-09-28 11:16:48 UTC
FEDORA-2022-fba57a21ae has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.