From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92309] Box drawn around cursor in multiple 3D games Date: Tue, 06 Oct 2015 02:16:00 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0275083585==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id B25CE6E91C for ; Mon, 5 Oct 2015 19:16:00 -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 --===============0275083585== Content-Type: multipart/alternative; boundary="1444097760.a80b0.24019"; charset="UTF-8" --1444097760.a80b0.24019 Date: Tue, 6 Oct 2015 02:16:00 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=92309 Bug ID: 92309 Summary: Box drawn around cursor in multiple 3D games Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: acutiator@outlook.com QA Contact: dri-devel@lists.freedesktop.org When playing Legend of Grimrock or Natural Selection 2 on the radeonsi drivers on Cape Verde there is a box drawn around the cursor. This does not occur in other games such as Risk of Rain, Starbound, and Left 4 Dead 2. This is when running Mesa 11.1.0-devel on Fedora 22, git 9932142. -- You are receiving this mail because: You are the assignee for the bug. --1444097760.a80b0.24019 Date: Tue, 6 Oct 2015 02:16:00 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Bug ID 92309
Summary Box drawn around cursor in multiple 3D games
Product Mesa
Version git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter acutiator@outlook.com
QA Contact dri-devel@lists.freedesktop.org

When playing Legend of Grimrock or Natural Selection 2 on the radeonsi drivers
on Cape Verde there is a box drawn around the cursor. This does not occur in
other games such as Risk of Rain, Starbound, and Left 4 Dead 2.

This is when running Mesa 11.1.0-devel on Fedora 22, git 9932142.


You are receiving this mail because:
  • You are the assignee for the bug.
--1444097760.a80b0.24019-- --===============0275083585== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0275083585==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92309] Box drawn around cursor in multiple 3D games Date: Tue, 06 Oct 2015 02:16:40 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0242828635==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 583D56E8BC for ; Mon, 5 Oct 2015 19:16:40 -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 --===============0242828635== Content-Type: multipart/alternative; boundary="1444097800.1106DB0.24209"; charset="UTF-8" --1444097800.1106DB0.24209 Date: Tue, 6 Oct 2015 02:16:40 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=92309 --- Comment #1 from acutiator@outlook.com --- Created attachment 118696 --> https://bugs.freedesktop.org/attachment.cgi?id=118696&action=edit Natural Selection 2 cursor corruption -- You are receiving this mail because: You are the assignee for the bug. --1444097800.1106DB0.24209 Date: Tue, 6 Oct 2015 02:16:40 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 1 on bug 92309 from
Created attachment 118696 [details]
Natural Selection 2 cursor corruption


You are receiving this mail because:
  • You are the assignee for the bug.
--1444097800.1106DB0.24209-- --===============0242828635== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0242828635==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92309] Box drawn around cursor in multiple 3D games Date: Tue, 06 Oct 2015 02:17:07 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0495523517==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id B40BA6E8EC for ; Mon, 5 Oct 2015 19:17:07 -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 --===============0495523517== Content-Type: multipart/alternative; boundary="1444097827.AF0BB1.24209"; charset="UTF-8" --1444097827.AF0BB1.24209 Date: Tue, 6 Oct 2015 02:17:07 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=92309 acutiator@outlook.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #118696|text/plain |image/png mime type| | -- You are receiving this mail because: You are the assignee for the bug. --1444097827.AF0BB1.24209 Date: Tue, 6 Oct 2015 02:17:07 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 92309
What Removed Added
Attachment #118696 mime type text/plain image/png


You are receiving this mail because:
  • You are the assignee for the bug.
--1444097827.AF0BB1.24209-- --===============0495523517== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0495523517==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92309] Box drawn around cursor in multiple 3D games Date: Tue, 06 Oct 2015 02:21:56 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0196415755==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 5D9E16E8C2 for ; Mon, 5 Oct 2015 19:21:56 -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 --===============0196415755== Content-Type: multipart/alternative; boundary="1444098116.007a6a0.25844"; charset="UTF-8" --1444098116.007a6a0.25844 Date: Tue, 6 Oct 2015 02:21:56 +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=3D92309 --- Comment #2 from Michel D=C3=A4nzer --- Reminds me of bug 91641, which turned out to be a game bug. --=20 You are receiving this mail because: You are the assignee for the bug. --1444098116.007a6a0.25844 Date: Tue, 6 Oct 2015 02:21:56 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 2 on bug 92309<= /a> from Michel D=C3=A4nzer
Reminds me of bug 91641, which turned out to be a=
 game bug.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1444098116.007a6a0.25844-- --===============0196415755== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0196415755==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92309] Box drawn around cursor in multiple 3D games Date: Tue, 06 Oct 2015 02:48:36 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1473073961==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 00AB56E8B1 for ; Mon, 5 Oct 2015 19:48:36 -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 --===============1473073961== Content-Type: multipart/alternative; boundary="1444099715.C4eA02c10.2982"; charset="UTF-8" --1444099715.C4eA02c10.2982 Date: Tue, 6 Oct 2015 02:48:35 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=92309 --- Comment #3 from acutiator@outlook.com --- Indeed looks to be a game specific bug: http://www.grimrock.net/forum/viewtopic.php?f=12&t=4583 Should I just close this with a NOTOURBUG or what's the procedure? -- You are receiving this mail because: You are the assignee for the bug. --1444099715.C4eA02c10.2982 Date: Tue, 6 Oct 2015 02:48:35 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 3 on bug 92309 from
Indeed looks to be a game specific bug:
http://www.grimrock.net/forum/viewtopic.php?f=12&t=4583

Should I just close this with a NOTOURBUG or what's the procedure?


You are receiving this mail because:
  • You are the assignee for the bug.
--1444099715.C4eA02c10.2982-- --===============1473073961== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1473073961==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92309] Box drawn around cursor in multiple 3D games Date: Tue, 06 Oct 2015 02:49:35 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0694719941==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 1FDA06E8EF for ; Mon, 5 Oct 2015 19:49:35 -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 --===============0694719941== Content-Type: multipart/alternative; boundary="1444099775.bCdcD0.3360"; charset="UTF-8" --1444099775.bCdcD0.3360 Date: Tue, 6 Oct 2015 02:49:35 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=92309 --- Comment #4 from acutiator@outlook.com --- And same for Natural Selection 2: http://forums.unknownworlds.com/discussion/131798/linux-mouse-cursor-has-a-rectangle-around-it -- You are receiving this mail because: You are the assignee for the bug. --1444099775.bCdcD0.3360 Date: Tue, 6 Oct 2015 02:49:35 +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.
--1444099775.bCdcD0.3360-- --===============0694719941== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0694719941==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92309] Box drawn around cursor in multiple 3D games Date: Tue, 06 Oct 2015 02:56:00 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2131368655==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 1FA986E8FC for ; Mon, 5 Oct 2015 19:56: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 --===============2131368655== Content-Type: multipart/alternative; boundary="1444100160.5eCAb0.5607"; charset="UTF-8" --1444100160.5eCAb0.5607 Date: Tue, 6 Oct 2015 02:55:59 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=92309 --- Comment #5 from acutiator@outlook.com --- There are 10 people who reported it for Grimrock and 3 in Natural Selection 2, all but 1 who are running AMD drivers open and closed. I'd like to use apitrace to look at the texture used for the cursor to confirm it's a game bug for both of these games, but I can't get apitrace to work with Steam games for me and the internet is being little help. -- You are receiving this mail because: You are the assignee for the bug. --1444100160.5eCAb0.5607 Date: Tue, 6 Oct 2015 02:56:00 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 5 on bug 92309 from
There are 10 people who reported it for Grimrock and 3 in Natural Selection 2,
all but 1 who are running AMD drivers open and closed.

I'd like to use apitrace to look at the texture used for the cursor to confirm
it's a game bug for both of these games, but I can't get apitrace to work with
Steam games for me and the internet is being little help.


You are receiving this mail because:
  • You are the assignee for the bug.
--1444100160.5eCAb0.5607-- --===============2131368655== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============2131368655==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92309] Box drawn around cursor in multiple 3D games Date: Wed, 21 Oct 2015 06:04:44 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1800273907==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 24AC16ECA1 for ; Tue, 20 Oct 2015 23:04: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 --===============1800273907== Content-Type: multipart/alternative; boundary="1445407484.bf01d7aB0.3718"; charset="UTF-8" --1445407484.bf01d7aB0.3718 Date: Wed, 21 Oct 2015 06:04:43 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=92309 --- Comment #6 from acutiator@outlook.com --- This is also happening on an HD5770 card (Juniper XT) I have with the R600 driver. -- You are receiving this mail because: You are the assignee for the bug. --1445407484.bf01d7aB0.3718 Date: Wed, 21 Oct 2015 06:04:44 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 6 on bug 92309 from
This is also happening on an HD5770 card (Juniper XT) I have with the R600
driver.


You are receiving this mail because:
  • You are the assignee for the bug.
--1445407484.bf01d7aB0.3718-- --===============1800273907== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1800273907==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92309] Box drawn around cursor in multiple 3D games Date: Sun, 25 Oct 2015 10:19:21 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0560766457==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 043926E348 for ; Sun, 25 Oct 2015 03:19:21 -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 --===============0560766457== Content-Type: multipart/alternative; boundary="1445768360.A2FB0.11006"; charset="UTF-8" --1445768360.A2FB0.11006 Date: Sun, 25 Oct 2015 10:19:20 +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=3D92309 --- Comment #7 from Kamil P=C3=A1ral --- I see the same problem with Natural Selection 2, Legend of Grimrock, Kingdom Rush and some other games I already forgot. It's not rare. Attaching screenshots. I managed to capture apitrace for all three games (my first time working wi= th apitrace), the problem is that if I replay them, the cursor is not shown in= the replay. Also when I inspect it using qapitrace, the cursor is now visible in the thumbnails/screenshots. So I don't know if the traces will be even usef= ul. The traces are 20MB, 20MB and 70MB, I can temporarily host them somewhere if needed. I experimented with some other games (where I see no cursor corruption), an= d in some games the cursor is recorded and replayed, in some games it is not. Do= es anybody know what the reason is and how to make sure the cursor is included? My system: 01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Curacao PRO [Radeon R7 370 / R9 270/370 OEM] [1002:6811] kernel-4.2.3-300.fc23.x86_64 mesa-dri-drivers-11.0.3-1.20151012.fc23.x86_64 xorg-x11-server-Xorg-1.18.0-0.5.20150907.fc23.x86_64 xorg-x11-drv-ati-7.6.0-0.4.20150729git5510cd6.fc23.x86_64 Fedora 23 (In reply to acutiator from comment #5) > I can't get apitrace to > work with Steam games for me and the internet is being little help. This worked for me: https://github.com/apitrace/apitrace/wiki/Steam --=20 You are receiving this mail because: You are the assignee for the bug. --1445768360.A2FB0.11006 Date: Sun, 25 Oct 2015 10:19:20 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 7 on bug 92309<= /a> from Kamil P=C3=A1ral
I see the same problem with Natural Selection 2, Legend of Gri=
mrock, Kingdom
Rush and some other games I already forgot. It's not rare. Attaching
screenshots.

I managed to capture apitrace for all three games (my first time working wi=
th
apitrace), the problem is that if I replay them, the cursor is not shown in=
 the
replay. Also when I inspect it using qapitrace, the cursor is now visible in
the thumbnails/screenshots. So I don't know if the traces will be even usef=
ul.
The traces are 20MB, 20MB and 70MB, I can temporarily host them somewhere if
needed.

I experimented with some other games (where I see no cursor corruption), an=
d in
some games the cursor is recorded and replayed, in some games it is not. Do=
es
anybody know what the reason is and how to make sure the cursor is included?

My system:
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.
[AMD/ATI] Curacao PRO [Radeon R7 370 / R9 270/370 OEM] [1002:6811]
kernel-4.2.3-300.fc23.x86_64
mesa-dri-drivers-11.0.3-1.20151012.fc23.x86_64
xorg-x11-server-Xorg-1.18.0-0.5.20150907.fc23.x86_64
xorg-x11-drv-ati-7.6.0-0.4.20150729git5510cd6.fc23.x86_64
Fedora 23

