[Nouveau] [Bug 91972] [NVE7] xorg/nouveau crashes when running wine's unit tests under valgrind: EXA: malloc failed for size -262140 bytes
https://bugs.freedesktop.org/show_bug.cgi?id=91972 Ilia Mirkin changed: What|Removed |Added Summary|xorg/nouveau crashes when |[NVE7] xorg/nouveau crashes |running wine's unit tests |when running wine's unit |under valgrind: EXA: malloc |tests under valgrind: EXA: |failed for size -262140 |malloc failed for size |bytes |-262140 bytes --- Comment #1 from Ilia Mirkin --- Wow, very uncommon configuration... nouveau as main and intel as "GPU". Are you doing any actual offloading (of either outputs or rendering)? exa/exa_migration_mixed.c:FatalError("EXA: malloc failed for size %d bytes\n", pExaPixmap->sys_pitch * pPixmap->drawable.height exa/exa_priv.h:int sys_pitch; /**< pitch of pixmap in system memory */ include/pixmapstr.h:unsigned short height; I guess sys_pitch is somehow negative then. Can you "bisect" the test, i.e. figure out which bit of it triggers the issue? And perhaps modify that print to show what the individual values in that multiplication are? -- You are receiving this mail because: You are the assignee for the bug. ___ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau
[Nouveau] [Bug 91972] New: xorg/nouveau crashes when running wine's unit tests under valgrind: EXA: malloc failed for size -262140 bytes
https://bugs.freedesktop.org/show_bug.cgi?id=91972 Bug ID: 91972 Summary: xorg/nouveau crashes when running wine's unit tests under valgrind: EXA: malloc failed for size -262140 bytes Product: xorg Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Driver/nouveau Assignee: nouveau@lists.freedesktop.org Reporter: austinengl...@gmail.com QA Contact: xorg-t...@lists.x.org Created attachment 118205 --> https://bugs.freedesktop.org/attachment.cgi?id=118205&action=edit xorg.log Originally reported here: https://bugzilla.redhat.com/show_bug.cgi?id=1248314 bug only occurred sometimes, but running the tests under valgrind triggers this bug 100% of the time for me. Running wine's dlls/user32/tests/win.c tests under valgrind causes the X client to fail, killing the user session. [austin@localhost ~]$ dnf list installed | grep xorg | grep -e nouveau -e server xorg-x11-drv-nouveau.x86_641:1.0.11-2.fc22 @System xorg-x11-server-Xorg.x86_641.17.2-2.fc22 @System xorg-x11-server-Xwayland.x86_641.17.2-2.fc22 @System xorg-x11-server-common.x86_64 1.17.2-2.fc22 @System xorg-x11-server-utils.x86_64 7.7-15.fc22 @System -- You are receiving this mail because: You are the assignee for the bug. ___ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau
[Nouveau] [Bug 91551] DXTn compressed normal maps produce severe artifacts on all NV5x and NVDx chipsets
https://bugs.freedesktop.org/show_bug.cgi?id=91551 --- Comment #13 from Ilia Mirkin --- (In reply to Mauro Rossi from comment #12) > Hi, > > Checked on 8500GT (NV86), I confirm the models are correctly rendered. > > Thank you very much, also on behalf of the SW Original Trilogy mod GNU/Linux > community. > > Mauro By the way, out of your original card list, if there remain issues with nv30 driver (GeForce 7025) or nvc0 (GeForce 610), please file them separately and include traces. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug. ___ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau
[Nouveau] [Bug 91551] DXTn compressed normal maps produce severe artifacts on all NV5x and NVDx chipsets
https://bugs.freedesktop.org/show_bug.cgi?id=91551 --- Comment #12 from Mauro Rossi --- Hi, Checked on 8500GT (NV86), I confirm the models are correctly rendered. Thank you very much, also on behalf of the SW Original Trilogy mod GNU/Linux community. Mauro -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug. ___ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau
[Nouveau] [Bug 91890] [nve7] witcher2: blurry image & DATA_ERRORs (class 0xa097 mthd 0x2380/0x238c)
https://bugs.freedesktop.org/show_bug.cgi?id=91890 Ilia Mirkin changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #6 from Ilia Mirkin --- Pushed out this commit: commit e50c01d5af305e07110cb4a38d5a655437058f04 Author: Ilia Mirkin Date: Wed Sep 9 03:17:38 2015 -0400 nvc0: keep track of cb bindings per buffer, use for upload settings -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug. ___ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau
[Nouveau] [Bug 91551] DXTn compressed normal maps produce severe artifacts on all NV5x and NVDx chipsets
https://bugs.freedesktop.org/show_bug.cgi?id=91551 Ilia Mirkin changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #11 from Ilia Mirkin --- Actually this particular instance of the issue had an easy fix -- we were manually "breaking" it. Oops! commit 74b86b971f3bf9b0482341b07c1cbc2e520fb1d0 Author: Ilia Mirkin Date: Thu Sep 10 05:02:26 2015 -0400 nv50/ir: don't fold immediate into mad if registers are too high Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91551 Signed-off-by: Ilia Mirkin Cc: "11.0" Now the spinning model looks exactly as it did on nvc0. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug. ___ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau
[Nouveau] [Bug 91551] DXTn compressed normal maps produce severe artifacts on all NV5x and NVDx chipsets
https://bugs.freedesktop.org/show_bug.cgi?id=91551 --- Comment #10 from Ilia Mirkin --- Ah, I suspect the remaining issues are due to the fact that we're encoding things like 119: mad f32 $r75 $r4 2.00 $r75 (8) as e92d 0403 add sat f32 $r11 (mul $r4 0x4000) $r11 Which... might not be *exactly* the same thing. Unfortunately there *is* no encoding for that instruction, the nv50 emitter isn't smart enough not to emit it. Shaders with > 64 regs are sufficiently rare :( I guess we need to add a post-RA fixup to load these immediates for non-encodable instructions. Of course the question is *where* to load it... ugh. Could try to reserve a special register at RA time for it... -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug. ___ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau
[Nouveau] [Bug 91551] DXTn compressed normal maps produce severe artifacts on all NV5x and NVDx chipsets
https://bugs.freedesktop.org/show_bug.cgi?id=91551 --- Comment #9 from Ilia Mirkin --- As I suspected, nothing to do with compressed textures. Should be at least partially fixed by commit ce28ca713364dbe83cb3c371ca034bc2c2947616 Author: Ilia Mirkin Date: Thu Sep 10 03:55:06 2015 -0400 nv50/ir: fix emission of 8-byte wide interp instruction This can come up if the target register number is > 63, which is fairly rare. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91551 Signed-off-by: Ilia Mirkin Cc: "11.0" It still doesn't seem to render quite the same as nvc0 and llvmpipe. The lighting on the back of the spinning models is much brighter. Not sure why... those shaders are ENORMOUS by the way. I thought it might be due to glShadeModel(GL_FLAT) at first, which isn't properly handled, but that's not it -- it only ever calls glShadeModel(GL_SMOOTH) in the trace. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug. ___ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau
[Nouveau] [Bug 90887] PhiMovesPass in register allocator broken
https://bugs.freedesktop.org/show_bug.cgi?id=90887 --- Comment #39 from Ilia Mirkin --- I pushed the following after some light testing: commit a072ef8748a65d286e9b542bb9ea6e020fdcc7f8 Author: Ilia Mirkin Date: Thu Sep 10 01:54:30 2015 -0400 nv50/ir: make edge splitting fix up phi node sources But it's not the final word on this stuff... as Béla mentioned in comment 13, some games aren't completely fixed by this. I have some Hearthstone traces (from bug #75776) which still have minor visual artifacts. Further, they are fixed by splitting more edges. [I made the condition only look at p->cfg.outgoingCount() > 1, which includes a whole lot more than critical edges. This is clearly wrong, but... gives some ideas.] -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug. ___ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau