You are not logged in.

#1 2016-03-10 03:14:33

jamdox
Member
Registered: 2015-05-02
Posts: 48

whole system crash during video playback

Sometimes when watching videos with chromium or mpv, specifically when a control overlay is invoked then is destroyed, the whole system will crash.  As in, completely unresponsive, whatever little bit of audio is in the buffer keeps repeating, system has to be hard-rebooted.

Nothing shows up in journalctl, which has made it hard for me to troubleshoot this.

I'm curious what people think could be causing this.  I'm running gnome on wayland.

Offline

#2 2016-03-10 03:17:23

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: whole system crash during video playback

Card and driver? Can you ssh in when the system is frozen? Sysrq?


Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-03-10 03:38:24

jamdox
Member
Registered: 2015-05-02
Posts: 48

Re: whole system crash during video playback

intel, mesa

Haven't tried to ssh in and I don't have a sysrq, but I suspect neither would work.  Whole thing locks up.

Offline

#4 2016-03-10 04:25:52

jamdox
Member
Registered: 2015-05-02
Posts: 48

Re: whole system crash during video playback

update 0: I set up sysrq but it doesn't seem to work in gnome...
update 1: reproduced the problem; can't ssh in, sysrq doesn't work

Last edited by jamdox (2016-03-10 04:42:44)

Offline

#5 2016-03-10 04:47:38

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: whole system crash during video playback


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2016-03-10 05:22:18

jamdox
Member
Registered: 2015-05-02
Posts: 48

Re: whole system crash during video playback

I'm using wayland though

Offline

#7 2016-03-10 05:55:38

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: whole system crash during video playback

No idea then.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2016-03-10 06:07:23

jamdox
Member
Registered: 2015-05-02
Posts: 48

Re: whole system crash during video playback

:~\

Offline

#9 2016-03-10 06:18:03

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: whole system crash during video playback

jamdox wrote:

:~\

Don't do that: https://wiki.archlinux.org/index.php/Fo … mpty_posts

Do some debugging. Try removing Gnome from the equation and just use a basic WM and see if the behaviour is reproducible there. Try it in X. Try anything, just don't expect to have your hand held here...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2016-03-10 14:02:33

jamdox
Member
Registered: 2015-05-02
Posts: 48

Re: whole system crash during video playback

Riiiiight.  I'll try running gnome-mpv in gdb for starters.

Offline

#11 2016-03-10 14:04:42

tetris11
Member
Registered: 2014-11-09
Posts: 18

Re: whole system crash during video playback

mpv under wayland? Damn dude, you play with fire.

Offline

#12 2016-03-10 19:33:53

jamdox
Member
Registered: 2015-05-02
Posts: 48

Re: whole system crash during video playback

Updated my BIOS and I'm running everything in gdb.  We'll see what shakes down.

I think this might be related to a freeze that happens sometimes when switching from tty back to gnome.  Hopefully the BIOS update will fix it too.

Offline

#13 2016-03-10 20:43:39

jamdox
Member
Registered: 2015-05-02
Posts: 48

Re: whole system crash during video playback

Got first hint.  Made a crash happen playing video in chromium.  I don't know how to access whatever gdb might have printed out at the time, but journalctl had this:

kernel: [drm:ffffffffc05ea7c1] *ERROR* CPU pipe A FIFO underrun

This was the last message before reboot and it seems to be in the right ballpark, being a kernel error involving the drm.

Advice?  I'm thinking of trying to build gnome-mpv with debug flags set then trying to recreate the problem.  Don't know.

Offline

#14 2016-03-10 21:42:23

jamdox
Member
Registered: 2015-05-02
Posts: 48

Re: whole system crash during video playback

I think I might have got it.  It looks like this is a common type of problem caused by the intel driver that has been popping up since the summer.  According to https://bugs.freedesktop.org/show_bug.cgi?id=94174 something like this has been fixed, so hopefully using a most-recent kernel will resolve the problem.

UPDATE:  using the current vanilla kernel did not solve the problem.  What are my other options?

Last edited by jamdox (2016-03-10 21:46:01)

Offline

#15 2016-03-10 21:54:45

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: whole system crash during video playback

It says it is fixed in 4.5; that isn't in the repos yet, you'll need to build your own for the time being...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#16 2016-03-10 22:24:33

jamdox
Member
Registered: 2015-05-02
Posts: 48

Re: whole system crash during video playback

Oh goody, this is like that time I fell for it and installed gentoo.

So I can just apply the ck and grsec patches at the same time and everything will be cool, right?

Offline

#17 2016-03-10 22:33:34

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: whole system crash during video playback

Well, I would use ABS to build a vanilla 4.5 and not include additional patchsets: they add a further layer of complexity that may obscure the issue.

Are you currently using a patched kernel? That information should have appeared further up this thread if you were...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#18 2016-03-10 22:37:05

jamdox
Member
Registered: 2015-05-02
Posts: 48

Re: whole system crash during video playback

No, it's the vanilla kernel from the main repo.  I'll give 4.5 a shot.

UPDATE: I've got the pkgbuild to download and accept the rc7 source, we'll see if it'll work.

UPDATE: linux 4.5-rc7 installed, yay.  Only failed to build once.

Last edited by jamdox (2016-03-12 04:02:26)

Offline

Board footer

Powered by FluxBB