Mesa-3D
Mesa-3D copied to clipboard
Nine on Nouveau has blocks for text on latest mesa git on WoW
http://i.imgur.com/7XyJnbR.png
I dont know when it happened but when I try to play WoW 1.12.1 on my wife's pc the text are blocks of color not text. Doesn't happen with my amd r9 290x. This might be a Nouveau bug i'm not sure but it work several weeks ago. This computer doesnt have the latest set of patches from here atm and doesnt have debug enabled. I can get a log later with latest when I switch out my amd for my nvidia gtx760 on my computer if needed. Text on wined3d is fine.
Yeah I would recommend trying ixit/Mesa-3D and reporting back
tested with my computer with latest git + latest ixit still there. i tried to get an apitrace but no luck looks like the game unloads it before it does anything. i can post a log later when i get home from work.
Apitrace should auto-inject to all processes launched from the initial process. See if there's a trace file in the wow folder.
its injects and i get two lines and it stops the trace for some reason every time no matter what I do.
@Altosk Can you try the method by iive, but trace with gallium nine https://github.com/iXit/Mesa-3D/issues/114#issuecomment-132085520
thats the way i am doing my traces(iive way and using nine).
This looks a lot like https://bugs.freedesktop.org/show_bug.cgi?id=91526 -- confirm that this happened on a build that had the patch in question. Perhaps there are more messed up formats.
We nuked alot of weird formats and we still got the issue, so it's likely not formats.
i reverted imirkin's patch and that fixes the text problem, maybe nine uses those formats in the right way?
Sounds like nine doesn't properly handle missing formats in drivers.
FWIW the problem with BGRA4 was weird -- it did seem to mostly work, but... in some cases, it didn't. I'm sure it's something silly, but I have no idea what.
What format does the game use when the format is not available ? (compare two traces)
i cant get traces, something weird goes on and the game drops the dll.
i disable the formats in question but its break both radeon and nvidia cards alike
Then please report debug logs instead of traces.
NINE_DEBUG=all
needs mesa with --enable-debug
this is the log with imirkin's patch reverted https://www.sendspace.com/file/9a3bk3 without the revert https://www.sendspace.com/file/p29rhf
Looks like the game really wants that format.
It checks for its support, see it's not there, but still tries to get a texture with it. It will try again twice per frame to create it.
On the other hand when the format is supported, it creates the texture, and lives happy with it.
so basicly nouveau needs to fix the format or is there a way around it with a different format?
Wine reverts to ARGB8888 when the good match is not available.
We cannot do that, since the data uploaded would be wrong. You need a conversion between the two formats. Wine does some.
I've reintroduced BGRA4 on nvc0 in http://cgit.freedesktop.org/mesa/mesa/commit/?id=d68226087cf5f2f686d6c8f3377c5a1dec3d8bc4 . Figured out how to make the other trace work.
fixed on mesa-git
I let the bug open as we should be able to workaround when the driver doesn't support the format.
@axeldavy : Should be fixed in ixit/master ?
the previous comment still holds, but probably we can close