(In reply to acutiator from comment =
#5)
> I can't get apitrace to
> work with Steam games for me and the internet is being little help.

This worked for me:
https://github.=
com/apitrace/apitrace/wiki/Steam


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1445768360.A2FB0.11006-- --===============0560766457== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0560766457==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92309] Box drawn around cursor in multiple 3D games Date: Sun, 25 Oct 2015 10:20:37 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1007593033==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id AD0F16E3D4 for ; Sun, 25 Oct 2015 03:20:37 -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 --===============1007593033== Content-Type: multipart/alternative; boundary="1445768437.2fF362b0.11147"; charset="UTF-8" --1445768437.2fF362b0.11147 Date: Sun, 25 Oct 2015 10:20:37 +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=3D92309 --- Comment #8 from Kamil P=C3=A1ral --- Created attachment 119183 --> https://bugs.freedesktop.org/attachment.cgi?id=3D119183&action=3Dedit Legend of Grimrock cursor corruption --=20 You are receiving this mail because: You are the assignee for the bug. --1445768437.2fF362b0.11147 Date: Sun, 25 Oct 2015 10:20:37 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 8 on bug 92309<= /a> from Kamil P=C3=A1ral
Created att=
achment 119183 [details]
Legend of Grimrock cursor corruption


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1445768437.2fF362b0.11147-- --===============1007593033== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1007593033==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92309] Box drawn around cursor in multiple 3D games Date: Sun, 25 Oct 2015 10:21:45 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1073920398==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 93D2D6E08A for ; Sun, 25 Oct 2015 03:21:45 -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 --===============1073920398== Content-Type: multipart/alternative; boundary="1445768505.17DA1b0.11342"; charset="UTF-8" --1445768505.17DA1b0.11342 Date: Sun, 25 Oct 2015 10:21:45 +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=3D92309 --- Comment #9 from Kamil P=C3=A1ral --- Created attachment 119184 --> https://bugs.freedesktop.org/attachment.cgi?id=3D119184&action=3Dedit Kingdom Rush cursor corruption The cursor is in upper left corner, the corruption is a bit harder to see (similar colors). --=20 You are receiving this mail because: You are the assignee for the bug. --1445768505.17DA1b0.11342 Date: Sun, 25 Oct 2015 10:21:45 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 9 on bug 92309<= /a> from Kamil P=C3=A1ral
Created attachmen=
t 119184 [details]
Kingdom Rush cursor corruption

The cursor is in upper left corner, the corruption is a bit harder to see
(similar colors).


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1445768505.17DA1b0.11342-- --===============1073920398== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1073920398==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92309] Box drawn around cursor in multiple 3D games Date: Tue, 27 Oct 2015 06:23:53 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1876530300==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id BF1696E4CB for ; Mon, 26 Oct 2015 23:23:54 -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 --===============1876530300== Content-Type: multipart/alternative; boundary="1445927034.C07e0.23976"; charset="UTF-8" --1445927034.C07e0.23976 Date: Tue, 27 Oct 2015 06:23:54 +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=3D92309 --- Comment #10 from Michel D=C3=A4nzer --- Presumably the cursor isn't captured by apitrace because it's not rendered using OpenGL but uses the Xcursor* APIs. The artifacts are most likely due = to the cursor image not using proper pre-mulitplied alpha data as expected by those APIs, which apparently happens to "work" to some degree with other drivers / hardware. --=20 You are receiving this mail because: You are the assignee for the bug. --1445927034.C07e0.23976 Date: Tue, 27 Oct 2015 06:23:54 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 10 on bug 92309<= /a> from Michel D=C3=A4nzer
Presumably the cursor isn't captured by apitrace because it's =
not rendered
using OpenGL but uses the Xcursor* APIs. The artifacts are most likely due =
to
the cursor image not using proper pre-mulitplied alpha data as expected by
those APIs, which apparently happens to "work" to some degree wit=
h other
drivers / hardware.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1445927034.C07e0.23976-- --===============1876530300== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1876530300==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92309] Box drawn around cursor in multiple 3D games Date: Tue, 27 Oct 2015 08:37:07 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1360420627==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id A4FFD89561 for ; Tue, 27 Oct 2015 01:37:08 -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 --===============1360420627== Content-Type: multipart/alternative; boundary="1445935027.aDeebaAa0.3316"; charset="UTF-8" --1445935027.aDeebaAa0.3316 Date: Tue, 27 Oct 2015 08:37:07 +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=3D92309 --- Comment #11 from Kamil P=C3=A1ral --- Thanks, Michel, that sounds plausible. In that case it seems we can close t= his bug and the only thing to do here is to ask the developers to fix their gam= es. --=20 You are receiving this mail because: You are the assignee for the bug. --1445935027.aDeebaAa0.3316 Date: Tue, 27 Oct 2015 08:37:07 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 11 on bug 92309<= /a> from Kamil P=C3=A1ral
Thanks, Michel, that sounds plausible. In that case it seems w=
e can close this
bug and the only thing to do here is to ask the developers to fix their gam=
es.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1445935027.aDeebaAa0.3316-- --===============1360420627== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1360420627==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92309] Box drawn around cursor in multiple 3D games Date: Tue, 01 Dec 2015 15:10:30 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1817514326==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id CC5E06E7A4 for ; Tue, 1 Dec 2015 07:10:29 -0800 (PST) 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 --===============1817514326== Content-Type: multipart/alternative; boundary="1448982629.DdE7af80.16945"; charset="UTF-8" --1448982629.DdE7af80.16945 Date: Tue, 1 Dec 2015 15:10:29 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=92309 --- Comment #12 from acutiator@outlook.com --- I'd like to start contacting these game developers to tell them about the issue, but I'd like to be quite specific about what they need to do to fix it. Can anyone provide some more insight on this so I know what to tell them? -- You are receiving this mail because: You are the assignee for the bug. --1448982629.DdE7af80.16945 Date: Tue, 1 Dec 2015 15:10:29 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 12 on bug 92309 from
I'd like to start contacting these game developers to tell them about the
issue, but I'd like to be quite specific about what they need to do to fix it.
Can anyone provide some more insight on this so I know what to tell them?


