Bug 103917 - [gfx9/Vega] Performance regression in master, 17.3 works fine
Summary: [gfx9/Vega] Performance regression in master, 17.3 works fine
Status: RESOLVED WORKSFORME
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: git
Hardware: All All
: medium critical
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-26 15:37 UTC by Vedran Miletić
Modified: 2018-04-10 12:52 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Vedran Miletić 2017-11-26 15:37:37 UTC
I'm using Fedora rawhide (to become 28) along with Mesa 17.3.0-rc3, LLVM 5.0.0 and Kernel 4.15-git. If I install Mesa 17.3.0-rc5, everything still works fine. If I install Mesa git, everything works fine with 17.3-rc3 running desktop and 17.4 running games.

After rebo a reboot, however, with Mesa git running both the desktop and games, performance in games is very bad, rougly 1 fps.

I tried to bisect, but wasn't able to figure out what commit exactly is causing the problem. I compile Mesa with

./autogen.sh --enable-egl --enable-driglx-direct --disable-gles1 --enable-gles2 --enable-shared-glapi --enable-glx-tls --enable-dri --enable-texture-float --with-dri-drivers="" --with-egl-platforms=drm,wayland,surfaceless,x11 --with-gallium-drivers=r600,radeonsi,swrast --with-vulkan-drivers=radeon --enable-opencl --enable-opencl-icd PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig --enable-nine --enable-gbm --enable-va --enable-vdpau --libdir=/usr/local/lib64; make clean; make -j4; make -j4 check
Comment 1 Michel Dänzer 2017-11-27 10:27:56 UTC
(In reply to Vedran Miletić from comment #0)
> I tried to bisect, but wasn't able to figure out what commit exactly is
> causing the problem.

What was the problem? Were you able to narrow it down at least?
Comment 2 Vedran Miletić 2018-01-13 03:47:52 UTC
Last week I rechecked, but all I got on master was non-working mouse clicks (weird, I know) under Wayland and crashes under Xorg. I'll recheck again.
Comment 3 Timothy Arceri 2018-04-10 12:52:29 UTC
(In reply to Vedran Miletić from comment #0)
> I'm using Fedora rawhide (to become 28) along with Mesa 17.3.0-rc3, LLVM
> 5.0.0 and Kernel 4.15-git. If I install Mesa 17.3.0-rc5, everything still
> works fine. If I install Mesa git, everything works fine with 17.3-rc3
> running desktop and 17.4 running games.
> 

Using rawhide especially so early into a release you should expect issues all over the place. This isn't a very good way to be testing Mesa from git and reporting issues, for example there can be kernel/gcc/x/desktop bugs etc it makes it hard to narrow things down, on top of that package versions are constantly changing. It's better to Upgrade Mesa/LLVM/kernel etc on a stable distro for your testing.

> After rebo a reboot, however, with Mesa git running both the desktop and
> games, performance in games is very bad, rougly 1 fps.
> 

It could be anything but possibly you have fallen back to software rendering. 

Anyway Fedora 28 will be using LLVM 6.0, Linux 4.16. I'm going to close the bug report as there isn't much to go on here, but feel free to reopen if you still have issue with the stable Fedora 28 release.


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.