-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mesa + Nouveau + D3D9 + GTX 780ti with Guild Wars 2 #224
Comments
Thanks for reporting.
With latest mesa Guild Wars 2 runs at 100% GPU-load which gives around ~40fps on high settings. |
Do these issues come up with wine + nouveau (but without using gallium-nine)? I.e. the same way that you tested with the nvidia blob driver, but with nouveau. If they don't, then it's a nine bug (since it's also visible on R600, unlikely that it's a nine-triggered nouveau bug). |
I don't have Windows and I played GW2 with Wine-Staging + prop Nvidia so far. Never saw those issues then. |
To 2. It looks the very same on nouveau (wine + nine) and r600 (wine + nine). Does it look different on nvidia binary driver? May be a mipmap problem. |
@imirkin |
I get better results today with:
starting GW2 with:
Looks like CPU usage is only between 30-50% on 4 threads. FPS is quite nice around 45 FPS.
|
If I start GW2 with thread_submit=true and option -dx9single if crashes just 10s into the first map:
PS: No, I don't use PoL with this test, it is just the folder where it is left :)
|
Please open a separate bug report for the crash, including an apitrace that shows the same problem. Why are you using DRI_PRIME ? |
I could verify that the black and white aura is only visible on nine+nouveau. It's not visible on llvmpipe, r600 and wine (r600, nouveau). It look's like a shader problem as the input to shader stages is the same. |
@siro20 if you make traces and point me at how to replay them (I have a nine-patched wine now), I could have a look to see what's up. |
@imirkin I'm using the Guild Wars 2 trace from issue #153. It looks the the other issue (NPCs and players are visible through obstacles) can be debugged using this trace, too. It uses R32F textures, which apitrace can't dump. |
Regarding bug 3 (NPCs and players are visible through obstacles): The problem is that R32F texture on nouveau doesn't contain any valid data. |
I don't think I'm aware of how to access that FTP service, or what to do with the trace once I have it. Note that I won't be able to look in any detail until mid-august. |
I tested R32F, INTZ and the ps used in that draw call, but could not find any issue. I'm going to look at the vs next. |
Depending on the setting of Depth Blur the graphics look sharper. The odd thing some parts of the char and some props stay blurry. Maybe they are rendered separately and they are rendered with another depth of field value. Or there is a misinterpretation of DoF and/or DB value?! Btw. FPS drops about 50% on new maps (HoT+LS3). |
Regarding issue 3: If no zbuffer is bound, and rs ZENABLE is false, and the ps doesn't write depth values (all 3 points matches behaviour observed in this game) struct pipe_rasterizer_state offset_tri / offset_units should have no effect. |
Improved version of nvc0: provide support for unscaled poly offset units. https://patchwork.freedesktop.org/patch/95229/ After rebasing this patch has to be reworked. Fixes issue (3) for issue iXit#224. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Regarding issue 4 / 5 maybe 6. |
Improved version of nvc0: provide support for unscaled poly offset units. https://patchwork.freedesktop.org/patch/95229/ After rebasing this patch has to be reworked. Fixes issue (3) for issue iXit#224. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Unfortunately the #227 doesn't seem to fix the 'visible names' issue. While I see improvements in other areas: Indeed most of the remaining pixelation effect look like they are related to shader issues: If you look very close to the staff's branches its shape is copied some pixels to the right (behind the char). Like a second layer. The backpack's shape remains a bit pixelated. Which still might be a shader issue. Besides, my system feels very slow. While typing the chars appear with a certain delay. White htop looks like this: BTW: After taking the upper screenshots and reporting this, I just disabled VSYNC and suddenly the whole graphic got brighter (compared to the first one): |
I've uploaded an apitrace to our FTP: /apitrace/major bugs/issue.224.GuildWars2.nouveau/ |
Improved version of nvc0: provide support for unscaled poly offset units. https://patchwork.freedesktop.org/patch/95229/ After rebasing this patch has to be reworked. Fixes issue (3) for issue iXit#224. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Improved version of nvc0: provide support for unscaled poly offset units. https://patchwork.freedesktop.org/patch/95229/ After rebasing this patch has to be reworked. Fixes issue (3) for issue iXit#224. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Just a small (not so important) update. I removed all Wine installations and installed the fresh AUR https://aur.archlinux.org/packages/wine-gaming-nine/ package, which uses staging source + some other patches. You can find the details here. Also I applied #227 Mesa patches to https://github.com/iXit/Mesa-3D. Looks like not so different from the other tests. One thing I noticed is player's names are sometimes shown (WvW - still through walls) or they are not show on other maps at all. Sill many of the (mesmer) weapon effects are difficult to see or they are completely invisible: Overall it feels a little bit sharper, but I won't count on that. Additionally, I add a closer look on what is always seen in the background: The shiny effect seems to depend on how shiny its background material is. Very nice to see here: |
Fixes issue (3) for issue iXit#224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
For issue 5/6: There's a failing wine test due to the same problem: test_fragment_coords vPos is off by one pixel. |
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue iXit#224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Fixes issue (3) for issue #224. TODO: ask imirkin why this patch is necessary. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
The system:
Setting GPU clockrate to max
echo 0f > /sys/kernel/debug/dri/0/pstate
Issues with Guild Wars 2 so far:
Hopefully, those findings help fixing some issues.
EDIT: Those issues are not present with 'pure' Wine-Staging 1.9.13 + Nvidia drivers :)
The text was updated successfully, but these errors were encountered: