From: Jochen Rollwagen Subject: [RV280 mesa 10.1.6] Leaking dma buffer object! in r200_radeonReleaseDmaRegions Date: Sun, 22 Mar 2015 11:00:37 +0100 Message-ID: <550E92C5.2090609@t-online.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2046519074==" Return-path: Received: from mailout03.t-online.de (mailout03.t-online.de [194.25.134.81]) by gabe.freedesktop.org (Postfix) with ESMTP id 4A2D06E1A1 for ; Sun, 22 Mar 2015 03:00:56 -0700 (PDT) Received: from fwd24.aul.t-online.de (fwd24.aul.t-online.de [172.20.26.129]) by mailout03.t-online.de (Postfix) with SMTP id 43D211B9D7C for ; Sun, 22 Mar 2015 11:00:54 +0100 (CET) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Maling list - DRI developers List-Id: dri-devel@lists.freedesktop.org This is a multi-part message in MIME format. --===============2046519074== Content-Type: multipart/alternative; boundary="------------070902090302000908070300" This is a multi-part message in MIME format. --------------070902090302000908070300 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit When playing a certain game (Vagrant Stories) in the pcsx Playstation emulator, i get the reproducible error message /File radeon_dma.c function r200_radeonReleaseDmaRegions line 371// //Leaking dma buffer object!/ in the terminal/console. The piece of code is: /* move waiting bos to free list. wait list provides gpu time to handle data before reuse */ foreach_s(dma_bo, temp, &rmesa->dma.wait) { if (dma_bo->expire_counter == time) { WARN_ONCE("Leaking dma buffer object!\n"); radeon_bo_unref(dma_bo->bo); remove_from_list(dma_bo); free(dma_bo); continue; } in file src/mesa/drivers/dri/r200/radeon_dma.c. That's mesa 10.1.6 from git, kernel 3.18.9 on a Mac mini G4. Any suggestions ? Is this a serious bug or just a little annoyance ? The game continues without problems after the error message. --------------070902090302000908070300 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable When playing a certain game (Vagrant Stories) in the pcsx Playstation emulator, i get the reproducible error message

File radeon_dma.c function r200_radeonReleaseDmaRegions line 371
Leaking dma buffer object!

in the terminal/console.

The piece of code is:

=C2=A0=C2=A0=C2=A0 /* move waiting bos to free list.
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0 wait list provides gpu time to handle= data before reuse */
=C2=A0=C2=A0=C2=A0 foreach_s(dma_bo, temp, &rmesa->dma.wait) {=
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if (dma_bo->expire_counter =3D= =3D time) {
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 WARN_ONCE("L= eaking dma buffer object!\n");
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 radeon_bo_un= ref(dma_bo->bo);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 remove_from_= list(dma_bo);
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 free(dma_bo)= ;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 continue; =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 }

in file src/mesa/drivers/dri/r200/radeon_dma.c. That's mesa 10.1.6 from git, kernel 3.18.9 on a Mac mini G4.

Any suggestions ? Is this a serious bug or just a little annoyance ? The game continues without problems after the error message.
--------------070902090302000908070300-- --===============2046519074== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============2046519074==--