Hello, I have dual GPU system,
inxi -G Graphics: Device-1: Intel HD Graphics 620 driver: i915 v: kernel Device-2: AMD Sun LE [Radeon HD 8550M / R5 M230] driver: radeon v: kernel Display: x11 server: X.org 1.20.8 driver: intel,radeon FAILED: ati unloaded: modesetting resolution: <xdpyinfo missing> OpenGL: renderer: Mesa Intel HD Graphics 620 (KBL GT2) v: 4.6 Mesa 20.0.6
Firstly, I would like to completely disable the AMD gpu to save battery as it is really worthless, the intel one performs better than it. I tried the acpi_call method from Hybrid Graphics - Arch wiki, but the script linked failed for all the options.
cat /sys/kernel/debug/vgaswitcheroo/switch 0:IGD:+:Pwr:0000:00:02.0 1:DIS: :DynOff:0000:01:00.0
Secondly, I would like to try the modesetting driver for intel, as the ArchWiki and other distros recommend doing it for 4th gen and above.
mhwd -r pci video-linux and it uninstalled a lot of stuff, which seems important for graphical performance
removing lib32-mesa-vdpau... removing lib32-libva-vdpau-driver... removing lib32-libvdpau... removing lib32-vulkan-radeon... removing lib32-vulkan-intel... removing mesa-vdpau... removing libva-vdpau-driver... removing libva-mesa-driver... removing vulkan-radeon... removing vulkan-intel... removing xf86-video-intel... removing libxvmc... removing xf86-video-amdgpu... removing xf86-video-ati...
So I simply reinstalled it with
mhwd -i pci video-linux and all those packages got reinstalled.
How do I go about switching to modesetting and also retaining these grpahical features? I do some light and occasional gaming (CSGO)
pacman -Qs xf86-video
local/xf86-video-amdgpu 19.1.0-1 (xorg-drivers) X.org amdgpu video driver local/xf86-video-ati 1:19.1.0-1 (xorg-drivers) X.org ati video driver local/xf86-video-intel 1:2.99.917+906+g846b53da-1 (xorg-drivers) X.org Intel i810/i830/i915/945G/G965+ video drivers local/xf86-video-nouveau 1.0.16-1 (xorg-drivers) Open Source 3D acceleration driver for nVidia cards