Ubuntu MSI R9 390 Help

Answer 1: when I was using 14.04 a few months ago I used the FGLRX drivers hoping for better stability than that of the AMDGPU and Radeon, but to no avail. I read on the Ubuntu forum that 15.10 has seen better improvements so I migrated my install to 15.10 to get the same results even after removing the FGLRX and doing a complete fresh install out of frustration I still had nothing that was usable. I migrated then to 16.04 Beta 2 a few days ago and for the first few power cycles I saw no issues at all everything worked perfectly there were no stability issues and I was happy, Then all of my issues returned.
Answer 2: well that is a bit of a long answer, I was first introduced to Linux a few years ago when a older man that I had known for a few years one day gave me a flash drive before he died and he told me that he was passing on to me the joy of learning that that usb had given him. I booted it up and it was a really old version of Ubuntu 10.04 on a Flash drive, I played around with it for a few weeks and as school started up I put it in a drawer and forgot about it until this past summer when I moved out and went to college. I found it again and it reminded me of that old man and how happy he was to pass it on to me so I brought it with me and thought nothing of it. I then began to explore more into what Linux was through my computer science classes and realized what an amazing gift was given to me on that flash drive, it was the gift of a constant challenge the gift of learning, the code of so many programmer before me was on that flash drive and it was a sand box to learn in. I started playing around with other distros such as arch, arch was so interesting and I quite like it. I ran into the same issues with my GPU in arch as I am now so I abandoned the distro and play to return one day as a more advanced user with more experience and wisdom, I then moved to Debian, Debian also did not support my hardware and I found it a bit clunky, but don't get me wrong I think it is a great distro, I just wanted to be closer to the bleeding edge than Debian, next up slackware, I thought slackware was interesting, but not for me at this point I needed something easier. Someone suggested Gentoo and I checked it out, but again a little more work than I was ready for. I stumbled upon linux from scratch and Completed the entire book. Granted my system never once booted, but I had learned so much from that and I also learned that as well I thought I had known the command line I still needed a good X server for the time being to get more comfortable. This is where I landed back again with Ubuntu, I am not a big fan of unity at all I prefer Xfce4 because it gives me the look and feel that I like more, but MATE is not bad as well neither is Gnome. I love the idea of linux and I want to move around in this community and find different distributions and learn how to be the best programmer I can be and give back to the community that has given me the chance to learn. I have come to Ubuntu because of it being an easy distro to get used to Linux in. I have many VM's of Suse linux and other Red Hat forks, I am just not ready for them yet.

Scott

1 Like

I am aware that the GPU chips are basically the same, The system reads them both as Hawaii, but thank you for the correction. On instillation of the fglrx drivers in both 15.10 and in 16.04 the system actually crashed and burned. Trying to use Control alt and any of the functions keys gave me no TTY socket to log on with and even if I waited a few seconds and typed pretending that I was logging in I was unable to blindly log in.

Hello,

I would greatly appreciate that :) PM me with more details?

Just as a point, please put some space in long posts like this @-@

1 Like

You use this even though the 390x is not officially supported, according to the compatibility list? No major problems? Maybe I should try this.

Only got the 390x back today, and only just got home now. I asked the AMD guys over at phonorix and they claim it works for 390x fine so, will see.

here is a script I use to resolve power state issue. This method works on AMDGPU, you may find radeonsi slightly different, refer to your videocards "/sys/class/drm/card0/device/" path to ensure certain functions exist, you can open them in gedit to get a idea at what the current states are for your card.

Edit the below as you see fit! Keep in mind to STOP crashes and such on bootup you will need to execute these before X window starts up. There are a few ways to do that but I can't remember them off hand sorry.

#!/bin/bash
# The below two lines only need to be ran once.
#sudo groupadd perf-applet
#sudo usermod -G perf-applet -a <username>

# My AMDGPU Powerstate fix for 390x
sudo chown root:perf-applet /sys/class/drm/card0/device/power_dpm_state
sudo chown root:perf-applet /sys/class/drm/card0/device/power_dpm_force_performance_level
sudo chmod g+rwx /sys/class/drm/card0/device/power_dpm_state
sudo chmod g+rwx /sys/class/drm/card0/device/power_dpm_force_performance_level
echo 'high' > '/sys/class/drm/card0/device/power_dpm_force_performance_level'
echo 'performance' > '/sys/class/drm/card0/device/power_dpm_state'

#FAN CONTROLl 
#**(you don't need this unless your videocard is overheating and the default fan control sucks).**
sudo chown root:perf-applet /sys/class/drm/card0/device/hwmon/hwmon0/pwm1_enable
sudo chown root:perf-applet /sys/class/drm/card0/device/hwmon/hwmon0/pwm1
sudo chmod g+rwx /sys/class/drm/card0/device/hwmon/hwmon0/pwm1_enable
sudo chmod g+rwx /sys/class/drm/card0/device/hwmon/hwmon0/pwm1
echo 1 > /sys/class/drm/card0/device/hwmon/hwmon0/pwm1_enable
sudo echo 255 > /sys/class/drm/card0/device/hwmon/hwmon0/pwm1


echo "Powerstates changed"
1 Like

I would like to confirm again today that after having three more lock ups last night at I was unable to get the Control + Alt + Function 1-6 to open a new TTY screen in fact I was no longer even able to ssh into the desktop from my laptop.

