You are not logged in.
So I saw a reddit post recently and decided to try out the setup with my RTX 2070 Super and a AMD RX580. I removed my xorg.conf file and installed the required packages for prime and switched my display port cables to my amd gpu. From the start everything worked perfectly and I even got better performance from my nvidia gpu as it wasn't doing any of the hardware acceleration for my desktop environment. The only issue is that when I try to define a per-device config file in /etc/X11/xorg.conf.d/ for overclocking the nvidia card I can no longer use it for anything. What kind of options do I need to include to make the overclock work (I used coolbits 28) while also making the card available to be used with prime.
Offline
What kind of config did you attempt and what was the resulting xorg lgo?
A pitfall might be that the server will use the first configured device, so you might have to reference the AMD GPU *also* (and address it eg. by its bus ID) or even set the nvidia device inactive, see https://wiki.archlinux.org/title/PRIME# … rimary_GPU as off-topic but generic pattern.
Offline
Don't use device sections, use an OutputClass containing everything you'd put into your Device section and add MatchDriver "nvidia-drm" and/or MatchDriver "amdgpu" for respective configurations.
A Device section disables auto-detection of devices in favor of your configuration, OutputClass amends a detected device with specific config options.
Offline