From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 89957] vm protection faults in piglit lest: texsubimage cube_map_array pbo Date: Wed, 08 Apr 2015 17:23:22 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1115543036==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id C87306E6D3 for ; Wed, 8 Apr 2015 10:23:22 -0700 (PDT) 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 --===============1115543036== Content-Type: multipart/alternative; boundary="1428513802.5A338C240.20304"; charset="UTF-8" --1428513802.5A338C240.20304 Date: Wed, 8 Apr 2015 17:23:22 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=89957 Bug ID: 89957 Summary: vm protection faults in piglit lest: texsubimage cube_map_array pbo Product: Mesa Version: git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: tstellar@gmail.com QA Contact: dri-devel@lists.freedesktop.org To reproduce: /home/tstellar/piglit/bin/texsubimage cube_map_array pbo -auto -fbo I've spent some time debugging this and it appears the result from the v_cubeid_f32 instruction is causing the shader to access memory outside the bounds of the texture. If I replace v_cubeid_f32 $dst, $src0, $src1, $src2 instructions with v_mov_f32 $dst, 0.0 or v_mov_f32 $dst, 1.0 I no longer see vm protection faults. However, if I replace the v_cubeid_f32 instructions with v_mov_f32 $dst, 2.0 then the vm protection faults return. So, it seems the bad case is whenever the face id is computed as >= 2.0f. -- You are receiving this mail because: You are the assignee for the bug. --1428513802.5A338C240.20304 Date: Wed, 8 Apr 2015 17:23:22 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Bug ID 89957
Summary vm protection faults in piglit lest: texsubimage cube_map_array pbo
Product Mesa
Version git
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter tstellar@gmail.com
QA Contact dri-devel@lists.freedesktop.org

To reproduce:  /home/tstellar/piglit/bin/texsubimage cube_map_array pbo -auto
-fbo

I've spent some time debugging this and it appears the result from the
v_cubeid_f32
instruction is causing the shader to access memory outside the bounds of the
texture.

If I replace v_cubeid_f32 $dst, $src0, $src1, $src2 instructions with v_mov_f32
$dst, 0.0 or v_mov_f32 $dst, 1.0
I no longer see vm protection faults.

However, if I replace the v_cubeid_f32 instructions with v_mov_f32 $dst, 2.0
then the vm protection faults return.  So, it seems the bad case is whenever
the face id is computed as >= 2.0f.


You are receiving this mail because:
  • You are the assignee for the bug.
--1428513802.5A338C240.20304-- --===============1115543036== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1115543036==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 89957] vm protection faults in piglit lest: texsubimage cube_map_array pbo Date: Wed, 08 Apr 2015 17:30:00 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1862579204==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 2B54189FCE for ; Wed, 8 Apr 2015 10:30:00 -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 --===============1862579204== Content-Type: multipart/alternative; boundary="1428514200.fE5B0.22393"; charset="UTF-8" --1428514200.fE5B0.22393 Date: Wed, 8 Apr 2015 17:30:00 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=89957 --- Comment #1 from Alex Deucher --- Possibly fixed by this patch: http://lists.freedesktop.org/archives/mesa-dev/2015-April/081426.html See also: http://lists.freedesktop.org/archives/mesa-dev/2015-April/081424.html -- You are receiving this mail because: You are the assignee for the bug. --1428514200.fE5B0.22393 Date: Wed, 8 Apr 2015 17:30:00 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"


You are receiving this mail because:
  • You are the assignee for the bug.
--1428514200.fE5B0.22393-- --===============1862579204== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1862579204==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 89957] vm protection faults in piglit lest: texsubimage cube_map_array pbo Date: Mon, 13 Apr 2015 23:20:50 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1538139966==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id BC05B6E2FA for ; Mon, 13 Apr 2015 16:20:50 -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 --===============1538139966== Content-Type: multipart/alternative; boundary="1428967250.Dd6d0.8057"; charset="UTF-8" --1428967250.Dd6d0.8057 Date: Mon, 13 Apr 2015 23:20:50 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=89957 Dave Airlie changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are the assignee for the bug. --1428967250.Dd6d0.8057 Date: Mon, 13 Apr 2015 23:20:50 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 89957
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED


You are receiving this mail because:
  • You are the assignee for the bug.
--1428967250.Dd6d0.8057-- --===============1538139966== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1538139966==--