Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Correct way to get Amd driver for RX 570?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
picarica
Guru
Guru


Joined: 11 Aug 2018
Posts: 364

PostPosted: Fri Jan 19, 2024 12:32 pm    Post subject: Correct way to get Amd driver for RX 570? Reply with quote

hell so i have been wondering how do i correctly install drivers for amd gpu? is it rocm? if so why is in testing keyword? (~amd64) what erse to use? opencl?so i need to recompile mesa without openc and then? or is even amdgpu supported in binary gentoo kernels is that my issue ?
need help with this, because i have rocm drivers, rocm-smi works, but it doesnt work in blender, nor with HIP or i tried radenprorender engine but i cant select my gpu anyways, i alwaysh ead amd gpus are best for linux, now i got it and the experiecne sucks, with nvidia i just get nvidia-driver and thats it.
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 2088
Location: Germany

PostPosted: Fri Jan 19, 2024 1:32 pm    Post subject: Reply with quote

Have a look at https://wiki.gentoo.org/wiki/AMDGPU
The RX 570 is still listed there.
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
picarica
Guru
Guru


Joined: 11 Aug 2018
Posts: 364

PostPosted: Fri Jan 19, 2024 9:33 pm    Post subject: Reply with quote

Banana wrote:
Have a look at https://wiki.gentoo.org/wiki/AMDGPU
The RX 570 is still listed there.

well i have all that but doesnt seem right, what package should it download? it doesnt downlaod rocm i had to package unmask it,
Code:
 cat /etc/portage/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
USE="X pdf ffmpeg extra mad wavpack -flac sound-server egl gles2 -accessiblity wxwidgets plymouth winbind samba apparmor -nanovdb -ruby mtp cycles-bin-kernels -openvdb gtk3 svg tiff gstreamer oidn icons -webengine webp pdfimport rar xinerama cups lm-sensors compress initramfs jemalloc brotli theora mount gnutls symlink opus vpx non-root -minimal modemmanager -sdk -thunderbolt sddm networkmanager gtk3 pulseaudio grub gtk glex2 display-manager lock xorg qml wayland minizip systemd llvm -lvm -zstd -elogind -handbooks kwallet -firewall -flatpak -crash-handler -crypt bluetooth -crash-handler -firewall -sdk -semantic-desktop -vlc -wifi -wext -handbook -designer -libnotify -qt -sendmail  -thin -eds -gstreamer -gtk-doc -nls -gnome-online-accounts -colord -nautilus -gnome -cuda -osl -cdr -fem -vtk -slideshow -cdr -exif -colord -nss"
MAKEOPTS="-j6"
EMERGE_DEFAULT_OPTS="--jobs 6"
ACCEPT_LICENSE="*"

VIDEO_CARDS="amdgpu radeonsi"
# NOTE: This stage was built with the bindist Use flag enabled

ACCEPT_LICENSE="*"
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
LINGUAS="ie sk en"
L10N="sk en-GB"


GENTOO_MIRRORS="http://tux.rainside.sk/gentoo/ ftp://tux.rainside.sk/gentoo/ https://mirror.wheel.sk/gentoo http://mirror.wheel.sk/gentoo"
GRUB_PLATFORMS="efi-64"
Back to top
View user's profile Send private message
finoderi
Tux's lil' helper
Tux's lil' helper


Joined: 29 Oct 2021
Posts: 79

PostPosted: Sat Jan 20, 2024 10:49 am    Post subject: Reply with quote

'firewall' use flag doesn't even exist. Good grief.
Removing all use flags from make.conf and readding only those that make sense globally would be a good start. If you need to modify use flags for a single package or a couple of them, package.use is a better place to do it. And some of the use flags you added are in desktop profile already or aren't enabled by default anyway. And may be it's time to make up your mind about gstreamer. You have both 'gstreamer' and '-gstreamer' in there.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55454
Location: 56N 3W

PostPosted: Sat Jan 20, 2024 10:58 am    Post subject: Reply with quote

finoderi,

USE=firewall could exist in an overlay.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
picarica
Guru
Guru


Joined: 11 Aug 2018
Posts: 364

PostPosted: Sat Jan 20, 2024 5:56 pm    Post subject: Reply with quote

finoderi wrote:
'firewall' use flag doesn't even exist. Good grief.
Removing all use flags from make.conf and readding only those that make sense globally would be a good start. If you need to modify use flags for a single package or a couple of them, package.use is a better place to do it. And some of the use flags you added are in desktop profile already or aren't enabled by default anyway. And may be it's time to make up your mind about gstreamer. You have both 'gstreamer' and '-gstreamer' in there.