I bought the card originally because I wanted to have better performance than what my R9 270 could give me and at a price point that I would be ok for a few years with upgrading as I am a college student. Everyone keeps telling me that the chips under the heat sink are literally the same, but if they are the same than why don't the drivers function the same? I realize the 390 uses HBM and has more of it where the 290 uses GDDR5, but what major differences could there really be?

R9 390 does not use HBM, just uses 8gb of GDDR5. Yeah, I cant answer that question about the differences between the rebrands. Like you, I have had a lot of problems with my card. Mainly to do with screen tearing.

Hah Hah, I only just now remembered that I went through this and found a way. Sorry!

I did fix the problem with the blackouts. I made the default graphics adapter the iGPU, and disabled the PCI ones. (You need a CPU with an integrated GPU). Then booted and installed Ubuntu like normal. Intel drivers are top notch compared to AMD's, so it was fine to boot, install and update everything.

I could then install the propriety AMD ones. If I recall right, I just installed them from the additional drivers utility. Easy peasy. I need to go through that whole rigmarole every time I want a fresh install.

Tearing is still an issue though, which why I still primarily use windows. I have spent a lot of time trying to fix this. I mean a LOT. Hope its not an issue with you. I try again every few months to check on the progress of AMDGPU and projects like it.

I am sorry to hear that you are suffering with this card like I am. I am using 16.04 right now the the AMD propriety are actually depreciated and are on the very of being killed off by AMD there will be a few more updated through into the summer of 2016, but after that they are going to be dropped off and no longer supported. :( I have an i5-6600 and I had flawless performance using the I-GPU, but When installing the propriety drivers in 15.10 and in 16.04 both have completely crashed the system to the point where the only option was a fresh install.

Riddick is trying the new drivers from AMD, so I might have to do the same. That's the next step I would say. Just because fglrx isn't supported doesn't mean there's no alternative I would think.

I tried that solution last night and the download failed every time I tried it I tried the direct download I sshed into my off sight server and did a wget and nothing worked I think the link is broken currently.

I just downloaded it just now and its fine. Try again.

have you had any success with the driver?

is AMDGPU-PRO another proprietary driver or is it open source?

link is broken for me too.

do any of you think that the AMDGPU drivers will take off and replace the current drivers as the top dog?

The new AMD PRO driver from AMD's beta website MAY not work with kernel 4.4, its hard to get a clear answer from AMD these days. They did say that they will release a update 'soonTM' for Ubuntu 16.04. As for ARCH and other distros, you may be out of luck?!

The AMD PRO driver is called SEMI open-source.. Has bits of code from catalyst and also open-source in it, along with their new Vulkan code.

UPDATE: Try sudo nano /etc/rc.local and do some googling on howto use that. Create the perf-applet group manually first, then remove the SUDO part of my script and place in rc.local.... There is also other ways, google is your friend :-)
Keep in mind that radeonsi driver MAY use a different state file, it could be hidden in another folder. You should verify these files beforehand by checking their content etc... (if possible).

You may need to apply the power state patch I mention above BEFORE you boot into X. You can boot to the command terminal from the menu and mount the \ partition, then apply adjustments to whatever startup/script daemon that works. Wish I could remember what I used.

Keep in mind that startup scripts often don't need any sudo or anything as its already in elevated privileges.

The AMD-Pro driver is the replacement and top dog for AMD atm (assuming you can get it installed). However in saying that the radeonsi/amdgpu drivers are the only ones I know to date that work with the latest Kernel versions (4.4+), I suspect AMD-Pro driver doesn't work with 4.4+ right off the bat.
(I will attempt to get a direct answer from AMD staff about that as their website OFTEN misses details about these things).

Here is some benchmarks that people may find interesting.

http://www.phoronix.com/scan.php?page=article&item=amd-win10-amdgpupro&num=1

Still not sure on the steps to getting AMDGPU-PRO driver on 16.04 with Kernel4.4. ONE AMD rep once told me to JUST install it, but I don't trust its that simple. REALLY don't want to BRICK my install, might make a partition backup just in case before trying. (I HIGHLY RECOMMEND OTHERS TO DO THE SAME)...

UPDATE: I got it semi working in 16.04 kernel4.4 but it doesn't appear to load some important modules, and screws up X a bit (loads without theme/icon/bar/links).

From what I understand if you want to use AMDGPU-PRO driver which is the replacement for catalyst and has Vulkan support (follow AMD install instructions) then you will need to install Kernel 4.2 on your Ubuntu 16.04 install, yes that does mean downgrading the kernel to get it working.

AMD is currently a couple months behind on updating this new beta driver, but they CLAIM Ubuntu 16.04 WILL come with an updated version fully working for newer kernels. I'll believe it when I see it! How far away is Ubuntu 16.04 release I wonder? (JUST CHECKED, COUPLE DAYS IT SEEMS..... WE'LL SEE AMD, ALL TALK AND BROKEN PROMISES!)

1 Like

I believe this issue is souly related to a heating issue. I was able to run my system from a cold boot for almost an hour before the system fell over, but the issue is that its not just the graphics card that falls over the entire system falls over with it. I was unable to SSH into my desktop nor could any of my services continue not continue for example spotify began to play the last track on a 2 second loop over and over again. my system is more than sufficiently cooled though the fans on my graphics card never turned.