got the same problem.
Ubuntu 16.04 and a RX570 with AMDGPU-PRO 17.10 driver.
I forgot to mention I have RX480. I also tested with R9-290 and it does NOT happen with that card. This problem only happens on my Ubuntu system with the RX480. Something about the RX line speciifcally with this driver.
I went back to an older backup and it doesn't happen there. I compared the older backup with the system that had this problem and the following packages were updated. Note the listing below has 3 columns: 1) package name, 2) old version, 3) new version. So if I don't do OS update, I do not have this problem, but after OS update to latest packages, then I get the shutdown/reboot problem. So something in this list of package updates is causing this but I still have to blame the AMD driver since the problem goes away if I remove it with amdgpu-pro-uninstall.
! apport 2.20.1-0ubuntu2.5 2.20.1-0ubuntu2.6
! apport-gtk 2.20.1-0ubuntu2.5 2.20.1-0ubuntu2.6
! bash 4.3-14ubuntu1.1 4.3-14ubuntu1.2
! firefox 53.0.2+build1-0ubuntu0.16.04.2 53.0.3+build1-0ubuntu0.16.04.2
! ghostscript 9.18~dfsg~0-0ubuntu2.4 9.18~dfsg~0-0ubuntu2.6
! ghostscript-x 9.18~dfsg~0-0ubuntu2.4 9.18~dfsg~0-0ubuntu2.6
! gir1.2-webkit2-4.0:amd64 2.16.1-0ubuntu0.16.04.2 2.16.2-0ubuntu0.16.04.1
! iproute2 4.3.0-1ubuntu3 4.3.0-1ubuntu3.16.04.1
! libgs9:amd64 9.18~dfsg~0-0ubuntu2.4 9.18~dfsg~0-0ubuntu2.6
! libgs9-common 9.18~dfsg~0-0ubuntu2.4 9.18~dfsg~0-0ubuntu2.6
! libjasper1:amd64 1.900.1-debian1-2.4ubuntu1 1.900.1-debian1-2.4ubuntu1.1
! libjbig2dec0 0.12+20150918-1 0.12+20150918-1ubuntu0.1
! libminiupnpc10:amd64 1.9.20140610-2ubuntu2 1.9.20140610-2ubuntu2.16.04.1
! libnma0:amd64 1.2.6-0ubuntu0.16.04.2 1.2.6-0ubuntu0.16.04.3
! libnma-common 1.2.6-0ubuntu0.16.04.2 1.2.6-0ubuntu0.16.04.3
! libnm-gtk0:amd64 1.2.6-0ubuntu0.16.04.2 1.2.6-0ubuntu0.16.04.3
! libnm-gtk-common 1.2.6-0ubuntu0.16.04.2 1.2.6-0ubuntu0.16.04.3
! libsmbclient:amd64 2:4.3.11+dfsg-0ubuntu0.16.04.6 2:4.3.11+dfsg-0ubuntu0.16.04.7
! libwbclient0:amd64 2:4.3.11+dfsg-0ubuntu0.16.04.6 2:4.3.11+dfsg-0ubuntu0.16.04.7
! libwebkit2gtk-4.0-37:amd64 2.16.1-0ubuntu0.16.04.2 2.16.2-0ubuntu0.16.04.1
! libwebkit2gtk-4.0-37-gtk2:amd64 2.16.1-0ubuntu0.16.04.2 2.16.2-0ubuntu0.16.04.1
! libwhoopsie0:amd64 0.2.52.2 0.2.52.3
! linux-firmware 1.157.8 1.157.10
! linux-generic-hwe-16.04 18.104.22.168.22 22.214.171.124.24
! linux-headers-generic-hwe-16.04 126.96.36.199.22 188.8.131.52.24
! linux-image-generic-hwe-16.04 184.108.40.206.22 220.127.116.11.24
! linux-libc-dev:amd64 4.4.0-77.98 4.4.0-78.99
! login 1:4.2-3.1ubuntu5.2 1:4.2-3.1ubuntu5.3
! network-manager-gnome 1.2.6-0ubuntu0.16.04.2 1.2.6-0ubuntu0.16.04.3
! passwd 1:4.2-3.1ubuntu5.2 1:4.2-3.1ubuntu5.3
! python3-apport 2.20.1-0ubuntu2.5 2.20.1-0ubuntu2.6
! python3-problem-report 2.20.1-0ubuntu2.5 2.20.1-0ubuntu2.6
! python3-software-properties 0.96.20.6 0.96.20.7
! samba-libs:amd64 2:4.3.11+dfsg-0ubuntu0.16.04.6 2:4.3.11+dfsg-0ubuntu0.16.04.7
! snap-confine 2.24.1 2.25
! snapd 2.24.1 2.25
! software-properties-common 0.96.20.6 0.96.20.7
! software-properties-gtk 0.96.20.6 0.96.20.7
! ubuntu-core-launcher 2.24.1 2.25
! unattended-upgrades 0.90ubuntu0.5 0.90ubuntu0.6
! vino 3.8.1-0ubuntu9.1 3.8.1-0ubuntu9.2
! whoopsie 0.2.52.2 0.2.52.3
i guess i was wrong. I went and redid a fresh install of Ubuntu 16.04.02 LTS 64-bit amd86 desktop edition, no updates, added just the AMDGPU driver and it still has the hanging problem on halt and reboot. I feel like I am doing AMD's job for them. It would be nice if someone from AMD can try this with a RX480 and confirm.
1 of 1 people found this helpful
Having the same issue with 16.04.02 and an RX580.
Running kernel 4.4.0-78 generic with no luck. Installed 4.8 and had the same issues on 4.8.0-53 generic.
I was able to get the driver installed by doing a server install then installing the driver package, then installing my desktop environment on it. The driver is installed, but won't load now. I get an "invalid parameter" when I do a modprobe. Running kernel 4.7 now as 4.8 breaks my networking.
you must have kernel 4.10 atleast. i run 4.10.21. and there is a better one on ( ukuu ) mainline kernels and 4.11.3 is stable. you will need the ukuu repository to get it. also as i said 4.10 and up only support that.
on top of the ubuntu bail out on linux ending november. the debian and gnome is better with out ubuntu imo.. i run same thing linux mint 18.1 as ubuntu 16.4 uses same dependencies. sometimes and changing everyday to debian. but there still in synaptic not removed yet.
either way the new kernel supports the pro driver but there reprogramming depenancies as we speak. i tried the pro version had same issue.. maybe 4.12 kernel will be the fix.
and amd dont support linux anymore. there not interested in buisiness server sales and home users sales anymore, dunno why they dont want all that money?
upgrade to kernel 4.10 and reinstalled drivers with no luck:
sudo modprobe amdgpu
modprobe: ERROR: could not insert 'amdgpu': Invalid argument
ok , as i seen as a fresh install you will either have amdgpu or radeon driver installed. im thinking you have radeon driver installed. check that.
try these commands to list modules and kernel drivers. they r ubuntu and mint mix commands. as things are changing. :/
ls -R /lib/modules/`uname -r`/kernel/
also here is a link to ukuu it has its own installer unless you like the zip.
Tired all above steps to no avail. Since the driver was tested on 4.8, I'm on the latest version of that from ukuu. On 4.10, it couldn't find a file needed for compilation which apparently went away in 4.9. I'm currently stable with nomodeset in my grub config, but lack gpu functionality. When I turn off nomodeset, boot freezes on changing gpu mode. I've confirmed no radeon drivers are loading and added radeon to my modules/blacklist.conf file.
yea i have alot of issues in linux with gpu also. i was working on getting amdgpu2 but with things switching everyday to debian its hard to find all the dependencies so i just figured i would wait until linux gets there packages in order and programm what is needed. ubuntu pulling the plug axeactly when amd stop support for linux put alot on hold. and i have no fan control on gpu. i have no temp readings or and fan control other than bios. i did find p.sensor on there site to config a compiler to fix for temps and sensors to work but there is 2 dependancies that just are not available anywhere so i cant build it.. it really suks trying to use ryzen with linux mint or ubuntu 16.04 . i read ubuntu is gone in november. also using ppa is a thing of the past.
you can also try
find / -name filename
as the file name is amdgpu or radeon make sure to log in as root
if you have amdgpu and pro dont work you may need amdgpu2 from synaptic ....
have you tried sudo apt install amdgpu
sudo apt-get install amdgpu
dont forget to updatedb
and sudo apt-get update
sudo apt-get upgrade
and then updatedb
in the end either linux mint or redhat or freebsd will cross the finish line.. i figure 2 nore years or 3 linux wont be free and will be taking microdollars into the swamp to die...
After a ton of troubleshooting, I got everything to work. Did a fresh install of 16.04.02, then installed amdgpu-pro 17.10 drivers. Changed the port the card was in, and now it all works. Found in the logs that the drivers had installed properly but couldn't find the card. Changing port solved this problem.
oh cool that helps me out too to figure out my garbled mess lol..