OK, makes sense to just use xorg.
reviewing some of the info…
xrandr --listproviders ✔
Providers: number : 2
Provider 0: id: 0x55 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 3 associated providers: 1 name:AMD Radeon Graphics @ pci:0000:08:00.0
Provider 1: id: 0x78 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 2 outputs: 2 associated providers: 1 name:AMD Radeon RX 6400 @ pci:0000:03:00.0
lspci | grep VGA ✔
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 24 [Radeon RX 6400/6500 XT/6500M] (rev c7)
08:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir [Radeon RX Vega 6 (Ryzen 4000/5000 Mobile Series)] (rev da)
For Discrete card as primary GPU I need to create a conf file:
I am aiming to get the dGPU used for everything, so I can access grub & hopefully see some higher frame rates in games with iGPU out of the picture.
Below is my best guess at what to change, but I feel lost knowing what the valid values are supposed to be. Does this look right?
/etc/X11/xorg.conf.d/10-gpu.conf
# I only have a 00-keyboard.conf in this location, so ill create 10-gpu.conf
Section "ServerLayout"
Identifier "layout"
Screen 0 "rx6400"
Inactive "igpu"
EndSection
Section "Device"
Identifier "igpu" # user defined
Driver "amdgpu" # I guess??
BusID "PCI:8:0:0"
EndSection
Section "Screen"
Identifier "radeon"
Device "radeon" # guess
EndSection
Section "Device"
Identifier "rx6400"
Driver "amdgpu"
BusID "PCI:3:0:0"
EndSection
Section "Screen"
Identifier "radeon" #guessing
Device "radeon"
EndSection
do you have KMS properly configured?
(amdgpu
in modules andkms
in hooks ofmkinitcpio.conf
)
HOOKS=(base udev autodetect kms modconf block keyboard keymap consolefont plymo>
MODULES=()
I added amdgpu
to modules '& ran sudo mkinitcpio -P
. Rebooted but no video output for grub still.
HOWEVER - I am now seeing 60fps in Elite & up to 400fps in some platformers. (with or without DRI_PRIME=1 %command%
) could it be that xorg has made that improve? ill have to check.
ANSWER: yes amazingly. after several reboots. xorg gets 60fps, wayland 30
(On my laptop Elite runs about the same on xorg/wayland)