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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-12-2017, 09:14 AM
|
#1
|
Member
Registered: Mar 2017
Location: Somewhere
Distribution: Slackware Current
Posts: 54
Rep:
|
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.
|
|
|
03-13-2017, 02:37 AM
|
#2
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
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'
|
|
|
03-13-2017, 02:44 AM
|
#3
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,208
|
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 03:58 AM.
Reason: reformat
|
|
|
03-13-2017, 03:55 AM
|
#4
|
Member
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 567
|
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?
|
|
|
03-13-2017, 09:25 AM
|
#5
|
Member
Registered: Mar 2017
Location: Somewhere
Distribution: Slackware Current
Posts: 54
Original Poster
Rep:
|
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.
|
|
|
03-13-2017, 09:35 AM
|
#6
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,208
|
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.
|
|
|
03-13-2017, 09:39 AM
|
#7
|
Member
Registered: Mar 2017
Location: Somewhere
Distribution: Slackware Current
Posts: 54
Original Poster
Rep:
|
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?
|
|
|
03-13-2017, 09:49 AM
|
#8
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,208
|
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.
|
|
|
03-13-2017, 09:51 AM
|
#9
|
Member
Registered: Mar 2017
Location: Somewhere
Distribution: Slackware Current
Posts: 54
Original Poster
Rep:
|
Oh, which kind of ubuntu? I'm using xubuntu right now. Maybe its xubuntu?
|
|
|
03-13-2017, 09:54 AM
|
#10
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,208
|
no, that is ubuntu, the "original"
|
|
|
03-13-2017, 09:55 AM
|
#11
|
Member
Registered: Mar 2017
Location: Somewhere
Distribution: Slackware Current
Posts: 54
Original Poster
Rep:
|
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.
|
|
|
03-13-2017, 10:02 AM
|
#12
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,208
|
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.
|
|
|
03-13-2017, 10:08 AM
|
#13
|
Member
Registered: Mar 2017
Location: Somewhere
Distribution: Slackware Current
Posts: 54
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 08:25 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|