Greetings,
I want to run apps like firefox, xorg, kwin, plasmashell ect. on my AMD iGPU to save on Vram, but prime has very poor documentation in terms of configuration and I need some assistance.
All monitors are connected to the Nvidia GPU and I have added the iGPU as a device to my xorg.conf file and now have it show up in xrandr --listproviders
, but I get the error
xrandr --setprovideroffloadsink 0 1
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 34 (RRSetProviderOffloadSink)
Value in failed request: 0x1b7
Serial number of failed request: 16
Current serial number in output stream: 17
The AMD GPU and the Prime options don’t show up in nvidia-settings.
I did work with prime in the past to make a monitor connected to the iGPU usable, and needed to add something about prime in xorg.conf, but I don’t remember what it was.
Here is the entire Xorg.conf file based on what nvidia-settings created:
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
Inactive "Device1"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Acer KG282K"
HorizSync 160.0 - 160.0
VertRefresh 40.0 - 60.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
#MatchDriver "nvidia-drm"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "NVIDIA GeForce RTX 3080"
#BusID "PCI:1:00.0"
EndSection
Section "Device"
Identifier "Device1"
Driver "amdgpu"
VendorName "AMD"
BoardName "AMD integrated gpu"
BusID "PCI:10:00.0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DP-2"
Option "metamodes" "DP-4: nvidia-auto-select +3840+0 {AllowGSYNCCompatible=On}, DP-2: nvidia-auto-select +0+0 {AllowGSYNCCompatible=On}"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Help would be greatly appreciated.