3D acceleration not enabled

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
LordCorvin

3D acceleration not enabled

Post by LordCorvin »

I have a problem with getting my graphics card RX550 working with Linux mint 18.2 MATE
The acceleration gets disabled and it runs in software mode.
glxgears runs at 1 FPS
glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
1061 frames in 6.0 seconds = 177.521 FPS
6 frames in 6.0 seconds = 1.000 FPS
5 frames in 5.0 seconds = 1.000 FPS
6 frames in 6.0 seconds = 1.000 FPS
5 frames in 5.0 seconds = 1.000 FPS


https://pastebin.com/w4KkXXQa

I'm using NoMachine as my display, it supports 3d acceleration I checked.

Any help is appreciated.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
WharfRat

Re: 3D acceleration not enabled

Post by WharfRat »

Hello LordCorvin Image

Welcome to Linux Mint and the Linux Mint forum :)

Your problem seems to be with the direct rendering driver

Code: Select all

[     6.236] (EE) modeset(0): [DRI2] No driver mapping found for PCI device 0x1002 / 0x699f
[     6.236] (EE) modeset(0): Failed to initialize the DRI2 extension.
[     6.261] (--) RandR disabled
[     6.268] (II) AIGLX: Screen 0 is not DRI2 capable
[     6.268] (EE) AIGLX: reverting to software rendering
Can you paste back the results of inxi -FxzD
LordCorvin

Re: 3D acceleration not enabled

Post by LordCorvin »

Thanks WharfRat. Here's the output:

Code: Select all

System:    Host: Linux-Mint Kernel: 4.10.0-37-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: MATE 1.18.0 (Gtk 3.18.9-1ubuntu3.3)
           Distro: Linux Mint 18.2 Sonya
Machine:   Mobo: ASUSTeK model: P5KPL-AM SE v: X.0x
           Bios: American Megatrends v: 0506 date: 05/27/2009
CPU:       Quad core Intel Core2 Quad Q8400 (-MCP-) cache: 2048 KB
           flags: (lm nx sse sse2 sse3 sse4_1 ssse3 vmx) bmips: 21404
           clock speeds: max: 2664 MHz 1: 1998 MHz 2: 1998 MHz 3: 1998 MHz
           4: 1998 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Lexa PRO [Radeon RX 550]
           bus-ID: 01:00.0
           Display Server: X.Org 1.18.4 drivers: ati (unloaded: fbdev,vesa,radeon,amdgpu)
           Resolution: 1024x768
           GLX Renderer: Gallium 0.4 on AMD POLARIS12 (DRM 3.9.0 / 4.10.0-37-generic, LLVM 4.0.0)
           GLX Version: 3.0 Mesa 17.0.7 Direct Rendering: Yes
Audio:     Card-1 Intel NM10/ICH7 Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2 Advanced Micro Devices [AMD/ATI] Device aae0
           driver: snd_hda_intel bus-ID: 01:00.1
           Sound: Advanced Linux Sound Architecture v: k4.10.0-37-generic
Network:   Card-1: Realtek RTL8101/2/6E PCI Express Fast Ethernet controller
           driver: r8169 v: 2.3LK-NAPI port: d800 bus-ID: 02:00.0
           IF: enp2s0 state: up speed: 100 Mbps duplex: full mac: <filter>
           Card-2: Realtek RTL8169 PCI Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: e800 bus-ID: 04:00.0
           IF: enp4s0 state: down mac: <filter>
Drives:    HDD Total Size: 240.1GB (17.2% used)
           ID-1: /dev/sda model: INTEL_SSDSC2CW12 size: 120.0GB
           ID-2: /dev/sdb model: INTEL_SSDSC2CW12 size: 120.0GB
Partition: ID-1: / size: 108G used: 35G (35%) fs: ext4 dev: /dev/md1
           ID-2: /boot size: 945M used: 196M (23%) fs: ext4 dev: /dev/md0
           ID-3: swap-1 size: 2.05GB used: 0.00GB (0%) fs: swap dev: /dev/sda6
           ID-4: swap-2 size: 2.05GB used: 0.00GB (0%) fs: swap dev: /dev/sdb6
RAID:      Device-1: /dev/md1 - active components: online: sda5[2] sdb5[0]
           Info: raid: 1 report: 2/2 blocks: 114154496 chunk size: N/A bitmap: true
           Device-2: /dev/md0 - active components: online: sda1[2] sdb1[0]
           Info: raid: 1 report: 2/2 blocks: 998848 chunk size: N/A bitmap: true
Sensors:   System Temperatures: cpu: 28.0C mobo: 32.0C gpu: 32.0
           Fan Speeds (in rpm): cpu: 2149 sys-1: 0
Info:      Processes: 219 Uptime: 6:36 Memory: 1735.8/3949.3MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35
WharfRat

Re: 3D acceleration not enabled

Post by WharfRat »

Your error shows that "No driver mapping found for PCI device 0x1002"

But the inxi results is listed as "Card: Advanced Micro Devices [AMD/ATI] Lexa PRO [Radeon RX 550] bus-ID: 01:00.0"

Did you possibly add an xorg.conf file that's fferencing the wrong bus id :?:

What is the result of lspci

The bus id must match as my inxi and lspci results show

Card: NVIDIA GK208 [GeForce GT 730] bus-ID: 01:00.0

01:00.0 VGA compatible controller: NVIDIA Corporation GK208 [GeForce GT 730] (rev a1)
LordCorvin

Re: 3D acceleration not enabled

Post by LordCorvin »

It does match

Code: Select all

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Lexa PRO [Radeon RX 550] (rev c7)
I didn't touch the Xorg.conf at all, it should be default. Is there a way to regenerate it?
WharfRat

Re: 3D acceleration not enabled

Post by WharfRat »

You shouldn't need an xorg.conf file with the open source drivers.

If you have one, I'd be curious to see the contents with cat /etc/X11/xorg.conf

Aslo I'm curious if there is a 01:02.0 PCI device so can you paste back the full output of lspci
LordCorvin

Re: 3D acceleration not enabled

Post by LordCorvin »

xorg.conf doesn't even exist

Code: Select all

ubuntu@Linux-Mint ~ $ cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: No such file or directory

Code: Select all

00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 10)
00:01.0 PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port (rev 10)
00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 2 (rev 01)
00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 01)
00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 01)
00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 01)
00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 01)
00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation NM10/ICH7 Family SATA Controller [IDE mode] (rev 01)
00:1f.3 SMBus: Intel Corporation NM10/ICH7 Family SMBus Controller (rev 01)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Lexa PRO [Radeon RX 550] (rev c7)
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device aae0
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast Ethernet controller (rev 02)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8169 PCI Gigabit Ethernet Controller (rev 10)
And 01:02.0 PCI doesn't exist either
rene
Level 20
Level 20
Posts: 12212
Joined: Sun Mar 27, 2016 6:58 pm

Re: 3D acceleration not enabled

Post by rene »

Please note that 1002:699f is the PCI ID for the RX550; the ID you see with lspci -n. It is in this thread being confused with the bus-address/id 01:00.0. I believe it likely that the supplied AMDGPU is simply too old for the card; you may want to try using AMDGPU-PRO downloaded from AMD directly.
WharfRat

Re: 3D acceleration not enabled

Post by WharfRat »

While further critiquing your log file I also ran across "Unable to find connected outputs "

6.029] (II) modeset(0): Output DP-1 disconnected
6.029] (II) modeset(0): Output HDMI-1 disconnected
6.029] (II) modeset(0): Output DVI-D-1 disconnected

So it seems that there is no monitor connected as far as xorg is concerned :?

What does xrandr return
LordCorvin

Re: 3D acceleration not enabled

Post by LordCorvin »

Yeah I have no screen connected, using NoMachine to access the box, as I said in 1st post. You think that's the issue?

ubuntu@Linux-Mint ~ $ xrandr
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 16384 x 16384
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DVI-D-1 disconnected (normal left inverted right x axis y axis)

@rene
That's the proprietary drivers right? Is there a way to install ore up to date open source drivers? Or only Closed source drivers will help?
rene
Level 20
Level 20
Posts: 12212
Joined: Sun Mar 27, 2016 6:58 pm

Re: 3D acceleration not enabled

Post by rene »

Yes, AMDGPU-PRO is the proprietary driver. Well, in fact, it is for the largest part the same as the opensource AMDGPU driver, just with a few proprietary parts added on and I'd personally be running AMDGPU-PRO if I had the hardware.

I am myself still on Mint 17.3 and cannot as such easily check what's available on 18.x but certainly I expect you needn't look further than getting things updated. Is an xserver-xorg-video-amdgpu update available from Update Manager? If yes, certainly install that. Even if not; what I'm not completely sure about is whether or not updating your kernel might be all that's minimally needed. As such I'd try that as well: in Update Manager, View -> Linux kernels, and install the highest kernel series and version thereof available. Reboot and retry.

If however things haven't improved at this point (i.e., if X is still not using amdgpu as seen from the inxi -Gx output) then yes, I believe you'll for now need to go with AMDGPU-PRO: http://support.amd.com/en-us/kb-article ... Notes.aspx. You need the Ubuntu 16.04 version on Mint 18.x and should seemingly refer to viewtopic.php?t=229229 to get them to install on Mint.

Note that quite a few people would love access to AMDGPU-PRO....
WharfRat

Re: 3D acceleration not enabled

Post by WharfRat »

LordCorvin,

Further digging with man radeon shows there's no support for the Lexa chip as of version 1:7.7.0-1 of xserver-xorg-video-radeon currently available in 18.2's repos.

So it seems that the proprietary driver is your only salvation at this juncture.
rene
Level 20
Level 20
Posts: 12212
Joined: Sun Mar 27, 2016 6:58 pm

Re: 3D acceleration not enabled

Post by rene »

WharfRat wrote:So it seems that the proprietary driver is your only salvation at this juncture.
Careful; "amdgpu" is every bit as non-proprietary as "radeon" and would be the default and preferred driver if only he had new enough versions of kernel and xserver-xorg-video-amdgpu installed/available. amdgpu-pro as available directly from AMD is a combination of that same (if supposedly newer) non-proprietary amdgpu driver and a few proprietary bits added on.
WharfRat

Re: 3D acceleration not enabled

Post by WharfRat »

rene wrote:
WharfRat wrote:So it seems that the proprietary driver is your only salvation at this juncture.
Careful; "amdgpu" is every bit as non-proprietary as "radeon" and would be the default and preferred driver if only he had new enough versions of kernel and xserver-xorg-video-amdgpu installed/available. amdgpu-pro as available directly from AMD is a combination of that same (if supposedly newer) non-proprietary amdgpu driver and a few proprietary bits added on.
I see they've made a lot of changes for the AMD graphic cards that I really haven't kept up with having an Nvidia card now.

I have an older machine that's using the Radeon HD 3200 and when booted to Rosa only shows radeon as the driver.

With Sonya it shows ATI,radeon as the drivers ATI being the wrapper that loads the radeon driver for older cards.

Too bad it's gotten so confusing with the newer cards :?
rene
Level 20
Level 20
Posts: 12212
Joined: Sun Mar 27, 2016 6:58 pm

Re: 3D acceleration not enabled

Post by rene »

WharfRat wrote:Too bad it's gotten so confusing with the newer cards :?
It's not all that bad...

xserver-xorg-video-ati is indeed a wrapper driver around xserver-xorg-video-mach64 (ATI Rage), xserver-xorg-video-r128 (ATI Rage 128) and xserver-xorg-video-radeon but really only the last of these, furthermore "radeon", is still relevant.

"radeon" supports pre-GCN chips (in which GCN, Graphics Core Next, is hardware post Radeon HD 7730) and many or maybe even all GCN chips, but the better driver for GCN chips is xserver-xorg-video-amdgpu, "amdgpu". Every bit as open source as "radeon", "amdgpu" is developed by AMD itself and therefore uses more intimate hardware knowledge than the community-developed "radeon" driver can -- although AMD developers have also significantly contributed to the "radeon" driver after AMD dropped support for the proprietary "fglrx" driver which used to be available for pre-GCN. On pre-GCN "radeon" should largely be on par with the old "fglrx" but on GCN, "amdgpu" should be the driver of choice.

Unfortunately AMD did confuse things by not supporting the earliest GCN chips, first and second generation, immediately in "amdgpu"; it's up to this day hard to find out what you exactly need to get (experimental or otherwise) support for those chips from the "amdgpu" driver. Anyways, "radeon" works for those...

From AMD itself you can download "amdgpu-pro", a combination of the same open source "amdgpu" driver that distributions get together with a few proprietary bits added on. I expect that once things stabilize wrt. to this that Mint will offer "amdgpu-pro" from Driver Manager similarly as it did with "fglrx".
WharfRat

Re: 3D acceleration not enabled

Post by WharfRat »

Thanks for the insight into the radeon and amdgpu drivers.
rene wrote:AMD dropped support for the proprietary "fglrx" driver which used to be available for pre-GCN
I remember the fglrx driver. I used to run gentoo and had disabled radeon support in the kernel.

Then support was dropped after about three years for my hardware so I had to revert to the radeon driver.

They seemed to drop support for the older hardware pretty quickly which was a little frustrating for users.
LordCorvin

Re: 3D acceleration not enabled

Post by LordCorvin »

Sorry took a while to get time to properly update.

When I run amdgpu-pro-install I get Error when building for kernel

Code: Select all

First Installation: checking all kernels...
Building only for 4.11.0-14-generic
Building for architecture amd64
Building initial module for 4.11.0-14-generic
Error! Bad return status for module build on kernel: 4.11.0-14-generic (amd64)
Consult /var/lib/dkms/amdgpu-pro/16.40-348864/build/make.log for more information.

make log is as follows

Code: Select all

DKMS make.log for amdgpu-pro-16.40-348864 for kernel 4.11.0-14-generic (amd64)
Thu Nov  2 17:32:53 PDT 2017
make: Entering directory '/usr/src/linux-headers-4.11.0-14-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:8:0,
                 from <command-line>:0:
/var/lib/dkms/amdgpu-pro/16.40-348864/build/amd/amdgpu/../backport/include/kcl/kcl_drm.h:83:9: error: ‘struct drm_encoder_funcs’ declared inside parameter list [-Werror]
         int encoder_type, const char *name, ...)
         ^
/var/lib/dkms/amdgpu-pro/16.40-348864/build/amd/amdgpu/../backport/include/kcl/kcl_drm.h:83:9: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/var/lib/dkms/amdgpu-pro/16.40-348864/build/amd/amdgpu/../backport/include/kcl/kcl_drm.h: In function ‘kcl_drm_encoder_init’:
/var/lib/dkms/amdgpu-pro/16.40-348864/build/amd/amdgpu/../backport/include/kcl/kcl_drm.h:86:9: error: implicit declaration of function ‘drm_encoder_init’ [-Werror=implicit-function-declaration]
  return drm_encoder_init(dev, encoder, funcs,
         ^
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:868:19: note: declared here
 static inline int ttm_bo_reserve(struct ttm_buffer_object *bo,
                   ^
In file included from /var/lib/dkms/amdgpu-pro/16.40-348864/build/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5:0,
                 from /var/lib/dkms/amdgpu-pro/16.40-348864/build/amd/amdgpu/../backport/backport.h:10,
                 from <command-line>:0:
/var/lib/dkms/amdgpu-pro/16.40-348864/build/amd/amdgpu/../amdgpu/amdgpu.h: At top level:
/var/lib/dkms/amdgpu-pro/16.40-348864/build/amd/amdgpu/../amdgpu/amdgpu.h:37:25: fatal error: linux/fence.h: No such file or directory
cc1: all warnings being treated as errors
compilation terminated.
scripts/Makefile.build:294: 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:567: 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:1526: 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.11.0-14-generic'
LordCorvin

Re: 3D acceleration not enabled

Post by LordCorvin »

same error for ubuntu 17.4 amd driver

Code: Select all

DKMS make.log for amdgpu-17.40-492261 for kernel 4.11.0-14-generic (amd64)
Thu Nov  2 17:37:55 PDT 2017
make: Entering directory '/usr/src/linux-headers-4.11.0-14-generic'
  LD      /var/lib/dkms/amdgpu/17.40-492261/build/built-in.o
  LD      /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkcl/built-in.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkcl/kcl_drm.o
  LD      /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/built-in.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_module.o
  LD      /var/lib/dkms/amdgpu/17.40-492261/build/ttm/built-in.o
  LD      /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdgpu/built-in.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdgpu/amdgpu_drv.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/ttm/ttm_memory.o
In file included from /var/lib/dkms/amdgpu/17.40-492261/build/ttm/backport/backport.h:7:0,
                 from <command-line>:0:
/var/lib/dkms/amdgpu/17.40-492261/build/include/kcl/kcl_reservation.h: In function ‘kcl_reservation_object_copy_fences’:
/var/lib/dkms/amdgpu/17.40-492261/build/include/kcl/kcl_reservation.h:95:9: error: implicit declaration of function ‘reservation_object_copy_fences’ [-Werror=implicit-function-declaration]
  return reservation_object_copy_fences(dst, src);
         ^
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_device.o
In file included from /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdgpu/../include/../backport/backport.h:14:0,
                 from <command-line>:0:
/var/lib/dkms/amdgpu/17.40-492261/build/include/kcl/kcl_reservation.h: In function ‘kcl_reservation_object_copy_fences’:
/var/lib/dkms/amdgpu/17.40-492261/build/include/kcl/kcl_reservation.h:95:9: error: implicit declaration of function ‘reservation_object_copy_fences’ [-Werror=implicit-function-declaration]
  return reservation_object_copy_fences(dst, src);
         ^
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkcl/main.o
cc1: some warnings being treated as errors
scripts/Makefile.build:294: recipe for target '/var/lib/dkms/amdgpu/17.40-492261/build/ttm/ttm_memory.o' failed
make[2]: *** [/var/lib/dkms/amdgpu/17.40-492261/build/ttm/ttm_memory.o] Error 1
scripts/Makefile.build:567: recipe for target '/var/lib/dkms/amdgpu/17.40-492261/build/ttm' failed
make[1]: *** [/var/lib/dkms/amdgpu/17.40-492261/build/ttm] Error 2
make[1]: *** Waiting for unfinished jobs....
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkcl/symbols.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdgpu/amdgpu_device.o
cc1: some warnings being treated as errors
scripts/Makefile.build:294: recipe for target '/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdgpu/amdgpu_drv.o' failed
make[2]: *** [/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdgpu/amdgpu_drv.o] Error 1
make[2]: *** Waiting for unfinished jobs....
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_chardev.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkcl/kcl_fence.o
In file included from /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdgpu/../include/../backport/backport.h:14:0,
                 from <command-line>:0:
/var/lib/dkms/amdgpu/17.40-492261/build/include/kcl/kcl_reservation.h: In function ‘kcl_reservation_object_copy_fences’:
/var/lib/dkms/amdgpu/17.40-492261/build/include/kcl/kcl_reservation.h:95:9: error: implicit declaration of function ‘reservation_object_copy_fences’ [-Werror=implicit-function-declaration]
  return reservation_object_copy_fences(dst, src);
         ^
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_topology.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkcl/kcl_fence_array.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkcl/kcl_kthread.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_pasid.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkcl/kcl_io.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_doorbell.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkcl/kcl_mn.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkcl/kcl_reservation.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkcl/kcl_drm_global.o
In file included from /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkcl/kcl_reservation.c:2:0:
/var/lib/dkms/amdgpu/17.40-492261/build/include/kcl/kcl_reservation.h: In function ‘kcl_reservation_object_copy_fences’:
/var/lib/dkms/amdgpu/17.40-492261/build/include/kcl/kcl_reservation.h:95:9: error: implicit declaration of function ‘reservation_object_copy_fences’ [-Werror=implicit-function-declaration]
  return reservation_object_copy_fences(dst, src);
         ^
cc1: some warnings being treated as errors
scripts/Makefile.build:294: recipe for target '/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkcl/kcl_reservation.o' failed
make[2]: *** [/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkcl/kcl_reservation.o] Error 1
make[2]: *** Waiting for unfinished jobs....
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_flat_memory.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_process.o
cc1: some warnings being treated as errors
scripts/Makefile.build:294: recipe for target '/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdgpu/amdgpu_device.o' failed
make[2]: *** [/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdgpu/amdgpu_device.o] Error 1
scripts/Makefile.build:567: recipe for target '/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdgpu' failed
make[1]: *** [/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdgpu] Error 2
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_queue.o
scripts/Makefile.build:567: recipe for target '/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkcl' failed
make[1]: *** [/var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkcl] Error 2
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_mqd_manager.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_mqd_manager_cik.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_mqd_manager_vi.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_mqd_manager_v9.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_kernel_queue.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_kernel_queue_cik.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_kernel_queue_vi.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_kernel_queue_v9.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_packet_manager.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_process_queue_manager.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_device_queue_manager.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_device_queue_manager_cik.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_device_queue_manager_vi.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_device_queue_manager_v9.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_interrupt.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_events.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/cik_event_interrupt.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_int_process_v9.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_dbgdev.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_dbgmgr.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_crat.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_rdma.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_peerdirect.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_ipc.o
  CC [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/kfd_debugfs.o
  LD [M]  /var/lib/dkms/amdgpu/17.40-492261/build/amd/amdkfd/amdkfd.o
Makefile:1526: recipe for target '_module_/var/lib/dkms/amdgpu/17.40-492261/build' failed
make: *** [_module_/var/lib/dkms/amdgpu/17.40-492261/build] Error 2
make: Leaving directory '/usr/src/linux-headers-4.11.0-14-generic'
mr_raider
Level 7
Level 7
Posts: 1897
Joined: Sun Jun 20, 2010 9:50 am
Location: Montreal, QC

Re: 3D acceleration not enabled

Post by mr_raider »

Try reverting to a 4.10 series kernel and retry building the amdgpu driver.
Image
LordCorvin

Re: 3D acceleration not enabled

Post by LordCorvin »

Alright Thanks for the help. Managed to install. It's working but performance is really bad.
I guess I'll postpone using LinuxMint for half a year. Hopefully the drivers will get better but that time
Locked

Return to “Sound”