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

New Topic from Ubuntu Unity Thread. @SgtAwesomesauce @Adobe_Flash_Player

So I have the driver installed but I don't get the performance I should get and I'm not sure how to configure the driver and/or free sync.
I installed the 4.8.0 kernel to better work with the AMD-GPU driver

booker@VilleGrove:~$ sudo lshw -c video

*-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

booker@VilleGrove:~$ uname -r
4.8.0-040800-generic

booker@VilleGrove:~$ dmesg | grep -i amdgpu
[ 1.182425] [drm] amdgpu kernel modesetting enabled.
[ 1.185688] fb: switching to amdgpudrmfb from simple
[ 1.186070] amdgpu 0000:01:00.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0xffff
[ 1.186264] amdgpu 0000:01:00.0: VRAM: 8192M 0x0000000000000000 - 0x00000001FFFFFFFF (8192M used)
[ 1.186265] amdgpu 0000:01:00.0: GTT: 8192M 0x0000000200000000 - 0x00000003FFFFFFFF
[ 1.186369] [drm] amdgpu: 8192M of VRAM memory ready
[ 1.186369] [drm] amdgpu: 8192M of GTT memory ready.
[ 1.187688] amdgpu 0000:01:00.0: amdgpu: using MSI.
[ 1.187883] [drm] amdgpu: irq initialized.
[ 1.188006] amdgpu: powerplay initialized
[ 1.188327] [drm] AMDGPU Display Connectors
[ 1.188555] amdgpu 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000200000008, cpu addr 0xffff9805940dc008
[ 1.188625] amdgpu 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000200000018, cpu addr 0xffff9805940dc018
[ 1.188704] amdgpu 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000200000028, cpu addr 0xffff9805940dc028
[ 1.188767] amdgpu 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000200000038, cpu addr 0xffff9805940dc038
[ 1.188825] amdgpu 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000200000048, cpu addr 0xffff9805940dc048
[ 1.188855] amdgpu 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000200000058, cpu addr 0xffff9805940dc058
[ 1.189645] amdgpu 0000:01:00.0: fence driver on ring 6 use gpu addr 0x0000000200000068, cpu addr 0xffff9805940dc068
[ 1.189728] amdgpu 0000:01:00.0: fence driver on ring 7 use gpu addr 0x0000000200000078, cpu addr 0xffff9805940dc078
[ 1.189802] amdgpu 0000:01:00.0: fence driver on ring 8 use gpu addr 0x0000000200000088, cpu addr 0xffff9805940dc088
[ 1.189908] amdgpu 0000:01:00.0: fence driver on ring 9 use gpu addr 0x0000000200000098, cpu addr 0xffff9805940dc098
[ 1.189995] amdgpu 0000:01:00.0: fence driver on ring 10 use gpu addr 0x00000002000000a8, cpu addr 0xffff9805940dc0a8
[ 1.190282] amdgpu 0000:01:00.0: fence driver on ring 11 use gpu addr 0x000000000109c420, cpu addr 0xffffb0290225a420
[ 1.190418] amdgpu 0000:01:00.0: fence driver on ring 12 use gpu addr 0x00000002000000c8, cpu addr 0xffff9805940dc0c8
[ 1.190501] amdgpu 0000:01:00.0: fence driver on ring 13 use gpu addr 0x00000002000000d8, cpu addr 0xffff9805940dc0d8
[ 1.802189] fbcon: amdgpudrmfb (fb0) is primary device
[ 2.631932] amdgpu 0000:01:00.0: fb0: amdgpudrmfb frame buffer device
[ 2.654870] [drm] Initialized amdgpu 3.3.0 20150101 for 0000:01:00.0 on minor 0

booker@VilleGrove:~$ dpkg -l amdgpu-pro
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==================-==============-==============-=========================================
ii amdgpu-pro 16.50-362463 amd64 Meta package to install amdgpu Pro compon

so if I'm not mistaken too hard it looks like the driver is installed and in use but when I play my beloved rocket league I get 20-30fps and free sync isn't working. I found some workaround so that I don't get tearing in chrome but I haven't figured out how to get it going in general.

2 Likes

my workaround for not getting teared down while watching a video is

echo -e 'Section "Device" Identifier "Radeon" Driver "radeon" Option "TearFree" "on" EndSection' | sudo tee /etc/X11/xorg.conf.d/20-amd.conf

is there a way to configure x11 with a gui?

1 Like

You may want to try Running AMDGPU Pro your out put shows you are only running the open source drivers.

ok where can i see that? i totally missed that.

how do i do that? i literally have no idea where the config files are or how to make this work. x11server? mesa?

i looked for guides but have not the understanding of 'working linus' to do that and to know what im looking for im ashamed off a little bit :D

edit: if there is a 'guide to config screen desktop server video thingy sorta stuff' pls tell me.

@FaunCB havent you squanched around that topic?

1 Like

Here

Try installing this:

http://support.amd.com/en-us/kb-articles/Pages/AMD-Radeon-GPU-PRO-Linux-Beta-Driver%E2%80%93Release-Notes.aspx

Guide:

http://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Install.aspx

i did that

should i reboot or something? i did this several times also with 16.40

1 Like

always reboot after making changes to the kernel

i rebooted. how can i see that the new driver is installed, working and how can i see that the freesync is on.

if i now start Rocket League will i have the 60fps?

1 Like

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