View previous topic :: View next topic |
Author |
Message |
musv Advocate
Joined: 01 Dec 2002 Posts: 3365 Location: de
|
Posted: Sat Mar 25, 2023 8:51 am Post subject: VIDEO_CARDS radeonsi amdgpu - mesa |
|
|
Hi,
I'm trying to install my new computer. Graphics card is a Powercolor RT7900XTX.
Got it working so far. No I'm trying to get vulkan and other things to work. According to the Vulkan Wiki I have to put into VIDEO_CARDS
Code: | VIDEO_CARDS="amdgpu radeonsi" |
This seems to be weird:
equery u mesa: | * Found these USE flags for media-libs/mesa-23.0.0-r1:
U I
- - video_cards_d3d12 : VIDEO_CARDS seeting to build driver for Microsoft WSL video cards
- + video_cards_intel : VIDEO_CARDS setting to build driver for Intel video cards
- + video_cards_nouveau : VIDEO_CARDS setting to build reverse-engineered driver for nvidia cards
- - video_cards_r300 : VIDEO_CARDS setting to build only r300, r400 and r500 based chips code for radeon
- - video_cards_r600 : VIDEO_CARDS setting to build only r600, r700, Evergreen and Northern Islands based chips code for radeon
- + video_cards_radeon : VIDEO_CARDS setting to build driver for ATI radeon video cards
+ + video_cards_radeonsi : VIDEO_CARDS setting to build only Southern Islands based chips code for radeon
- - video_cards_virgl : VIDEO_CARDS setting to build driver for virgil (virtual 3D GPU)
- - video_cards_vmware : VIDEO_CARDS setting to build driver for vmware video cards
|
radeonsi seems to be for older AMD cards. And amdgpu even doesn't exist.
What do I have to choose here? |
|
Back to top |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3940 Location: Hamburg
|
Posted: Sat Mar 25, 2023 9:10 am Post subject: |
|
|
I think you need radeonsi for some reasons. I have here an amdgpu Lenovo notebook (P14s) and have Code: | */* VIDEO_CARDS: -* amdgpu radeon radeonsi | which seems to work for me. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54588 Location: 56N 3W
|
Posted: Sat Mar 25, 2023 10:47 am Post subject: |
|
|
musv,
There is some history here.
A long time ago, all VIDEO_CARDS did was to select the Xorg video driver to be installed. There was a simple one to one correspondence between drivers and VIDEO_CARDS entries.
Indeed, if it was left unset, no drivers were installed.
Later mesa started to use it for the acceleration it provides. That was OK at the start too.
More recently, several Xorg drivers need the same mesa acceleration. That broke the one to one correspondence.
Hence, the amdgpu driver needs the radeonsi bit of mesa.
The whole history of the PC is littered with things like that. It wasn't designed at the outset. It "just grew". _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Atha Apprentice
Joined: 22 Sep 2004 Posts: 239
|
Posted: Fri Apr 07, 2023 6:26 am Post subject: |
|
|
I'm using VIDEO_CARDS="amdgpu radeon radeonsi nouveau dummy"
I used to have VIDEO_CARDS="amdgpu radeon radeonsi nouveau fbdev vesa dummy"
amdgpu – for amdgpu (in my case part of the processor, iGPU) X11 driver
radeon – for some legacy stuff (like readeonsi, some amdgpu stuff is included in radeon)
readeonsi – for mesa, amdgpu is supported by/included in readeonsi
nouveau – for my dedicated GPU (the kernel modules is currently disabled (blacklisted), but I want the X11 driver installed)
fbdev – to get a fallback framebuffer X11 driver
vesa – to get a fallback VESA X11 driver
dummy – for headless scenarios
For the correct VIDEO_CARDS setting, see also https://wiki.gentoo.org/wiki/AMDGPU#Emerge and https://wiki.gentoo.org/wiki/AMDGPU#Fallback_driver as well as https://wiki.gentoo.org/wiki/ATI_FAQ
I guess I could remove "radeon" from my list... It didn't hurt to keep it, but I don't know specifically why I did. _________________ Think for yourself and let others enjoy the privilege of doing so too. – Voltaire |
|
Back to top |
|
|
ritzmax72 Tux's lil' helper
Joined: 10 Aug 2014 Posts: 114
|
Posted: Sat Oct 26, 2024 8:43 am Post subject: |
|
|
Is it ok to install drivers for Nvidia and amd by using amdgpu noveau nvidia radeonsi on VIDEO_CARDs, let say for the purpose of swapping cards occassionally so that I don't have to reinstall drivers? Will it cause any conflicts? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54588 Location: 56N 3W
|
Posted: Sat Oct 26, 2024 1:23 pm Post subject: |
|
|
Instlling the open source drivers as you suggest is OK.
The kerlel will pick the right drivers at boot time.
You can even install both nvidia and amd cards in the same system at the same time that way.
Mixing and matching with the evil binary blob nvidia-drivers will cause conflicts, last time I heard.
That info may be out of date now. Updates welcome. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|