• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

AMD Sends Required Patches for Vega Support in Linux

Raevenlord

News Editor
Joined
Aug 12, 2016
Messages
3,755 (1.23/day)
Location
Portugal
System Name The Ryzening
Processor AMD Ryzen 9 5900X
Motherboard MSI X570 MAG TOMAHAWK
Cooling Lian Li Galahad 360mm AIO
Memory 32 GB G.Skill Trident Z F4-3733 (4x 8 GB)
Video Card(s) Gigabyte RTX 3070 Ti
Storage Boot: Transcend MTE220S 2TB, Kintson A2000 1TB, Seagate Firewolf Pro 14 TB
Display(s) Acer Nitro VG270UP (1440p 144 Hz IPS)
Case Lian Li O11DX Dynamic White
Audio Device(s) iFi Audio Zen DAC
Power Supply Seasonic Focus+ 750 W
Mouse Cooler Master Masterkeys Lite L
Keyboard Cooler Master Masterkeys Lite L
Software Windows 10 x64
AMD has recently sent out around a hundred patches, which amount to over 40 thousand lines of code, so as to allow developers to integrate support for its upcoming Vega GPU architecture under Linux. The new code is essential towards baking support for Vega under Linux, considering the many changes this architecture entails over AMD's current-generation Polaris 10 (soon to be rebranded, if sources are correct, to the new RX 500 series.) Also of note is the existence of seven different device IDs for Vega-based products, though this really can't be extrapolated to the amount of SKUs under the Vega banner. For now, that really is just a number.



However, these lines of code won't be enough to allow for complete support of Vega under Linux (and this support would be slated for version 4.12 of the operating system). Some more tens of thousands lines of code will be needed for DAL support. It would seem that AMD admits to a lack of resources in rewriting its code for Linux, and is thus looking for a way of sharing code between the two different driver stacks (for Windows and Linux), which would alleviate these issues. AMD would thus be looking towards abstractions. These would allow the company to write one piece of code that would apply to both operating systems - thus essentially reducing coding time in half. However, abstractions do come with a problem: these would imply huge amounts of code to be input into Linux, which would bloat an operating system known for its finesse. And this means AMD has a lot on its plate until the code needed for full Vega support is baked into Linux's mainline code. One thing has to be said, though: Linux really isn't where the money and mainstream support is. So AMD is definitely making the right business decision in putting most of its chops behind Windows.

View at TechPowerUp Main Site
 
Last edited by a moderator:

bug

