LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-12-2017, 10:14 AM   #1
Charadon
LQ Newbie
 
Registered: Mar 2017
Distribution: Antergos
Posts: 7

Rep: Reputation: Disabled
I'm new to linux and i'm having a couple of problems.


Hello, new to the forums and trying Linux again (Failed the other times) and I'm having problems. I guess i'll go down a list?

1. I swear i'm not installing amdgpu-pro correctly. Something always goes wrong (Sometimes when I install it games run at 120 fps, but with lighting errors, so I reinstall them and then I only get 30fps) And performance is not a little bit worse, but alot worse than it is on windows. I only see one error when I install the driver:

ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/amdgpu-pro-dkms.0.crash'
Error! Bad return status for module build on kernel: 4.8.0-41-generic (x86_64)
Consult /var/lib/dkms/amdgpu-pro/16.40-348864/build/make.log for more information.
--------------------------------------------------
2. Screen tearing EVERYWHERE. In games, in browsers, in text documents. Everywhere.

3. Borderless Window mode doesn't work, the task bar (or panel I guess) keeps getting in the way.

4. Ubuntu software center says it has a driver for my CPU? I didn't even know that could even have a driver, should I install it?

I'm using xubuntu 16.04.2 (Love xfce) My computer specs are:
GPU: MSI AMD RX 480
CPU: AMD Athlon x4 860k
Motherboard: MSI A78M-E35 FM2+

Sorry if this post isn't very neat, I haven't used a forum since 2008.
 
Old 03-13-2017, 03:37 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 13,400
Blog Entries: 9

Rep: Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655
i don't get half of it, but from what i understand i'd say you are having graphic driver problems.
please post the output of
Code:
uname -rv
lspci -k | grep -iEA5 'vga|3d'
 
Old 03-13-2017, 03:44 AM   #3
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,583

Rep: Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344
probably you will get some info here:
Quote:
Consult /var/lib/dkms/amdgpu-pro/16.40-348864/build/make.log for more information.
or you may try to post that too.
CPU has microcode, probably the driver wanted to update it: https://en.wikipedia.org/wiki/Microcode

Last edited by pan64; 03-13-2017 at 04:58 AM. Reason: reformat
 
Old 03-13-2017, 04:55 AM   #4
aragorn2101
Member
 
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 552

Rep: Reputation: 271Reputation: 271Reputation: 271
Hi,

Yes, seems like a graphics problem. Do not install the CPU driver immediately. It's better to solve the graphics problem first then you can try exotic things.

For the AMDGPU-Pro, are you installing it via Ubuntu's repositories or manually using the help on the AMD website?
 
Old 03-13-2017, 10:25 AM   #5
Charadon
LQ Newbie
 
Registered: Mar 2017
Distribution: Antergos
Posts: 7

Original Poster
Rep: Reputation: Disabled
Here is what uname -rv gave me:
Code:
4.8.0-41-generic #44~16.04.1-Ubuntu SMP Fri Mar 3 17:11:16 UTC 2017
Here is what the lspci command gave me:
Code:
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 67df (rev c7)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 3413
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device aaf0
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device aaf0
And here is what was in make.log:
Code:
DKMS make.log for amdgpu-pro-16.40-348864 for kernel 4.8.0-41-generic (x86_64)
Sun Mar 12 10:12:23 EDT 2017
make: Entering directory '/usr/src/linux-headers-4.8.0-41-generic'
  LD      /var/lib/dkms/amdgpu-pro/16.40-348864/build/built-in.o
  LD      /var/lib/dkms/amdgpu-pro/16.40-348864/build/amd/amdgpu/built-in.o
  CC [M]  /var/lib/dkms/amdgpu-pro/16.40-348864/build/amd/amdgpu/amdgpu_drv.o
In file included from /var/lib/dkms/amdgpu-pro/16.40-348864/build/amd/amdgpu/../backport/backport.h:9:0,
                 from <command-line>:0:
/var/lib/dkms/amdgpu-pro/16.40-348864/build/amd/amdgpu/../backport/include/kcl/kcl_ttm.h: In function ‘kcl_ttm_bo_reserve’:
/var/lib/dkms/amdgpu-pro/16.40-348864/build/amd/amdgpu/../backport/include/kcl/kcl_ttm.h:109:9: error: too many arguments to function ‘ttm_bo_reserve’
  return ttm_bo_reserve(bo, interruptible, no_wait, false, ticket);
         ^
In file included from /var/lib/dkms/amdgpu-pro/16.40-348864/build/amd/amdgpu/../backport/include/kcl/kcl_ttm.h:6:0,
                 from /var/lib/dkms/amdgpu-pro/16.40-348864/build/amd/amdgpu/../backport/backport.h:9,
                 from <command-line>:0:
./include/drm/ttm/ttm_bo_driver.h:863:19: note: declared here
 static inline int ttm_bo_reserve(struct ttm_buffer_object *bo,
                   ^
scripts/Makefile.build:289: recipe for target '/var/lib/dkms/amdgpu-pro/16.40-348864/build/amd/amdgpu/amdgpu_drv.o' failed
make[2]: *** [/var/lib/dkms/amdgpu-pro/16.40-348864/build/amd/amdgpu/amdgpu_drv.o] Error 1
scripts/Makefile.build:440: recipe for target '/var/lib/dkms/amdgpu-pro/16.40-348864/build/amd/amdgpu' failed
make[1]: *** [/var/lib/dkms/amdgpu-pro/16.40-348864/build/amd/amdgpu] Error 2
Makefile:1491: recipe for target '_module_/var/lib/dkms/amdgpu-pro/16.40-348864/build' failed
make: *** [_module_/var/lib/dkms/amdgpu-pro/16.40-348864/build] Error 2
make: Leaving directory '/usr/src/linux-headers-4.8.0-41-generic'
And to answer aragorn, the place where it asks me if I want the microcode driver doesn't say if I want the amdgpu-pro driver. So I have to get it off of amd's website.
 
Old 03-13-2017, 10:35 AM   #6
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,583

Rep: Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344
microcode driver is irrelevant here. I think you do not need that at all, but anyway you can try that independently.

It looks like the amd driver and kernel sources are incompatible, but I do not know why.
 
Old 03-13-2017, 10:39 AM   #7
Charadon
LQ Newbie
 
Registered: Mar 2017
Distribution: Antergos
Posts: 7

Original Poster
Rep: Reputation: Disabled
Do you know which kernel would be compatible? Because I already tried updating the kernel (Thanks Ukuu) but it just made the problem worse and I reverted it. So, maybe i'll have to downgrade my kernel?
 
Old 03-13-2017, 10:49 AM   #8
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,583

Rep: Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344
sorry guy, I think you need to read the release notes or something similar from amd. I have ubuntu 16.04 and I have successfully installed amd gpu driver (a few month ago), using the default kernel, in general that was a fresh new install without anything.
 
Old 03-13-2017, 10:51 AM   #9
Charadon
LQ Newbie
 
Registered: Mar 2017
Distribution: Antergos
Posts: 7

Original Poster
Rep: Reputation: Disabled
Oh, which kind of ubuntu? I'm using xubuntu right now. Maybe its xubuntu?
 
Old 03-13-2017, 10:54 AM   #10
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,583

Rep: Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344
no, that is ubuntu, the "original"
 
Old 03-13-2017, 10:55 AM   #11
Charadon
LQ Newbie
 
Registered: Mar 2017
Distribution: Antergos
Posts: 7

Original Poster
Rep: Reputation: Disabled
Ah, thats what I was thinking. So maybe the drivers are only compatible with the original ubuntu?

Edit: misread that. I don't know what to do then.
 
Old 03-13-2017, 11:02 AM   #12
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,583

Rep: Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344Reputation: 4344
the drivers should be compatible with the kernel, so basically you need to have a kernel specified by amd. Kubuntu, Xubuntu are usually use just a different desktop, so you need to be able to solve that.
 
Old 03-13-2017, 11:08 AM   #13
Charadon
LQ Newbie
 
Registered: Mar 2017
Distribution: Antergos
Posts: 7

Original Poster
Rep: Reputation: Disabled
I found out something when looking at release-notes (which don't explain anything it just goes on about how it is in fact a linux driver.) On the main download page for the driver they have the 16.40 version of the driver. BUT, if you go to the ubuntu install guide page they list the 16.60 version. They haven't update their download links. I installed it. No errors. Thanks amd.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
12.1 ==> 14.0 a couple of problems feb11 Slackware 6 04-18-2014 11:18 AM
Couple of problems with 4.12 Indy452 Puppy 7 02-14-2011 09:43 AM
Help with couple of small linux problems acook Linux - General 4 12-08-2006 08:05 PM
Couple Of Problems caps_phisto Slackware 3 04-18-2005 10:08 AM
Couple problems... dhrivnak Slackware 8 10-24-2003 01:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration