[Hardware Info] --Graphics Card-- [AMD/ATI] Ellesmere [Radeon RX 470/480] (rev c7) --CPU Info-- Intel(R) Core(TM) i7-6700K CPU @ 4.00GH [Sofware Info] --Mesa Version tag-- mesa-19.0.0-rc1 and mesa-19.0.0-rc2 --llvm version-- 7.0.1 --Kernel Version-- 4.10.0-38-generic [Problem Description] Trying to run any of the Sascha Willems samples (https://github.com/SaschaWillems/Vulkan) or LunarG's Cube examples from the SDK (vulkan.lunarg.com) will freeze the system. I've tried both building with both Meson and Autotools, with the same result. Am I missing a requirement or could something be out of date?
Possibly related to bug https://bugs.freedesktop.org/show_bug.cgi?id=109543
Say I have a computer with similar GPU sitting around just for testing. What would be the way to get to a similar software setup? What distro do you use, what is your compiler, where did your kernel come from and how did you compile mesa?
--Distro-- Ubuntu 16.04 --Kernel from Ubuntu's PPA-- https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.10/ --GCC version-- gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609 Compiled Mesa using autotools with the following command: ./autogen.sh PKG_CONFIG_PATH=/opt/Mesa/lib/pkgconfig:/opt/Mesa/share/pkgconfig --prefix=/opt/Mesa --with-dri-drivers="radeon" --with-gallium-drivers="radeonsi" --with-platforms="x11,drm" --with-vulkan-drivers=radeon --enable-autotools --enable-dri3
I'm also seeing this same system crash on Ubuntu 18.04.1 using Radeon R9 380 card. Happens when trying to run Sascha Willems Bloom sample.
What kernel version do you have on 18.04.1 btw?
Does it work with mesa 18.3.3?
> What kernel version do you have on 18.04.1 btw? It's 4.15.0-45 generic > Does it work with mesa 18.3.3? Yes, I'm not seeing any problems running any Vulkan apps
Can you bisect?
After bisecting, it looks like commit f425d9ee74 is the first bad one. I only used llvm-7 when trying to bisect.
Interesting, thanks for bisecting. I will investigate.
Can you try this patch https://patchwork.freedesktop.org/series/56522/ ?
Please, try v2.
Yes! this patch worked for me on my Ubuntu 18.04 - AMD R9 380 system! I will check with my other AMD systems today.
Fixed. https://cgit.freedesktop.org/mesa/mesa/commit/?id=1b8983c25be19073c02fe9630e949be55f8280fa Thanks for confirming. I guess it should also work on Ubuntu 16.04.
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.