AMD Radeon VII proprietary driver?

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

AMD Radeon VII proprietary driver?

Postby ChameleonScales » 2020-04-02 11:31

Is there a way to get the proprietary driver for Radeon VII on Debian Buster ?
The AMD driver download page only includes other distros and the Debian Wiki gives no mention of Radeon VII anywhere. (and I didn't find any answer on the rest of the web)
ChameleonScales
 
Posts: 34
Joined: 2019-05-14 07:09

Re: AMD Radeon VII proprietary driver?

Postby Head_on_a_Stick » 2020-04-02 11:44

Why do you think you need the AMDGPU-PRO drivers? If your card isn't performing well then you probably just need the non-free firmware.

The open source drivers out-perform the proprietary versions at almost every task. See the Phoronix website for more on this.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12622
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: AMD Radeon VII proprietary driver?

Postby ChameleonScales » 2020-04-02 13:21

I'm experiencing a noticeably low framerate with my cursor (no application opened).

Just to be sure, you're suggesting simply:
Code: Select all
sudo apt-get install firmware-amd-graphics

provided that "contrib" and "non-free" were added in sources.list
is that right ?
ChameleonScales
 
Posts: 34
Joined: 2019-05-14 07:09

Re: AMD Radeon VII proprietary driver?

Postby ChameleonScales » 2020-04-02 14:03

I just tried anyway but it didn't make a difference even after a reboot.
I hope there's a solution to this because my mouse is moving in very noticeable steps and this happens only on Debian (I've installed other distros on this computer and none of them have this issue)
ChameleonScales
 
Posts: 34
Joined: 2019-05-14 07:09

Re: AMD Radeon VII proprietary driver?

Postby Deb-fan » 2020-04-02 15:09

Those other distro's are not Debian gnu/nix. With this projects stance on no proprietary (nonfree) setup out-of-box, there's your trouble. Such things are left to the legions of Debian-based to handle for people. For which Debian is the source and those distro's life's blood too. It can be anything a nixer wishes but they do have to learn things to expect a smooth experience. A never ending flood of people who don't bother learning or researching to use something they apparently want and always with the others don't xyz, no problem in xyz, like it's Debian's failing rather than their own. If xyz works so awesome, w/o effort ... why not use those instead? :)

Ps, this has been a pointless gotta vent moment.
Most powerful FREE tech-support tool on the planet * HERE. *
Deb-fan
 
Posts: 937
Joined: 2012-08-14 12:27

Re: AMD Radeon VII proprietary driver?

Postby Head_on_a_Stick » 2020-04-02 16:06

ChameleonScales wrote:is that right ?

Let's check:
Code: Select all
apt policy firmware-amd-graphics
# dmesg | grep firmware

Can we also see
Code: Select all
glxinfo -B

Have you tried any graphically-intensive programs at all? A laggy cursor is a weird problem.

Does the cursor also lag with a touchpad (if you have one) or with a different mouse?

And did you search the interweb for a specific solution to that problem before posting? For example: https://askubuntu.com/questions/763413/ ... der-ubuntu
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12622
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: AMD Radeon VII proprietary driver?

Postby No_windows » 2020-04-02 16:27

If it's a wireless mouse, check the batteries.
No_windows
 
Posts: 505
Joined: 2015-08-05 03:03

Re: AMD Radeon VII proprietary driver?

Postby ChameleonScales » 2020-04-03 05:34

Thanks for your help. Here's what you asked :

Code: Select all
$ apt policy firmware-amd-graphics
firmware-amd-graphics:
  Installed: 20190114-2
  Candidate: 20190114-2
  Version table:
 *** 20190114-2 500
        500 http://deb.debian.org/debian buster/non-free amd64 Packages
        500 http://deb.debian.org/debian buster/non-free i386 Packages
        100 /var/lib/dpkg/status

Code: Select all
# dmesg | grep firmware
[    7.316829] r8188eu 3-3:1.0: firmware: direct-loading firmware rtlwifi/rtl8188eufw.bin
[   33.998016] r8188eu 3-3:1.0: firmware: direct-loading firmware rtlwifi/rtl8188eufw.bin
[   67.003978] r8188eu 3-3:1.0: firmware: direct-loading firmware rtlwifi/rtl8188eufw.bin
[  110.020772] r8188eu 3-3:1.0: firmware: direct-loading firmware rtlwifi/rtl8188eufw.bin
[  162.999855] r8188eu 3-3:1.0: firmware: direct-loading firmware rtlwifi/rtl8188eufw.bin
[  226.041156] r8188eu 3-3:1.0: firmware: direct-loading firmware rtlwifi/rtl8188eufw.bin

