LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I'm new to linux and i'm having a couple of problems. (https://www.linuxquestions.org/questions/linux-newbie-8/im-new-to-linux-and-im-having-a-couple-of-problems-4175601600/)

Charadon 03-12-2017 09:14 AM

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.

ondoho 03-13-2017 02:37 AM

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'


pan64 03-13-2017 02:44 AM

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

aragorn2101 03-13-2017 03:55 AM

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?

Charadon 03-13-2017 09:25 AM

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.

pan64 03-13-2017 09:35 AM

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.

Charadon 03-13-2017 09:39 AM

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?

pan64 03-13-2017 09:49 AM

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.

Charadon 03-13-2017 09:51 AM

Oh, which kind of ubuntu? I'm using xubuntu right now. Maybe its xubuntu?

pan64 03-13-2017 09:54 AM

no, that is ubuntu, the "original"

Charadon 03-13-2017 09:55 AM

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.

pan64 03-13-2017 10:02 AM

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.

Charadon 03-13-2017 10:08 AM

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. :doh: I installed it. No errors. Thanks amd.


All times are GMT -5. The time now is 05:08 PM.