Jump to content

AMD Vega driver in Debian

Go to solution Solved by Nord1ing,

I gave up on Debian (debian 10 still on 4.9 kernel).

After switching to Ubuntu lts18 everything works fine (with 5.x kernel).

Hello,

I want to know how to activate driver for Vega graphic (ryzen 3400g) in Debian 9?

I'v tried some things; most complete guide I found (https://linuxconfig.org/how-to-install-amdgpu-drivers-on-debian-9-stretch-linux) does not helped, still . :|

 

glx info | grep OpenGL output:

glxinfo | grep OpenGL: OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.9, 128 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 13.0.6
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 13.0.6
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 13.0.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:

lspci | grep VGA:
 

03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 15d8 (rev c8)

lspci -k | grep -EA3 'VGA|3D|Display' report:

03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 15d8 (rev c8)
    Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device 15d8
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 15de
    Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device 15de


 

 

 

PC Specs - AMD Ryzen 7 3700X - Asrock AB350 ITX - 64GB DDR4-3600MHz - Geforce GTX 1080 - Samsung 960Pro - Monsterlabo's "The First" - Corsair SF450

Link to comment
https://linustechtips.com/topic/1135775-amd-vega-driver-in-debian/
Share on other sites

Link to post
Share on other sites

You need to update the kernel to the latest version. This however is not a trivial task and I'm not going to even link to any guides because the exact method varies depending on many different factors. TBH its something I've never done manually myself, I used UKUU until it went paid only. I've also only ever done it on Ubuntu (which is Debian based so not that different).

 

I will say that even if it does go wrong recovery is very easy, it will create a new boot option in GRUB with the option to boot using the new or old kernel so you can always swap back to the old kernel and try again or fix your mistake/issue.

 

EDIT

 

Wait a second, you're using Vmware? Why are you trying to activate the host graphics driver in a Virtual Machine?

 

Could you explain more about the setup?

Main Rig:-

Ryzen 7 3800X | Asus ROG Strix X570-F Gaming | 16GB Team Group Dark Pro 3600Mhz | Corsair MP600 1TB PCIe Gen 4 | Sapphire 5700 XT Pulse | Corsair H115i Platinum | WD Black 1TB | WD Green 4TB | EVGA SuperNOVA G3 650W | Asus TUF GT501 | Samsung C27HG70 1440p 144hz HDR FreeSync 2 | Ubuntu 20.04.2 LTS |

 

Server:-

Intel NUC running Server 2019 + Synology DSM218+ with 2 x 4TB Toshiba NAS Ready HDDs (RAID0)

Link to post
Share on other sites

10 minutes ago, Master Disaster said:

You need to update the kernel to the latest version. This however is not a trivial task and I'm not going to even link to any guides because the exact method varies depending on many different factors. TBH its something I've never done manually myself, I used UKUU until it went paid only. I've also only ever done it on Ubuntu (which is Debian based so not that different).

 

I will say that even if it does go wrong recovery is very easy, it will create a new boot option in GRUB with the option to boot using the new or old kernel so you can always swap back to the old kernel and try again or fix your mistake/issue.

 

EDIT

 

Wait a second, you're using Vmware? Why are you trying to activate the host graphics driver in a Virtual Machine?

 

Could you explain more about the setup?

I try to activate driver on bar metal, host system.

I have deskmini A300 with ryzen and debian installed on it (upgraded from celeron 3565u mini-pc without system's re-installation).

And I have vmware installed in debian to run some vms.

Driver does not work in main system.

PC Specs - AMD Ryzen 7 3700X - Asrock AB350 ITX - 64GB DDR4-3600MHz - Geforce GTX 1080 - Samsung 960Pro - Monsterlabo's "The First" - Corsair SF450

Link to post
Share on other sites

OK, in that case go ahead and update the kernel to the latest stable version. FTR I had a similar issue with my 5700XT, driver wouldn't work until I upgraded the Kernel, after that everything worked perfectly.

Main Rig:-

Ryzen 7 3800X | Asus ROG Strix X570-F Gaming | 16GB Team Group Dark Pro 3600Mhz | Corsair MP600 1TB PCIe Gen 4 | Sapphire 5700 XT Pulse | Corsair H115i Platinum | WD Black 1TB | WD Green 4TB | EVGA SuperNOVA G3 650W | Asus TUF GT501 | Samsung C27HG70 1440p 144hz HDR FreeSync 2 | Ubuntu 20.04.2 LTS |

 

Server:-

Intel NUC running Server 2019 + Synology DSM218+ with 2 x 4TB Toshiba NAS Ready HDDs (RAID0)

Link to post
Share on other sites

6 hours ago, Master Disaster said:

OK, in that case go ahead and update the kernel to the latest stable version. FTR I had a similar issue with my 5700XT, driver wouldn't work until I upgraded the Kernel, after that everything worked perfectly.

Ok, thank you! I will try this solution on next maintenance, after holidays :)

PC Specs - AMD Ryzen 7 3700X - Asrock AB350 ITX - 64GB DDR4-3600MHz - Geforce GTX 1080 - Samsung 960Pro - Monsterlabo's "The First" - Corsair SF450

Link to post
Share on other sites

Check for Debian repositories for updates - they usually have them somewhere, not always in the main repositories as it breaks the version freeze. It will need a newer Kernel (or a backported hardware enablement) as well as newer Mesa packages.

Link to post
Share on other sites

  • 1 month later...

I gave up on Debian (debian 10 still on 4.9 kernel).

After switching to Ubuntu lts18 everything works fine (with 5.x kernel).

PC Specs - AMD Ryzen 7 3700X - Asrock AB350 ITX - 64GB DDR4-3600MHz - Geforce GTX 1080 - Samsung 960Pro - Monsterlabo's "The First" - Corsair SF450

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×