All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
To: Adam Nielsen <a.nielsen@shikadi.net>, intel-gfx@lists.freedesktop.org
Subject: Re: System freeze apparently due to GPU memory exhaustion - why?
Date: Tue, 23 Feb 2016 11:47:28 +0200	[thread overview]
Message-ID: <1456220848.7789.0.camel@linux.intel.com> (raw)
In-Reply-To: <20160223115502.1db8ee9c@korath.teln.shikadi.net>

Hi,

On ti, 2016-02-23 at 11:55 +1000, Adam Nielsen wrote:
> Hi all,
> 
> I'm an end user and I'm having problems which I believe are ultimately
> caused by an issue with the Intel kernel driver.
> 
> When I am running programs that use a lot of images (e.g. GIMP, Firefox
> with YouTube and Google Maps) then after a short while my whole machine
> will grind to a halt, to the point where even my audio buffers don't
> get updated so I hear the same 500ms of audio repeated in a loop until
> the system comes back to life again.
> 
> Typically the system will stop responding from anywhere between 30
> seconds to a minute, and usually it returns to service after the kernel
> OOM killer has ended a process - typically Firefox as it uses the most
> system memory.
> 
> Of course it's not a system OOM problem, because the system has 16GB of
> RAM and the problem still happens even if less than 4GB is in use.
> 
> Looking at dmesg, the problem always starts with a message like this:
> 
>   Purging GPU memory, 69632 bytes freed, 48553984 bytes still pinned.
> 
> Since system memory is fine, I can only assume this means that there is
> some limit on the amount of memory the video driver can access, and it
> has reached that limit.
> 
> Here is the top of the backtrace, if it's relevant:
> 
>   Call Trace:
>    [] dump_stack+0x4b/0x72
>    [] dump_header+0x87/0x21e
>    [] ? i915_gem_shrinker_oom+0x1a1/0x200 [i915]
>    [] oom_kill_process+0x34b/0x3b0
>    [] out_of_memory+0x21f/0x490
>    [] __alloc_pages_nodemask+0x8c8/0x960
>    [] alloc_kmem_pages_node+0x7b/0x150
> 
> Can anyone shed any light on what's happening here?  Is there a limit
> to how much video memory the system can access?  I thought that was
> done away with once AGP disappeared but perhaps not.
> 

Can you attach a full dmesg from boot until the problem appears?

Regards, Joonas

> Is there any way to alleviate the problems this issue produces?  It's
> very annoying to be zooming around in Google Maps one moment and then
> dumped back to the console the next because the kernel killed X11.
> 
> My system is an Intel DH87MC w/ i7-4770K, kernel 4.3.3.  Three
> monitors, DVI + HDMI + DisplayPort, total res 4960x1600.
> 
> Many thanks,
> Adam.
> 
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2016-02-23  9:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-23  1:55 System freeze apparently due to GPU memory exhaustion - why? Adam Nielsen
2016-02-23  9:47 ` Joonas Lahtinen [this message]
2016-02-23 10:58   ` Adam Nielsen
2016-02-26 10:30     ` Joonas Lahtinen
2016-04-04 12:54       ` Adam Nielsen
2016-04-04 13:13         ` Adam Nielsen
2016-04-07 16:25           ` Marius Vlad

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1456220848.7789.0.camel@linux.intel.com \
    --to=joonas.lahtinen@linux.intel.com \
    --cc=a.nielsen@shikadi.net \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.