ye i am too lazy to organize them, i had this make.conf for over 5 years maybe?
Back to top
View user's profile Send private message
finoderi
Tux's lil' helper
Tux's lil' helper


Joined: 29 Oct 2021
Posts: 79

PostPosted: Sat Jan 20, 2024 10:18 pm    Post subject: Reply with quote

Why not Arch then? Same binary kernel, zero USE flags, more packages available, including different variants of ROCm.
Back to top
View user's profile Send private message
picarica
Guru
Guru


Joined: 11 Aug 2018
Posts: 364

PostPosted: Mon Jan 22, 2024 11:24 am    Post subject: Reply with quote

finoderi wrote:
Why not Arch then? Same binary kernel, zero USE flags, more packages available, including different variants of ROCm.

ironacly i had more unstable experience on arch, and i like useflags, i like stripping down software from stuff i dont need, or its in t he way, and its easy to write ebuilds for packages that are not in repo, and learning aur idk, i like this ecosystem, just the amdgpu feels so hard to get working, and i just this morning managed to organize my use flags, yay
Back to top
View user's profile Send private message
picarica
Guru
Guru


Joined: 11 Aug 2018
Posts: 364

PostPosted: Mon Jan 22, 2024 11:44 am    Post subject: Reply with quote

picarica wrote:
finoderi wrote:
Why not Arch then? Same binary kernel, zero USE flags, more packages available, including different variants of ROCm.

ironacly i had more unstable experience on arch, and i like useflags, i like stripping down software from stuff i dont need, or its in t he way, and its easy to write ebuilds for packages that are not in repo, and learning aur idk, i like this ecosystem, just the amdgpu feels so hard to get working, and i just this morning managed to organize my use flags, yay

back to my original question should i use amdgpu pro driver? or rocm driver? can i use both? and in amdgpu pro it says it conflicts with opensource drivers should i remove xf86-video-amd driver?
Back to top
View user's profile Send private message
sunox
Apprentice
Apprentice


Joined: 26 Jan 2022
Posts: 150

PostPosted: Mon Jan 22, 2024 7:51 pm    Post subject: Reply with quote

The AMDGPU drivers are in the kernel, so you just have to make sure it's enabled there, plus whatever firmware your card needs.

AMDGPU-Pro is for very specific use cases. Edit: just seeing now that you need to use blender. Sorry, no clue, but it seems like others use blender with AMDGPU.


Last edited by sunox on Mon Jan 22, 2024 11:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
finoderi
Tux's lil' helper
Tux's lil' helper


Joined: 29 Oct 2021
Posts: 79

PostPosted: Mon Jan 22, 2024 10:05 pm    Post subject: Reply with quote

picarica wrote:
should i use amdgpu pro driver? or rocm driver? can i use both? and in amdgpu pro it says it conflicts with opensource drivers should i remove xf86-video-amd driver?

I have RX6600 now and had RX480 before that. AMDGPU open source driver has been more than enough for me to play games on Steam and on PCSX2. I've never tried to use Blender but Kdenlive worked just fine with AMDGPU, although I understand it's not the same thing.
Back to top
View user's profile Send private message
picarica
Guru
Guru


Joined: 11 Aug 2018
Posts: 364

PostPosted: Thu Feb 08, 2024 9:33 am    Post subject: Reply with quote

finoderi wrote:
picarica wrote:
should i use amdgpu pro driver? or rocm driver? can i use both? and in amdgpu pro it says it conflicts with opensource drivers should i remove xf86-video-amd driver?

I have RX6600 now and had RX480 before that. AMDGPU open source driver has been more than enough for me to play games on Steam and on PCSX2. I've never tried to use Blender but Kdenlive worked just fine with AMDGPU, although I understand it's not the same thing.

yes games are no issue i have played dota 2 overwatch and other stuff on it only blender, and recently stable diffusion i have problems with, specific industry use cases only
Back to top
View user's profile Send private message
Ralphred
l33t
l33t


Joined: 31 Dec 2013
Posts: 799

PostPosted: Thu Feb 08, 2024 11:56 am    Post subject: Reply with quote

picarica wrote:
back to my original question should i use amdgpu pro driver? or rocm driver? can i use both? and in amdgpu pro it says it conflicts with opensource drivers should i remove xf86-video-amd driver?


My (limited!) understanding is that rocm and amdgpu-pro conflict with each other, but both lay on top of the kernel driver. I got rocm to work and I can run xmrig with opencl support, and it uses the GPU, but you need something older than version 4.5 'cus that's when they dropped polaris support < this is backed up by my vega card getting detected by clinfo, but not the polaris one.

xf86-video-amd is the driver module for xorg, you can (read: want to) keep that.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum