AMD RX560 on Debian Stretch - Not supported?

Getting your soundcard to work, using Debian on non-i386 hardware, etc

AMD RX560 on Debian Stretch - Not supported?

Postby zimbodel » 2019-01-03 21:16

I am trying to get my AMD RX 560 ITX from MSI to work with Debian 9 Stretch.
As is it will only boot in vga and go blank once Xorg is executed. Obviously it misses the gpu drivers.
I checked that the card works with windows on the same machine, and it works so the card is fine, works great on windows.

I downloaded the drivers from AMD for Ubuntu which should give me debs and it does.
https://www.amd.com/en/support/graphics ... eon-rx-560

Using the amdgpu-install Script, I get an error that
" I have an Unsupported OS." Go figure!


Unfortunately there is no installation text file instructions excep this
https://amdgpu-install.readthedocs.io/e ... cript.html
and I am now presented with the deb files for seemingly all their cards. The contents of the drivers for the rx560 downloaded from amd is the following.

I have no clue which of the debs I should install from the3 below for my card ?
Anyone got this card to work with Stretch ?

-------------------------------------------------------------------------------------

amdgpu_18.50-708488_amd64.deb libgles1-amdgpu-mesa_18.2.0-708488_i386.deb
amdgpu_18.50-708488_i386.deb libgles1-amdgpu-mesa-dev_18.2.0-708488_amd64.deb
amdgpu-core_18.50-708488_all.deb libgles1-amdgpu-mesa-dev_18.2.0-708488_i386.deb
amdgpu-dkms_18.50-708488_all.deb libgles2-amdgpu-mesa_18.2.0-708488_amd64.deb
amdgpu-doc_18.50-708488_all.deb libgles2-amdgpu-mesa_18.2.0-708488_i386.deb
amdgpu-install libgles2-amdgpu-mesa-dev_18.2.0-708488_amd64.deb
amdgpu-lib_18.50-708488_amd64.deb libgles2-amdgpu-mesa-dev_18.2.0-708488_i386.deb
amdgpu-lib_18.50-708488_i386.deb libgles2-amdgpu-pro_18.50-708488_amd64.deb
amdgpu-lib32_18.50-708488_amd64.deb libgles2-amdgpu-pro_18.50-708488_i386.deb
amdgpu-pro_18.50-708488_amd64.deb libllvm7.0-amdgpu_7.0-708488_amd64.deb
amdgpu-pro_18.50-708488_i386.deb libllvm7.0-amdgpu_7.0-708488_i386.deb
amdgpu-pro-core_18.50-708488_all.deb libopencl1-amdgpu-pro_18.50-708488_amd64.deb
amdgpu-pro-install libopencl1-amdgpu-pro_18.50-708488_i386.deb
amdgpu-pro-lib32_18.50-708488_amd64.deb libosmesa6-amdgpu_18.2.0-708488_amd64.deb
amdgpu-pro-pin_18.50-708488_all.deb libosmesa6-amdgpu_18.2.0-708488_i386.deb
amf-amdgpu-pro_1.4.11-708488_amd64.deb libosmesa6-amdgpu-dev_18.2.0-708488_amd64.deb
clinfo-amdgpu-pro_18.50-708488_amd64.deb libosmesa6-amdgpu-dev_18.2.0-708488_i386.deb
clinfo-amdgpu-pro_18.50-708488_i386.deb libwayland-amdgpu-client0_1.15.0-708488_amd64.deb
doc libwayland-amdgpu-client0_1.15.0-708488_i386.deb
glamor-amdgpu_1.19.0-708488_amd64.deb libwayland-amdgpu-cursor0_1.15.0-708488_amd64.deb
glamor-amdgpu_1.19.0-708488_i386.deb libwayland-amdgpu-cursor0_1.15.0-708488_i386.deb
glamor-amdgpu-dev_1.19.0-708488_amd64.deb libwayland-amdgpu-dev_1.15.0-708488_amd64.deb
glamor-amdgpu-dev_1.19.0-708488_i386.deb libwayland-amdgpu-dev_1.15.0-708488_i386.deb
gst-omx-amdgpu_1.0.0.1-708488_amd64.deb libwayland-amdgpu-doc_1.15.0-708488_all.deb
gst-omx-amdgpu_1.0.0.1-708488_i386.deb libwayland-amdgpu-egl1_1.15.0-708488_amd64.deb
libdrm2-amdgpu_2.4.95-708488_amd64.deb libwayland-amdgpu-egl1_1.15.0-708488_i386.deb
libdrm2-amdgpu_2.4.95-708488_i386.deb libwayland-amdgpu-server0_1.15.0-708488_amd64.deb
libdrm-amdgpu-amdgpu1_2.4.95-708488_amd64.deb libwayland-amdgpu-server0_1.15.0-708488_i386.deb
libdrm-amdgpu-amdgpu1_2.4.95-708488_i386.deb libxatracker2-amdgpu_18.2.0-708488_amd64.deb
libdrm-amdgpu-common_1.0.0-708488_all.deb libxatracker2-amdgpu_18.2.0-708488_i386.deb
libdrm-amdgpu-dev_2.4.95-708488_amd64.deb libxatracker-amdgpu-dev_18.2.0-708488_amd64.deb
libdrm-amdgpu-dev_2.4.95-708488_i386.deb libxatracker-amdgpu-dev_18.2.0-708488_i386.deb
libdrm-amdgpu-radeon1_2.4.95-708488_amd64.deb llvm-amdgpu-7.0_7.0-708488_amd64.deb
libdrm-amdgpu-radeon1_2.4.95-708488_i386.deb llvm-amdgpu-7.0_7.0-708488_i386.deb
libdrm-amdgpu-utils_2.4.95-708488_amd64.deb llvm-amdgpu_7.0-708488_amd64.deb
libdrm-amdgpu-utils_2.4.95-708488_i386.deb llvm-amdgpu_7.0-708488_i386.deb
libegl1-amdgpu-mesa_18.2.0-708488_amd64.deb llvm-amdgpu-7.0-dev_7.0-708488_amd64.deb
libegl1-amdgpu-mesa_18.2.0-708488_i386.deb llvm-amdgpu-7.0-dev_7.0-708488_i386.deb
libegl1-amdgpu-mesa-dev_18.2.0-708488_amd64.deb llvm-amdgpu-7.0-doc_7.0-708488_all.deb
libegl1-amdgpu-mesa-dev_18.2.0-708488_i386.deb llvm-amdgpu-7.0-runtime_7.0-708488_amd64.deb
libegl1-amdgpu-mesa-drivers_18.2.0-708488_amd64.deb llvm-amdgpu-7.0-runtime_7.0-708488_i386.deb
libegl1-amdgpu-mesa-drivers_18.2.0-708488_i386.deb llvm-amdgpu-dev_7.0-708488_amd64.deb
libegl1-amdgpu-pro_18.50-708488_amd64.deb llvm-amdgpu-dev_7.0-708488_i386.deb
libegl1-amdgpu-pro_18.50-708488_i386.deb llvm-amdgpu-runtime_7.0-708488_amd64.deb
libgbm1-amdgpu_18.2.0-708488_amd64.deb llvm-amdgpu-runtime_7.0-708488_i386.deb
libgbm1-amdgpu_18.2.0-708488_i386.deb mesa-amdgpu-common-dev_18.2.0-708488_amd64.deb
libgbm1-amdgpu-pro_18.50-708488_amd64.deb mesa-amdgpu-common-dev_18.2.0-708488_i386.deb
libgbm1-amdgpu-pro_18.50-708488_i386.deb mesa-amdgpu-omx-drivers_18.2.0-708488_amd64.deb
libgbm1-amdgpu-pro-base_18.50-708488_all.deb mesa-amdgpu-omx-drivers_18.2.0-708488_i386.deb
libgbm1-amdgpu-pro-dev_18.50-708488_amd64.deb mesa-amdgpu-va-drivers_18.2.0-708488_amd64.deb
libgbm1-amdgpu-pro-dev_18.50-708488_i386.deb mesa-amdgpu-va-drivers_18.2.0-708488_i386.deb
libgbm-amdgpu-dev_18.2.0-708488_amd64.deb mesa-amdgpu-vdpau-drivers_18.2.0-708488_amd64.deb
libgbm-amdgpu-dev_18.2.0-708488_i386.deb mesa-amdgpu-vdpau-drivers_18.2.0-708488_i386.deb
libgl1-amdgpu-mesa-dev_18.2.0-708488_amd64.deb opencl-amdgpu-pro_18.50-708488_amd64.deb
libgl1-amdgpu-mesa-dev_18.2.0-708488_i386.deb opencl-amdgpu-pro-dev_18.50-708488_amd64.deb
libgl1-amdgpu-mesa-dri_18.2.0-708488_amd64.deb opencl-amdgpu-pro-icd_18.50-708488_amd64.deb
libgl1-amdgpu-mesa-dri_18.2.0-708488_i386.deb opencl-orca-amdgpu-pro-icd_18.50-708488_amd64.deb
libgl1-amdgpu-mesa-glx_18.2.0-708488_amd64.deb opencl-orca-amdgpu-pro-icd_18.50-708488_i386.deb
libgl1-amdgpu-mesa-glx_18.2.0-708488_i386.deb Packages
libgl1-amdgpu-pro-appprofiles_18.50-708488_all.deb Release
libgl1-amdgpu-pro-dri_18.50-708488_amd64.deb roct-amdgpu-pro_1.0.9-708488_amd64.deb
libgl1-amdgpu-pro-dri_18.50-708488_i386.deb roct-amdgpu-pro-dev_1.0.9-708488_amd64.deb
libgl1-amdgpu-pro-ext_18.50-708488_amd64.deb vulkan-amdgpu_18.50-708488_amd64.deb
libgl1-amdgpu-pro-ext_18.50-708488_i386.deb vulkan-amdgpu_18.50-708488_i386.deb
libgl1-amdgpu-pro-glx_18.50-708488_amd64.deb vulkan-amdgpu-pro_18.50-708488_amd64.deb
libgl1-amdgpu-pro-glx_18.50-708488_i386.deb vulkan-amdgpu-pro_18.50-708488_i386.deb
libglapi1-amdgpu-pro_18.50-708488_amd64.deb wayland-protocols-amdgpu_1.16-708488_all.deb
libglapi1-amdgpu-pro_18.50-708488_i386.deb wsa-amdgpu_18.50-708488_amd64.deb
libglapi-amdgpu-mesa_18.2.0-708488_amd64.deb wsa-amdgpu_18.50-708488_i386.deb
libglapi-amdgpu-mesa_18.2.0-708488_i386.deb xserver-xorg-amdgpu-video-amdgpu_18.1.99-708488_amd64.deb
libgles1-amdgpu-mesa_18.2.0-708488_amd64.deb xserver-xorg-amdgpu-video-amdgpu_18.1.99-708488_i386.deb

-----------------------------------------------------------------------------------------

I will try the community drivers in the mean time. as here:
https://linuxconfig.org/how-to-install- ... etch-linux
zimbodel
 
Posts: 73
Joined: 2009-12-22 19:37

Re: AMD RX560 on Debian Stretch - Not supported?

Postby Danielsan » 2019-01-03 22:15

Probably you need to install this package:

https://packages.debian.org/stretch/fir ... d-graphics
User avatar
Danielsan
 
Posts: 532
Joined: 2010-10-10 22:36

Re: AMD RX560 on Debian Stretch - Not supported?

Postby zimbodel » 2019-01-03 23:35

I am not allowed to attach text files or pdf, so I paste it all inline
1) dmesg |grep -i gpu
2) dmesg |grep -i firmware
3) I am not allowed to attach the entire dmesg as it exceeds the posting text limit.


=============================================================
1) Here is the complete
dmesg |grep -i gpu

[ 12.290952] [drm] amdgpu kernel modesetting enabled.
[ 13.304895] amdgpu 0000:03:00.0: enabling device (0000 -> 0003)
[ 13.570367] [drm] GPU posting now...
[ 14.223295] amdgpu 0000:03:00.0: VRAM: 4096M 0x000000F400000000 - 0x000000F4FFFFFFFF (4096M used)
[ 14.223298] amdgpu 0000:03:00.0: GTT: 256M 0x0000000000000000 - 0x000000000FFFFFFF
[ 14.223342] [drm] amdgpu: 4096M of VRAM memory ready
[ 14.223348] [drm] amdgpu: 4096M of GTT memory ready.
[ 14.223375] [drm] GART: num cpu pages 65536, num gpu pages 65536
[ 14.305769] [drm] AMDGPU Display Connectors
[ 14.305845] amdgpu 0000:03:00.0: Direct firmware load for amdgpu/polaris11_pfp_2.bin failed with error -2
[ 14.307358] amdgpu 0000:03:00.0: Direct firmware load for amdgpu/polaris11_me_2.bin failed with error -2
[ 14.307623] amdgpu 0000:03:00.0: Direct firmware load for amdgpu/polaris11_ce_2.bin failed with error -2
[ 14.330092] amdgpu 0000:03:00.0: Direct firmware load for amdgpu/polaris11_mec_2.bin failed with error -2
[ 14.348188] amdgpu 0000:03:00.0: Direct firmware load for amdgpu/polaris11_mec2_2.bin failed with error -2
[ 14.650175] amdgpu 0000:03:00.0: Direct firmware load for amdgpu/polaris11_k_smc.bin failed with error -2
[ 14.650305] [drm:amdgpu_cgs_get_firmware_info [amdgpu]] *ERROR* Failed to request firmware
[ 15.993622] amdgpu: [powerplay] Failed to send Message.
[ 16.452204] amdgpu: [powerplay] SMU Firmware start failed!
[ 16.954920] amdgpu: [powerplay] Failed to send Message.
[ 17.409420] amdgpu: [powerplay] SMU Firmware start failed!
[ 17.409422] amdgpu: [powerplay] Failed to load SMU ucode.
[ 17.409423] amdgpu: [powerplay] smc start failed
[ 17.410705] amdgpu 0000:03:00.0: 00000000c2c8afec unpin not necessary
[ 17.410729] amdgpu 0000:03:00.0: 00000000217ad226 unpin not necessary
[ 17.410890] [drm:amdgpu_device_init [amdgpu]] *ERROR* hw_init of IP block <amdgpu_powerplay> failed -22
[ 17.413579] amdgpu 0000:03:00.0: amdgpu_device_ip_init failed
[ 17.562245] IP: smu7_smu_fini+0x10/0x60 [amdgpu]
[ 17.562250] Modules linked in: binfmt_misc ch341 usbserial amd64_edac_mod joydev evdev edac_mce_amd kvm_amd ccp rng_core btusb btrtl kvm btbcm irqbypass btintel crct10dif_pclmul amdkfd bluetooth crc32_pclmul ghash_clmulni_intel pcbc drbg ansi_cprng ecdh_generic aesni_intel aes_x86_64 rfkill crypto_simd snd_hda_intel(+) glue_helper snd_hda_codec cryptd sg snd_hda_core amdgpu(+) ipmi_si ipmi_devintf snd_hwdep snd_pcm serio_raw ipmi_msghandler chash snd_timer pcspkr gpu_sched mgag200 snd ttm soundcore drm_kms_helper drm shpchp k10temp button fam15h_power sp5100_tco acpi_cpufreq parport_pc ppdev lp parport sunrpc ip_tables x_tables autofs4 ext4 crc32c_generic crc16 mbcache jbd2 fscrypto sr_mod cdrom uas usb_storage hid_generic usbhid hid sd_mod nls_ascii ohci_pci ata_generic ahci pata_atiixp libahci
[ 17.562420] RIP: 0010:smu7_smu_fini+0x10/0x60 [amdgpu]
[ 17.562486] amdgpu_device_ip_fini+0x1e5/0x350 [amdgpu]
[ 17.562535] amdgpu_device_init+0xf3b/0x14e0 [amdgpu]
[ 17.562588] amdgpu_driver_load_kms+0x81/0x2b0 [amdgpu]
[ 17.562668] amdgpu_pci_probe+0xfe/0x180 [amdgpu]
[ 17.562789] RIP: smu7_smu_fini+0x10/0x60 [amdgpu] RSP: ffffa8a4866c3cc0

=============================================================
2) Here is the complete
dmesg |grep -i firmware

[ 14.305845] amdgpu 0000:03:00.0: Direct firmware load for amdgpu/polaris11_pfp_2.bin failed with error -2
[ 14.307358] amdgpu 0000:03:00.0: Direct firmware load for amdgpu/polaris11_me_2.bin failed with error -2
[ 14.307623] amdgpu 0000:03:00.0: Direct firmware load for amdgpu/polaris11_ce_2.bin failed with error -2
[ 14.330092] amdgpu 0000:03:00.0: Direct firmware load for amdgpu/polaris11_mec_2.bin failed with error -2
[ 14.348188] amdgpu 0000:03:00.0: Direct firmware load for amdgpu/polaris11_mec2_2.bin failed with error -2
[ 14.632273] [drm] Found UVD firmware Version: 1.79 Family ID: 16
[ 14.646799] [drm] Found VCE firmware Version: 52.4 Binary ID: 3
[ 14.650175] amdgpu 0000:03:00.0: Direct firmware load for amdgpu/polaris11_k_smc.bin failed with error -2
[ 14.650305] [drm:amdgpu_cgs_get_firmware_info [amdgpu]] *ERROR* Failed to request firmware
[ 16.452204] amdgpu: [powerplay] SMU Firmware start failed!
[ 17.409420] amdgpu: [powerplay] SMU Firmware start failed!
Last edited by zimbodel on 2019-01-04 00:42, edited 1 time in total.
zimbodel
 
Posts: 73
Joined: 2009-12-22 19:37

Re: AMD RX560 on Debian Stretch - Not supported?

Postby Head_on_a_Stick » 2019-01-04 00:27

https://packages.debian.org/stretch/xserver-xorg-video-amdgpu?

If the card was introduced after the release of the current version of Debian stable then you may need a newer kernel (and firmware), see my guide for details.
User avatar
Head_on_a_Stick
 
Posts: 10321
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: AMD RX560 on Debian Stretch - Not supported?

Postby stevepusser » 2019-01-04 00:43

None of those debs at all.

If that's new hardware, you need a newer kernel, Mesa, firmware packages, and maybe a newer amdgpu driver from stretch-backports. However, there is no amdgpu driver backport, but I could build one for you if the old Stretch one doesn't work. I have one in this repo, but need to update a few things in it.

https://build.opensuse.org/package/show ... deo-amdgpu

You could download and test a Live session of MX 18, which is Stretch-based but has all those backports already for new hardware support. That way you'd know that installing the backports on Debian should also work.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Foliate 1.5.3, Minitube 3.1, wine-staging 4.12, Virtual Box 5.2.32 & 6.0.10, Pale Moon 28.6.1, Waterfox 56.2.12
User avatar
stevepusser
 
Posts: 11007
Joined: 2009-10-06 05:53

Re: AMD RX560 on Debian Stretch - Not supported?

Postby zimbodel » 2019-01-04 00:47

Danielsan wrote:Probably you need to install this package:

https://packages.debian.org/stretch/fir ... d-graphics


Thank you for the suggestion.
Already did that.

apt-debug
firmware-amd-graphics is already the newest version (20161130-4).


When the card is plugged in, I notice in the dmesg that it couldnt load the gpu firmware.
zimbodel
 
Posts: 73
Joined: 2009-12-22 19:37

Re: AMD RX560 on Debian Stretch - Not supported?

Postby zimbodel » 2019-01-04 00:57

Thank you steve. Great post thanks.

1)
I will immediately try MX18 as you suggest on a separate partition and live before that., but it would be nice if I could use option (2) on stretch as I have all my software working painstakingly..

2)
I will also try stretch backports on the current stretch and see if it resolves. That is hopefully what will work.

As far as I figured, the following are the correct repos to add.

deb http://ftp.debian.org/debian stretch-backports main
deb-src deb http://ftp.debian.org/debian stretch-backports main

I would like to add non-free and contrib for the backports also.
Any idea if those exists ? or if you know what the repos are ?


stevepusser wrote:None of those debs at all.

If that's new hardware, you need a newer kernel, Mesa, firmware packages, and maybe a newer amdgpu driver from stretch-backports. However, there is no amdgpu driver backport, but I could build one for you if the old Stretch one doesn't work. I have one in this repo, but need to update a few things in it.

https://build.opensuse.org/package/show ... deo-amdgpu

You could download and test a Live session of MX 18, which is Stretch-based but has all those backports already for new hardware support. That way you'd know that installing the backports on Debian should also work.
zimbodel
 
Posts: 73
Joined: 2009-12-22 19:37

Re: AMD RX560 on Debian Stretch - Not supported?

Postby zimbodel » 2019-01-04 05:18

Hi Steve.
Your advice was really helpful.

Here is my reportback.

From the hardware profile it is clear that the GPU drivers loaded.
-----------------------------------------------------------------------------------
System Software / Hardware Information

Hardware:
Processor: 2 x AMD Opteron 6234 @ 2.40GHz (24 Cores), Motherboard: Supermicro H8DGU, Chipset: AMD RD890 + SB7x0/SB8x0/SB9x0, Memory: 32768MB, Disk: 4001GB Seagate ST4000DM000-1F21 + 1000GB Western Digital WD10JPVX-22J + 204GB Maxtor 6Y200M0 + 6001GB Western Digital WD60EZRZ-00G, Graphics: Radeon RX 560 (POLARIS11 DRM 3.27.0 4.19.0-1-amd64 LLVM 7.0.0) 4096MB, Audio: AMD Device aae0, Monitor: S24B300 + VGA TO HDMI, Network: Intel 82576 Gigabit Connection

Software:
OS: MX 18, Kernel: 4.19.0-1-amd64 (x86_64), Desktop: Xfce 4.12, Display Driver: radeon 18.1.0, OpenGL: 4.5 Mesa 18.2.6, Compiler: GCC 6.3.0 20170516, File-System: overlayfs, Screen Resolution: 1920x1080

Supported Sensors

- CPU Fan Speed: 1111 RPM
- CPU Frequency (CPU0): 1485.04 Megahertz
- CPU Frequency (CPU1): 1833.58 Megahertz
- CPU Frequency (CPU2): 1809.33 Megahertz
- CPU Frequency (CPU3): 1501.93 Megahertz
- CPU Frequency (CPU4): 1837.21 Megahertz
- CPU Frequency (CPU5): 1491.20 Megahertz
- CPU Frequency (CPU6): 1772.84 Megahertz
- CPU Frequency (CPU7): 1499.14 Megahertz
- CPU Frequency (CPU8): 1827.18 Megahertz
- CPU Frequency (CPU9): 1783.96 Megahertz
- CPU Frequency (CPU10): 1774.72 Megahertz
- CPU Frequency (CPU11): 1769.11 Megahertz
- CPU Frequency (CPU12): 1770.21 Megahertz
- CPU Frequency (CPU13): 1410.50 Megahertz
- CPU Frequency (CPU14): 1778.25 Megahertz
- CPU Frequency (CPU15): 1830.23 Megahertz
- CPU Frequency (CPU16): 1767.47 Megahertz
- CPU Frequency (CPU17): 1421.87 Megahertz
- CPU Frequency (CPU18): 1735.06 Megahertz
- CPU Frequency (CPU19): 1839.68 Megahertz
- CPU Frequency (CPU20): 1778.54 Megahertz
- CPU Frequency (CPU21): 1734.50 Megahertz
- CPU Frequency (CPU22): 1501.21 Megahertz
- CPU Frequency (CPU23): 1492.92 Megahertz
- CPU Usage (CPU0): 0.00 Percent
- CPU Usage (CPU1): 0.00 Percent
- CPU Usage (CPU2): 0.00 Percent
- CPU Usage (CPU3): 0.00 Percent
- CPU Usage (CPU4): 0.00 Percent
- CPU Usage (CPU5): 0.00 Percent
- CPU Usage (CPU6): 0.00 Percent
- CPU Usage (CPU7): 0.00 Percent
- CPU Usage (CPU8): 0.00 Percent
- CPU Usage (CPU9): 0.00 Percent
- CPU Usage (CPU10): 0.00 Percent
- CPU Usage (CPU11): 0.00 Percent
- CPU Usage (CPU12): 0.00 Percent
- CPU Usage (CPU13): 0.00 Percent
- CPU Usage (CPU14): 0.00 Percent
- CPU Usage (CPU15): 1.96 Percent
- CPU Usage (CPU16): 0.00 Percent
- CPU Usage (CPU17): 0.00 Percent
- CPU Usage (CPU18): 0.00 Percent
- CPU Usage (CPU19): 0.00 Percent
- CPU Usage (CPU20): 0.00 Percent
- CPU Usage (CPU21): 0.00 Percent
- CPU Usage (CPU22): 0.00 Percent
- CPU Usage (CPU23): 0.00 Percent
- CPU Usage (Summary): 0.08 Percent
- GPU Temperature: 26.00 Celsius
- Drive Read Speed (sda): 0.00 MB/s
- Drive Read Speed (sdb): 0.00 MB/s
- Drive Read Speed (sdc): 0.00 MB/s
- Drive Read Speed (sdd): 0.00 MB/s
- Drive Write Speed (sda): 0.00 MB/s
- Drive Write Speed (sdb): 0.00 MB/s
- Drive Write Speed (sdc): 0.00 MB/s
- Drive Write Speed (sdd): 0.00 MB/s
- Memory Usage: 1007 Megabytes
- Swap Usage: 0 Megabytes
- System Iowait: 0.00 Percent
- System Temperature: 12.88 Celsius

I ran MX 18 Live Boot as you suggested. So nice to have these Xfe-based lightweight X distros.
Tired of the e.g. KDE cpu and memory hogs. A pleasure to work with.
-------------------------------------------------------------------------------------------------------------

As you can see from following dmesg it works on MX18, you were right on the money.
$ cat dmesg.dat |grep -i gpu
[ 72.606093] [drm] amdgpu kernel modesetting enabled.
[ 72.981745] amdgpu 0000:03:00.0: enabling device (0000 -> 0003)
[ 73.210984] [drm] GPU posting now...
[ 74.114903] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/polaris11_mc.bin
[ 74.114921] amdgpu 0000:03:00.0: VRAM: 4096M 0x000000F400000000 - 0x000000F4FFFFFFFF (4096M used)
[ 74.114925] amdgpu 0000:03:00.0: GART: 256M 0x0000000000000000 - 0x000000000FFFFFFF
[ 74.114989] [drm] amdgpu: 4096M of VRAM memory ready
[ 74.114994] [drm] amdgpu: 4096M of GTT memory ready.
[ 74.115014] [drm] GART: num cpu pages 65536, num gpu pages 65536
[ 74.118451] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/polaris11_pfp_2.bin
[ 74.118612] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/polaris11_me_2.bin
[ 74.418198] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/polaris11_ce_2.bin
[ 74.418392] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/polaris11_rlc.bin
[ 74.848843] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/polaris11_mec_2.bin
[ 75.284665] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/polaris11_mec2_2.bin
[ 75.430766] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/polaris11_sdma.bin
[ 75.433596] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/polaris11_sdma1.bin
[ 75.577441] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/polaris11_uvd.bin
[ 75.608510] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/polaris11_vce.bin
[ 75.973219] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/polaris11_k_smc.bin
[ 76.047282] amdgpu: [powerplay] Failed to retrieve minimum clocks.
[ 76.047284] amdgpu: [powerplay] Error in phm_get_clock_info
[ 76.213342] [drm] Initialized amdgpu 3.27.0 20150101 for 0000:03:00.0 on minor 1
[ 120.917531] amdgpu 0000:03:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[ 564.957093] amdgpu 0000:03:00.0: fb1: amdgpudrmfb frame buffer device

In order to make sure the card works as expected on Linux I ran benchmarks.
-------------------------------------------------------------------------------------------

"http://grossmann-venter.com/issues/RX560-Benchmark/index.html"

Clearly it works great for what it is and a dead new install.

I also ran heaven and it renders clear without stuttering or fill-errors.
I got max 60fps(on busy scenes) and min 25fps(due to scenes with little movement or still sections) with an average of 40fps which is too good for me as I work basically at 24-30fps with my apps.

So thanks a lot for helping me at least confirm that it can run this great card on Linux.
I have a few more questions I will post hereafter separately.
zimbodel
 
Posts: 73
Joined: 2009-12-22 19:37

Re: AMD RX560 on Debian Stretch - Not supported?

Postby zimbodel » 2019-01-04 05:36

I now move to see if I cannot rescue my existing Debian Stretch as clearly the card works with newer debian versions than stretch.

I copy my previous question

deb http://ftp.debian.org/debian stretch-backports main
deb-src http://ftp.debian.org/debian stretch-backports main

I would like to add non-free and contrib for the backports also.
Any idea if those exists ? or if you know what the repos are ?

If anyone know if non-free and contrib backport repos exists let me know.
In the mean time I will add the stretch main backport only.

I entered the main backports for stretch in the repository, did an apt update and upgrade and it read the new repositories without error.
Unfortunately the backports did not help to recognise the card. It still fails.

Is it possible to do a sloppy backport to the latest ?

The problem now is, which packages should I upgrade with backports to get the RX560 working in debian stretch?
using apt -t stretch-backports install "package"
As an example
apt -t stretch-backports install firmware-amd-graphics tells me the latest is already installed.

I tried
apt -t stretch-backports upgrade
and that upgraded a lot of files, but I need to know which specifically I need to upgrade or verify for the RX560 to work.

I am stuck here.
zimbodel
 
Posts: 73
Joined: 2009-12-22 19:37

Re: AMD RX560 on Debian Stretch - Not supported?

Postby stevepusser » 2019-01-04 21:12

It would probably be simpler to add my OBS repo, since it doesn't have the lower pinning that the backports repo has, plus I have added contrib and non-free packages in it, and you don't need to add separate sections. And I also have the newer amdgpu driver and 4.19 kernels in it that MX has, but not stretch-backports, as well as the backports 4.18 kernel or even a 4.20 kernel if you are really adventurous. I'm the lead packager for MX, by the way, so it's nice that it works so well. :D

One-liner to add the repo as root, sudo users can become root with "sudo -i":

Code: Select all
echo 'deb http://download.opensuse.org/repositories/home:/stevenpusser:/new-hardware-support/Debian_9.0/ /' > /etc/apt/sources.list.d/home:stevenpusser:new-hardware-support.list


Then, still as root, you can download and install the key for the repository (required):
Code: Select all
rm -f Release.key && wget -nv https://download.opensuse.org/repositories/home:stevenpusser:new-hardware-support/Debian_9.0/Release.key -O Release.key && apt-key add - < Release.key && rm -f Release.key


Then, update the apt ackage database and list the new packages that are upgradable from the repo:

Code: Select all
apt update && apt list --upgradeable


Kernels are not seen as automatic upgrades, so must be installed as separate packages. If you install Synaptic + apt-xapian-index, or else packagesearch, you can search for and install the 4.18.0-1, 4.19.0-1, or 4.20.0-1 linux-headers and linux-image packages for your system, probably the amd64 versions. Ignore the cloud and -rt versions of the kernels, those are special versions that also get built. The linux-image package name will have "unsigned" at the end, that just means it's not signed to work with Secure Boot, which you probably have turned off anyway.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Foliate 1.5.3, Minitube 3.1, wine-staging 4.12, Virtual Box 5.2.32 & 6.0.10, Pale Moon 28.6.1, Waterfox 56.2.12
User avatar
stevepusser
 
Posts: 11007
Joined: 2009-10-06 05:53

Re: AMD RX560 on Debian Stretch - Not supported?

Postby zimbodel » 2019-01-05 01:04

Thank you Steve.
I will try this and upgrade the kernel.
I will have to find a current version RT kernel though as my apps depend on it.
That is completely a different issue, but I am sure going to try your suggestions first.

BTW I really like MX 18.
Very nice lightweight distro and I will move some of my machines over to it.
I installed it already on a separate partition on this machine and love it.

It will take a bit of time but I will report back so other users can use this thread to completion.
Last edited by zimbodel on 2019-01-07 18:38, edited 3 times in total.
zimbodel
 
Posts: 73
Joined: 2009-12-22 19:37

Re: AMD RX560 on Debian Stretch - Not supported?

Postby stevepusser » 2019-01-05 19:56

There are 4.18 RT kernels available in Backports, or in my OBS repo, along with those in the 4.19 kernel. The Debian kernel build procedures currently also builds those along with the standard kernels, along with something called the "cloud" kernel version for amd64. As you can see here, it would be the "linux-image-4.19.0-1-rt-amd64-unsigned" package: https://build.opensuse.org/package/bina ... Debian_9.0 (only OBS users get to directly download the debs from that link, sorry. Just use the repo instead.)

Detailed Information About linux-image-4.19.0-1-rt-amd64-unsigned_4.19.13-1~obs_amd64.deb
Title:
Description:
Linux 4.19 for 64-bit PCs, PREEMPT_RT
The Linux kernel 4.19 and modules for use on PCs with AMD64, Intel 64 or
VIA Nano processors.
.
This kernel includes the PREEMPT_RT realtime patch set.
Version: 4.19.13
Release: 1~obs
Architecture: amd64
Size: 43.6 MB
Build Time: 2019-01-03 02:36:03 +0000 (3 days ago)

The Liquorix kernel isn't realtime, but is quite low latency, and suitable for audio work from many reports. I have a backported version of it, currently at 4.19.13, in another OBS repo, though it's also in the MX repo and we make it easy to install in the MX Package Installer.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Foliate 1.5.3, Minitube 3.1, wine-staging 4.12, Virtual Box 5.2.32 & 6.0.10, Pale Moon 28.6.1, Waterfox 56.2.12
User avatar
stevepusser
 
Posts: 11007
Joined: 2009-10-06 05:53

Re: AMD RX560 on Debian Stretch - Not supported?

Postby Loci.Cantos » 2019-01-09 05:40

viewtopic.php?f=6&t=138225

Scroll down to the bottom post, my last on the subject. It begins: "NOTE: When I started this post I had two Radeon HD 3870s..." Rock solid, five months now.

Good luck.

lc
Loci.Cantos
 
Posts: 22
Joined: 2018-08-03 15:39

Re: AMD RX560 on Debian Stretch - Not supported?

Postby zimbodel » 2019-01-11 06:13

Loci
I appreciate the post I will sure look at if when I try to upgrade my existing debian stretch.
Thanks a lot.
zimbodel
 
Posts: 73
Joined: 2009-12-22 19:37

Re: AMD RX560 on Debian Stretch - Not supported?

Postby zimbodel » 2019-01-11 06:17

Stevepusser

What I am going to try and do is to manually install everything needed from the dpkg -l of my existing system and install it on the new MX18 installed distro that works great with my RX560.
I just want to know if I can use the following real time kernel with MX18 with headers namely
linux-headers-4.16.12-rt5-avl1
or if it is a must that I use the RT kernel you presented.
Last edited by zimbodel on 2019-01-12 01:03, edited 1 time in total.
zimbodel
 
Posts: 73
Joined: 2009-12-22 19:37

Next

Return to Hardware

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable