From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 91117] New: Nimbus (running in wine) has rendering issues, objects are semi-transparent Date: Fri, 26 Jun 2015 16:40:38 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0242300023==" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0242300023== Content-Type: multipart/alternative; boundary="1435336838.482bBD741.26841"; charset="UTF-8" --1435336838.482bBD741.26841 Date: Fri, 26 Jun 2015 16:40:38 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=91117 Bug ID: 91117 Summary: Nimbus (running in wine) has rendering issues, objects are semi-transparent Product: Mesa Version: 10.5 Hardware: Other URL: http://store.steampowered.com/app/50000/ OS: All Status: NEW Keywords: bisected, regression Severity: normal Priority: medium Component: Drivers/DRI/nouveau Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Reporter: gyebro69-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org QA Contact: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org CC: imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org The game is available on Steam and needs Wine to run. The main menu and all the objects in the game appear transparently, see this screenshot for comparison (images on the right show the correct behaviour, images on the left is the current state): http://imgur.com/aDhYehq The problem doesn't occur with the binary Nvidia drivers (340.76). Regression introduced by commit 9e94b87b6012450d714edc6d0c46b15a89d5ce61 Author: Ilia Mirkin Date: Thu Jan 1 01:01:13 2015 -0500 nv50/ir: fold MAD when one of the multiplicands is const Fold MAD dst, src0, immed, src2 (or src0/immed swapped) when - immed = 0 -> MOV dst, src2 - immed = +/- 1 -> ADD dst, src0, src2 These types of MAD patterns were observed in some st/nine shaders. Reverting the commit on current git fixes the problem for me. Trace file generated by apitrace: https://drive.google.com/open?id=0B-tTbLKBl-tObmNTbmZLV08xMzA&authuser=0 To reproduce the problem in the demo version you need Wine (preferably the latest development version) and a Steam account. The game needs native d3dx9_36 ('winetricks d3dx9_36'). Fedora 22 32-bit Mesa 10.6-branchpoint-676-g7de8569 VGA compatible controller: NVIDIA Corporation G92 [GeForce GTS 250] (rev a2) (prog-if 00 [VGA controller]) Kernel 4.0.5-300.fc22.i686+PAE xorg-x11-server-Xorg-1.17.2-1.fc22.i686 -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug. --1435336838.482bBD741.26841 Date: Fri, 26 Jun 2015 16:40:38 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Bug ID 91117
Summary Nimbus (running in wine) has rendering issues, objects are semi-transparent
Product Mesa
Version 10.5
Hardware Other
URL http://store.steampowered.com/app/50000/
OS All
Status NEW
Keywords bisected, regression
Severity normal
Priority medium
Component Drivers/DRI/nouveau
Assignee nouveau@lists.freedesktop.org
Reporter gyebro69@gmail.com
QA Contact nouveau@lists.freedesktop.org
CC imirkin@alum.mit.edu

The game is available on Steam and needs Wine to run.
The main menu and all the objects in the game appear transparently, see this
screenshot for comparison (images on the right show the correct behaviour,
images on the left is the current state): http://imgur.com/aDhYehq

The problem doesn't occur with the binary Nvidia drivers (340.76).

Regression introduced by

commit 9e94b87b6012450d714edc6d0c46b15a89d5ce61
Author: Ilia Mirkin <imirkin@alum.mit.edu>
Date:   Thu Jan 1 01:01:13 2015 -0500

    nv50/ir: fold MAD when one of the multiplicands is const

    Fold MAD dst, src0, immed, src2 (or src0/immed swapped) when
     - immed = 0 -> MOV dst, src2
     - immed = +/- 1 -> ADD dst, src0, src2

    These types of MAD patterns were observed in some st/nine shaders.

Reverting the commit on current git fixes the problem for me.

Trace file generated by apitrace:
https://drive.google.com/open?id=0B-tTbLKBl-tObmNTbmZLV08xMzA&authuser=0

To reproduce the problem in the demo version you need Wine (preferably the
latest development version) and a Steam account. The game needs native d3dx9_36
('winetricks d3dx9_36').

Fedora 22 32-bit
Mesa 10.6-branchpoint-676-g7de8569
VGA compatible controller: NVIDIA Corporation G92 [GeForce GTS 250] (rev a2)
(prog-if 00 [VGA controller])
Kernel 4.0.5-300.fc22.i686+PAE
xorg-x11-server-Xorg-1.17.2-1.fc22.i686


You are receiving this mail because:
  • You are the QA Contact for the bug.
  • You are the assignee for the bug.
--1435336838.482bBD741.26841-- --===============0242300023== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cDovL2xpc3RzLmZy ZWVkZXNrdG9wLm9yZy9tYWlsbWFuL2xpc3RpbmZvL25vdXZlYXUK --===============0242300023==--