Ubuntu 16.04 & AMDGPU-Pro: 60 FPS & Freesync!?

Use the same command I showed you that will tell you what driver you have.

booker@VilleGrove:~$ configuration: driver=amdgpu latency=0
configuration:: command not found

1 Like

you should be able to boot into kernel 4.4 at the grub 2 boot menu and see what that says

booker@VilleGrove:~$ uname -r
4.4.0-57-generic
booker@VilleGrove:~$ configuration: driver=amdgpu latency=0
configuration:: command not found

1 Like

fix that didnt work

so i need to install this command set to perform configuration: driver=amdgpu latency=0

i havnt found a solution yet but im working on it

to uninstall command-not-found doesnt help.

i installed bash 4.4 but still

configuration: driver=amdgpu latency=0
configuration:: command not found

i have no idea if im even close to getting

configuration: driver=amdgpu latency=0

to work

booker@VilleGrove:~$ apt-config shell
.AMD/
AMDAPPSDK-3.0/
.apport-ignore.xml
bash-4.4/
bash-4.4.tar.gz
.bash_history
.bash_logout
.bashrc
.BUILDINFO
.cache/
.cinnamon/
.config/
.dbus/
Desktop/
.dmrc
Documents/
Downloads/
examples.desktop
.gconf/
.gksu.lock
.gnome/
.gnome2/
.gnupg/
.ICEauthority
.icons/
linux/
linux-headers-4.8.0-040800_4.8.0-040800.201610022031_all.deb
linux-headers-4.8.0-040800-generic_4.8.0-040800.201610022031_amd64.deb
linux-image-4.8.0-040800-generic_4.8.0-040800.201610022031_amd64.deb
.local/
.mozilla/
.MTREE
Music/
node-v4.2.4-linux-x64.tar.gz
.phoronix-test-suite/
Pictures/
.PKGINFO
.pki/
.profile
Public/
.pulse-cookie
.screenlayout/
skl_dmc_ver1_26/
.steam/
Steam/
.steampath
.steampid
.sudo_as_admin_successful
Templates/
.themes/
usr/
Videos/
.viminfo
.Xauthority
.xsession-errors
.xsession-errors.old

i tried to pin down why

configuration: driver=amdgpu latency=0
doenst work. so i tried
source ~/.bashrc
but it doenst return anything. so why is there an error when the shell itself seems ok but still cant work that command?

1 Like

Please post to the amdgpu info and news thread the next time you post about AMDGPU problems and such. That post acts as a news bulletin and a problems thread. Thank you.

oh ok. i didnt knew that because of the news in the titel. ill post there. thx.

2 Likes

What @Adobe_Flash_Player was quoting was output from the command

sudo lshw -c video

Try that command and find the

configuration: driver=

line in the output.

@FaunCB Are we really merging all the problems into one thread? I'd say he's just fine creating his own thread. In fact, I prefer it.

1 Like

Hmm I did a little research he is running Pro but not sure what his problem is. Maybe a power issue.

FreeSync I have no clue on since I don't have a monitor for it.

Pretty sure the option has to be set in the config file though.

FreeSync is one of those things that I'm not good with either. There is supposed to be support for it, but I'm not sure if it's only driver level.

I'd put money on it.

I'm looking into overclocking and power state management with amdgpu as we speak. I've got a fury on Solus, so I don't currently have access to amdgpu-pro, but if open-source supports it, proprietary should as well.

Well ultimately I want to start listing bugs users find and the answers we come up with in a doc on the thread itself. Having the issues all in the thread would make that a lot easier for sourcing.

I am thinking power-play

1 Like

sudo lshw -c video
[sudo] password for booker:
*-display
description: VGA compatible controller
product: Advanced Micro Devices, Inc. [AMD/ATI]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:01:00.0
version: c7
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
configuration: driver=amdgpu latency=0
resources: irq:316 memory:c0000000-cfffffff memory:d0000000-d01fffff ioport:e000(size=256) memory:dfe00000-dfe3ffff memory:c0000-dffff

seems like the driver used is the amdgpu not the pro. but why?

@FaunCB @SgtAwesomesauce im with you on this one: it would be super benefitial if we manage to gether bugs and fixes in one mighty thread to get that stuff up and running asap.

i installed 16.50 amdgpu-pro without errors and still its not used. how do i fix a power issue?

to manage freesync i maybe found it

it is adding

Section "Device"
Identifier "Card0"
Driver "amdgpu"
BusID "PCI:1:0:0"
Option "DRI3" "1"
Option "TearFree" "on"
EndSection

to

/usr/share/X11/xorg.conf.d/10-amdgpu-pro.conf

1 Like

@FaunCB Fair enough. Maybe link to other threads from the main thread if we don't post in the main thread?

About power modes. On my system, running 4.8 amdgpu, /sys/class/drm/card0/device/power_dpm_state is set to performance. It may be beneficial to force that state by executing, as root:

echo -e "high" > /sys/class/drm/card0/device/power_dpm_force_performance_level

This will increase heat, so execute this before playing games, then execute this after you're done to put it back:

echo -e "auto" > /sys/class/drm/card0/device/power_dpm_force_performance_level

For now, that's what I've got. I'm going to post again in a few with more data.

Just a dump of my fury's current driver config:

$ cat pp_cur_state
1

$ cat pp_dpm_mclk
0: 500Mhz *

$ cat pp_dpm_sclk
0: 300Mhz 
1: 508Mhz *
2: 717Mhz 
3: 874Mhz 
4: 911Mhz 
5: 944Mhz 
6: 974Mhz 
7: 1050Mhz

Let me load up Deus Ex to see what what happens to the sclk when I start playing a game. If all is working properly, it should ramp to mode 7 (1050mhz) If it's not, OP may be having similar problems.

You have to blacklist ati in order to get amdgpu rolling.

'blacklist ati-driver'?

1 Like

Yeah.

Edit /etc/modprobe.d/blacklist and append the following to blacklist it:

blacklist fglrx

That should cover it... That said, @FaunCB, he's already got the amdgpu driver attached to the pci device.

It can be attached all it wants it won't work till he balcklists it which I assume he is doing now.

Okay. Didn't know that.