Joined
May 22, 2015
Messages
13,844 (3.95/day)
Processor Intel i5-12600k
Motherboard Asus H670 TUF
Cooling Arctic Freezer 34
Memory 2x16GB DDR4 3600 G.Skill Ripjaws V
Video Card(s) EVGA GTX 1060 SC
Storage 500GB Samsung 970 EVO, 500GB Samsung 850 EVO, 1TB Crucial MX300 and 2TB Crucial MX500
Display(s) Dell U3219Q + HP ZR24w
Case Raijintek Thetis
Audio Device(s) Audioquest Dragonfly Red :D
Power Supply Seasonic 620W M12
Mouse Logitech G502 Proteus Core
Keyboard G.Skill KM780R
Software Arch Linux + Win10
Faster than usual, but still to late for Ubuntu 17.04 (or the next Fedora) to pick these up. Users will still need backports :(
 
Joined
Oct 2, 2004
Messages
13,791 (1.87/day)
If it's a rebranded GPU, they don't need anything special, just update HW ID's and names. RX vega however is another story, considering it's a whole new GPU...
 
Joined
Dec 29, 2010
Messages
3,809 (0.75/day)
Processor AMD 5900x
Motherboard Asus x570 Strix-E
Cooling Hardware Labs
Memory G.Skill 4000c17 2x16gb
Video Card(s) RTX 3090
Storage Sabrent
Display(s) Samsung G9
Case Phanteks 719
Audio Device(s) Fiio K5 Pro
Power Supply EVGA 1000 P2
Mouse Logitech G600
Keyboard Corsair K95
Looks they are making some money to afford more devs? lol
 

bug

Joined
May 22, 2015
Messages
13,844 (3.95/day)
Processor Intel i5-12600k
Motherboard Asus H670 TUF
Cooling Arctic Freezer 34
Memory 2x16GB DDR4 3600 G.Skill Ripjaws V
Video Card(s) EVGA GTX 1060 SC
Storage 500GB Samsung 970 EVO, 500GB Samsung 850 EVO, 1TB Crucial MX300 and 2TB Crucial MX500
Display(s) Dell U3219Q + HP ZR24w
Case Raijintek Thetis
Audio Device(s) Audioquest Dragonfly Red :D
Power Supply Seasonic 620W M12
Mouse Logitech G502 Proteus Core
Keyboard G.Skill KM780R
Software Arch Linux + Win10
If it's a rebranded GPU, they don't need anything special, just update HW ID's and names. RX vega however is another story, considering it's a whole new GPU...
It could be as little as a single letter. If it's not in the kernel the distribution uses upon release, it will need backporting.
It's really not a biggie, but it's an extra hassle. And the precision AMD has in missing important distro releases is annoying.
 
Joined
Feb 19, 2009
Messages
1,162 (0.20/day)
Location
I live in Norway
Processor R9 5800x3d | R7 3900X | 4800H | 2x Xeon gold 6142
Motherboard Asrock X570M | AB350M Pro 4 | Asus Tuf A15
Cooling Air | Air | duh laptop
Memory 64gb G.skill SniperX @3600 CL16 | 128gb | 32GB | 192gb
Video Card(s) RTX 4080 |Quadro P5000 | RTX2060M
Storage Many drives
Display(s) AW3423dwf.
Case Jonsbo D41
Power Supply Corsair RM850x
Mouse g502 Lightspeed
Keyboard G913 tkl
Software win11, proxmox
Faster than usual, but still to late for Ubuntu 17.04 (or the next Fedora) to pick these up. Users will still need backports :(

Cause Installing a new kernel is sooo hard?
No terminal usage nor experience really required... ukuu does it for ya ;)
 
Joined
Oct 2, 2004
Messages
13,791 (1.87/day)
And people whined over Windows 10 inconveniences. With linux you apparently need whole new OS, otherwise it's all a huge mess for everyone. Ever heard of this thing called "a driver"? Windows knows it for ages and anyone can download it from vendor's webpage. Problem solved in seconds. Hm. Yeah yeah, whining over linux again. But it's hard not to when you see such laughable garbage.
 
Joined
Nov 12, 2013
Messages
620 (0.15/day)
System Name Headshot
Processor AMD Ryzen 7 3800X
Motherboard ASUS Crosshair VI Hero ROG
Cooling Phanteks Glacier One 360 MPH
Memory 2x16GB Corsair Vengence LPX DDR4 @ 3200 16-18-18-18-36
Video Card(s) AMD Radeon Vega64 (Linux)/Gigabyte RX 6600 (Windows VM)
Storage Cruscial P5 1TB nVME, Samsung 850 EVO 250GB, Seagate 1TBx2 (Home/Data), 2TB Seagate (Games)
Display(s) 2x Acer 1080P 144HZ
Case Phanteks Enthoo Luxe White
Audio Device(s) Schiit Stack (Schiit Audio Modi 2 DAC + Magni 3 AMP + Loki)
Power Supply eVGA Supernova 1000 G2
Mouse Razer DeathAdder V2
Keyboard Logitech G710+
Software Arch Linux with Windows 10 Gaming VM
Looks they are making some money to afford more devs? lol

Valve has hired 4 or 5 people to help on the AMD driver, plus there are some redhat people working on it as well. The opensource drivers for AMD graphics cards are working very nice and its only getting better. They tend to be much faster than the proprietary. Also, LLVM 5.0 will be required for Vega, not sure if that will be getting backported or not as this point.
 

bug

Joined
May 22, 2015
Messages
13,844 (3.95/day)
Processor Intel i5-12600k
Motherboard Asus H670 TUF
Cooling Arctic Freezer 34
Memory 2x16GB DDR4 3600 G.Skill Ripjaws V
Video Card(s) EVGA GTX 1060 SC
Storage 500GB Samsung 970 EVO, 500GB Samsung 850 EVO, 1TB Crucial MX300 and 2TB Crucial MX500
Display(s) Dell U3219Q + HP ZR24w
Case Raijintek Thetis
Audio Device(s) Audioquest Dragonfly Red :D
Power Supply Seasonic 620W M12
Mouse Logitech G502 Proteus Core
Keyboard G.Skill KM780R
Software Arch Linux + Win10
Cause Installing a new kernel is sooo hard?
No terminal usage nor experience really required... ukuu does it for ya ;)
It depends on one's level of expertise. And some prefer stability and won't to enable backports repos. Like I said, it's not a show stopper, it's an annoyance.
And people whined over Windows 10 inconveniences. With linux you apparently need whole new OS, otherwise it's all a huge mess for everyone. Ever heard of this thing called "a driver"? Windows knows it for ages and anyone can download it from vendor's webpage. Problem solved in seconds. Hm. Yeah yeah, whining over linux again. But it's hard not to when you see such laughable garbage.
You don't need the whole OS, but part of the open source drivers are in the kernel. They're kernel modules, not actually built into the kernel, but they're released together. Fyi, Windows drivers also have a kernel-space component.
 
Joined
Nov 12, 2013
Messages
620 (0.15/day)
System Name Headshot
Processor AMD Ryzen 7 3800X
Motherboard ASUS Crosshair VI Hero ROG
Cooling Phanteks Glacier One 360 MPH
Memory 2x16GB Corsair Vengence LPX DDR4 @ 3200 16-18-18-18-36
Video Card(s) AMD Radeon Vega64 (Linux)/Gigabyte RX 6600 (Windows VM)
Storage Cruscial P5 1TB nVME, Samsung 850 EVO 250GB, Seagate 1TBx2 (Home/Data), 2TB Seagate (Games)
Display(s) 2x Acer 1080P 144HZ
Case Phanteks Enthoo Luxe White
Audio Device(s) Schiit Stack (Schiit Audio Modi 2 DAC + Magni 3 AMP + Loki)
Power Supply eVGA Supernova 1000 G2
Mouse Razer DeathAdder V2
Keyboard Logitech G710+
Software Arch Linux with Windows 10 Gaming VM
And people whined over Windows 10 inconveniences. With linux you apparently need whole new OS, otherwise it's all a huge mess for everyone. Ever heard of this thing called "a driver"? Windows knows it for ages and anyone can download it from vendor's webpage. Problem solved in seconds. Hm. Yeah yeah, whining over linux again. But it's hard not to when you see such laughable garbage.
AMD has a proprietary driver that you can download and install just like you describe. This is only for the opensource driver (which does perform better). Try downloading and installing the nvidia driver from the website, it is a complete headache, amd side is much easier here, for specific distros. Nvidia tries to be distro agnostic, hence its more difficult to install and also why most distrobutions have it pre-packaged in their repositories. Linux isn't for everybody...nor should it be. Linux gives you complete control over your OS, which windows does not and as a result can be more difficult, but also more rewarding, depending on your perspective. Once the driver is ready and pushed into non-rolling or stable release distros, there will literally be nothing to install it will just work once you have the OS installed. Need a driver update? Just update your system and that's it.
There is also no opensource driver for Windows.
 
Last edited:
Joined
Sep 26, 2012
Messages
871 (0.19/day)
Location
Australia
System Name ATHENA
Processor AMD 7950X
Motherboard ASUS Crosshair X670E Extreme
Cooling ASUS ROG Ryujin III 360, 13 x Lian Li P28
Memory 2x32GB Trident Z RGB 6000Mhz CL30
Video Card(s) ASUS 4090 STRIX
Storage 3 x Kingston Fury 4TB, 4 x Samsung 870 QVO
Display(s) Acer X38S, Wacom Cintiq Pro 15
Case Lian Li O11 Dynamic EVO
Audio Device(s) Topping DX9, Fluid FPX7 Fader Pro, Beyerdynamic T1 G2, Beyerdynamic MMX300
Power Supply Seasonic PRIME TX-1600
Mouse Xtrfy MZ1 - Zy' Rail, Logitech MX Vertical, Logitech MX Master 3
Keyboard Logitech G915 TKL
VR HMD Oculus Quest 2
Software Windows 11 + Universal Blue
There's a PLX sensor reference. Dual Vega confirmed?
 
Joined
Oct 2, 2004
Messages
13,791 (1.87/day)
AMD has a proprietary driver that you can download and install just like you describe. This is only for the opensource driver (which does perform better). Try downloading and installing the nvidia driver from the website, it is a complete headache, amd side is much easier here, for specific distros. Nvidia tries to be distro agnostic, hence its more difficult to install and also why most distrobutions have it pre-packaged in their repositories. Linux isn't for everybody...nor should it be. Linux gives you complete control over your OS, which windows does not and as a result can be more difficult, but also more rewarding, depending on your perspective. Once the driver is ready and pushed into non-rolling or stable release distros, there will literally be nothing to install it will just work once you have the OS installed. Need a driver update? Just update your system and that's it.
There is also no opensource driver for Windows.

I could never get driver to install even when it said it was for that exact distro. Always used repository, because that's the only thing that even worked...
 
Joined
Mar 23, 2005
Messages
4,092 (0.57/day)
Location
Ancient Greece, Acropolis (Time Lord)
System Name RiseZEN Gaming PC
Processor AMD Ryzen 7 5800X @ Auto
Motherboard Asus ROG Strix X570-E Gaming ATX Motherboard
Cooling Corsair H115i Elite Capellix AIO, 280mm Radiator, Dual RGB 140mm ML Series PWM Fans
Memory G.Skill TridentZ 64GB (4 x 16GB) DDR4 3200
Video Card(s) ASUS DUAL RX 6700 XT DUAL-RX6700XT-12G
Storage Corsair Force MP500 480GB M.2 & MP510 480GB M.2 - 2 x WD_BLACK 1TB SN850X NVMe 1TB
Display(s) ASUS ROG Strix 34” XG349C 144Hz 1440p + Asus ROG 27" MG278Q 144Hz WQHD 1440p
Case Corsair Obsidian Series 450D Gaming Case
Audio Device(s) SteelSeries 5Hv2 w/ Sound Blaster Z SE
Power Supply Corsair RM750x Power Supply
Mouse Razer Death-Adder + Viper 8K HZ Ambidextrous Gaming Mouse - Ergonomic Left Hand Edition
Keyboard Logitech G910 Orion Spectrum RGB Gaming Keyboard
Software Windows 11 Pro - 64-Bit Edition
Benchmark Scores I'm the Doctor, Doctor Who. The Definition of Gaming is PC Gaming...
Joined
Oct 2, 2004
Messages
13,791 (1.87/day)
I was talking about Polaris. Even if they made tiny changes to the GPU, it would not affect drivers since changes can't be that significant.
 
Joined
Apr 16, 2009
Messages
225 (0.04/day)
Processor Phenom II X4 965 BE @4 GHz | NB @2600 MHz
Motherboard Gigabyte GA-990XA-UD3
Cooling Noctua NH-D14
Memory 2x 8GB PC12800 @1600 MHz CL7 1T
Video Card(s) Gigabyte HD 7950
Storage 2 x 500 GB -- HD502HJ & WD5000AACS-00ZUB0
Display(s) Iiyama Prolite E2202WS_WVS
Case Corsair Obsidian 550D
Audio Device(s) Asus Xonar D2 w/ Z-5500
Power Supply Seasonic X-750
Mouse Logitech B100
Keyboard Logitech G15 (blue backlight)
Software Windows 7 - SP1 x64
And people whined over Windows 10 inconveniences. With linux you apparently need whole new OS, otherwise it's all a huge mess for everyone. Ever heard of this thing called "a driver"? Windows knows it for ages and anyone can download it from vendor's webpage. Problem solved in seconds. Hm. Yeah yeah, whining over linux again. But it's hard not to when you see such laughable garbage.

Manjaro lets you install newer kernels with a GUI, so you merely need to wait for the new kernel to be available, then go to the settings to install.
 
Joined
Aug 20, 2007
Messages
21,543 (3.40/day)
System Name Pioneer
Processor Ryzen R9 9950X
Motherboard GIGABYTE Aorus Elite X670 AX
Cooling Noctua NH-D15 + A whole lotta Sunon and Corsair Maglev blower fans...
Memory 64GB (4x 16GB) G.Skill Flare X5 @ DDR5-6000 CL30
Video Card(s) XFX RX 7900 XTX Speedster Merc 310
Storage Intel 905p Optane 960GB boot, +2x Crucial P5 Plus 2TB PCIe 4.0 NVMe SSDs
Display(s) 55" LG 55" B9 OLED 4K Display
Case Thermaltake Core X31
Audio Device(s) TOSLINK->Schiit Modi MB->Asgard 2 DAC Amp->AKG Pro K712 Headphones or HDMI->B9 OLED
Power Supply FSP Hydro Ti Pro 850W
Mouse Logitech G305 Lightspeed Wireless
Keyboard WASD Code v3 with Cherry Green keyswitches + PBT DS keycaps
Software Gentoo Linux x64 / Windows 11 Enterprise IoT 2024
And people whined over Windows 10 inconveniences. With linux you apparently need whole new OS, otherwise it's all a huge mess for everyone. Ever heard of this thing called "a driver"? Windows knows it for ages and anyone can download it from vendor's webpage. Problem solved in seconds. Hm. Yeah yeah, whining over linux again. But it's hard not to when you see such laughable garbage.

You do realize that binary drivers are impossible with a moving target kernel like linux? At least without driver source code, something manufacturers have been asked for for years and have never given. Your complaining about traits inherent to the technology.

Also, kernel != OS.
 
Joined
Aug 20, 2007
Messages
21,543 (3.40/day)
System Name Pioneer
Processor Ryzen R9 9950X
Motherboard GIGABYTE Aorus Elite X670 AX
Cooling Noctua NH-D15 + A whole lotta Sunon and Corsair Maglev blower fans...
Memory 64GB (4x 16GB) G.Skill Flare X5 @ DDR5-6000 CL30
Video Card(s) XFX RX 7900 XTX Speedster Merc 310
Storage Intel 905p Optane 960GB boot, +2x Crucial P5 Plus 2TB PCIe 4.0 NVMe SSDs
Display(s) 55" LG 55" B9 OLED 4K Display
Case Thermaltake Core X31
Audio Device(s) TOSLINK->Schiit Modi MB->Asgard 2 DAC Amp->AKG Pro K712 Headphones or HDMI->B9 OLED
Power Supply FSP Hydro Ti Pro 850W
Mouse Logitech G305 Lightspeed Wireless
Keyboard WASD Code v3 with Cherry Green keyswitches + PBT DS keycaps
Software Gentoo Linux x64 / Windows 11 Enterprise IoT 2024
I'm complaining over retarded OS design. Gotcha.

If being open source and decentralized is retarded, yeah sure. It's a case of you can't have your cake and eat it too. Freedom, or drivers. Pick.

Really, it's a case of a retarded industry refusing to release device code.
 
Top