Bug 75776 - [NV50 gallium] Hearthstone displays corrupted buffers
Summary: [NV50 gallium] Hearthstone displays corrupted buffers
Status: RESOLVED DUPLICATE of bug 90887
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/nouveau (show other bugs)
Version: 10.0
Hardware: Other All
: medium normal
Assignee: Nouveau Project
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-04 22:18 UTC by Lubosz Sarnecki
Modified: 2015-06-28 06:25 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Screenshot (833.16 KB, image/png)
2014-03-04 22:18 UTC, Lubosz Sarnecki
Details

Description Lubosz Sarnecki 2014-03-04 22:18:49 UTC
Created attachment 95122 [details]
Screenshot

Since a patch, Blizzard's Free-To-Play game Hearthstone produces corrupted output on my NVA5. It works on my NVC8.

The bug occurs as soon as the main menu opens. The bug is reproducable with the output of apitrace.

Since it worked before and works on NVIDIA and other nouveau drivers, so I suppose it is not a WINE bug.

I created a apitrace (Version 5 from git). The trace plays fine on NVIDIA and NVC8. Other games, also other WINE games do not produce similar bugs.

Using linux 3.13.5, mesa 10.0.3
Comment 1 Ilia Mirkin 2014-03-04 22:23:16 UTC
Could you provide the apitrace (via e.g. google drive, dropbox, or some other hosting option)?

When you say that it worked before, do you know what mesa version it worked with on this hardware?
Comment 2 Lubosz Sarnecki 2014-03-04 22:25:32 UTC
This apitrace produces the corrupted buffers and displays incorrectly on NVA5 nouveau. It works on NVC8 nouveau and nvidia.

https://drive.google.com/file/d/0B0bLtNyAhxgoN1FNWUVvLTVjbmM
Comment 3 Lubosz Sarnecki 2014-03-04 22:26:36 UTC
It worked before, but the mesa version did not change. I suppose it was an early 10.0. The bug was introduced in a Hearthstone patch.
Comment 4 Emil Velikov 2014-03-05 00:02:11 UTC
Bug seems be present with commit 3d7c883 (master from a few hours ago) on nv96.
Comment 5 Ilia Mirkin 2014-03-05 03:39:17 UTC
Confirmed with latest on nv96 as well as Mesa 9.1.6. No errors in dmesg, but this feels like an incorrect format somewhere, or an FBO attachment not being output to. I checked with NV50_PROG_OPTIMIZE=0, and it's not a shader optimization going wrong.

There are a few surface formats that are not blendable on nv50 but are on nvc0 (not 100% sure what "blendable" means... PIPE_BIND_BLENDABLE, whatever that is). Perhaps it's trying to use one as blendable without declaring so...

There are some errors reported by glretrace, but I checked in the trace dump, and they match the errors that the application received when doing the the fb completeness checks.
Comment 6 Ilia Mirkin 2014-03-05 03:53:20 UTC
Another thing I noticed is lots of compressed texture usage (GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT). What happens if you run it with

MESA_EXTENSION_OVERRIDE=-GL_EXT_texture_compression_s3tc

in the environment? Does that fix things? (I can't really test on the trace, since the trace only has the compressed content.)
Comment 7 Lubosz Sarnecki 2014-03-05 05:47:24 UTC
Updated trace without compression.

MESA_EXTENSION_OVERRIDE=-GL_EXT_texture_compression_s3tc

https://drive.google.com/file/d/0B0bLtNyAhxgoYjVqYW1HWElhcjA

The trace is also smaller, since the game is in maintenance mode and does not show the menu animation. The bug still occurs though.
Comment 8 Ilia Mirkin 2014-03-09 21:45:02 UTC
Hmmm... I just tried Hearthstone with the latest mesa-git and wine-1.7.14, and it all worked fine. Can you double-check with the latest wine? Perhaps they fixed something.
Comment 9 Lubosz Sarnecki 2014-03-10 07:43:46 UTC
Same behavior with

mesa master 10.2.0 678cf961

wine release 1.7.14
wine master 1.7.14 gecd24b5
old wine master 1.7.13 g9c5c3a8
Comment 10 Lubosz Sarnecki 2014-03-10 07:48:07 UTC
Should I try Linux from git, in case it was fixed in nouveau?
I am on Linux 3.13.6 (Arch).

Also I noticed some Uniforms in the dump, which were near negative zero, e.g. -0.00001337. I don't know if this could be an issue.

Is there a way to bisect the dump or remove certain calls?
Is there a way to convert the dump to a C program?
Comment 11 Ilia Mirkin 2014-03-10 08:01:06 UTC
Hmmm... so that points to some difference between NV96 (my card) and NVA5. NVA5 exposes a few more extensions that NV96 does, but I can't imagine those would matter...

By the way, you're sure that you updated the right mesa drivers? You need to install 32-bit drivers.
Comment 12 Lubosz Sarnecki 2014-03-10 10:18:15 UTC
I didn't have the right lib32 package installed, but now I updated it to lib32-mesa-git lib32-mesa-libgl-git and lib32-nouveau-dri-git

The behavior did not change, bug is still present.
Comment 13 Vijay Kamuju 2014-04-19 10:54:21 UTC
I also face this issue, I have NV4x card
Also when I check dmesg I have the following messages
$ dmesg |grep nou
[    0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[   14.370212] fb: conflicting fb hw usage nouveaufb vs VESA VGA - removing generic driver
[   14.374433] nouveau  [  DEVICE][0000:01:00.0] BOOT0  : 0x049800a2
[   14.374440] nouveau  [  DEVICE][0000:01:00.0] Chipset: G71 (NV49)
[   14.374456] nouveau  [  DEVICE][0000:01:00.0] Family : NV40
[   14.376861] nouveau  [   VBIOS][0000:01:00.0] checking PRAMIN for image...
[   14.529322] nouveau  [   VBIOS][0000:01:00.0] ... appears to be valid
[   14.529334] nouveau  [   VBIOS][0000:01:00.0] using image from PRAMIN
[   14.529785] nouveau  [   VBIOS][0000:01:00.0] BIT signature found
[   14.529804] nouveau  [   VBIOS][0000:01:00.0] version 05.71.22.16.13
[   14.530551] nouveau 0000:01:00.0: irq 46 for MSI/MSI-X
[   14.530581] nouveau  [     PMC][0000:01:00.0] MSI interrupts enabled
[   14.530665] nouveau  [     PFB][0000:01:00.0] RAM type: GDDR3
[   14.530671] nouveau  [     PFB][0000:01:00.0] RAM size: 512 MiB
[   14.530677] nouveau  [     PFB][0000:01:00.0]    ZCOMP: 294912 tags
[   14.559166] nouveau  [    VOLT][0000:01:00.0] GPU voltage: 1240000uv
[   14.594974] nouveau  [  PTHERM][0000:01:00.0] FAN control: none / external
[   14.595009] nouveau  [  PTHERM][0000:01:00.0] fan management: automatic
[   14.595027] nouveau  [  PTHERM][0000:01:00.0] internal sensor: yes
[   14.616766] nouveau  [     CLK][0000:01:00.0] 20: core 100 MHz shader 100 MHz memory 100 MHz
[   14.616790] nouveau  [     CLK][0000:01:00.0] 21: core 200 MHz shader 200 MHz memory 300 MHz
[   14.616800] nouveau  [     CLK][0000:01:00.0] 22: core 375 MHz shader 375 MHz memory 507 MHz
[   14.616827] nouveau  [     CLK][0000:01:00.0] --: core 200 MHz shader 200 MHz memory 351 MHz
[   14.623060] nouveau  [     DRM] VRAM: 506 MiB
[   14.623068] nouveau  [     DRM] GART: 512 MiB
[   14.623089] nouveau  [     DRM] TMDS table version 1.1
[   14.623094] nouveau W[     DRM] TMDS table script pointers not stubbed
[   14.623100] nouveau  [     DRM] DCB version 3.0
[   14.623107] nouveau  [     DRM] DCB outp 00: 03000323 00000004
[   14.623126] nouveau  [     DRM] DCB outp 01: 01011300 00000028
[   14.623132] nouveau  [     DRM] DCB outp 02: 020223f1 0040c080
[   14.623138] nouveau  [     DRM] DCB outp 03: 08035312 00000000
[   14.623154] nouveau  [     DRM] DCB outp 04: 04036312 00000000
[   14.623159] nouveau  [     DRM] DCB conn 00: 0041
[   14.623166] nouveau  [     DRM] DCB conn 01: 0100
[   14.623171] nouveau  [     DRM] DCB conn 02: 0310
[   14.623186] nouveau  [     DRM] DCB conn 03: 0311
[   14.623191] nouveau  [     DRM] DCB conn 04: 0313
[   14.623196] nouveau  [     DRM] DCB conn 05: 0254
[   14.623201] nouveau  [     DRM] DCB conn 06: 0455
[   14.625005] nouveau W[     DRM] unknown connector type 54
[   14.625324] nouveau W[     DRM] unknown connector type 55
[   14.627786] nouveau E[     DRM] Pixel clock comparison table not found
[   14.627812] nouveau  [     DRM] 0xCA1F: Parsing digital output script table
[   14.689456] nouveau  [     DRM] MM: using M2MF for buffer copies
[   14.689472] nouveau  [     DRM] Calling LVDS script 6:
[   14.689489] nouveau  [     DRM] 0xC81B: Parsing digital output script table
[   14.975580] nouveau  [     DRM] Setting dpms mode 3 on TV encoder (output 2)
[   15.074686] nouveau  [     DRM] allocated 1920x1200 fb: 0x9000, bo f5a4d000
[   15.075032] fbcon: nouveaufb (fb0) is primary device
[   15.096286] nouveau  [     DRM] Calling LVDS script 2:
[   15.096291] nouveau  [     DRM] 0xC89F: Parsing digital output script table
[   15.244611] nouveau  [     DRM] Calling LVDS script 5:
[   15.244625] nouveau  [     DRM] 0xC80C: Parsing digital output script table
[   15.248171] nouveau 0000:01:00.0: fb0: nouveaufb frame buffer device
[   15.248187] nouveau 0000:01:00.0: registered panic notifier
[   15.248200] [drm] Initialized nouveau 1.1.1 20120801 for 0000:01:00.0 on minor 0
[  175.238926] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[  175.238962] nouveau E[  PGRAPH][0000:01:00.0] ch 3 [0x0013c000 Hearthstone.exe[734]] subc 7 class 0x4097 mthd 0x0208 data 0x04040242
[  175.248385] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[  175.248420] nouveau E[  PGRAPH][0000:01:00.0] ch 3 [0x0013c000 Hearthstone.exe[734]] subc 7 class 0x4097 mthd 0x0208 data 0x04040243
[  175.283980] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[  175.284015] nouveau E[  PGRAPH][0000:01:00.0] ch 3 [0x0013c000 Hearthstone.exe[734]] subc 7 class 0x4097 mthd 0x0208 data 0x04040242
[  175.421586] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[  175.421622] nouveau E[  PGRAPH][0000:01:00.0] ch 3 [0x0013c000 Hearthstone.exe[734]] subc 7 class 0x4097 mthd 0x0208 data 0x04040242
[  175.431331] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[  175.431362] nouveau E[  PGRAPH][0000:01:00.0] ch 3 [0x0013c000 Hearthstone.exe[734]] subc 7 class 0x4097 mthd 0x0208 data 0x04040243
[  175.467132] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[  175.467165] nouveau E[  PGRAPH][0000:01:00.0] ch 3 [0x0013c000 Hearthstone.exe[734]] subc 7 class 0x4097 mthd 0x0208 data 0x04040242
[  175.584243] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[  175.584289] nouveau E[  PGRAPH][0000:01:00.0] ch 3 [0x0013c000 Hearthstone.exe[734]] subc 7 class 0x4097 mthd 0x0208 data 0x04040242
[  175.593366] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[  175.593399] nouveau E[  PGRAPH][0000:01:00.0] ch 3 [0x0013c000 Hearthstone.exe[734]] subc 7 class 0x4097 mthd 0x0208 data 0x04040243
[  175.629060] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[  175.629093] nouveau E[  PGRAPH][0000:01:00.0] ch 3 [0x0013c000 Hearthstone.exe[734]] subc 7 class 0x4097 mthd 0x0208 data 0x04040242
[  233.248352] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[  233.248388] nouveau E[  PGRAPH][0000:01:00.0] ch 3 [0x0013c000 Hearthstone.exe[943]] subc 7 class 0x4097 mthd 0x0208 data 0x04040242
[  233.261331] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[  233.261378] nouveau E[  PGRAPH][0000:01:00.0] ch 3 [0x0013c000 Hearthstone.exe[943]] subc 7 class 0x4097 mthd 0x0208 data 0x04040243
[  233.304548] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[  233.304594] nouveau E[  PGRAPH][0000:01:00.0] ch 3 [0x0013c000 Hearthstone.exe[943]] subc 7 class 0x4097 mthd 0x0208 data 0x04040242
[  233.442718] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[  233.442753] nouveau E[  PGRAPH][0000:01:00.0] ch 3 [0x0013c000 Hearthstone.exe[943]] subc 7 class 0x4097 mthd 0x0208 data 0x04040242
[  233.453935] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[  233.453982] nouveau E[  PGRAPH][0000:01:00.0] ch 3 [0x0013c000 Hearthstone.exe[943]] subc 7 class 0x4097 mthd 0x0208 data 0x04040243
[  233.514085] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[  233.514134] nouveau E[  PGRAPH][0000:01:00.0] ch 3 [0x0013c000 Hearthstone.exe[943]] subc 7 class 0x4097 mthd 0x0208 data 0x04040242
[  233.702685] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[  233.702720] nouveau E[  PGRAPH][0000:01:00.0] ch 3 [0x0013c000 Hearthstone.exe[943]] subc 7 class 0x4097 mthd 0x0208 data 0x04040242
[  233.714522] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[  233.714572] nouveau E[  PGRAPH][0000:01:00.0] ch 3 [0x0013c000 Hearthstone.exe[943]] subc 7 class 0x4097 mthd 0x0208 data 0x04040243
[  233.755169] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[  233.755206] nouveau E[  PGRAPH][0000:01:00.0] ch 3 [0x0013c000 Hearthstone.exe[943]] subc 7 class 0x4097 mthd 0x0208 data 0x04040242
[ 1604.720371] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[ 1604.720406] nouveau E[  PGRAPH][0000:01:00.0] ch 3 [0x0013c000 Hearthstone.exe[5728]] subc 7 class 0x4097 mthd 0x0208 data 0x04040242
[ 1604.728627] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[ 1604.728663] nouveau E[  PGRAPH][0000:01:00.0] ch 3 [0x0013c000 Hearthstone.exe[5728]] subc 7 class 0x4097 mthd 0x0208 data 0x04040243
[ 1604.763825] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[ 1604.763871] nouveau E[  PGRAPH][0000:01:00.0] ch 3 [0x0013c000 Hearthstone.exe[5728]] subc 7 class 0x4097 mthd 0x0208 data 0x04040242
[ 1605.125611] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[ 1605.125658] nouveau E[  PGRAPH][0000:01:00.0] ch 3 [0x0013c000 Hearthstone.exe[5728]] subc 7 class 0x4097 mthd 0x0208 data 0x04040242
[ 1605.139330] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[ 1605.139377] nouveau E[  PGRAPH][0000:01:00.0] ch 3 [0x0013c000 Hearthstone.exe[5728]] subc 7 class 0x4097 mthd 0x0208 data 0x04040243
[ 1605.176399] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[ 1605.176446] nouveau E[  PGRAPH][0000:01:00.0] ch 3 [0x0013c000 Hearthstone.exe[5728]] subc 7 class 0x4097 mthd 0x0208 data 0x04040242
[ 1605.391303] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[ 1605.391350] nouveau E[  PGRAPH][0000:01:00.0] ch 3 [0x0013c000 Hearthstone.exe[5728]] subc 7 class 0x4097 mthd 0x0208 data 0x04040242
[ 1605.402239] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[ 1605.402274] nouveau E[  PGRAPH][0000:01:00.0] ch 3 [0x0013c000 Hearthstone.exe[5728]] subc 7 class 0x4097 mthd 0x0208 data 0x04040243
[ 1605.437623] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[ 1605.437658] nouveau E[  PGRAPH][0000:01:00.0] ch 3 [0x0013c000 Hearthstone.exe[5728]] subc 7 class 0x4097 mthd 0x0208 data 0x04040242
[ 1684.834322] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[ 1684.834357] nouveau E[  PGRAPH][0000:01:00.0] ch 4 [0x00165000 Hearthstone.exe[6717]] subc 7 class 0x4097 mthd 0x0208 data 0x04040242
[ 1684.844347] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[ 1684.844381] nouveau E[  PGRAPH][0000:01:00.0] ch 4 [0x00165000 Hearthstone.exe[6717]] subc 7 class 0x4097 mthd 0x0208 data 0x04040243
[ 1684.879929] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[ 1684.879965] nouveau E[  PGRAPH][0000:01:00.0] ch 4 [0x00165000 Hearthstone.exe[6717]] subc 7 class 0x4097 mthd 0x0208 data 0x04040242
[ 1685.051287] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[ 1685.051323] nouveau E[  PGRAPH][0000:01:00.0] ch 4 [0x00165000 Hearthstone.exe[6717]] subc 7 class 0x4097 mthd 0x0208 data 0x04040242
[ 1685.061754] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[ 1685.061791] nouveau E[  PGRAPH][0000:01:00.0] ch 4 [0x00165000 Hearthstone.exe[6717]] subc 7 class 0x4097 mthd 0x0208 data 0x04040243
[ 1685.101345] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[ 1685.101391] nouveau E[  PGRAPH][0000:01:00.0] ch 4 [0x00165000 Hearthstone.exe[6717]] subc 7 class 0x4097 mthd 0x0208 data 0x04040242
[ 1685.268981] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[ 1685.269028] nouveau E[  PGRAPH][0000:01:00.0] ch 4 [0x00165000 Hearthstone.exe[6717]] subc 7 class 0x4097 mthd 0x0208 data 0x04040242
[ 1685.279244] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[ 1685.279278] nouveau E[  PGRAPH][0000:01:00.0] ch 4 [0x00165000 Hearthstone.exe[6717]] subc 7 class 0x4097 mthd 0x0208 data 0x04040243
[ 1685.316905] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[ 1685.316940] nouveau E[  PGRAPH][0000:01:00.0] ch 4 [0x00165000 Hearthstone.exe[6717]] subc 7 class 0x4097 mthd 0x0208 data 0x04040242

I am running it with wine 1.7.17, mesa 10.1.1, linux 3.14.1 (ArchLinux 32 bit)

Let me know if you need more info
Comment 14 Ilia Mirkin 2014-04-19 17:30:44 UTC
(In reply to comment #13)
> I also face this issue, I have NV4x card

No, you don't. You face an entirely different and unrelated issue. You can open a separate bug for it.

> [  175.238926] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR
> nstatus: BAD_ARGUMENT
> [  175.238962] nouveau E[  PGRAPH][0000:01:00.0] ch 3 [0x0013c000
> Hearthstone.exe[734]] subc 7 class 0x4097 mthd 0x0208 data 0x04040242

Hmmmm....

$ lookup -a 49 -d NV01_SUBCHAN -- -v obj-class NV40_3D 208 0x04040242
RT_FORMAT => { COLOR = 0x2 | ZETA = Z24S8 | TYPE = SWIZZLED | LOG2_WIDTH = 4 | LOG2_HEIGHT = 4 }

COLOR = 0x2? That's odd. Might need to investigate how this can happen... might just be something missing in rnndb.

> [  175.248385] nouveau E[  PGRAPH][0000:01:00.0]  ERROR nsource: DATA_ERROR
> nstatus: BAD_ARGUMENT
> [  175.248420] nouveau E[  PGRAPH][0000:01:00.0] ch 3 [0x0013c000
> Hearthstone.exe[734]] subc 7 class 0x4097 mthd 0x0208 data 0x04040243

$ lookup -a 49 -d NV01_SUBCHAN -- -v obj-class NV40_3D 208 0x04040243
RT_FORMAT => { COLOR = R5G6B5 | ZETA = Z24S8 | TYPE = SWIZZLED | LOG2_WIDTH = 4 | LOG2_HEIGHT = 4 }

Ah yes, I know this issue well. Mixing 16-bit color and 32-bit zeta (depth/stencil) attachments to an FBO. Not supported by the hardware, and the driver doesn't "fix" it up either.

In any case, totally unrelated to the issue on the nva5 originally reported.
Comment 15 Vijay Kamuju 2014-04-20 12:47:37 UTC
Created new bug as requested

https://bugs.freedesktop.org/show_bug.cgi?id=77690
Comment 16 jr 2015-06-18 20:34:07 UTC
Using the trace I can reproduce the problem on NVA5 with 10.3.2 included in Debian Jessie.

The problem vanishes (AFAICT, am not a Hearthstone user) with Ilja's patch from bug #90887 on top of recent git.
Comment 17 Ilia Mirkin 2015-06-28 06:25:33 UTC
As per the last comment, this is the same as a newer but much more detailed bug. Combining.

*** This bug has been marked as a duplicate of bug 90887 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.