[Mesa-dev] [Bug 97260] R9 290 low performance in Linux 4.7
https://bugs.freedesktop.org/show_bug.cgi?id=97260 --- Comment #70 from tarp...@gmx.de --- (In reply to Alex Deucher from comment #69) > (In reply to Alex Deucher from comment #68) > > The firmware was fixed a while ago. Please make sure your distro is using > > the latest firmware. > > https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git Thanks a lot for the reply. My Distro is Kubuntu 16.04 with Oibaf PPA for MESA. Replacing the content of /lib/firmware/radeon with the files found in https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/radeon (I just deleted and redownloaded everything) and doing a "sudo update-initramfs -u" restored the performance to normal levels using radeon (haven't tried amdgpu yet). Shadow of Mordor Benchmark FPS: Kernel Version | Menu | AVG | MAX | MIN Kernel 4.6.7 | 100 | 58 | 161 | 30 Kernel 4.10 (with new Firmware) | 100 | 58 | 114 | 30 -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 97260] R9 290 low performance in Linux 4.7
https://bugs.freedesktop.org/show_bug.cgi?id=97260 --- Comment #68 from Alex Deucher --- The firmware was fixed a while ago. Please make sure your distro is using the latest firmware. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 97260] R9 290 low performance in Linux 4.7
https://bugs.freedesktop.org/show_bug.cgi?id=97260 --- Comment #69 from Alex Deucher --- (In reply to Alex Deucher from comment #68) > The firmware was fixed a while ago. Please make sure your distro is using > the latest firmware. https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 97260] R9 290 low performance in Linux 4.7
https://bugs.freedesktop.org/show_bug.cgi?id=97260 --- Comment #67 from tarp...@gmx.de --- Created attachment 130317 --> https://bugs.freedesktop.org/attachment.cgi?id=130317&action=edit bisect log leading to 7050c6ef5f0e9bc5e6bf9eb035320b70f731b919 -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 97260] R9 290 low performance in Linux 4.7
https://bugs.freedesktop.org/show_bug.cgi?id=97260 --- Comment #66 from tarp...@gmx.de --- Okay. I bisected the issue today already: 7050c6ef5f0e9bc5e6bf9eb035320b70f731b919 is the first bad commit commit 7050c6ef5f0e9bc5e6bf9eb035320b70f731b919 Author: Arindam Nath Date: Wed Apr 6 15:33:51 2016 -0400 drm/radeon: add support for loading new UVD fw Signed-off-by: Christian König Signed-off-by: Arindam Nath Reviewed-by: Leo Liu Signed-off-by: Alex Deucher :04 04 25ff8fc8784746ea4e371a13655581a3e844e7b9 9016d0a57c0409e91eff182bbccd91510a8b85c1 M drivers I use mesa from oibaf ppa: glxinfo | grep -i opengl OpenGL vendor string: X.Org OpenGL renderer string: Gallium 0.4 on AMD HAWAII (DRM 2.43.0 / 4.6.0-rc3-funfzehn, LLVM 4.0.0) OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.1.0-devel OpenGL core profile shading language version string: 4.50 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 3.0 Mesa 17.1.0-devel OpenGL shading language version string: 1.30 OpenGL context flags: (none) OpenGL extensions: OpenGL ES profile version string: OpenGL ES 3.1 Mesa 17.1.0-devel OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10 OpenGL ES profile extensions: I also tested the 4.10 kernel, it has the same issue. Content of /sys/kernel/debug/dri/64/radeon_pm_info in the start menu of Shadow of Morder (which has 100 FPS in 4.6.7 and 25 FPS in 4.7.0 and later): Before starting the game: uvddisabled vcedisabled power level avgsclk: 3 mclk: 15000 In the main menu of the game with 4.7.0 uvddisabled vcedisabled power level avgsclk: 10 mclk: 15000 In the main menu of the game with 4.6.7 uvddisabled vcedisabled power level avgsclk: 91198 mclk: 126000 -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 97260] R9 290 low performance in Linux 4.7
https://bugs.freedesktop.org/show_bug.cgi?id=97260 --- Comment #65 from tarp...@gmx.de --- I just upgraded to a R9 290 (Asus Direct CU II OC) from my HD7950 and also have less then half the performance in 4.8 kernel vs 4.4 on Ubuntu 16.04. I'll try to make some time to bisect it next week. Should I post the results here or open a new bug? -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 97260] R9 290 low performance in Linux 4.7
https://bugs.freedesktop.org/show_bug.cgi?id=97260 --- Comment #64 from Alex Deucher --- (In reply to alvarex from comment #63) > If I remove the line "adev->ddev->mode_config.async_page_flip = true;" from > the files on comment 17, and boot with radeon.dpm=0 radeon.runpm=0. That > will trigger the bug, on Tombraider for expample it will run at 9FPS when > previously running at 75FPS, on amdgpu. When you set radoen.dpm=0 low performance is expected because you've disabled the power management so the card stays at it's low boot up clocks. You shouldn't mess with the radeon.dpm option for this issue. -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 97260] R9 290 low performance in Linux 4.7
https://bugs.freedesktop.org/show_bug.cgi?id=97260 --- Comment #63 from alvarex --- If I remove the line "adev->ddev->mode_config.async_page_flip = true;" from the files on comment 17, and boot with radeon.dpm=0 radeon.runpm=0. That will trigger the bug, on Tombraider for expample it will run at 9FPS when previously running at 75FPS, on amdgpu. -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 97260] R9 290 low performance in Linux 4.7
https://bugs.freedesktop.org/show_bug.cgi?id=97260 --- Comment #62 from Michel Dänzer --- (In reply to alvarex from comment #60) > I tried bisecting mesa but I failed sometimes it won't compile sorry I'm not > good with git. Just run "git bisect skip" for commits which don't compile. > Anyway I 'm on different hardware (r7 260x) and yes you are right Michel is > a different issue because sometimes I will hit the bug with the same build > and someone else with a r9 290 wont or viceversa (not always). This means you should file your own bug report. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 97260] R9 290 low performance in Linux 4.7
https://bugs.freedesktop.org/show_bug.cgi?id=97260 --- Comment #61 from Tim Writer --- I'm out of the office, returning Tue Oct 18. I will be checking mail from time to time but responses will be delayed. Regards, Tim -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 97260] R9 290 low performance in Linux 4.7
https://bugs.freedesktop.org/show_bug.cgi?id=97260 --- Comment #60 from alvarex --- I ve been following this up on phoronix and with different builds of mesa. Recently it was fixed on mesa for amdgpu but not for radeon (there was an article on phoronix about that) but as from oct 11th is broken again on amdgpu. I m not sure when it got broken again I have a working build of oct 7th , maybe on the 9th o the 10th. Just my two cents I 'm not quite sure if it's a power manager issue. I tried bisecting mesa but I failed sometimes it won't compile sorry I'm not good with git. Anyway I 'm on different hardware (r7 260x) and yes you are right Michel is a different issue because sometimes I will hit the bug with the same build and someone else with a r9 290 wont or viceversa (not always). But it might be related as well because the performance difference hit is similar and with some build setups ie kernel 4.6 and mesa 12 the performance is fine in both hardware. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 97260] R9 290 low performance in Linux 4.7
https://bugs.freedesktop.org/show_bug.cgi?id=97260 --- Comment #59 from Alex Deucher --- does reverting either of these patches help? commit 5e031d9fe8b0741f11d49667dfc3ebf5454121fd Author: Alex Deucher Date: Wed Feb 24 17:38:38 2016 -0500 drm/radeon/pm: update current crtc info after setting the powerstate On CI, we need to see if the number of crtcs changes to determine whether or not we need to upload the mclk table again. In practice we don't currently upload the mclk table again after the initial load. The only reason you would would be to add new states, e.g., for arbitrary mclk setting which is not currently supported. Acked-by: Christian König Signed-off-by: Alex Deucher Cc: sta...@vger.kernel.org or commit d74e766e1916d0e09b86e4b5b9d0f819628fd546 Author: Alex Deucher Date: Tue Mar 8 11:31:00 2016 -0500 Revert "drm/radeon/pm: adjust display configuration after powerstate" This reverts commit 39d4275058baf53e89203407bf3841ff2c74fa32. This caused a regression on some older hardware. bug: https://bugzilla.kernel.org/show_bug.cgi?id=113891 Signed-off-by: Alex Deucher Cc: sta...@vger.kernel.org -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 97260] R9 290 low performance in Linux 4.7
https://bugs.freedesktop.org/show_bug.cgi?id=97260 --- Comment #58 from Michel Dänzer --- (In reply to Alex Deucher from comment #57) > If you can't bisect, does disabling async flips help (see attached patch)? Phoronix was still hitting the bad performance even with the broken drm_mode_page_flip_ioctl code, which prevented page flips from working at all. So that problem can't be even indirectly related to async flips. Seems like it's most likely a DPM issue in the radeon driver. We really need someone affected by that to bisect. -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 97260] R9 290 low performance in Linux 4.7
https://bugs.freedesktop.org/show_bug.cgi?id=97260 --- Comment #57 from Alex Deucher --- Created attachment 126995 --> https://bugs.freedesktop.org/attachment.cgi?id=126995&action=edit disable async flip support If anyone else is seeing a regression not already fixed, please bisect and open a new bug with the results. If you can't bisect, does disabling async flips help (see attached patch)? -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 97260] R9 290 low performance in Linux 4.7
https://bugs.freedesktop.org/show_bug.cgi?id=97260 Alexander Tsoy changed: What|Removed |Added CC||alexan...@tsoy.me -- You are receiving this mail because: You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 97260] R9 290 low performance in Linux 4.7
https://bugs.freedesktop.org/show_bug.cgi?id=97260 --- Comment #56 from Michel Dänzer --- Created attachment 126687 --> https://bugs.freedesktop.org/attachment.cgi?id=126687&action=edit Use 4 buffers for flipping (In reply to Xavier Sellier from comment #52) > We are experiencing the very same issue. And you ignored my explicit request to file your own report because... ? Anyway, there are only two things which can move this issue forward: bisecting the kernel, or trying if this Mesa patch helps. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 97260] R9 290 low performance in Linux 4.7
https://bugs.freedesktop.org/show_bug.cgi?id=97260 --- Comment #55 from Xavier Sellier --- Created attachment 126686 --> https://bugs.freedesktop.org/attachment.cgi?id=126686&action=edit Unigine valley benchmark (Kernel 4.8.0-rc5) -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 97260] R9 290 low performance in Linux 4.7
https://bugs.freedesktop.org/show_bug.cgi?id=97260 Xavier Sellier changed: What|Removed |Added Resolution|--- |WONTFIX Status|REOPENED|RESOLVED --- Comment #54 from Xavier Sellier --- I'll upload my next benchmark, and it seems I have the very same result between kernel 4.6 and kernel 4.8.0-rc5 -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 97260] R9 290 low performance in Linux 4.7
https://bugs.freedesktop.org/show_bug.cgi?id=97260 --- Comment #53 from Xavier Sellier --- Created attachment 126685 --> https://bugs.freedesktop.org/attachment.cgi?id=126685&action=edit Unigine valley benchmark (Kernel 4.6.0-1) -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 97260] R9 290 low performance in Linux 4.7
https://bugs.freedesktop.org/show_bug.cgi?id=97260 Xavier Sellier changed: What|Removed |Added Resolution|WONTFIX |--- Status|RESOLVED|REOPENED --- Comment #52 from Xavier Sellier --- Hey, I have 2 computers with the very same hardware (AMD FX 6300 with a AMD R9 290). We are experiencing the very same issue. We're both running Debian sid. uname -a Linux binogure 4.6.0-1-amd64 #1 SMP Debian 4.6.4-1 (2016-07-18) x86_64 GNU/Linux glxinfo | grep -i opengl OpenGL vendor string: X.Org OpenGL renderer string: Gallium 0.4 on AMD HAWAII (DRM 2.43.0 / 4.6.0-1-amd64, LLVM 3.8.1) OpenGL core profile version string: 4.1 (Core Profile) Mesa 12.0.3 OpenGL core profile shading language version string: 4.10 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 3.0 Mesa 12.0.3 OpenGL shading language version string: 1.30 OpenGL context flags: (none) OpenGL extensions: OpenGL ES profile version string: OpenGL ES 3.0 Mesa 12.0.3 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00 OpenGL ES profile extensions: lspci | grep -i vga 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii PRO [Radeon R9 290] Up to this kernel (4.6.1), everything runs fine (around 100 fps on most of games). Each time I upgrade the kernel to 4.7.0-1 or 4.8.0-rc5, fps are dropping to 25~30. To compare fps, I use unigine valley benchmark, I will attach result to this bug. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 97260] R9 290 low performance in Linux 4.7
https://bugs.freedesktop.org/show_bug.cgi?id=97260 Michel Dänzer changed: What|Removed |Added Summary|[bisected] R9 290 low |R9 290 low performance in |performance in Linux 4.7|Linux 4.7 Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #51 from Michel Dänzer --- Per comment 50, we won't be able to do anything more about Clésio's problem. Anyone else still seeing similar symptoms, please file your own report and try narrowing down which change of which component introduced it. -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev