Skip to contentSkip to conversation

AMD's GPU is Slower than Intel's

Bug 109171 [email protected] 1 participant 17 messages Dec 29, 2018 – Sep 18, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=109171

Bug ID: 109171
Summary: AMD's GPU is Slower than Intel's
Product: Mesa
Version: 18.2
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: critical
Priority: medium
Component: Drivers/Gallium/r600
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

glxgears and CS: Go are much slower with AMD's GPU. Performance's much higher with Intel's.

Outputs:

$ glxgears
306 frames in 5.0 seconds = 61.029 FPS
299 frames in 5.0 seconds = 59.761 FPS
299 frames in 5.0 seconds = 59.762 FPS
299 frames in 5.0 seconds = 59.762 FPS
299 frames in 5.0 seconds = 59.762 FPS
$ DRI_PRIME=1 glxgears
304 frames in 5.0 seconds = 60.666 FPS
299 frames in 5.0 seconds = 59.762 FPS
299 frames in 5.0 seconds = 59.762 FPS
299 frames in 5.0 seconds = 59.763 FPS
299 frames in 5.0 seconds = 59.760 FPS
$ vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
32606 frames in 5.0 seconds = 6521.047 FPS
31516 frames in 5.0 seconds = 6302.010 FPS
32145 frames in 5.0 seconds = 6428.891 FPS
31443 frames in 5.0 seconds = 6288.595 FPS
31029 frames in 5.0 seconds = 6205.721 FPS
$ DRI_PRIME=1 vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
12031 frames in 5.0 seconds = 2406.195 FPS
10110 frames in 5.0 seconds = 2021.870 FPS
10122 frames in 5.0 seconds = 2022.474 FPS
9782 frames in 5.0 seconds = 1956.206 FPS
10175 frames in 5.0 seconds = 2034.901 FPS

Laptop: HP Pavilion g6.
AMD's GPU: Radeon HD 7670M.
OS: 64-bit Linux (Fedora 29 KDE Spin).

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109171

--- Comment #2 from Alex Deucher <[email protected]> --- Please attach your xorg log and dmesg output. Note that using the dGPU involves extra copies to copy the rendered frame to the integrated GPU for display so there is additional overhead. You need a relatively advanced 3D game to see an advantage on the dGPU as you have to overcome the overhead of the additional copies.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109171

--- Comment #3 from Sherif <[email protected]> --- Created attachment 142914
--> https://bugs.freedesktop.org/attachment.cgi?id=142914&action=edit
Xorg log files.

I attached all files.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109171

Sherif <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                URL|                            |https://bugzilla.redhat.com
                   |                            |/show_bug.cgi?id=1662535

--- Comment #4 from Sherif <[email protected]> --- I reported it in Fedora Bugzilla, also. Please, check.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109171

--- Comment #5 from Sherif <[email protected]> --- Created attachment 142951
--> https://bugs.freedesktop.org/attachment.cgi?id=142951&action=edit
I used something like dmesg | vim.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109171

--- Comment #7 from Christian König <[email protected]> --- The dmesg is only a fraction. Please provide the full dmesg directly after boot.

That glxgears is getting slower numbers on the secondary GPU is perfectly normal. It is a test how fast we can page flip and not how fast the GPU is.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109171

Sherif <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #142951|0                           |1

is obsolete| |

--- Comment #8 from Sherif <[email protected]> --- Created attachment 142953
--> https://bugs.freedesktop.org/attachment.cgi?id=142953&action=edit
Output of dmesg.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109171

--- Comment #9 from Sherif <[email protected]> --- Created attachment 142954
--> https://bugs.freedesktop.org/attachment.cgi?id=142954&action=edit
Output of DRI_PRIME=1 dmesg

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109171

--- Comment #10 from Sherif <[email protected]> ---
I restarted, logged into KDE then $ dmesg >> dmesg. After a minute, $ DRI_PRIME=1 dmesg >> dmesg2. Did I do it correctly?

(In reply to Alex Deucher from comment #2)

Quoted 2 lines

You need a relatively advanced 3D game to see an advantage on the dGPU as you
have to overcome the overhead of the additional copies.

Counter-Strike: Global Offensive is much slower, when I run Steam with DRI_PRIME=1.

Additional Info:
I installed Steam from RPMFusion.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109171

--- Comment #11 from Sherif <[email protected]> --- Created attachment 142955
--> https://bugs.freedesktop.org/attachment.cgi?id=142955&action=edit
Steam output wit Intel's GPU.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#12 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109171

--- Comment #12 from Sherif <[email protected]> --- Created attachment 142956
--> https://bugs.freedesktop.org/attachment.cgi?id=142956&action=edit
Steam output wit AMD's GPU.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#13 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109171

--- Comment #13 from Sherif <[email protected]> ---
I found that only CS: GO's main GUI is slow with AMD's GPU, but it's much faster during matches. On Intel's GPU, the main GUI's smooth, but there's some lag during matches.
I tried the tutorial only.

On both cases, fullscreen was enabled.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#15 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109171

--- Comment #15 from Sherif <[email protected]> --- Created attachment 142957
--> https://bugs.freedesktop.org/attachment.cgi?id=142957&action=edit
glxinfo with(out) DRI_PRIME=1.

This can help.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#16 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109171

GitLab Migration User <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #16 from GitLab Migration User <[email protected]> --- -- 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/649.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel