Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Question about AMD drivers on Wayland + Games
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
Tenkuu
n00b
n00b


Joined: 20 Mar 2022
Posts: 1

PostPosted: Sun Mar 20, 2022 7:54 am    Post subject: Question about AMD drivers on Wayland + Games Reply with quote

First off, good morning to you all, new here (had Gentoo before but never wanted to bother people with my problems)

I have reinstalled Gentoo lately after changing my GPU from a 2080 to a 6900XT.
As the title implies, I have a few questions about the drivers and the configuration for games and Wayland.

For Wayland, I noticed that if I only had "amdgpu radeonsi" for the GRAPHICS flag, I would have abysmal performances. However if I use "amdgpu radeonsi radeon" everything works perfectly. Is this a normal occurrence?
For games, I have the following issue: Source games and a select few other Linux native title crash immediately on launch. I've looked at the troubleshooting pages for steam and games on the Gentoo wiki, for example TF2 where it asks me to not build app-crypt/p11-kit with the abi_x86_32 flag...
Ive tried the troubleshooting methods but it didn't fix my issue.

I'm honestly just wondering if maybe, my USE flags are the problem and/or using genkernel might be problematic with the latest AMD card?

Thanks in advance for reading my post and helping me out. I'm no advanced user but I'm willing to try and understand why it doesn't work and fix it.
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1990
Location: Poland

PostPosted: Sun Aug 28, 2022 5:30 am    Post subject: Reply with quote

Yes, I have 9700XT and I also have VIDEO_CARDS="amdgpu radeon radeonsi" in make.conf.
There's and ebuild (or wiki page?) that tells you to do so.
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3343
Location: Rasi, Finland

PostPosted: Sun Aug 28, 2022 7:33 am    Post subject: Reply with quote

I've had no problem with wayland + AMDGPU and native games. I have played some from gog, but none from steam.
As said above: wiki is your friend.

If you launch game via terminal does it produce any error messages?

Also, welcome to Gentoo. :)
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
The Main Man
Veteran
Veteran


Joined: 27 Nov 2014
Posts: 1166
Location: /run/user/1000

PostPosted: Sun Aug 28, 2022 8:22 am    Post subject: Reply with quote

Isn't "radeon" flag for older models ?
I'm on Vega and I always used just "amdgpu radeonsi", no problems, except some native Steam games were crashing on start or during the game, but with Proton the same games were fine. (Steam via flatpak)
Though, I don't think that has anything to do with having "radeon" use flag on or off.
Back to top
View user's profile Send private message
gorg86
Apprentice
Apprentice


Joined: 20 May 2011
Posts: 299

PostPosted: Tue Aug 30, 2022 3:20 am    Post subject: Reply with quote

I just checked, the radeon useflag should not affect a system with a modern GPU.
The only package that just has a radeon and no radeonsi or amdgpu useflag is "mesa-amber", I don't know what that is tbh.
What is going on here?

Code:
equery hasuse -po video_cards_radeonsi video_cards_amdgpu video_cards_radeon
 * Searching for USE flag video_cards_radeonsi ...
[-P-] [  ] dev-libs/libclc-14.0.6:0
[-P-] [ -] dev-libs/libclc-15.0.0_rc2:0
[-P-] [ -] dev-libs/libclc-15.0.0_rc3:0
[-P-] [ -] dev-libs/libclc-15.0.0.9999:0
[-P-] [ -] dev-libs/libclc-16.0.0.9999:0
[IP-] [  ] media-libs/mesa-22.1.3:0
[-P-] [ ~] media-libs/mesa-22.1.7:0
[-P-] [ -] media-libs/mesa-9999:0
[-P-] [ ~] sci-misc/boinc-7.20.2-r2:0
[-P-] [  ] x11-base/xorg-drivers-1.20-r2:0
[IP-] [  ] x11-base/xorg-drivers-21.1:0
[-P-] [ -] x11-base/xorg-drivers-9999:0

 * Searching for USE flag video_cards_amdgpu ...
[-P-] [  ] app-misc/radeontop-1.3-r3:0
[IP-] [  ] app-misc/radeontop-1.4:0
[-P-] [ -] app-misc/radeontop-9999:0
[-P-] [ ~] media-libs/amdgpu-pro-vulkan-21.50.1.1376756:0
[-P-] [ ~] media-libs/amdgpu-pro-vulkan-21.50.2.1384496:0
[-P-] [ ~] media-libs/amdgpu-pro-vulkan-22.10.0.1395274:0
[-P-] [ ~] media-libs/amdgpu-pro-vulkan-22.10.3.1420322:0
[-P-] [ ~] media-libs/amdgpu-pro-vulkan-22.20.0.1438747:0
[-P-] [ ~] sci-misc/boinc-7.20.2-r2:0
[-P-] [ ~] sys-process/criu-3.17-r1:0
[-P-] [ ~] x11-apps/igt-gpu-tools-1.26-r2:0
[-P-] [ -] x11-apps/igt-gpu-tools-9999:0
[-P-] [  ] x11-base/xorg-drivers-1.20-r2:0
[IP-] [  ] x11-base/xorg-drivers-21.1:0
[-P-] [ -] x11-base/xorg-drivers-9999:0
[IP-] [  ] x11-libs/libdrm-2.4.112:0
[-P-] [ -] x11-libs/libdrm-9999:0

 * Searching for USE flag video_cards_radeon ...
[-P-] [  ] app-misc/radeontop-1.3-r3:0
[IP-] [  ] app-misc/radeontop-1.4:0
[-P-] [ -] app-misc/radeontop-9999:0
[IP-] [  ] media-libs/mesa-22.1.3:0
[-P-] [ ~] media-libs/mesa-22.1.7:0
[-P-] [ -] media-libs/mesa-9999:0
[-P-] [  ] media-libs/mesa-amber-21.3.9:amber
[-P-] [  ] x11-base/xorg-drivers-1.20-r2:0
[IP-] [  ] x11-base/xorg-drivers-21.1:0
[-P-] [ -] x11-base/xorg-drivers-9999:0
[IP-] [  ] x11-libs/libdrm-2.4.112:0
[-P-] [ -] x11-libs/libdrm-9999:0
Back to top
View user's profile Send private message
Dr. Banana
n00b
n00b


Joined: 04 Aug 2021
Posts: 46

PostPosted: Wed Aug 31, 2022 1:55 pm    Post subject: Reply with quote

gorg86 wrote:
I just checked, the radeon useflag should not affect a system with a modern GPU.
The only package that just has a radeon and no radeonsi or amdgpu useflag is "mesa-amber", I don't know what that is tbh.
What is going on here?


Actually, it can, or at least it did. Look at this: https://github.com/ValveSoftware/Dota-2-Vulkan/issues/397
_________________
Haters gonna hate,
Potatoes gonna potate.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players 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