From: bugzilla-daemon@freedesktop.org
Subject: [Bug 78297] Radeon uvd makes VDPAU clients to crash at
vlVdpDecoderCreate with 1080p videos
Date: Mon, 05 May 2014 16:22:44 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0405800141=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 82B316E948
for ; Mon, 5 May 2014 09:22:44 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0405800141==
Content-Type: multipart/alternative; boundary="1399306964.EB6b0.827"; charset="us-ascii"
--1399306964.EB6b0.827
Date: Mon, 5 May 2014 16:22:44 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
https://bugs.freedesktop.org/show_bug.cgi?id=3D78297
--- Comment #11 from Christian K=C3=B6nig ---
(In reply to comment #10)
> (In reply to comment #9)
> > That's the problem:
> >=20
> > [ 1.714537] [drm] Detected VRAM RAM=3D1024M, BAR=3D128M
> >=20
> > Your PCI BAR is smaller than usually, for a REDWOOD 256M are normal. Go=
ing
> > to hack up a patch for this.
>=20
> Nice to hear!
> But in these cases where there's not enough memory, shouldn't the vdpau
> driver to fail returning an error (making the client to fallback to softw=
are
> rendering), instead of crashing?
It's not the VDPAU driver that's failing here, it's the kernel.
When the kernel can't place a buffer into visible VRAM the buffer should be
moved into GART instead for CPU access. But instead we just return a SIGBUS=
to
the application effectively crashing it.
--=20
You are receiving this mail because:
You are the assignee for the bug.
--1399306964.EB6b0.827
Date: Mon, 5 May 2014 16:22:44 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Commen=
t # 11
on bug 78297<=
/a>
from Christian K=C3=B6nig
(In reply to comment #=
10)
> (In reply to comment #9)
> > That's the problem:
> >=20
> > [ 1.714537] [drm] Detected VRAM RAM=3D1024M, BAR=3D128M
> >=20
> > Your PCI BAR is smaller than usually, for a REDWOOD 256M are norm=
al. Going
> > to hack up a patch for this.
>=20
> Nice to hear!
> But in these cases where there's not enough memory, shouldn't the vdpau
> driver to fail returning an error (making the client to fallback to so=
ftware
> rendering), instead of crashing?
It's not the VDPAU driver that's failing here, it's the kernel.
When the kernel can't place a buffer into visible VRAM the buffer should be
moved into GART instead for CPU access. But instead we just return a SIGBUS=
to
the application effectively crashing it.
You are receiving this mail because:
=20=20=20=20=20=20
- You are the assignee for the bug.
--1399306964.EB6b0.827--
--===============0405800141==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============0405800141==--