Summary: | [radv] graphical glitches on dolphin emulator | ||
---|---|---|---|
Product: | Mesa | Reporter: | jdruel |
Component: | Drivers/Vulkan/radeon | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | medium | CC: | aaronbpaden, freebugs, freedesktop, jdruel |
Version: | 17.3 | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
mariokart vulkan rendering problem
bad colors on MarioKart (fifo) White Square on MarioKart (fifo) Screen part missing (fifo) fifo log file (missing water) vulkan renderer: water is missing opengl renderer: water is ok MarioKart-Mesa17.3-WhiteSquare(fifo) |
Description
jdruel
2017-03-28 06:20:01 UTC
I confirm this bug. Dolphin 5.0-741d230-dirty Ubuntu 17.04 with MESA git and Kernel 4.11 RC4 Ryzen 7 1700X RX 480 8GiB 32 DDR4 2933 MHz ECC I suspect you'll greatly increase the likelihood of getting this issue investigated if you include a dolphin fifo log which can be used to reproduce the issue. [Not sure how those are recorded, I'm sure the dolphin guys will know though.] Created attachment 130504 [details]
bad colors on MarioKart (fifo)
I used the fifo player included in dolphin to record 3 images.
Created attachment 130505 [details]
White Square on MarioKart (fifo)
Same: 3 pictures saved
Created attachment 130506 [details]
Screen part missing (fifo)
Last one recorded with dolphin's fifo player.
Hope it helps.
Back to mesa stable 17.1, arch x64, fury r9, I still have some problems with vulkan. The game tested is "Wii Sport Resort". I've recorded a fifolog If I select "Vulkan Renderer" in dolphin and if I launch it with dolphin-emu -b -e 2017-06-02-MissingWater-01.dff The water is missing. If I select "OpenGL Renderer" in dolphin and if I launch it with dolphin-emu -b -e 2017-06-02-MissingWater-01.dff The water is ok (see screenshots) If I select "Software Renderer", the water is ok. Created attachment 131679 [details]
fifo log file (missing water)
Created attachment 131680 [details]
vulkan renderer: water is missing
Created attachment 131681 [details]
opengl renderer: water is ok
With mesa 17.2, some of the pbs are solved (missing water for example). But the bugs with mario kart 8 persist: *On mariokart, the intro is dark (instead of white in all other games) *On mariokart, there's a white square on the left top part of the screen when starting a circuit+no display of the track The Dolphin devs say it's ok on their side, so it's probably a driver bug. (see https://bugs.dolphin-emu.org/issues/10130#change-730141) Captured the black intro and white square scenes with renderdoc. https://www.dropbox.com/s/k8w11smnuwjfid1/dolphin-emu_2017.09.20_10.06.07_frame133.rdc?dl=0 https://www.dropbox.com/s/g8zrnpweyqxxd3c/dolphin-emu_2017.09.20_10.06.07_frame4162.rdc?dl=0 Created attachment 136311 [details]
MarioKart-Mesa17.3-WhiteSquare(fifo)
Latest stable mesa (17.3). Still the same problem. So this is the new fifo log. It replays well with the OpenGl renderer, but has problems with the Radv one.
And the renderdocs obtained with RADV_DEBUG=zerovram qrenderdoc https://www.dropbox.com/s/6hix4g6eyekhvts/2017-12-20-MK8-Intro-01-VK.rdc?dl=0 and https://www.dropbox.com/s/9qyyz4dssca9k9t/2017-12-20-MK8-Race-01-VK.rdc?dl=0 Still present in 17.3.2 Can you still reproduce the issue with latest mesa? If so, can you record new renderdoc traces using the v1.x branch, please? Thanks! On Arch, with mesa 17.3.6, I still have the same glitches with vulkan *On mariokart, the intro is dark (instead of white in all other games) *On mariokart, there's a white square on the left top part of the screen when starting a circuit+no display of the track+blurry picture *On WiiSportsResort, there's a white square on the left top part of the screen OpenGl rendering is perfect (seems to be the same pb as mariokart). So, here are the renderdoc captures with v1.x (nightly): https://www.dropbox.com/s/20cbd6y2mrikdvv/MK8-Intro-Vulkan-dolphin-emu_2018.03.05_08.07.03_frame274.rdc?dl=0 https://www.dropbox.com/s/qarmq9andl7jds3/MK8-Intro-OGL-dolphin-emu_2018.03.05_08.07.03_frame83.rdc?dl=0 https://www.dropbox.com/s/u4kldnxzpwsuhns/MK8-Track-Vulkandolphin-emu_2018.03.05_08.07.03_frame3883.rdc?dl=0 https://www.dropbox.com/s/ui10mpc5bm9nl50/MK8-Track-OGL-dolphin-emu_2018.03.05_08.07.03_frame3432.rdc?dl=0 https://www.dropbox.com/s/efygicg43o9qv0p/WiiSportsResort-Vulkan-dolphin-emu_2018.03.05_08.07.03_frame1165.rdc?dl=0 https://www.dropbox.com/s/jpwm1tn088ulgkv/WiiSportsResort-OGL-dolphin-emu_2018.03.05_08.07.03_frame5582.rdc?dl=0 Tested yesterday on mesa 18.0. Same pbs. This should fix the rectangle in Mario Kart: https://patchwork.freedesktop.org/patch/222558/ I had the same rectangle bug in Metroid Prime: Trilogy and that patch fixed it for me. Thanks a bunch! Should be fixed with https://cgit.freedesktop.org/mesa/mesa/commit/?id=dd102405dea022f6c27bc42176f50f3bb2761ae6 Feel free to re-open if you still have the issue. |
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.