Code: Select all
$ glxinfo -B
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: VMware, Inc. (0xffffffff)
    Device: llvmpipe (LLVM 7.0, 128 bits) (0xffffffff)
    Version: 18.3.6
    Accelerated: no
    Video memory: 64435MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 3.3
    Max compat profile version: 3.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.0
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 7.0, 128 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.3.6
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.1 Mesa 18.3.6
OpenGL shading language version string: 1.40
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.0 Mesa 18.3.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00


Have you tried any graphically-intensive programs at all?

Yes, 3D graphics in Blender are extremely laggy.

Does the cursor also lag with a different mouse?

Yes, I have 3 mouses, tried them all, they all do the same.

did you search the interweb for a specific solution to that problem

Yes. It didn't help. And I wouldn't expect it to since the issue doesn't seem to be specifically mouse or cursor-related.
ChameleonScales
 
Posts: 34
Joined: 2019-05-14 07:09

Re: AMD Radeon VII proprietary driver?

Postby Head_on_a_Stick » 2020-04-03 09:11

ChameleonScales wrote:
Code: Select all
    Vendor: VMware, Inc. (0xffffffff)

Is this running in a VM?

Can we see
Code: Select all
lspci -knn | grep -iA3 'vga\|display\|3d'
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12622
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: AMD Radeon VII proprietary driver?

Postby ChameleonScales » 2020-04-03 11:47

Is this running in a VM?

I installed Debian by booting my computer into a live USB so, unless it's possible to do it in such a way that it's virtualized, no.

Code: Select all
$lspci -knn | grep -iA3 'vga\|display\|3d'
0c:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Vega 20 [Radeon VII] [1002:66af] (rev c1)
   Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Vega 20 [Radeon VII] [1002:081e]
   Kernel modules: amdgpu
0c:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Vega 20 HDMI Audio [Radeon VII] [1002:ab20]
ChameleonScales
 
Posts: 34
Joined: 2019-05-14 07:09

Re: AMD Radeon VII proprietary driver?

Postby Head_on_a_Stick » 2020-04-03 12:24

Vega 20 is too new for buster's ageing kernel, try installing the kernel & firmware-amd-graphics packages from the buster-backports repository: viewtopic.php?f=16&t=139003

Once you're booted with the newer kernel run my posted lspci command again and confirm you have this line:
Code: Select all
        Kernel driver in use: amdgpu

And also grep dmesg(1) again to check if the Vega 20 firmware is loaded, if it isn't then try MX Linux's firmware package instead: http://mxrepo.com/mx/repo/pool/ahs/l/li ... +1_all.deb
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12622
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: AMD Radeon VII proprietary driver?

Postby ChameleonScales » 2020-04-03 14:38

I did all of that and the lag didn't go away... until I installed the MX Linux firmware, so you're my savior!
Now I do have the line "Kernel driver in use: amdgpu"

However, the
Code: Select all
dmesg | grep firmware
throws me some failures:
Code: Select all
[    2.679797] amdgpu 0000:0c:00.0: firmware: direct-loading firmware amdgpu/vega20_sdma.bin
[    2.679804] amdgpu 0000:0c:00.0: firmware: direct-loading firmware amdgpu/vega20_sdma1.bin
[    2.680133] amdgpu 0000:0c:00.0: firmware: direct-loading firmware amdgpu/vega20_sos.bin
[    2.680147] amdgpu 0000:0c:00.0: firmware: direct-loading firmware amdgpu/vega20_asd.bin
[    2.680154] amdgpu 0000:0c:00.0: firmware: failed to load amdgpu/vega20_ta.bin (-2)
[    2.680156] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[    2.680158] amdgpu 0000:0c:00.0: Direct firmware load for amdgpu/vega20_ta.bin failed with error -2
[    2.680159] amdgpu 0000:0c:00.0: psp v11.0: Failed to load firmware "amdgpu/vega20_ta.bin"
[    2.680166] amdgpu 0000:0c:00.0: firmware: direct-loading firmware amdgpu/vega20_pfp.bin
[    2.680172] amdgpu 0000:0c:00.0: firmware: direct-loading firmware amdgpu/vega20_me.bin
[    2.680178] amdgpu 0000:0c:00.0: firmware: direct-loading firmware amdgpu/vega20_ce.bin
[    2.680187] amdgpu 0000:0c:00.0: firmware: direct-loading firmware amdgpu/vega20_rlc.bin
[    2.680215] amdgpu 0000:0c:00.0: firmware: direct-loading firmware amdgpu/vega20_mec.bin
[    2.680242] amdgpu 0000:0c:00.0: firmware: direct-loading firmware amdgpu/vega20_mec2.bin
[    2.681183] amdgpu 0000:0c:00.0: firmware: direct-loading firmware amdgpu/vega20_smc.bin
[    2.681231] amdgpu 0000:0c:00.0: firmware: direct-loading firmware amdgpu/vega20_uvd.bin
[    2.681232] [drm] Found UVD firmware ENC: 1.2 DEC: .43 Family ID: 19
[    2.681235] [drm] PSP loading UVD firmware
[    2.681822] amdgpu 0000:0c:00.0: firmware: direct-loading firmware amdgpu/vega20_vce.bin
[    2.681823] [drm] Found VCE firmware Version: 57.6 Binary ID: 4
[    2.681825] [drm] PSP loading VCE firmware
[   10.586405] iwlwifi 0000:04:00.0: firmware: failed to load iwlwifi-cc-a0-50.ucode (-2)
[   10.586408] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-cc-a0-50.ucode failed with error -2
[   10.586570] iwlwifi 0000:04:00.0: firmware: failed to load iwlwifi-cc-a0-49.ucode (-2)
[   10.586571] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-cc-a0-49.ucode failed with error -2
[   10.588236] iwlwifi 0000:04:00.0: firmware: direct-loading firmware iwlwifi-cc-a0-48.ucode
[   10.588418] iwlwifi 0000:04:00.0: loaded firmware version 48.4fa0041f.0 op_mode iwlmvm
[   10.653386] iwlwifi 0000:04:00.0: Allocated 0x00400000 bytes for firmware monitor.
[   11.407284] r8169 0000:06:00.0: firmware: direct-loading firmware rtl_nic/rtl8125a-3.fw
[   11.869389] r8188eu 5-4:1.0: firmware: direct-loading firmware rtlwifi/rtl8188eufw.bin


But otherwise the system works smoothly now, including 3D graphics so, thanks a lot!
ChameleonScales
 
Posts: 34
Joined: 2019-05-14 07:09

Re: AMD Radeon VII proprietary driver?

Postby Head_on_a_Stick » 2020-04-03 15:35

ChameleonScales wrote:I did all of that and the lag didn't go away... until I installed the MX Linux firmware, so you're my savior!

Don't thank me, thank @stevepusser and the awesome MX Linux devs who ported the newer firmware from Ubuntu to a Debian buster base.

ChameleonScales wrote:the
Code: Select all
dmesg | grep firmware
throws me some failures

Yeah, the kernel goes through a list of potential firmware. As long as something was loaded and the device actually works then those errors are nothing to worry about.

ChameleonScales wrote:otherwise the system works smoothly now, including 3D graphics

Fantastic news, please edit the title of the thread (in your first post) and prepend [SOLVED] to help others who may have this problem. Thanks.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12622
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: AMD Radeon VII proprietary driver?

Postby ChameleonScales » 2020-04-03 22:13

One last thing:
I'm apparently missing OpenCL because I can't enable it in Blender.
I tried this idea of using the proprietary driver for Ubuntu but it did'nt make a difference for Blender in my case.
So while my lag issue is gone, the original question remains unsolved at the moment.
ChameleonScales
 
Posts: 34
Joined: 2019-05-14 07:09

Re: AMD Radeon VII proprietary driver?

Postby stevepusser » 2020-04-04 00:53

The amdgpu driver should use the mesa icd packages for openCL, but don't ask me if it's recent enough to work on your hardware: mesa-opencl-icd

That ahs respin I have has the 19.3.3 mesa version, but I haven't checked if backports has done a newer mesa yet.
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12066
Joined: 2009-10-06 05:53

Next

Return to Hardware

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable