Bug 201625 - Amd RX560D VERY slow after upgrade.
Summary: Amd RX560D VERY slow after upgrade.
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: x86-64 Linux
: P1 blocking
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-06 13:27 UTC by drigohighlander
Modified: 2018-11-08 02:50 UTC (History)
1 user (show)

See Also:
Kernel Version: 4.19.1
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Xorg from the new system -> kernel 4.19.1 (47.51 KB, text/plain)
2018-11-07 01:37 UTC, drigohighlander
Details
Dmesg from the new system -> kernel 4.19.1 (79.53 KB, text/plain)
2018-11-07 01:38 UTC, drigohighlander
Details
Glxinfo from the new system > kernel 4.19.1 (143.76 KB, text/plain)
2018-11-07 01:38 UTC, drigohighlander
Details
Xorg from the old system (the fast viewport one) > kernel 4.9.50 (49.44 KB, text/plain)
2018-11-07 01:39 UTC, drigohighlander
Details
Dmesg from the old system (the fast viewport one) > kernel 4.9.50 (69.00 KB, text/plain)
2018-11-07 01:39 UTC, drigohighlander
Details
Glxinfo from the old system (the fast viewport one) > kernel 4.9.50 (100.93 KB, text/plain)
2018-11-07 01:40 UTC, drigohighlander
Details

Description drigohighlander 2018-11-06 13:27:37 UTC
OK, I got two new rx560D in november, and I need to use Slackware current, because Slackware 14.2 it didn't worked.
That time the Slackware current came with kernel 4.9.50, mesa 17, xorg-server 1.19.3 and xf86-video-amdgpu-1.3.0. It worked perfect, the blender viewport was really fast, it holds about 30 trillions of faces, it was really impressive.
Ok I have two machines (I bought two rx560d) in one machine I keep upgrading slackware current, and after the ship of the new kernel (I think 4.10...) things became very slowly, the viewport was very slowly, it reach something like 6 trilions and it became horrible slowly. Its hard to track what was wrong because when you upgrade slackware current it upgrade all other packages, not only the kernel.
So after a year using waiting for some news, I tried the lastest kernel 4.19 in the lastest slackware 16/09/2018 (xorg-server-1.20.1-x86_64-1, mesa-18.2.0-x86_64-1, xf86-video-amdgpu-18.1.0-x86_64-1) and even with the lastest kernel, compiled with all those news libraries the viewport is still slow (I tried to upgrade blender too, didnt work).
So I tried to go back to the kernel 4.9.50 that was still working with the other pc (is the exactly the same pc, I just have two because of my job) and this old kernel didnt work, the X didnt initiate, and I got a black screen, and system froze, and I have to restart using the button.). I think that the kernel is too old for the libraries.
So I got the other pc with the all old slackware curret (that one with the kernel 4.9.50 its from 15/09/2017) and upgrade the kernel, to the lastest one, I compiled it by hand, and know what!? The viewport got slowly, about 6 trillions of faces it became unusable. Even with the old libraries (xorg, mesa and amdgpu), So I think that something wrong with amdgpu driver in the kernel, or they are doing it because they want to, I don't know.
Somebody please could help me?
Its already take one year with this problem and I don't know if I have to contact Amd, Linus or you guys. I already tried the lastest ubuntu, didnt work (because as I said the kernel was new) and I already tried the amdgpu property driver, but still slow (I think slower than the open one). But the driver that is in kernel 4.9.50, its awsome its about 5x faster. Please help me to fix this.
I'm from Brazil sorry my bad english.
Comment 1 Alex Deucher 2018-11-06 15:25:59 UTC
Please attach your dmesg output, xorg log if using X, and glxinfo output.
Comment 2 drigohighlander 2018-11-07 01:37:42 UTC
Created attachment 279355 [details]
Xorg from the new system -> kernel 4.19.1
Comment 3 drigohighlander 2018-11-07 01:38:08 UTC
Created attachment 279357 [details]
Dmesg from the new system -> kernel 4.19.1
Comment 4 drigohighlander 2018-11-07 01:38:47 UTC
Created attachment 279359 [details]
Glxinfo from the new system > kernel 4.19.1
Comment 5 drigohighlander 2018-11-07 01:39:21 UTC
Created attachment 279361 [details]
Xorg from the old system (the fast viewport one) > kernel 4.9.50
Comment 6 drigohighlander 2018-11-07 01:39:50 UTC
Created attachment 279363 [details]
Dmesg from the old system (the fast viewport one) > kernel 4.9.50
Comment 7 drigohighlander 2018-11-07 01:40:22 UTC
Created attachment 279365 [details]
Glxinfo from the old system (the fast viewport one) > kernel 4.9.50
Comment 8 drigohighlander 2018-11-07 01:44:02 UTC
Yesterday (05/11/2018 DD/MM/YYYY) I upgraded again my system to kernel 4.19.1 and the other packages: xorg-server-1.20.3-x86_64-1, mesa-18.2.4-x86_64-1, xf86-video-amdgpu-18.1.0-x86_64-1. Still got the very poor performance, almost unusable. All the packages are official. Please help me to fix this.
Comment 9 Alex Deucher 2018-11-07 16:42:16 UTC
Everything looks fine in your logs.  Does the feature you are using in blender use OpenGL or OpenCL?
Comment 10 drigohighlander 2018-11-07 18:38:39 UTC
Ok the blender viewport does uses OpenGL.
I think its not a feature per se, just the viewport. To simply reproduce it follow these steps:

Open Blender
hit 'x' to delete the cube
Shidt + a, add suzzane (the monkey)
Add subdivision surface level 6 to the monkey head (its in the modifiers tab)
You will notice the number of faces, triangles etc increasing..
(the top header of blender)
Noe just duplicate the monkeys head, and try to move one of them or rotate the viewport.

You will notice that with 4 milions of faces or triangles its start to ger vey laggy.
With the old system (kernel 4.9.50) it almost reach 32 milions, in windows it reached 29 milions.
So   I think its an error in the new driver
Comment 11 drigohighlander 2018-11-07 18:43:36 UTC
Sorry I wrote with my phone, and Im from Brazil my dictonaries and auto corrector its disabled, so I mistyped some words, I dont know how to fix my comment.

Shidt -> Shift
Noe -> Now
ger -> get
Comment 12 Alex Deucher 2018-11-07 21:21:41 UTC
Are you running a 32 bit blender on a 64 bit distro?  Maybe you don't have the 32 bit OpenGL driver installed?
Comment 13 drigohighlander 2018-11-08 02:49:44 UTC
No, the blender used is the 64bits version. (I checked now), and, besides that, I dont have a multlib system installed necessary to run 32 bits programs on 64 bits system.

Note that I have two computers, same hardware. One I keep upgrading the system (not blender) and after the upgrade blender starts to become slow (3d viewport).

I tried to upgrade blender too, in the upgraded system, it still slow, in the computer that I didnt upgrade its blasting fast.

And I think, actually Im certain that, If I dont have the OpenGL drivers blender wont even open
Comment 14 drigohighlander 2018-11-08 02:50:18 UTC
No, the blender used is the 64bits version. (I checked now), and, besides that, I dont have a multlib system installed necessary to run 32 bits programs on 64 bits system.

Note that I have two computers, same hardware. One I keep upgrading the system (not blender) and after the upgrade blender starts to become slow (3d viewport).

I tried to upgrade blender too, in the upgraded system, it still slow, in the computer that I didnt upgrade its blasting fast.

And I think, actually Im certain that, If I dont have the OpenGL drivers blender wont even open

Note You need to log in before you can comment on or make changes to this bug.