Summary: | War Thunder game has visual errors, missing textures | ||
---|---|---|---|
Product: | Mesa | Reporter: | aceman <acelists> |
Component: | Drivers/Gallium/r600 | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED MOVED | QA Contact: | Default DRI bug account <dri-devel> |
Severity: | normal | ||
Priority: | medium | CC: | russianneuromancer, tuharsky |
Version: | 17.1 | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
War Thunder on Radeon HD 8470D with Mesa 17.1.0rc2
screenshot - War Thunder, Radeon HD 6850 X.org log file |
Description
aceman
2017-03-25 14:20:40 UTC
I now noticed the same console errors are output when running the latest Firefox nightly with "webrender" force-enabled (in about:config). Maybe that helps and is easier to debug than a big game. I can test patches if you have any ideas. Thanks. Created attachment 131233 [details]
War Thunder on Radeon HD 8470D with Mesa 17.1.0rc2
Same issue on Radeon 8470D.
Software:
Kubuntu 17.0 x86_64
Linux 4.10
Mesa: 17.1.0rc2
libdrm: 2.4.80
xserver-xorg-video-radeon: 7.9.0
xserver-xorg-core: 1.19.3
Hardware:
AMD A6-6400K with Radeon HD 8470D (ARUBA)
From a quick debugging session the error is coming from here https://github.com/mesa3d/mesa/blob/a5e1c9f1d5b6063f0a92634967475a05362c0d31/src/gallium/drivers/r600/r600_asm.c#L603 Don't have time ATM to look closer, but commenting here in case anybody have ideas, including what to look at. Sorry for long time not answering. The error is because one instruction is using more than 2 cfiles which check_and_set_bank_swizzle() doesn't allow, though acc. to docs it can handle up to 4 distinct cfiles in a group. I was trying to fix it be rewriting the bank_swizzle scheduler into smarter version, but had to abandon it because it turned out to be pointless (the effeciency is about the same, but more importantly, for some reason r600g have 2 schedulers, and this one simply does validation). FTR, unfinished code is here https://github.com/Hi-Angel/mesa/tree/wip-bank_swizzle-scheduler I am not sure if I'll have a motivation to look into modifying the current scheduler, the more that there's some oddness in documentation (you can say "pun intended" because it is that docs don't allow odd number of distinct cfiles in a group, however a group with 1 cfile works just fine). But fixing this bug won't help to the game anyway, because the next problem it runs into is a very old one of requiring too many GPRs https://bugs.freedesktop.org/buglist.cgi?quicksearch=Shader%20GPR%20limit%20exceeded&list_id=619399 Are those problems solved in radeonsi? I see very similar problem with Radeon HD 6850. OTOH, I must say that with AMD A8-7600 onchip Radeon R7 everything seems OK. Created attachment 134034 [details]
screenshot - War Thunder, Radeon HD 6850
MESA 17.1.5
(In reply to Hi-Angel from comment #5) > But fixing this bug won't help to the game anyway, because the next problem > it runs into is a very old one of requiring too many GPRs Are You sure? I don't know the exact background here, but on Radeon R7 it runs seamlessly... I'd assume "AMD A8-7600 with onchip Radeon R7" uses the separate radeonSI mesa driver and may not have this problem reported in this bug. Notice the bug is against R600 driver. I asked about the radeonSI drive in comment 6 but didn't get a reply. If you could find out if you are running with it and rendering is fine, I would like to know. Well, no problem, just please give me a reliable way to get this info. Listing the X.org.log, I'm a bit confused. Try looking for DRI driver name or VDPAU driver name in Xorg.log. Created attachment 134095 [details]
X.org log file
please, see attachment...
The attached log seems to imply R600 driver is used. It also lists the GPU as: Chipset: "AMD Radeon HD 6800 Series" (ChipID = 0x6739) Is this really from the A8-7600 machine? No, the log is from LTSP thin/fat client. Terefore CPU is of LTSP server. GPU is correct though. Same problem on Radeon HD 6470M mesa-17.0.6/17.1.9 llvm-3.9.1-r1/4.0.1 xf86-video-ati-7.9.0 xorg-server-1.19.3 kernel-4.12.12-gentoo (In reply to aceman from comment #6) > Are those problems solved in radeonsi? (In reply to aceman from comment #10) > I asked about the radeonSI drive in comment 6 but didn't get a reply. If you > could find out if you are running with it and rendering is fine, I would > like to know. On my other machine amdgpu+radeonsi it is working OK. Issue is still reproducible in Mesa 17.2. With Mesa 17.3 I get GPU lockup at War Thunder launch: bug 103900 I have same issue on my AMD A6-6400K with Radeon HD 8470D (ARUBA) Kubuntu 17.10 x86_64 with Linux 4.13.0 and Mesa 17.2.2 Possibly this bug is duplicate of bug 99349 Yes, with amdgpu+radeonsi (on RX560) there are no issues. It runs at 40-60fps on Medium details. Looks similar: bug 105213 -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/599. |
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.