Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Kernel panics / reboot / logout / frozen processes, when watching some Youtube videos

  1. #1
    Join Date
    Jan 2009
    Location
    Romania, Bucharest
    Posts
    755

    Default Kernel panics / reboot / logout / frozen processes, when watching some Youtube videos

    Thread for bug: https://bugzilla.opensuse.org/show_bug.cgi?id=967938

    After approximately a few weeks ago, I've been experiencing one of the strangest issues since using openSUSE: While watching certain videos on Youtube under Firefox, there is a probability that the operating system will crash. This only seems to happen while watching certain videos... I can play some clips as much as I want and nothing happens, but if I play others the OS may crash typically somewhere between 2 and 10 minutes. What's stranger is that there's a completely different effect every time, and there is no single crash... the list of possible outcomes I've experienced so far includes:

    - The computer simply freezes: I can no longer move the mouse cursor, use any keys (including toggling the NumLock / CapsLock leds), etc. Strangely enough, the audio of the video continues to play, even if the image is frozen.

    - The machine reboots by itself. The screen suddenly goes black for a few seconds, then I seamlessly find myself at the BIOS startup screen. The power LED stays up and I don't hear the typical "click" sound which normally occurs when you power off a computer... it acts as if software triggered.

    - I am logged out and immediately find myself in the login manager. It's exactly as if I clicked the "log out" button, except I don't press any keys nor have any applications that could automatically issue this command.

    - The Firefox process freezes, but with a bizarre side effect: Any process that tries to kill or create a new process from there on will itself freeze immediately! For example: If I open Konsole and type in "dolphin" to open the file manager, the cursor goes one line down and stays there... same thing if I try to kill a process with the kill command. If I try to start up a program from the kickoff launcher, plasmashell will freeze. If I try to launch something from krunner, krunner will freeze. I even logged off my normal user account, pressed control + alt + f1 to start a new runlevel, logged in as root, and tried to kill or start processes there... same thing.

    - In the best case scenario, Firefox simply crashes and I can start it back up again.

    Note: I do not believe this to be caused by faulty hardware. I use many programs on this machine, including hardware intensive games... I do not experience such crashes with anything else. Also I've recently changed video cards, and moved from the r600 driver to radeonsi... I remember that the issue used to happen on the old one as well, although I think it stopped at some point, possible after a certain package update. I don't use the proprietary video driver, and am running openSUSE Tumbleweed.
    openSUSE Tumbleweed x64, KDE Framework 5

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,273
    Blog Entries
    2

    Default Re: Kernel panics / reboot / logout / frozen processes, when watching some Youtube videos

    Many kinds of things, hardware and software related can cause what you describe although nowadays rarely.

    Recommend you start by leaving top running in a console regularly so you can see resource utilization when the problem happens (assuming you're not running full screen video, and that itself may be a major contributing cause).

    See this wiki page I wrote how to interpret memory usage in top or running the free tool... And, you may also try running the command I give you at the bottom of that wiki page that clears your memory buffers prior to viewing your videos.

    https://en.opensuse.org/User:Tsu2/free_tool

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3
    Join Date
    Jan 2009
    Location
    Romania, Bucharest
    Posts
    755

    Default Re: Kernel panics / reboot / logout / frozen processes, when watching some Youtube videos

    Quote Originally Posted by tsu2 View Post
    Many kinds of things, hardware and software related can cause what you describe although nowadays rarely.

    Recommend you start by leaving top running in a console regularly so you can see resource utilization when the problem happens (assuming you're not running full screen video, and that itself may be a major contributing cause).

    See this wiki page I wrote how to interpret memory usage in top or running the free tool... And, you may also try running the command I give you at the bottom of that wiki page that clears your memory buffers prior to viewing your videos.

    https://en.opensuse.org/User:Tsu2/free_tool

    TSU
    When the result was the process freeze I described, I did go into control + alt + f1 as root and run "top". The CLI interface is a bit harder to distinguish so I might have missed some things, but nothing seemed undoubtedly out of the ordinary. I might take and post a photo of the screen next time this happens.
    openSUSE Tumbleweed x64, KDE Framework 5

  4. #4
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,273
    Blog Entries
    2

    Default Re: Kernel panics / reboot / logout / frozen processes, when watching some Youtube videos

    Quote Originally Posted by MirceaKitsune View Post
    When the result was the process freeze I described, I did go into control + alt + f1 as root and run "top". The CLI interface is a bit harder to distinguish so I might have missed some things, but nothing seemed undoubtedly out of the ordinary. I might take and post a photo of the screen next time this happens.
    Switching to another display running top is only marginally helpful.

    If you can view top immediately while a problem has and is happening, particularly in the same display (after all, it's possible your problem is related to that display) is more informative.

    This is why I recommended top to be already running and visible when the problem happens.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  5. #5
    Join Date
    Jan 2009
    Location
    Romania, Bucharest
    Posts
    755

    Default Re: Kernel panics / reboot / logout / frozen processes, when watching some Youtube videos

    Quote Originally Posted by tsu2 View Post
    Switching to another display running top is only marginally helpful.

    If you can view top immediately while a problem has and is happening, particularly in the same display (after all, it's possible your problem is related to that display) is more informative.

    This is why I recommended top to be already running and visible when the problem happens.

    TSU
    I'll try to remember and startup top in bash as well as ksysguard, before watching Youtube. Might take a while to catch anything this way however, since the frozen processes result is rather rare... usually it's an instant reboot or logout.
    openSUSE Tumbleweed x64, KDE Framework 5

  6. #6
    Join Date
    Jan 2009
    Location
    Romania, Bucharest
    Posts
    755

    Default Re: Kernel panics / reboot / logout / frozen processes, when watching some Youtube videos

    A photo of top running in a console, taken after a new system freeze triggered by Youtube. After approximately a minute of being frozen like this, the machine rebooted by itself.

    openSUSE Tumbleweed x64, KDE Framework 5

  7. #7

    Default Re: Kernel panics / reboot / logout / frozen processes, when watching some Youtube videos

    I would point to overheating, specially if the computer powers off itself.

  8. #8
    Join Date
    Jan 2009
    Location
    Romania, Bucharest
    Posts
    755

    Default Re: Kernel panics / reboot / logout / frozen processes, when watching some Youtube videos

    Quote Originally Posted by gattotrino View Post
    I would point to overheating, specially if the computer powers off itself.
    I have temperature and fan monitors installed: There is no overheating while watching Youtube, on either CPU / Chipset & Mobo / GPU. Also the computer never powers off, only reboots... without the power LED ever dropping or the typical click sound occurring, meaning it's likely a software thing.
    openSUSE Tumbleweed x64, KDE Framework 5

  9. #9
    Join Date
    Jan 2009
    Location
    Romania, Bucharest
    Posts
    755

    Default Re: Kernel panics / reboot / logout / frozen processes, when watching some Youtube videos

    This took a while, but it seems I've finally found the bizarre cause: The problem apparently happens only when watching 1080p and / or 60FPS videos. It stopped occurring after I disabled webm support in my browser, and now watch videos through mp4 instead. In Firefox, you must go in about:config and disable media.mediasource.webm.enabled.

    Does anyone know why this might be? Is there a vulnerability in the kernel or the free video drivers, which allows webm to cause kernel panics?
    openSUSE Tumbleweed x64, KDE Framework 5

  10. #10
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,273
    Blog Entries
    2

    Default Re: Kernel panics / reboot / logout / frozen processes, when watching some Youtube videos

    Quote Originally Posted by MirceaKitsune View Post
    This took a while, but it seems I've finally found the bizarre cause: The problem apparently happens only when watching 1080p and / or 60FPS videos. It stopped occurring after I disabled webm support in my browser, and now watch videos through mp4 instead. In Firefox, you must go in about:config and disable media.mediasource.webm.enabled.

    Does anyone know why this might be? Is there a vulnerability in the kernel or the free video drivers, which allows webm to cause kernel panics?
    Speculating, there might be a problem with the player running in your FF.
    First, I've found relatively few videos on Youtube are compiled to run at 1600pixel resolution, verify the option is avaiable and running as such using your Youtube video control buttons.
    You might also try other browsers besides FF to see if it's a FF specific problem.
    Should already be the case, but try forcing HTML5 instead of Flash, or vice versa. You can do this by going to the Youtube HTML5 configuration page, and of course you will need a Flash plugin to play Flash
    https://www.youtube.com/html5

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •