LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-14-2024, 06:39 PM   #1
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,538

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Switching from nvidia to AMD


So I'm getting a new video card (yay) Real Soon Now, barring any emergencies for which I'll have to toss money at. I'm looking at the RX 7600 XT. (I'm not gaming at 1440 or anything crazy, but I do game.)

Anything I'll need to do to make the switch from nvidia to AMD? I'm told uninstall nvidia's drivers, and reboot?

I know there are different AMD drivers. I'm told amdgpu and radv have the best performance currently for gaming? These are installed by default? Will I need to specify anything while booting?

Anything else I should know? (I'm pretty stock slackware-current at the moment.)

Last edited by garpu; 04-14-2024 at 06:41 PM.
 
Old 04-14-2024, 08:02 PM   #2
dhalliwe
Member
 
Registered: Mar 2022
Location: Ontario, Canada
Distribution: Slackware
Posts: 163

Rep: Reputation: 154Reputation: 154
Are you booting to run level 3, or 4?

My guess is that the change would be easier if you do things from run level 3.
 
Old 04-14-2024, 08:05 PM   #3
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,538

Original Poster
Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Runlevel 3. It's just force of habit.
 
Old 04-14-2024, 09:53 PM   #4
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,066

Rep: Reputation: 147Reputation: 147
Amdgpu is part of Slackware, but I don't know what radv is... the only part that isn't installed (not needed for games) is OpenCL (like from KingBeowulf's amdgpu-opencl though may be outdated, at least on Slackware-current).
 
Old 04-14-2024, 10:51 PM   #5
biker_rat
Member
 
Registered: Feb 2010
Posts: 369

Rep: Reputation: 220Reputation: 220Reputation: 220
radv is the opensource vulkan driver for amd in mesa. If you use current, the RX7600XT will probably just work for gaming. 15.0 might be using too old a version of mesa. Upgrading the kernel by compiling the latest stable source is usually pretty simple. Upgrading mesa can sometimes be much less so.
 
Old 04-14-2024, 11:42 PM   #6
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,538

Original Poster
Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Originally Posted by biker_rat View Post
radv is the opensource vulkan driver for amd in mesa. If you use current, the RX7600XT will probably just work for gaming. 15.0 might be using too old a version of mesa. Upgrading the kernel by compiling the latest stable source is usually pretty simple. Upgrading mesa can sometimes be much less so.
Yeah, when I built this computer, I needed the hardware support for current, and I just never left. Aside from a couple glitches and some 3rd party things that need rebuilding, it's remarkably stable.

And I'm expecting some troubles and growing pains switching, because nothing ever goes right the first time with a computer.
 
Old 04-15-2024, 02:03 AM   #7
gildbg
Member
 
Registered: Aug 2017
Distribution: Slackware, OpenBSD
Posts: 156

Rep: Reputation: Disabled
I did not recommend you to getting AMD video card.

Here is a few things that you need to know before did this:

1. If you will use your new card to start Wayland and Firefox, watching Youtube or some MKV ignore next things.

2. Most of the applications, encoders, decoders and so on have support for CUDA which is registered to NVIDIA ONLY, the alternative for AMD is a big ... read below.

3. AMDGPU PRO driver and installation which should be "all in one" work on Ubuntu, RedHat and Fedora if I remember correct. It's require a lot's of time if you will try to build it on Slackware and finally you may not succeed.

4. The AMD alternative for CUDA is called ROCm which contain around 251 packages and also no support for Slackware. For my surprise Arch linux was able to build ROCm 6.0.2 and they support the packages. I was able to compile most of required ROCm 6.0.2 packages on Slackware, but this take me a two weeks and I finally give up. I was stuck on some compilation issues and ROCm community it's not much helpful if you are not using one of official distros above.

5. Most AI developments require CUDA, they don't have support for AMD.
 
2 members found this post helpful.
Old 04-15-2024, 04:18 AM   #8
viel
Member
 
Registered: Jul 2021
Location: Arcadia
Distribution: Slackware
Posts: 48

Rep: Reputation: Disabled
Quote:
Originally Posted by gildbg View Post
I did not recommend you to getting AMD video card.

Here is a few things that you need to know before did this:

1. If you will use your new card to start Wayland and Firefox, watching Youtube or some MKV ignore next things.

2. Most of the applications, encoders, decoders and so on have support for CUDA which is registered to NVIDIA ONLY, the alternative for AMD is a big ... read below.

3. AMDGPU PRO driver and installation which should be "all in one" work on Ubuntu, RedHat and Fedora if I remember correct. It's require a lot's of time if you will try to build it on Slackware and finally you may not succeed.

4. The AMD alternative for CUDA is called ROCm which contain around 251 packages and also no support for Slackware. For my surprise Arch linux was able to build ROCm 6.0.2 and they support the packages. I was able to compile most of required ROCm 6.0.2 packages on Slackware, but this take me a two weeks and I finally give up. I was stuck on some compilation issues and ROCm community it's not much helpful if you are not using one of official distros above.

5. Most AI developments require CUDA, they don't have support for AMD.
Nice to know.

Helpfully for me, I am looking too.

What about intel graphics and Intel’s OneAPI ? complicated as AMD?

Edited:
As always I ask before search and need edit the post. XD

Seems there is a tarball in slackbuilds

https://slackbuilds.org/repository/1...opment/oneDPL/

Is this like Cuda?

https://slackbuilds.org/repository/1...t/cudatoolkit/

Have common IA supoport for Intel?

Thanks in advance.

Last edited by viel; 04-15-2024 at 04:32 AM.
 
Old 04-15-2024, 07:11 AM   #9
gildbg
Member
 
Registered: Aug 2017
Distribution: Slackware, OpenBSD
Posts: 156

Rep: Reputation: Disabled
I'm not using it and can't tell you, but a quick check on their git tell me the last release is from 2022.05.

Intel CPU - yes, Intel GPU - no.

For example: TensorFlow home page and check requirements:

Code:
Note: GPU support is available for Ubuntu and Windows with CUDAŽ-enabled cards.
as I write above it's depend for what you will use this card.
 
Old 04-15-2024, 07:14 AM   #10
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,538

Original Poster
Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Originally Posted by gildbg View Post
I did not recommend you to getting AMD video card.
Not what I'm asking here, and I use neither cuda nor AI in what I do that isn't gaming.
 
Old 04-15-2024, 08:43 AM   #11
gildbg
Member
 
Registered: Aug 2017
Distribution: Slackware, OpenBSD
Posts: 156

Rep: Reputation: Disabled
Switch off power of your pc, remove NVIDIA card and insert AMD. Power it on.

Wholaa, that it's.
 
Old 04-15-2024, 08:48 AM   #12
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,538

Original Poster
Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Originally Posted by gildbg View Post
Switch off power of your pc, remove NVIDIA card and insert AMD. Power it on.

Wholaa, that it's.
LOL. Good to know.

Kidding aside, I do stream occasionally, and I know nvidia is better for that. If my twitch career takes off, I can revisit the issue then.
 
Old 04-15-2024, 11:01 AM   #13
dederon
Member
 
Registered: Oct 2013
Posts: 108

Rep: Reputation: 56
i am using a laptop with a rx 7600s for 3 month now and i am very happy.

so far i had one crash and one program (factorio) did not play well with the 6.6. driver. i am using kernel 6.9. now, which comes with a lot of improvements, and no problems so far.

i know the shortcomings of amd graphic cards, but i just do the occasional gaming.

what is important to me is that the driver is fully integrated into the kernel, including /sys/ support for tweaking the card. there are several tools out there to do that (e.g. radeon-profile).

things i miss i just write myself, which is as easy as reading/writing files in /sys/.

overall i love the ryzen/radeon combination.
 
2 members found this post helpful.
Old 04-16-2024, 02:31 AM   #14
Pithium
Member
 
Registered: Jul 2014
Location: Far side of the Oregon Trail
Distribution: Slackware64 15.0
Posts: 502

Rep: Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585
I upgraded to an AMD system at the end of last year.

CPU: Ryzen 7 7800X3D
GPU Radeon 7900XT
Mobo: ASUS Prime X670E-PRO


I was having stability issues on this and a previous Ryzen system, but as of February this year I've not seen any major crashes. As long as you are up-to-date with -current you should be fine, but I would keep an eye out for regressions with mesa and the kernel. For the past month the only reason I have had to reboot my computer is for updates.

For games nothing is needed, AMDGPU is loaded and power management works out of the box. I spent a few hours this past weekend trying out Freesync on my 1440p monitor @144hz. I was able to maintain 144fps in Valheim without too much trouble (with a few exceptions).


For ROCm, it's actually more like 30 packages, less if you only want the opencl runtime. I managed to get ROCm 6.x compiled and running on my system for BOINC and phoronix-test-suite, but I need to go back through and make sure it's reproducible on other systems. Might be more like 10 packages if you just want to run opencl programs.
 
1 members found this post helpful.
Old 04-16-2024, 09:47 AM   #15
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,538

Original Poster
Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Thanks, all. I think I've got the information I need. I'm not doing anything too crazy with video, and still game on 1080p. If I need more, I can always revisit it then.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Switching from NVIDIA to AMD - need I install/uninstall anything? murdo Slackware 9 06-28-2022 11:26 AM
Switching from Nvidia to AMD graphics card questions for a newbie annadane Linux - Hardware 5 01-30-2018 08:10 PM
[SOLVED] switching mouse button won't take effect/switching language won't apply/zukitwo theme looking rough vienswuer Linux - Distributions 1 05-16-2016 06:32 AM
Switching to AMD 64 version brashley46 Ubuntu 7 07-16-2010 04:01 PM
KDE 3.3 Bad Monitor Switching on Desktop Switching Inchoate Linux - Software 1 05-25-2005 02:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration