Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

AMD Radeon Pro V520 (NAVI 12) GPU support?

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
gwhiz
Posts: 6
Joined: 2022-10-08 23:54

AMD Radeon Pro V520 (NAVI 12) GPU support?

#1 Post by gwhiz »

Hi All, can we use the Ubuntu drivers for this GPU? It is standard on AWS EC2 G4ad family.
This article: https://aws.amazon.com/blogs/compute/de ... instances/
says to follow the below package installs. Would these work for our Debian Bullseye?

Code: Select all

Add 32-bit library support in apt-get by entering the following command:

sudo dpkg --add-architecture i386

Update and Install the MATE Desktop and Kernel modules extra:

sudo apt update && sudo apt upgrade -y && sudo apt install python3-pip -y

sudo pip3 install awscli

If the kernel is upgraded, then sudo reboot and continue with the install.

Download and install the AMD Radeon Driver and extract the installer.

aws s3 cp --recursive s3://ec2-amd-linux-drivers/latest/ .

At the time of writing, the current supported driver is amdgpu-pro-20.20-1184451-ubuntu-18.04.tar.xz . The full stack includes the base kernel, accelerated graphics, Mesa, AMD Pro OpenGL, AMD Pro Vulkan and AMD Pro OpenCL can be installed with the following commands:

tar -xvf amdgpu-pro-20.20-1171946-ubuntu-18.04.tar.xz && \
cd amdgpu-pro-20.20-1171946-ubuntu-18.04 && \
cat RPM-GPG-KEY-amdgpu | sudo apt-key add - && \
./amdgpu-pro-install -y --opencl=pal,legacy

Install the MATE Desktop:

sudo apt install xorg-dev ubuntu-mate-desktop linux-modules-extra-$(uname -r) autoconf -y && \
sudo apt purge ifupdown -y

Create an /etc/X11/xorg.conf file with the following contents:

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection
Section "Files"
    ModulePath "/opt/amdgpu/lib64/xorg/modules/drivers"
    ModulePath "/opt/amdgpu/lib/xorg/modules"
    ModulePath "/opt/amdgpu-pro/lib/xorg/modules/extensions"
    ModulePath "/opt/amdgpu-pro/lib64/xorg/modules/extensions"
    ModulePath "/usr/lib64/xorg/modules"
    ModulePath "/usr/lib/xorg/modules"
EndSection
Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection
Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
EndSection
Section "Device"
    Identifier     "Device0"
    Driver         "amdgpu"
    VendorName     "AMD"
    BoardName      "Radeon MxGPU V520"
    BusID          "PCI:0:30:0"
EndSection
Section "Extensions"
    Option   "DPMS" "Disable"
EndSection
Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "AllowEmptyInitialConfiguration" "True"
    SubSection     "Display"
        Virtual     3840 2160
        Depth       32
    EndSubSection
EndSection

Next install NICE DCV Server 2020:

wget https://d1uj6qtbmh3dt5.cloudfront.net/2020.2/Servers/nice-dcv-2020.2-9662-ubuntu1804-x86_64.tgz

tar -xvf nice-dcv* && \
cd nice-dcv-2020.2-9662-ubuntu1804-x86_64 && \
sudo apt install ./nice-dcv* -y && sudo apt install -f

Ensure that your security groups allow TCP/UDP:8443. Optionally, configure the NICE DCV server accordingly, with an automatic console session startup owned by the “ubuntu” user. Do this by editing the /etc/dcv/dcv.conf file. The following parameters can be used.

create-session = true
owner = "ubuntu"
target-fps = 0
enable-quic-frontend = true

Reboot the instance. On the NICE DCV client, connect to your instance.

User avatar
kent_dorfman766
Posts: 531
Joined: 2022-12-16 06:34
Location: socialist states of america
Has thanked: 57 times
Been thanked: 69 times

Re: AMD Radeon Pro V520 (NAVI 12) GPU support?

#2 Post by kent_dorfman766 »

seven month later and no answers or followup. not surprised. I recently took a walk down the AMD GPU road since some online liars touted Radeon as being a better open-source solution for graphics than nvidia, but all paths led back to the AMD "online installer" link on their website. no mention of getting amdgpu-pro...tar.bz sourcecode anywhere...and I have no interest in adding AMD to to my list of apt sources...In a way the online installers are worse than nvidia's driver tarballs. At least with nvidia I can get the driver without opening up my system to them.

Well, futher research indicates that the amdgpu is in-kernel and supposedly supports the newer RDNA1/2 cards. Will see. I am gonna buy one to play with on one of my machines. Need something with enough umph to do some video enconding, but lots of u-tube videos say that's currently a fools errand too. LOL

Post Reply