https://bugs.freedesktop.org/show_bug.cgi?id=77533
Priority: medium Bug ID: 77533 Assignee: dri-devel@lists.freedesktop.org Summary: commit: acf55e73252e46fa51378ef4b23c94a89902ae1c breaks radeonsi on linux Severity: normal Classification: Unclassified OS: Linux (All) Reporter: darwinskernel@gmail.com Hardware: x86-64 (AMD64) Status: NEW Version: git Component: Drivers/Gallium/radeonsi Product: Mesa
Created attachment 97478 --> https://bugs.freedesktop.org/attachment.cgi?id=97478&action=edit screenshot
please see the attached files. that's what i get building mesa after
commit: acf55e73252e46fa51378ef4b23c94a89902ae1c
so that^ is the last working commit of here (OLAND).
https://bugs.freedesktop.org/show_bug.cgi?id=77533
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #97478|text/plain |image/png mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=77533
--- Comment #1 from Michel Dänzer michel@daenzer.net --- Please attach the corresponding Xorg.0.log and output of glxinfo.
It's hard to believe that commit causing the problem; it shouldn't make any functional difference.
https://bugs.freedesktop.org/show_bug.cgi?id=77533
--- Comment #2 from glphvgacs darwinskernel@gmail.com --- Created attachment 97523 --> https://bugs.freedesktop.org/attachment.cgi?id=97523&action=edit Xorg.log
https://bugs.freedesktop.org/show_bug.cgi?id=77533
--- Comment #3 from glphvgacs darwinskernel@gmail.com --- (In reply to comment #1)
Please attach the corresponding Xorg.0.log and output of glxinfo.
It's hard to believe that commit causing the problem; it shouldn't make any functional difference.
true. that's the "last working" commit. a commit after that breaks things. ok, i'm gonna try with the very next commit.
https://bugs.freedesktop.org/show_bug.cgi?id=77533
glphvgacs darwinskernel@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|commit: |commit: |acf55e73252e46fa51378ef4b23 |71254732db12c8813c002425b5c |c94a89902ae1c breaks |1b7c31bf56f65 breaks |radeonsi on linux |radeonsi on linux
https://bugs.freedesktop.org/show_bug.cgi?id=77533
--- Comment #4 from glphvgacs darwinskernel@gmail.com --- (In reply to comment #3)
(In reply to comment #1)
Please attach the corresponding Xorg.0.log and output of glxinfo.
It's hard to believe that commit causing the problem; it shouldn't make any functional difference.
true. that's the "last working" commit. a commit after that breaks things. ok, i'm gonna try with the very next commit.
title was wrong. so this is the bad commit:
71254732db12c8813c002425b5c1b7c31bf56f65
https://bugs.freedesktop.org/show_bug.cgi?id=77533
--- Comment #5 from Marek Olšák maraeo@gmail.com --- I cannot reproduce this on Cape Verde.
https://bugs.freedesktop.org/show_bug.cgi?id=77533
--- Comment #6 from Marek Olšák maraeo@gmail.com --- Please attach your dmesg.
https://bugs.freedesktop.org/show_bug.cgi?id=77533
Marek Olšák maraeo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|commit: |Async DMA broken on OLAND |71254732db12c8813c002425b5c | |1b7c31bf56f65 breaks | |radeonsi on linux |
https://bugs.freedesktop.org/show_bug.cgi?id=77533
vebveb@hotmail.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |vebveb@hotmail.fr
--- Comment #7 from vebveb@hotmail.fr --- *** Bug 77602 has been marked as a duplicate of this bug. ***
https://bugs.freedesktop.org/show_bug.cgi?id=77533
--- Comment #8 from vebveb@hotmail.fr --- I had the same issue (bug 77602), and disabling forcing si_dma_copy to always go to the fallback solves the tiling issues and the glitches.
I have a CAPE VERDE card (hd7730m).
https://bugs.freedesktop.org/show_bug.cgi?id=77533
--- Comment #9 from Alex Deucher agd5f@yahoo.com --- We may need a similar fix for async dma as we did for displays. See bug 71488.
https://bugs.freedesktop.org/show_bug.cgi?id=77533
--- Comment #10 from Alex Deucher agd5f@yahoo.com --- The async dma code is probably setting the band size incorrectly on these asics.
https://bugs.freedesktop.org/show_bug.cgi?id=77533
--- Comment #11 from Alex Deucher agd5f@yahoo.com --- *bank size
https://bugs.freedesktop.org/show_bug.cgi?id=77533
--- Comment #12 from vebveb@hotmail.fr --- I have tested to force to go to the fallback only before calling si_dma_copy_tile, to test if si_dma_copy_buffer was working.
I didn't notice any glitch or tiling problem with heaven, but I don't know if si_dma_copy_buffer is actually used or not.
https://bugs.freedesktop.org/show_bug.cgi?id=77533
--- Comment #13 from glphvgacs darwinskernel@gmail.com --- Created attachment 97565 --> https://bugs.freedesktop.org/attachment.cgi?id=97565&action=edit dmesg.log
https://bugs.freedesktop.org/show_bug.cgi?id=77533
--- Comment #14 from Alex Deucher agd5f@yahoo.com --- Created attachment 97566 --> https://bugs.freedesktop.org/attachment.cgi?id=97566&action=edit possible fix
Does the attached patch fix the issue?
https://bugs.freedesktop.org/show_bug.cgi?id=77533
--- Comment #15 from vebveb@hotmail.fr --- I have tested to return V_009910_ADDR_SURF_16_BANK in case 8 in si_num_banks, instead of V_009910_ADDR_SURF_8_BANK, and unigine have no glitches anymore.
I test your patch right away.
https://bugs.freedesktop.org/show_bug.cgi?id=77533
--- Comment #16 from vebveb@hotmail.fr --- Your patch works for me.
https://bugs.freedesktop.org/show_bug.cgi?id=77533
--- Comment #17 from glphvgacs darwinskernel@gmail.com --- (In reply to comment #14)
Created attachment 97566 [details] [review] possible fix
Does the attached patch fix the issue?
yep, thanks.
https://bugs.freedesktop.org/show_bug.cgi?id=77533
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #18 from Alex Deucher agd5f@yahoo.com --- Pushed: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7489f3eedafbdad905158196873...
dri-devel@lists.freedesktop.org