You are receiving this mail because:
  • You are the assignee for the bug.
--1448982629.DdE7af80.16945-- --===============1817514326== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1817514326==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92309] Box drawn around cursor in multiple 3D games Date: Tue, 01 Dec 2015 15:36:23 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1015692751==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 17C4F6E866 for ; Tue, 1 Dec 2015 07:36:23 -0800 (PST) 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 --===============1015692751== Content-Type: multipart/alternative; boundary="1448984183.BAfAEa0.21460"; charset="UTF-8" --1448984183.BAfAEa0.21460 Date: Tue, 1 Dec 2015 15:36:22 +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=3D92309 --- Comment #13 from Kamil P=C3=A1ral --- acutiator, thanks in advanced for the effort. I have zero knowledge about a= ll of this, but this wikipedia article seems to be comprehensible: https://en.wikipedia.org/wiki/Alpha_compositing The important part: ~~~~~~~ If an alpha channel is used in an image, it is common to also multiply the color by the alpha value, to save on additional multiplications during compositing. This is usually referred to as premultiplied alpha. Assuming that the pixel color is expressed using straight (non-premultiplie= d) RGBA tuples, a pixel value of (0.0, 0.5, 0.0, 0.5) implies a pixel that has= 50% of the maximum green intensity and 50% opacity. If the color were fully gre= en, its RGBA would be (0, 1, 0, 0.5). However, if this pixel uses premultiplied alpha, all of the RGB values (0, = 1, 0) are multiplied by 0.5 and then the alpha is appended to the end to yield= (0, 0.5, 0, 0.5). In this case, the 0.5 value for the G channel actually indica= tes 100% green intensity (with 50% opacity). For this reason, knowing whether a file uses premultiplied or straight alpha is essential to correctly process= or composite it. ~~~~~~~ I've also found the following howtos when searching for this: http://www.gamedev.net/topic/623481-how-to-create-pre-multiplied-alpha-for-= use-with-opengl/ http://blog.qythyx.com/2014/01/premultiplied-alpha.html Hope that helps a bit. You might wait a while whether someone more knowledgeable gives you a better advice. --=20 You are receiving this mail because: You are the assignee for the bug. --1448984183.BAfAEa0.21460 Date: Tue, 1 Dec 2015 15:36:23 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 13 on bug 92309<= /a> from Kamil P=C3=A1ral
acutiator, thanks in advanced for the effort. I have zero know=
ledge about all
of this, but this wikipedia article seems to be comprehensible:
https://en.wiki=
pedia.org/wiki/Alpha_compositing

The important part:
~~~~~~~
If an alpha channel is used in an image, it is common to also multiply the
color by the alpha value, to save on additional multiplications during
compositing. This is usually referred to as premultiplied alpha.

Assuming that the pixel color is expressed using straight (non-premultiplie=
d)
RGBA tuples, a pixel value of (0.0, 0.5, 0.0, 0.5) implies a pixel that has=
 50%
of the maximum green intensity and 50% opacity. If the color were fully gre=
en,
its RGBA would be (0, 1, 0, 0.5).

However, if this pixel uses premultiplied alpha, all of the RGB values (0, =
1,
0) are multiplied by 0.5 and then the alpha is appended to the end to yield=
 (0,
0.5, 0, 0.5). In this case, the 0.5 value for the G channel actually indica=
tes
100% green intensity (with 50% opacity). For this reason, knowing whether a
file uses premultiplied or straight alpha is essential to correctly process=
 or
composite it.
~~~~~~~

I've also found the following howtos when searching for this:
http://www.gamedev.net/topic/623481-how-to-cre=
ate-pre-multiplied-alpha-for-use-with-opengl/
http://=
blog.qythyx.com/2014/01/premultiplied-alpha.html

Hope that helps a bit. You might wait a while whether someone more
knowledgeable gives you a better advice.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1448984183.BAfAEa0.21460-- --===============1015692751== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1015692751==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92309] Box drawn around cursor in multiple 3D games Date: Wed, 02 Dec 2015 02:45:39 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1023731886==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 42E286E1C5 for ; Tue, 1 Dec 2015 18:45:39 -0800 (PST) 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 --===============1023731886== Content-Type: multipart/alternative; boundary="1449024339.ffbb7f8b0.22636"; charset="UTF-8" --1449024339.ffbb7f8b0.22636 Date: Wed, 2 Dec 2015 02:45:39 +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=3D92309 --- Comment #14 from Michel D=C3=A4nzer --- Kamil is spot on. In particular, this means that the only way to encode a fully transparent p= ixel with premultiplied alpha is using (0, 0, 0, 0). Which is obviously not the = case for the cursors on the attached screenshots, so those cursors don't use val= id premultiplied alpha encoding. --=20 You are receiving this mail because: You are the assignee for the bug. --1449024339.ffbb7f8b0.22636 Date: Wed, 2 Dec 2015 02:45:39 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 14 on bug 92309<= /a> from Michel D=C3=A4nzer
Kamil is spot on.

In particular, this means that the only way to encode a fully transparent p=
ixel
with premultiplied alpha is using (0, 0, 0, 0). Which is obviously not the =
case
for the cursors on the attached screenshots, so those cursors don't use val=
id
premultiplied alpha encoding.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1449024339.ffbb7f8b0.22636-- --===============1023731886== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1023731886==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92309] Box drawn around cursor in multiple 3D games Date: Wed, 02 Dec 2015 04:48:21 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1819744710==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 6A5026E209 for ; Tue, 1 Dec 2015 20:48:21 -0800 (PST) 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 --===============1819744710== Content-Type: multipart/alternative; boundary="1449031701.B04A8B20.24569"; charset="UTF-8" --1449031701.B04A8B20.24569 Date: Wed, 2 Dec 2015 04:48:21 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=92309 --- Comment #15 from acutiator@outlook.com --- Based on what you said, I would think that it should be possible to detect when an invalid pre-multiplied alpha bitmap is in use. Is that true in all circumstances or is there more nuance to that? If it is true, I would think it'd be worth correcting for this error on the library side, though the problem is actually in the games. -- You are receiving this mail because: You are the assignee for the bug. --1449031701.B04A8B20.24569 Date: Wed, 2 Dec 2015 04:48:21 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 15 on bug 92309 from
Based on what you said, I would think that it should be possible to detect when
an invalid pre-multiplied alpha bitmap is in use. Is that true in all
circumstances or is there more nuance to that? If it is true, I would think
it'd be worth correcting for this error on the library side, though the problem
is actually in the games.


You are receiving this mail because:
  • You are the assignee for the bug.
--1449031701.B04A8B20.24569-- --===============1819744710== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1819744710==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92309] Box drawn around cursor in multiple 3D games Date: Wed, 02 Dec 2015 15:27:52 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1257290668==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 5786D6E9E3 for ; Wed, 2 Dec 2015 07:27:52 -0800 (PST) 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 --===============1257290668== Content-Type: multipart/alternative; boundary="1449070072.5D4FD40.14247"; charset="UTF-8" --1449070072.5D4FD40.14247 Date: Wed, 2 Dec 2015 15:27:52 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=92309 --- Comment #16 from Alex Deucher --- (In reply to acutiator from comment #15) > Based on what you said, I would think that it should be possible to detect > when an invalid pre-multiplied alpha bitmap is in use. Is that true in all > circumstances or is there more nuance to that? If it is true, I would think > it'd be worth correcting for this error on the library side, though the > problem is actually in the games. How would the xserver know what the game intends in the cursor image? -- You are receiving this mail because: You are the assignee for the bug. --1449070072.5D4FD40.14247 Date: Wed, 2 Dec 2015 15:27:52 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 16 on bug 92309 from
(In reply to acutiator from comment #15)
> Based on what you said, I would think that it should be possible to detect
> when an invalid pre-multiplied alpha bitmap is in use. Is that true in all
> circumstances or is there more nuance to that? If it is true, I would think
> it'd be worth correcting for this error on the library side, though the
> problem is actually in the games.

How would the xserver know what the game intends in the cursor image?


You are receiving this mail because:
  • You are the assignee for the bug.
--1449070072.5D4FD40.14247-- --===============1257290668== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1257290668==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92309] Box drawn around cursor in multiple 3D games Date: Wed, 02 Dec 2015 15:42:11 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1221803776==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id DC9566E9F4 for ; Wed, 2 Dec 2015 07:42:10 -0800 (PST) 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 --===============1221803776== Content-Type: multipart/alternative; boundary="1449070930.ccD8aE80.19787"; charset="UTF-8" --1449070930.ccD8aE80.19787 Date: Wed, 2 Dec 2015 15:42:10 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=92309 --- Comment #17 from acutiator@outlook.com --- > How would the xserver know what the game intends in the cursor image? This is what I'm asking you, actually. I don't know if it's possible. I'm asking if it is. From what I understand based on the comments by Michel and Kamil it sounds like it should be possible. So I wanted to clarify on whether or not it is. The comment about a (0,0,0,0) pixel being a clear indicator that something is wrong is what triggered my question. If it can be clearly detected that it's a premultiplied alpha, even when the program doesn't indicate this, I would think that should be implemented. Now the question is if that can be easily detected without human intervention. But based on your question to me it doesn't sound like it is. Is that correct? -- You are receiving this mail because: You are the assignee for the bug. --1449070930.ccD8aE80.19787 Date: Wed, 2 Dec 2015 15:42:10 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 17 on bug 92309 from
> How would the xserver know what the game intends in the cursor image?

This is what I'm asking you, actually. I don't know if it's possible. I'm
asking if it is. From what I understand based on the comments by Michel and
Kamil it sounds like it should be possible. So I wanted to clarify on whether
or not it is. The comment about a (0,0,0,0) pixel being a clear indicator that
something is wrong is what triggered my question. If it can be clearly detected
that it's a premultiplied alpha, even when the program doesn't indicate this, I
would think that should be implemented. Now the question is if that can be
easily detected without human intervention. But based on your question to me it
doesn't sound like it is. Is that correct?


You are receiving this mail because:
  • You are the assignee for the bug.
--1449070930.ccD8aE80.19787-- --===============1221803776== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1221803776==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92309] Box drawn around cursor in multiple 3D games Date: Wed, 02 Dec 2015 16:17:26 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1151939939==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 716C16EA18 for ; Wed, 2 Dec 2015 08:17:26 -0800 (PST) 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 --===============1151939939== Content-Type: multipart/alternative; boundary="1449073046.8Afa0FB80.310"; charset="UTF-8" --1449073046.8Afa0FB80.310 Date: Wed, 2 Dec 2015 16:17:26 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=92309 --- Comment #18 from Alex Deucher --- (In reply to acutiator from comment #17) > This is what I'm asking you, actually. I don't know if it's possible. I'm > asking if it is. From what I understand based on the comments by Michel and > Kamil it sounds like it should be possible. So I wanted to clarify on > whether or not it is. The comment about a (0,0,0,0) pixel being a clear > indicator that something is wrong is what triggered my question. If it can > be clearly detected that it's a premultiplied alpha, even when the program > doesn't indicate this, I would think that should be implemented. Now the > question is if that can be easily detected without human intervention. But > based on your question to me it doesn't sound like it is. Is that correct? Correct. I don't think it's possible. We just get the raw image. How do you determine the indent of a specific pixel based on the pixel value? Did the provider intend it to be clear or did they indent it to be some specific color? -- You are receiving this mail because: You are the assignee for the bug. --1449073046.8Afa0FB80.310 Date: Wed, 2 Dec 2015 16:17:26 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 18 on bug 92309 from
(In reply to acutiator from comment #17)
> This is what I'm asking you, actually. I don't know if it's possible. I'm
> asking if it is. From what I understand based on the comments by Michel and
> Kamil it sounds like it should be possible. So I wanted to clarify on
> whether or not it is. The comment about a (0,0,0,0) pixel being a clear
> indicator that something is wrong is what triggered my question. If it can
> be clearly detected that it's a premultiplied alpha, even when the program
> doesn't indicate this, I would think that should be implemented. Now the
> question is if that can be easily detected without human intervention. But
> based on your question to me it doesn't sound like it is. Is that correct?

Correct.  I don't think it's possible.  We just get the raw image.  How do you
determine the indent of a specific pixel based on the pixel value?  Did the
provider intend it to be clear or did they indent it to be some specific color?


You are receiving this mail because:
  • You are the assignee for the bug.
--1449073046.8Afa0FB80.310-- --===============1151939939== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1151939939==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92309] Box drawn around cursor in multiple 3D games Date: Wed, 02 Dec 2015 17:16:35 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0914472580==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 077356EA3E for ; Wed, 2 Dec 2015 09:16:35 -0800 (PST) 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 --===============0914472580== Content-Type: multipart/alternative; boundary="1449076594.8c3ad3F0.13210"; charset="UTF-8" --1449076594.8c3ad3F0.13210 Date: Wed, 2 Dec 2015 17:16:34 +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=3D92309 --- Comment #19 from Kamil P=C3=A1ral --- I believe you can automatically detect invalid input in some cases. If you receive an image in which R or G or B value is higher than A value, for any available pixel, you can be certain that the image does not have premultipl= ied alpha but straight alpha (this situation can never happen with premultiplied alpha, by definition). You can then assume a developer mistake and "fix" the image automatically. It might even resolve most of the usual cursor-related mistakes (we can clearly see colored boxes, while it's expected to be transparent, so those images have RGB>A for some pixels). However, this has downsides as well. It does not cover all cases (for images where all RGB are lower or equal to their respective A, you can't decide whether it is premultiplied or straight). The automatic detection and conversion might involve some performance hit. And it might not be a good A= PI design, because trying to be overly helpful often leads to lowered predictability and more difficult debugging. But that would be someone else= 's call. I might also be talking utter nonsense because I have no expertise in graph= ics. --=20 You are receiving this mail because: You are the assignee for the bug. --1449076594.8c3ad3F0.13210 Date: Wed, 2 Dec 2015 17:16:34 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 19 on bug 92309<= /a> from Kamil P=C3=A1ral
I believe you can automatically detect invalid input in some c=
ases. If you
receive an image in which R or G or B value is higher than A value, for any
available pixel, you can be certain that the image does not have premultipl=
ied
alpha but straight alpha (this situation can never happen with premultiplied
alpha, by definition). You can then assume a developer mistake and "fi=
x" the
image automatically. It might even resolve most of the usual cursor-related
mistakes (we can clearly see colored boxes, while it's expected to be
transparent, so those images have RGB>A for some pixels).

However, this has downsides as well. It does not cover all cases (for images
where all RGB are lower or equal to their respective A, you can't decide
whether it is premultiplied or straight). The automatic detection and
conversion might involve some performance hit. And it might not be a good A=
PI
design, because trying to be overly helpful often leads to lowered
predictability and more difficult debugging. But that would be someone else=
's
call.

I might also be talking utter nonsense because I have no expertise in graph=
ics.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1449076594.8c3ad3F0.13210-- --===============0914472580== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0914472580==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92309] Box drawn around cursor in multiple 3D games Date: Fri, 15 Jul 2016 14:03:44 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0089296408==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 764836E0C5 for ; Fri, 15 Jul 2016 14:03:44 +0000 (UTC) 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 --===============0089296408== Content-Type: multipart/alternative; boundary="14685914240.8eBfa4733.7549"; charset="UTF-8" --14685914240.8eBfa4733.7549 Date: Fri, 15 Jul 2016 14:03:44 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D92309 ajax at nwnk dot net changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #20 from ajax at nwnk dot net --- commit 401a8d6e1379133863e3271374dc21850d0d3cab Author: Michel D=C3=A4nzer Date: Tue Jun 28 17:22:47 2016 +0900 dix: Work around non-premultiplied ARGB cursor data --=20 You are receiving this mail because: You are the assignee for the bug.= --14685914240.8eBfa4733.7549 Date: Fri, 15 Jul 2016 14:03:44 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated ajax at nwnk dot net changed bug 92309<= /a>
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED

Commen= t # 20 on bug 92309<= /a> from ajax at nwnk dot net
commit 401a8d6e1379133863e3271374dc21850d0d3cab
Author: Michel D=C3=A4nzer <michel.daenzer@amd.com>
Date:   Tue Jun 28 17:22:47 2016 +0900

    dix: Work around non-premultiplied ARGB cursor data


You are receiving this mail because:
  • You are the assignee for the bug.
= --14685914240.8eBfa4733.7549-- --===============0089296408== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0089296408==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92309] Box drawn around cursor in multiple 3D games Date: Fri, 15 Jul 2016 14:09:56 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0558034143==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 8D1D36EA2F for ; Fri, 15 Jul 2016 14:09:56 +0000 (UTC) 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 --===============0558034143== Content-Type: multipart/alternative; boundary="14685917961.EFB87.8339"; charset="UTF-8" --14685917961.EFB87.8339 Date: Fri, 15 Jul 2016 14:09:56 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D92309 --- Comment #21 from Kamil P=C3=A1ral --- Thanks, Michel and Adam. --=20 You are receiving this mail because: You are the assignee for the bug.= --14685917961.EFB87.8339 Date: Fri, 15 Jul 2016 14:09:56 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated


You are receiving this mail because:
  • You are the assignee for the bug.
= --14685917961.EFB87.8339-- --===============0558034143== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0558034143==--